diff --git a/.azure-pipelines/daily-ci-build.yml b/.azure-pipelines/daily-ci-build.yml deleted file mode 100644 index 44cfcf81f5..0000000000 --- a/.azure-pipelines/daily-ci-build.yml +++ /dev/null @@ -1,67 +0,0 @@ -trigger: none -pr: none - -schedules: - - cron: '0 0 * * *' - 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 - featureFlags: - golang: - internalModuleProxy: - enabled: true - 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 Go SDK - steps: - - checkout: self - submodules: recursive - - - task: GoTool@0 - displayName: Set up Go - inputs: - version: '1.25' - - - script: | - go mod download - go mod verify - displayName: Install dependencies - workingDirectory: $(Build.SourcesDirectory) - - - script: go build ./... - displayName: Build SDK - workingDirectory: $(Build.SourcesDirectory) - - - script: go test ./... - displayName: Run unit tests - workingDirectory: $(Build.SourcesDirectory) diff --git a/.config/1espt/PipelineAutobaseliningConfig.yml b/.config/1espt/PipelineAutobaseliningConfig.yml deleted file mode 100644 index 1e84b162d3..0000000000 --- a/.config/1espt/PipelineAutobaseliningConfig.yml +++ /dev/null @@ -1,16 +0,0 @@ -## DO NOT MODIFY THIS FILE MANUALLY. This is part of auto-baselining from 1ES Pipeline Templates. Go to [https://aka.ms/1espt-autobaselining] for more details. - -pipelines: - 679: - retail: - source: - credscan: - lastModifiedDate: 2026-05-20 - policheck: - lastModifiedDate: 2026-05-20 - eslint: - lastModifiedDate: 2026-05-20 - armory: - lastModifiedDate: 2026-05-20 - accessibilityinsights: - lastModifiedDate: 2026-05-20 diff --git a/.config/guardian/.gdnbaselines b/.config/guardian/.gdnbaselines deleted file mode 100644 index f41dae9e98..0000000000 --- a/.config/guardian/.gdnbaselines +++ /dev/null @@ -1,627 +0,0 @@ -{ - "properties": { - "helpUri": "https://eng.ms/docs/microsoft-security/security/azure-security/cloudai-security-fundamentals-engineering/security-integration/guardian-wiki/microsoft-guardian/general/baselines" - }, - "version": "1.0.0", - "baselines": { - "default": { - "name": "default", - "createdDate": "2026-05-20 00:09:20Z", - "lastUpdatedDate": "2026-05-20 00:09:20Z" - } - }, - "results": { - "efc25dbf15c75dc4be58e9d432cd57f676789d7604ca350b8c207b0b04c07e6a": { - "signature": "efc25dbf15c75dc4be58e9d432cd57f676789d7604ca350b8c207b0b04c07e6a", - "alternativeSignatures": [ - "9a5009da36921b292c0a17f620739dec013caae864ede7f63400b5378d5d343e", - "cba24ff2d3b79c2577f2ffe5c29f11c8d60563cb1c8860d8137d76654c3b3be7" - ], - "target": "kiota-dom-export.txt", - "line": 188951, - "uriBaseId": "file:///D:/a/_work/1/s/", - "memberOf": [ - "default" - ], - "tool": "credscan", - "ruleId": "CSCAN-GENERAL0060", - "createdDate": "2026-05-20 00:09:20Z", - "expirationDate": "2026-11-06 00:15:10Z", - "justification": "This error is baselined with an expiration date of 180 days from 2026-05-20 00:15:10Z" - }, - "97ea9265f25738e1896e9b8a6567597c4c6f71428b96ae311883e15f747e3a29": { - "signature": "97ea9265f25738e1896e9b8a6567597c4c6f71428b96ae311883e15f747e3a29", - "alternativeSignatures": [ - "b3df0560ebf4327ac5768e3bff856d4681137b1ca7a55ea2fb7645da39df1ba5", - "47d70ffb47231ffb195394dd136ed86b1bf7436d2c69e5085328d4eb2046f2eb" - ], - "target": "kiota-dom-export.txt", - "line": 188952, - "uriBaseId": "file:///D:/a/_work/1/s/", - "memberOf": [ - "default" - ], - "tool": "credscan", - "ruleId": "CSCAN-GENERAL0060", - "createdDate": "2026-05-20 00:09:20Z", - "expirationDate": "2026-11-06 00:15:10Z", - "justification": "This error is baselined with an expiration date of 180 days from 2026-05-20 00:15:10Z" - }, - "55ba1e5207db5ab444544721aed716dc84a5dd1b26cc24cbe1e68dfe54e5424a": { - "signature": "55ba1e5207db5ab444544721aed716dc84a5dd1b26cc24cbe1e68dfe54e5424a", - "alternativeSignatures": [ - "8c2aec5d1171d65691a4fb6ca45e4a2a60360b93ed1ef65972930e58008a191d", - "0ebf00d9c22adc7fd7f4fcde6e864d5d8cd1f56b528096c6d80182d2f056ab39" - ], - "target": "kiota-dom-export.txt", - "line": 188953, - "uriBaseId": "file:///D:/a/_work/1/s/", - "memberOf": [ - "default" - ], - "tool": "credscan", - "ruleId": "CSCAN-GENERAL0060", - "createdDate": "2026-05-20 00:09:20Z", - "expirationDate": "2026-11-06 00:15:10Z", - "justification": "This error is baselined with an expiration date of 180 days from 2026-05-20 00:15:10Z" - }, - "994005c362a791e6c202607ec78a486818965af3902c2cbccfdc357103a0d888": { - "signature": "994005c362a791e6c202607ec78a486818965af3902c2cbccfdc357103a0d888", - "alternativeSignatures": [ - "52d478f6d8bb8509307035c8e0192c4381725a22ee7e949a8639e0a53b35490c", - "10f5384d4d30f4e457819118b3988606fa6cf8ab88f7dfc6c7913d8f96cb2618" - ], - "target": "kiota-dom-export.txt", - "line": 188954, - "uriBaseId": "file:///D:/a/_work/1/s/", - "memberOf": [ - "default" - ], - "tool": "credscan", - "ruleId": "CSCAN-GENERAL0060", - "createdDate": "2026-05-20 00:09:20Z", - "expirationDate": "2026-11-06 00:15:10Z", - "justification": "This error is baselined with an expiration date of 180 days from 2026-05-20 00:15:10Z" - }, - "b714a9ff3b2de14e4b6c542495b588f2ee6033d724b0f3165df16896e4303d5b": { - "signature": "b714a9ff3b2de14e4b6c542495b588f2ee6033d724b0f3165df16896e4303d5b", - "alternativeSignatures": [ - "0e7b220597f19c8a59ce560c1b2f5fc8e486f2df3ebc449b6ce990309ae567a6", - "cc5c769f2f725e66a5b7e895ad7935e5f33d871c8a016bf01a5bb6c0b13cc397" - ], - "target": "kiota-dom-export.txt", - "line": 188956, - "uriBaseId": "file:///D:/a/_work/1/s/", - "memberOf": [ - "default" - ], - "tool": "credscan", - "ruleId": "CSCAN-GENERAL0060", - "createdDate": "2026-05-20 00:09:20Z", - "expirationDate": "2026-11-06 00:15:10Z", - "justification": "This error is baselined with an expiration date of 180 days from 2026-05-20 00:15:10Z" - }, - "047a0b18511d453adce03e68698b85a4916136924fc1dfeda74c595a54121273": { - "signature": "047a0b18511d453adce03e68698b85a4916136924fc1dfeda74c595a54121273", - "alternativeSignatures": [ - "c79cab0d100837c81b8238ab8a3dd0d6a776fd3a2b88837cde5aad3263090b47", - "56abb006a3933f3ec15621c93bd48b542b67f66a5aa56f6d51853a5c4ef7d1ae" - ], - "target": "kiota-dom-export.txt", - "line": 188958, - "uriBaseId": "file:///D:/a/_work/1/s/", - "memberOf": [ - "default" - ], - "tool": "credscan", - "ruleId": "CSCAN-GENERAL0060", - "createdDate": "2026-05-20 00:09:20Z", - "expirationDate": "2026-11-06 00:15:10Z", - "justification": "This error is baselined with an expiration date of 180 days from 2026-05-20 00:15:10Z" - }, - "affcd6f6435fbc83f20ea24d77910c69dc4c0cd9901cdf211dc8d0805aefb3ae": { - "signature": "affcd6f6435fbc83f20ea24d77910c69dc4c0cd9901cdf211dc8d0805aefb3ae", - "alternativeSignatures": [ - "ed93a07cc3e7c7de40626205aa4fcc87890397240a5fda77a5406109ae4c1c9b", - "6da6de0051cb18ebf5610716f673bf98c280c0b9fda0b520826a04478272ab77" - ], - "target": "kiota-dom-export.txt", - "line": 188959, - "uriBaseId": "file:///D:/a/_work/1/s/", - "memberOf": [ - "default" - ], - "tool": "credscan", - "ruleId": "CSCAN-GENERAL0060", - "createdDate": "2026-05-20 00:09:20Z", - "expirationDate": "2026-11-06 00:15:10Z", - "justification": "This error is baselined with an expiration date of 180 days from 2026-05-20 00:15:10Z" - }, - "60663845fef9810993b59c1895b8a3bb40bbd24d491abb65b3d24782232fe075": { - "signature": "60663845fef9810993b59c1895b8a3bb40bbd24d491abb65b3d24782232fe075", - "alternativeSignatures": [ - "b36cf8e26567466a6cabf8f89125620ab37c2e0f64ac4633fa5901eb83b75081", - "221a023b551dc64bb7f2fe310da0207bb808eadd1cd0a57147d15e7918e43417" - ], - "target": "kiota-dom-export.txt", - "line": 188960, - "uriBaseId": "file:///D:/a/_work/1/s/", - "memberOf": [ - "default" - ], - "tool": "credscan", - "ruleId": "CSCAN-GENERAL0060", - "createdDate": "2026-05-20 00:09:20Z", - "expirationDate": "2026-11-06 00:15:10Z", - "justification": "This error is baselined with an expiration date of 180 days from 2026-05-20 00:15:10Z" - }, - "0d25e152a9feb0d3f1d78896b3df50280464b68653404a435bad28cc9f6af1b7": { - "signature": "0d25e152a9feb0d3f1d78896b3df50280464b68653404a435bad28cc9f6af1b7", - "alternativeSignatures": [ - "7505ab6c970462de45b7b16f379b83f1b06ead2662138f86f2d65e4cef95b15f", - "49cf1ca9ea4f4c829e5f02f80d1ce51871a0a2f2b7c08f3e0f0efa0f61d877d3" - ], - "target": "kiota-dom-export.txt", - "line": 188961, - "uriBaseId": "file:///D:/a/_work/1/s/", - "memberOf": [ - "default" - ], - "tool": "credscan", - "ruleId": "CSCAN-GENERAL0060", - "createdDate": "2026-05-20 00:09:20Z", - "expirationDate": "2026-11-06 00:15:10Z", - "justification": "This error is baselined with an expiration date of 180 days from 2026-05-20 00:15:10Z" - }, - "26a02d5d200f7a8dcd2f5bfb80f6c44fdd830857424e9b69fe39c23ccaf457c4": { - "signature": "26a02d5d200f7a8dcd2f5bfb80f6c44fdd830857424e9b69fe39c23ccaf457c4", - "alternativeSignatures": [ - "1031eb819df4138c3e229624869b5a4679437e6dda4044097181823fac1dbf7e", - "1a6b4e6b14cb80cef5765ed473bfd6d3e3bc35e6f41f9ad926ff25fff81d9f1e" - ], - "target": "kiota-dom-export.txt", - "line": 188962, - "uriBaseId": "file:///D:/a/_work/1/s/", - "memberOf": [ - "default" - ], - "tool": "credscan", - "ruleId": "CSCAN-GENERAL0060", - "createdDate": "2026-05-20 00:09:20Z", - "expirationDate": "2026-11-06 00:15:10Z", - "justification": "This error is baselined with an expiration date of 180 days from 2026-05-20 00:15:10Z" - }, - "4649555dab8ddc35b3636ceb93e323b6fa388ff630a3868d291105730eba0f49": { - "signature": "4649555dab8ddc35b3636ceb93e323b6fa388ff630a3868d291105730eba0f49", - "alternativeSignatures": [ - "1b6a8efe2e8a57b2073c7cdbf3386fba8b9e73dfbbe936ddcdd93db82d5895e8", - "6afe371be89b420d4a9c467139e8255c6bffdde7f5b3d6582752e1a6cc76989b" - ], - "target": "kiota-dom-export.txt", - "line": 188964, - "uriBaseId": "file:///D:/a/_work/1/s/", - "memberOf": [ - "default" - ], - "tool": "credscan", - "ruleId": "CSCAN-GENERAL0060", - "createdDate": "2026-05-20 00:09:20Z", - "expirationDate": "2026-11-06 00:15:10Z", - "justification": "This error is baselined with an expiration date of 180 days from 2026-05-20 00:15:10Z" - }, - "72bd91b9ca447b368f0324984fbe4406dd9833b6661e4334ad80f803b4aa2859": { - "signature": "72bd91b9ca447b368f0324984fbe4406dd9833b6661e4334ad80f803b4aa2859", - "alternativeSignatures": [ - "270b02acd841311eb79bc57eb04953c7ea4e6236c57c1a0ddfe823ff5248d1c7", - "0eeb15b44489669b988c601d355aba1d6501b20b72f24fadb93a99fbaf1e7944" - ], - "target": "kiota-dom-export.txt", - "line": 188966, - "uriBaseId": "file:///D:/a/_work/1/s/", - "memberOf": [ - "default" - ], - "tool": "credscan", - "ruleId": "CSCAN-GENERAL0060", - "createdDate": "2026-05-20 00:09:20Z", - "expirationDate": "2026-11-06 00:15:10Z", - "justification": "This error is baselined with an expiration date of 180 days from 2026-05-20 00:15:10Z" - }, - "cb33afe28db5187a5591084feadd72a3cfdd3d19059ba876ba6354567e52374e": { - "signature": "cb33afe28db5187a5591084feadd72a3cfdd3d19059ba876ba6354567e52374e", - "alternativeSignatures": [ - "033940035d31759345c343c80dd1372e2c8f65594fdb40bd094aa4859fb8b1e3", - "e2f416d76dbb7e4b661b48c69c48ca91a4fd7186634e1fe3865a2d7f8707e3d3" - ], - "target": "kiota-dom-export.txt", - "line": 188967, - "uriBaseId": "file:///D:/a/_work/1/s/", - "memberOf": [ - "default" - ], - "tool": "credscan", - "ruleId": "CSCAN-GENERAL0060", - "createdDate": "2026-05-20 00:09:20Z", - "expirationDate": "2026-11-06 00:15:10Z", - "justification": "This error is baselined with an expiration date of 180 days from 2026-05-20 00:15:10Z" - }, - "fe99497ffe3e35c7081a4f781f1b966529870624e556ace1c2d14ec891b4b17a": { - "signature": "fe99497ffe3e35c7081a4f781f1b966529870624e556ace1c2d14ec891b4b17a", - "alternativeSignatures": [ - "212482f8214b589dd5f5efe95f1b14f2d248a703718afefd373b75a5cffa65e9", - "a813a358717dcf44f9c1135de070673092a636ca136cc96cce8b83a2a45d87c8" - ], - "target": "kiota-dom-export.txt", - "line": 188968, - "uriBaseId": "file:///D:/a/_work/1/s/", - "memberOf": [ - "default" - ], - "tool": "credscan", - "ruleId": "CSCAN-GENERAL0060", - "createdDate": "2026-05-20 00:09:20Z", - "expirationDate": "2026-11-06 00:15:10Z", - "justification": "This error is baselined with an expiration date of 180 days from 2026-05-20 00:15:10Z" - }, - "e86a693be386f9d5eca0f4cd12f5f385576821124ca3f0982751e9dd1310f02b": { - "signature": "e86a693be386f9d5eca0f4cd12f5f385576821124ca3f0982751e9dd1310f02b", - "alternativeSignatures": [ - "d6878d26d4d1acdf6d396646bd0c22874af3624044c669bcb5e620786ec21970", - "a8e0edb50fff29641e5bdbb8a46a8faeda37cbaec310b92b864a73192f2bf2f0" - ], - "target": "kiota-dom-export.txt", - "line": 188969, - "uriBaseId": "file:///D:/a/_work/1/s/", - "memberOf": [ - "default" - ], - "tool": "credscan", - "ruleId": "CSCAN-GENERAL0060", - "createdDate": "2026-05-20 00:09:20Z", - "expirationDate": "2026-11-06 00:15:10Z", - "justification": "This error is baselined with an expiration date of 180 days from 2026-05-20 00:15:10Z" - }, - "99996f87ba33299220c74d17c39c033522de181c7a289962fe0436d424bacf71": { - "signature": "99996f87ba33299220c74d17c39c033522de181c7a289962fe0436d424bacf71", - "alternativeSignatures": [ - "059d58a0d1c7ba535ee7b21b4cb8b5ba93d9427ee8ffd5d14727d809d44761ef", - "2f1804e35914fc48bd7c850a459147e9d6d53b64b17ebb06fea62934a45cc623" - ], - "target": "kiota-dom-export.txt", - "line": 188970, - "uriBaseId": "file:///D:/a/_work/1/s/", - "memberOf": [ - "default" - ], - "tool": "credscan", - "ruleId": "CSCAN-GENERAL0060", - "createdDate": "2026-05-20 00:09:20Z", - "expirationDate": "2026-11-06 00:15:10Z", - "justification": "This error is baselined with an expiration date of 180 days from 2026-05-20 00:15:10Z" - }, - "1580b6162bc1ff798b769c4f075b95e0ca6e20dc6c48616216a840cf24126030": { - "signature": "1580b6162bc1ff798b769c4f075b95e0ca6e20dc6c48616216a840cf24126030", - "alternativeSignatures": [ - "9bd0672fb891a4eff5a94418c4333fd6fbe2eb0cdc1695295be130dd18e068a8", - "2de2f91036be96d1e3821dd7722988e479dc2b5cde8f6dd41c0a6db6c9c9bfb9" - ], - "target": "kiota-dom-export.txt", - "line": 188971, - "uriBaseId": "file:///D:/a/_work/1/s/", - "memberOf": [ - "default" - ], - "tool": "credscan", - "ruleId": "CSCAN-GENERAL0060", - "createdDate": "2026-05-20 00:09:20Z", - "expirationDate": "2026-11-06 00:15:10Z", - "justification": "This error is baselined with an expiration date of 180 days from 2026-05-20 00:15:10Z" - }, - "ce578ed9c2fd9cc43e5c2933dbc1a3ce6afb83c2e2c424482e18f24f8a7f1c4a": { - "signature": "ce578ed9c2fd9cc43e5c2933dbc1a3ce6afb83c2e2c424482e18f24f8a7f1c4a", - "alternativeSignatures": [ - "c4c9290abc36a957fe793504fa899c50531b0c8a619ef5a36af5750c9effa8cc", - "138bb0f52d56773fc6ad6c53a373e0aca331596d9a0734fe997c8869fdc30410" - ], - "target": "kiota-dom-export.txt", - "line": 188972, - "uriBaseId": "file:///D:/a/_work/1/s/", - "memberOf": [ - "default" - ], - "tool": "credscan", - "ruleId": "CSCAN-GENERAL0060", - "createdDate": "2026-05-20 00:09:20Z", - "expirationDate": "2026-11-06 00:15:10Z", - "justification": "This error is baselined with an expiration date of 180 days from 2026-05-20 00:15:10Z" - }, - "8dabe77bc1ab1689a97038b44553f9f8462069220027f2789fd8605ff593d8a4": { - "signature": "8dabe77bc1ab1689a97038b44553f9f8462069220027f2789fd8605ff593d8a4", - "alternativeSignatures": [ - "4b597746f47db3059383bb1d5c412e9fb56fcab58a7e387c16be8bc905c87809", - "40b44d565e1f9e031f8952e8c0e58c33341d83dd7dd6e5f9db5e485db7153ec0" - ], - "target": "kiota-dom-export.txt", - "line": 188973, - "uriBaseId": "file:///D:/a/_work/1/s/", - "memberOf": [ - "default" - ], - "tool": "credscan", - "ruleId": "CSCAN-GENERAL0060", - "createdDate": "2026-05-20 00:09:20Z", - "expirationDate": "2026-11-06 00:15:10Z", - "justification": "This error is baselined with an expiration date of 180 days from 2026-05-20 00:15:10Z" - }, - "57f9af8dcf96cf38d2647df3196002448421faebe4885a2e1e802df6d5551ffe": { - "signature": "57f9af8dcf96cf38d2647df3196002448421faebe4885a2e1e802df6d5551ffe", - "alternativeSignatures": [ - "19a31e18c4af0e65336428aafe68f2e481ec5f3e13cf86de0e8123e8f1459970", - "a30d0d40589da6d3cc27f0f915ef1492464cbf321b71985f47d0070ec81e74c4" - ], - "target": "kiota-dom-export.txt", - "line": 188974, - "uriBaseId": "file:///D:/a/_work/1/s/", - "memberOf": [ - "default" - ], - "tool": "credscan", - "ruleId": "CSCAN-GENERAL0060", - "createdDate": "2026-05-20 00:09:20Z", - "expirationDate": "2026-11-06 00:15:10Z", - "justification": "This error is baselined with an expiration date of 180 days from 2026-05-20 00:15:10Z" - }, - "25e43796b845e27c2bc989d464700a24c33dead8663d2ba7cf1902da2139977b": { - "signature": "25e43796b845e27c2bc989d464700a24c33dead8663d2ba7cf1902da2139977b", - "alternativeSignatures": [ - "455b6cb40654de702f0b12211fd9eccece44bfada6cca6ebb183d2e07adde5f6", - "d73506a87d8579c6c4ce2d89797ef4b1cdb332f73f6c83011c6691b508ba3a42" - ], - "target": "kiota-dom-export.txt", - "line": 188975, - "uriBaseId": "file:///D:/a/_work/1/s/", - "memberOf": [ - "default" - ], - "tool": "credscan", - "ruleId": "CSCAN-GENERAL0060", - "createdDate": "2026-05-20 00:09:20Z", - "expirationDate": "2026-11-06 00:15:10Z", - "justification": "This error is baselined with an expiration date of 180 days from 2026-05-20 00:15:10Z" - }, - "1bc0062361935f10591232c4fa3b1155e7ffb8557d6bf8dc7ed50d6d87b4f2a0": { - "signature": "1bc0062361935f10591232c4fa3b1155e7ffb8557d6bf8dc7ed50d6d87b4f2a0", - "alternativeSignatures": [ - "aed6ae45b96e91da0f396d7c67b64e92c6fd285b7a51dfbc51159ca717a88a8a", - "e2d8a35656945deb454ccc4eae7be72a66e223896f04390fd1af743f1a6fcaec" - ], - "target": "kiota-dom-export.txt", - "line": 188976, - "uriBaseId": "file:///D:/a/_work/1/s/", - "memberOf": [ - "default" - ], - "tool": "credscan", - "ruleId": "CSCAN-GENERAL0060", - "createdDate": "2026-05-20 00:09:20Z", - "expirationDate": "2026-11-06 00:15:10Z", - "justification": "This error is baselined with an expiration date of 180 days from 2026-05-20 00:15:10Z" - }, - "471dacdf6a67f0268b8ee17b1668f1fb22068fb7e64f12bde4c7086fb0d9630e": { - "signature": "471dacdf6a67f0268b8ee17b1668f1fb22068fb7e64f12bde4c7086fb0d9630e", - "alternativeSignatures": [ - "67ea37d74a47f211b9cc7ebc1b1db40d741c3483de99fe7b9581cf578b0e54f9", - "06adaa0c08e48d6b025205250e0b60ade3308b9861567ea4e124563bd178a8e0" - ], - "target": "kiota-dom-export.txt", - "line": 188977, - "uriBaseId": "file:///D:/a/_work/1/s/", - "memberOf": [ - "default" - ], - "tool": "credscan", - "ruleId": "CSCAN-GENERAL0060", - "createdDate": "2026-05-20 00:09:20Z", - "expirationDate": "2026-11-06 00:15:10Z", - "justification": "This error is baselined with an expiration date of 180 days from 2026-05-20 00:15:10Z" - }, - "b91f2f393d187bbe1a0a1deb1844dd2765e31e4c5ee4b2ca2be8306368ccd136": { - "signature": "b91f2f393d187bbe1a0a1deb1844dd2765e31e4c5ee4b2ca2be8306368ccd136", - "alternativeSignatures": [ - "291834820ceaf1dfb0ec0e557510b5a8272ce2c0fe051edf691f3ab385907069", - "94c4ec525594d9229bebaf8fc0ce38cb29ebd0f59a106b62a563e984a6cdcc3d" - ], - "target": "kiota-dom-export.txt", - "line": 188978, - "uriBaseId": "file:///D:/a/_work/1/s/", - "memberOf": [ - "default" - ], - "tool": "credscan", - "ruleId": "CSCAN-GENERAL0060", - "createdDate": "2026-05-20 00:09:20Z", - "expirationDate": "2026-11-06 00:15:10Z", - "justification": "This error is baselined with an expiration date of 180 days from 2026-05-20 00:15:10Z" - }, - "acbba94475f6e89b450faf02574b8a963aaa928cf306361696eab24a2ba2091b": { - "signature": "acbba94475f6e89b450faf02574b8a963aaa928cf306361696eab24a2ba2091b", - "alternativeSignatures": [ - "24193f577a1c4beb17164d745c46efa940ca36568b61d446c96db722b189ff64", - "66e0d2e11e77a7060f8a2280b3cf1289379cbc01503294278471899be3332138" - ], - "target": "kiota-dom-export.txt", - "line": 188979, - "uriBaseId": "file:///D:/a/_work/1/s/", - "memberOf": [ - "default" - ], - "tool": "credscan", - "ruleId": "CSCAN-GENERAL0060", - "createdDate": "2026-05-20 00:09:20Z", - "expirationDate": "2026-11-06 00:15:10Z", - "justification": "This error is baselined with an expiration date of 180 days from 2026-05-20 00:15:10Z" - }, - "bf089d2b1003854799d4b605c027e01c5b7cadf0702776cd45aa3714f048136d": { - "signature": "bf089d2b1003854799d4b605c027e01c5b7cadf0702776cd45aa3714f048136d", - "alternativeSignatures": [ - "3182c79b4e96f2dd0d87a372b9672d1917cd26958d81920967fb5b9b6c5bc640", - "ec536af6ad8b4ac15e15eb5f5de59724608f94f06dd2fcdd72ac75a79321ceeb" - ], - "target": "kiota-dom-export.txt", - "line": 188981, - "uriBaseId": "file:///D:/a/_work/1/s/", - "memberOf": [ - "default" - ], - "tool": "credscan", - "ruleId": "CSCAN-GENERAL0060", - "createdDate": "2026-05-20 00:09:20Z", - "expirationDate": "2026-11-06 00:15:10Z", - "justification": "This error is baselined with an expiration date of 180 days from 2026-05-20 00:15:10Z" - }, - "4e0cc135b7c468b333fae92c7aa09e9bb7253066d1a60fe1b6c8726435242102": { - "signature": "4e0cc135b7c468b333fae92c7aa09e9bb7253066d1a60fe1b6c8726435242102", - "alternativeSignatures": [ - "7eecc69410dcd73dfe57a81f4468d5657fe668c601bf22c494caf5c5bac71373", - "f82037416c31a109bca18bef246158bf901e17f78e55be881be73f2e8e4c93ea" - ], - "target": "kiota-dom-export.txt", - "line": 188982, - "uriBaseId": "file:///D:/a/_work/1/s/", - "memberOf": [ - "default" - ], - "tool": "credscan", - "ruleId": "CSCAN-GENERAL0060", - "createdDate": "2026-05-20 00:09:20Z", - "expirationDate": "2026-11-06 00:15:10Z", - "justification": "This error is baselined with an expiration date of 180 days from 2026-05-20 00:15:10Z" - }, - "3a9c1ed8b821c26d3dd869e910c25ca14cc90fc2618a7272020341c58fa08050": { - "signature": "3a9c1ed8b821c26d3dd869e910c25ca14cc90fc2618a7272020341c58fa08050", - "alternativeSignatures": [ - "dcb8468d13473c427a3784bc59b45a2fb4c6414cc7b5c8d2e8769df6dd94036d", - "0e1a828ead4a05521e11a8157f2622fed92825bb698032cbad4ffb21b8b64788" - ], - "target": "kiota-dom-export.txt", - "line": 188987, - "uriBaseId": "file:///D:/a/_work/1/s/", - "memberOf": [ - "default" - ], - "tool": "credscan", - "ruleId": "CSCAN-GENERAL0060", - "createdDate": "2026-05-20 00:09:20Z", - "expirationDate": "2026-11-06 00:15:10Z", - "justification": "This error is baselined with an expiration date of 180 days from 2026-05-20 00:15:10Z" - }, - "00a734c8051c8974807326a97050c273df1fe167a3da8c6d74f3cdfb0cd6150a": { - "signature": "00a734c8051c8974807326a97050c273df1fe167a3da8c6d74f3cdfb0cd6150a", - "alternativeSignatures": [ - "70d6e2169b3a0be816c079c9d59a6ceeacd4c164976fb6ae515a8b2449a4eccb", - "cfa733b7cb3ec552fe5dfc333607634aa329d4f7eb7a545b1470c2e2d67a4aaa" - ], - "target": "kiota-dom-export.txt", - "line": 188988, - "uriBaseId": "file:///D:/a/_work/1/s/", - "memberOf": [ - "default" - ], - "tool": "credscan", - "ruleId": "CSCAN-GENERAL0060", - "createdDate": "2026-05-20 00:09:20Z", - "expirationDate": "2026-11-06 00:15:10Z", - "justification": "This error is baselined with an expiration date of 180 days from 2026-05-20 00:15:10Z" - }, - "3ce1d330ba50755f7bb7d0e40b846685e3bc398a90c3cabaf1bce4d398099d62": { - "signature": "3ce1d330ba50755f7bb7d0e40b846685e3bc398a90c3cabaf1bce4d398099d62", - "alternativeSignatures": [ - "1eca45af28432552fdd8c7e411a2f050330e2498fad6a2220cd8f9bcf2ba5ede", - "28d2a15892f3b514811c849a87646c9d673677251a9d62379f28f26559be25ca" - ], - "target": "kiota-dom-export.txt", - "line": 188989, - "uriBaseId": "file:///D:/a/_work/1/s/", - "memberOf": [ - "default" - ], - "tool": "credscan", - "ruleId": "CSCAN-GENERAL0060", - "createdDate": "2026-05-20 00:09:20Z", - "expirationDate": "2026-11-06 00:15:10Z", - "justification": "This error is baselined with an expiration date of 180 days from 2026-05-20 00:15:10Z" - }, - "28006dfbea7ec4287973220b31f6b0fea369f5c2cef5060bdd9fa6e763258d05": { - "signature": "28006dfbea7ec4287973220b31f6b0fea369f5c2cef5060bdd9fa6e763258d05", - "alternativeSignatures": [ - "f16a3784d95948732f85a4d0d51db6dfb2149706cadeed68135ac72275dd9277", - "1bf5e7c52e71b3d52aabb963fa87c5bfb61cf9d2cc5400bcceb79b762b2e45dd" - ], - "target": "kiota-dom-export.txt", - "line": 188990, - "uriBaseId": "file:///D:/a/_work/1/s/", - "memberOf": [ - "default" - ], - "tool": "credscan", - "ruleId": "CSCAN-GENERAL0060", - "createdDate": "2026-05-20 00:09:20Z", - "expirationDate": "2026-11-06 00:15:10Z", - "justification": "This error is baselined with an expiration date of 180 days from 2026-05-20 00:15:10Z" - }, - "2527d3d9b9e7c60866519bdbd4819a8ec42d379ca12ac53950116bde384c0ed5": { - "signature": "2527d3d9b9e7c60866519bdbd4819a8ec42d379ca12ac53950116bde384c0ed5", - "alternativeSignatures": [ - "3b2198111fbc651aaf4b0f5a25dba9aca97e53756309bfc3d7298856d5357e9b", - "17730bcaaa12cdd1f639d9210307f351363696c7ebc77ba5630f748c7c08bac2" - ], - "target": "kiota-dom-export.txt", - "line": 188992, - "uriBaseId": "file:///D:/a/_work/1/s/", - "memberOf": [ - "default" - ], - "tool": "credscan", - "ruleId": "CSCAN-GENERAL0060", - "createdDate": "2026-05-20 00:09:20Z", - "expirationDate": "2026-11-06 00:15:10Z", - "justification": "This error is baselined with an expiration date of 180 days from 2026-05-20 00:15:10Z" - }, - "8d50c49d979abcd2972e89e81a7bc3a13d1d327c4653c0091ec2cf583555a913": { - "signature": "8d50c49d979abcd2972e89e81a7bc3a13d1d327c4653c0091ec2cf583555a913", - "alternativeSignatures": [ - "ba762fa1023948688c3b4e1ca0fad8737b79523701c6ee740a39be354fa130eb", - "59c6ba852b1b76c249ba9fe7d0fde53af1f2d30e8538ad1dd16f50ff6d33fe0f" - ], - "target": "kiota-dom-export.txt", - "line": 188993, - "uriBaseId": "file:///D:/a/_work/1/s/", - "memberOf": [ - "default" - ], - "tool": "credscan", - "ruleId": "CSCAN-GENERAL0060", - "createdDate": "2026-05-20 00:09:20Z", - "expirationDate": "2026-11-06 00:15:10Z", - "justification": "This error is baselined with an expiration date of 180 days from 2026-05-20 00:15:10Z" - }, - "f458c6a3793deba5cc39db16f9cff56fc34d696026decb1baa12dba1a3c3aefc": { - "signature": "f458c6a3793deba5cc39db16f9cff56fc34d696026decb1baa12dba1a3c3aefc", - "alternativeSignatures": [ - "f12b07569cd4cb1f303c19c076344078a3b93a8b346b7bbf93164fb31ac7f5ce", - "117dd62eff024b90f163f703e17501d633f80d10b432f5709f06462ce8dc25a1" - ], - "target": "kiota-dom-export.txt", - "line": 188994, - "uriBaseId": "file:///D:/a/_work/1/s/", - "memberOf": [ - "default" - ], - "tool": "credscan", - "ruleId": "CSCAN-GENERAL0060", - "createdDate": "2026-05-20 00:09:20Z", - "expirationDate": "2026-11-06 00:15:10Z", - "justification": "This error is baselined with an expiration date of 180 days from 2026-05-20 00:15:10Z" - } - } -} \ No newline at end of file diff --git a/admin/service_announcement_health_overviews_item_issues_item_incident_report_request_builder.go b/admin/service_announcement_health_overviews_item_issues_item_incident_report_request_builder.go index b0fffb4ea4..9b2f17d71e 100644 --- a/admin/service_announcement_health_overviews_item_issues_item_incident_report_request_builder.go +++ b/admin/service_announcement_health_overviews_item_issues_item_incident_report_request_builder.go @@ -33,7 +33,7 @@ func NewServiceAnnouncementHealthOverviewsItemIssuesItemIncidentReportRequestBui urlParams["request-raw-url"] = rawUrl return NewServiceAnnouncementHealthOverviewsItemIssuesItemIncidentReportRequestBuilderInternal(urlParams, requestAdapter) } -// Get 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. +// Get 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. // returns a []byte when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] @@ -56,7 +56,7 @@ func (m *ServiceAnnouncementHealthOverviewsItemIssuesItemIncidentReportRequestBu } return res.([]byte), nil } -// ToGetRequestInformation 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. +// ToGetRequestInformation 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. // returns a *RequestInformation when successful func (m *ServiceAnnouncementHealthOverviewsItemIssuesItemIncidentReportRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ServiceAnnouncementHealthOverviewsItemIssuesItemIncidentReportRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/admin/service_announcement_issues_item_incident_report_request_builder.go b/admin/service_announcement_issues_item_incident_report_request_builder.go index 4a89c004a7..c79a03a8b1 100644 --- a/admin/service_announcement_issues_item_incident_report_request_builder.go +++ b/admin/service_announcement_issues_item_incident_report_request_builder.go @@ -33,7 +33,7 @@ func NewServiceAnnouncementIssuesItemIncidentReportRequestBuilder(rawUrl string, urlParams["request-raw-url"] = rawUrl return NewServiceAnnouncementIssuesItemIncidentReportRequestBuilderInternal(urlParams, requestAdapter) } -// Get 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. +// Get 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. // returns a []byte when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] @@ -56,7 +56,7 @@ func (m *ServiceAnnouncementIssuesItemIncidentReportRequestBuilder) Get(ctx cont } return res.([]byte), nil } -// ToGetRequestInformation 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. +// ToGetRequestInformation 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. // returns a *RequestInformation when successful func (m *ServiceAnnouncementIssuesItemIncidentReportRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ServiceAnnouncementIssuesItemIncidentReportRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/admin/service_announcement_issues_service_health_issue_item_request_builder.go b/admin/service_announcement_issues_service_health_issue_item_request_builder.go index f59aee5535..51da4dadf0 100644 --- a/admin/service_announcement_issues_service_health_issue_item_request_builder.go +++ b/admin/service_announcement_issues_service_health_issue_item_request_builder.go @@ -21,7 +21,7 @@ type ServiceAnnouncementIssuesServiceHealthIssueItemRequestBuilderDeleteRequestC // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ServiceAnnouncementIssuesServiceHealthIssueItemRequestBuilderGetQueryParameters 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. +// ServiceAnnouncementIssuesServiceHealthIssueItemRequestBuilderGetQueryParameters 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. type ServiceAnnouncementIssuesServiceHealthIssueItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string "uriparametername:\"%24expand\"" @@ -73,7 +73,7 @@ func (m *ServiceAnnouncementIssuesServiceHealthIssueItemRequestBuilder) Delete(c } return nil } -// Get 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. +// Get 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. // returns a ServiceHealthIssueable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] @@ -132,7 +132,7 @@ func (m *ServiceAnnouncementIssuesServiceHealthIssueItemRequestBuilder) ToDelete requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation 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. +// ToGetRequestInformation 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. // returns a *RequestInformation when successful func (m *ServiceAnnouncementIssuesServiceHealthIssueItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ServiceAnnouncementIssuesServiceHealthIssueItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/admin/service_announcement_messages_archive_post_response.go b/admin/service_announcement_messages_archive_post_response.go index 33351e3f21..1bbc6d5808 100644 --- a/admin/service_announcement_messages_archive_post_response.go +++ b/admin/service_announcement_messages_archive_post_response.go @@ -18,6 +18,8 @@ func NewServiceAnnouncementMessagesArchivePostResponse()(*ServiceAnnouncementMes } m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); m.SetAdditionalData(make(map[string]any)) + valueValue := false + m.SetValue(&valueValue) return m } // CreateServiceAnnouncementMessagesArchivePostResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value diff --git a/admin/service_announcement_messages_favorite_post_response.go b/admin/service_announcement_messages_favorite_post_response.go index 16346e5f38..d0d80bee59 100644 --- a/admin/service_announcement_messages_favorite_post_response.go +++ b/admin/service_announcement_messages_favorite_post_response.go @@ -18,6 +18,8 @@ func NewServiceAnnouncementMessagesFavoritePostResponse()(*ServiceAnnouncementMe } m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); m.SetAdditionalData(make(map[string]any)) + valueValue := false + m.SetValue(&valueValue) return m } // CreateServiceAnnouncementMessagesFavoritePostResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value diff --git a/admin/service_announcement_messages_mark_read_post_response.go b/admin/service_announcement_messages_mark_read_post_response.go index 503817ad5b..55a02847e3 100644 --- a/admin/service_announcement_messages_mark_read_post_response.go +++ b/admin/service_announcement_messages_mark_read_post_response.go @@ -18,6 +18,8 @@ func NewServiceAnnouncementMessagesMarkReadPostResponse()(*ServiceAnnouncementMe } m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); m.SetAdditionalData(make(map[string]any)) + valueValue := false + m.SetValue(&valueValue) return m } // CreateServiceAnnouncementMessagesMarkReadPostResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value diff --git a/admin/service_announcement_messages_mark_unread_post_response.go b/admin/service_announcement_messages_mark_unread_post_response.go index 7d876da870..84b867cc50 100644 --- a/admin/service_announcement_messages_mark_unread_post_response.go +++ b/admin/service_announcement_messages_mark_unread_post_response.go @@ -18,6 +18,8 @@ func NewServiceAnnouncementMessagesMarkUnreadPostResponse()(*ServiceAnnouncement } m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); m.SetAdditionalData(make(map[string]any)) + valueValue := false + m.SetValue(&valueValue) return m } // CreateServiceAnnouncementMessagesMarkUnreadPostResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value diff --git a/admin/service_announcement_messages_service_update_message_item_request_builder.go b/admin/service_announcement_messages_service_update_message_item_request_builder.go index 629e12183e..cc40154706 100644 --- a/admin/service_announcement_messages_service_update_message_item_request_builder.go +++ b/admin/service_announcement_messages_service_update_message_item_request_builder.go @@ -21,7 +21,7 @@ type ServiceAnnouncementMessagesServiceUpdateMessageItemRequestBuilderDeleteRequ // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ServiceAnnouncementMessagesServiceUpdateMessageItemRequestBuilderGetQueryParameters 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. +// ServiceAnnouncementMessagesServiceUpdateMessageItemRequestBuilderGetQueryParameters 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. type ServiceAnnouncementMessagesServiceUpdateMessageItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string "uriparametername:\"%24expand\"" @@ -83,7 +83,7 @@ func (m *ServiceAnnouncementMessagesServiceUpdateMessageItemRequestBuilder) Dele } return nil } -// Get 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. +// Get 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. // returns a ServiceUpdateMessageable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] @@ -137,7 +137,7 @@ func (m *ServiceAnnouncementMessagesServiceUpdateMessageItemRequestBuilder) ToDe requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation 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. +// ToGetRequestInformation 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. // returns a *RequestInformation when successful func (m *ServiceAnnouncementMessagesServiceUpdateMessageItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ServiceAnnouncementMessagesServiceUpdateMessageItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/admin/service_announcement_messages_unarchive_post_response.go b/admin/service_announcement_messages_unarchive_post_response.go index 57d3608240..7f4bb577f1 100644 --- a/admin/service_announcement_messages_unarchive_post_response.go +++ b/admin/service_announcement_messages_unarchive_post_response.go @@ -18,6 +18,8 @@ func NewServiceAnnouncementMessagesUnarchivePostResponse()(*ServiceAnnouncementM } m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); m.SetAdditionalData(make(map[string]any)) + valueValue := false + m.SetValue(&valueValue) return m } // CreateServiceAnnouncementMessagesUnarchivePostResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value diff --git a/admin/service_announcement_messages_unfavorite_post_response.go b/admin/service_announcement_messages_unfavorite_post_response.go index b0d0595461..c5fca77541 100644 --- a/admin/service_announcement_messages_unfavorite_post_response.go +++ b/admin/service_announcement_messages_unfavorite_post_response.go @@ -18,6 +18,8 @@ func NewServiceAnnouncementMessagesUnfavoritePostResponse()(*ServiceAnnouncement } m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); m.SetAdditionalData(make(map[string]any)) + valueValue := false + m.SetValue(&valueValue) return m } // CreateServiceAnnouncementMessagesUnfavoritePostResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value diff --git a/applications/get_available_extension_properties_post_request_body.go b/applications/get_available_extension_properties_post_request_body.go index 8205168823..ecc50728e7 100644 --- a/applications/get_available_extension_properties_post_request_body.go +++ b/applications/get_available_extension_properties_post_request_body.go @@ -18,6 +18,8 @@ func NewGetAvailableExtensionPropertiesPostRequestBody()(*GetAvailableExtensionP } m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); m.SetAdditionalData(make(map[string]any)) + isSyncedFromOnPremisesValue := false + m.SetIsSyncedFromOnPremises(&isSyncedFromOnPremisesValue) return m } // CreateGetAvailableExtensionPropertiesPostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value diff --git a/applications/item_app_management_policies_ref_request_builder.go b/applications/item_app_management_policies_ref_request_builder.go index 1a91c7207f..167b2758c5 100644 --- a/applications/item_app_management_policies_ref_request_builder.go +++ b/applications/item_app_management_policies_ref_request_builder.go @@ -62,7 +62,7 @@ type ItemAppManagementPoliciesRefRequestBuilderPostRequestConfiguration struct { // NewItemAppManagementPoliciesRefRequestBuilderInternal instantiates a new ItemAppManagementPoliciesRefRequestBuilder and sets the default values. func NewItemAppManagementPoliciesRefRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemAppManagementPoliciesRefRequestBuilder) { m := &ItemAppManagementPoliciesRefRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/applications/{application%2Did}/appManagementPolicies/$ref?@id={%40id}{&%24count,%24filter,%24orderby,%24search,%24skip,%24top}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/applications/{application%2Did}/appManagementPolicies/$ref{?%24count,%24filter,%24orderby,%24search,%24skip,%24top}", pathParameters), } return m } @@ -147,7 +147,7 @@ func (m *ItemAppManagementPoliciesRefRequestBuilder) ToDeleteRequestInformation( // ToGetRequestInformation the appManagementPolicy applied to this application. // returns a *RequestInformation when successful func (m *ItemAppManagementPoliciesRefRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemAppManagementPoliciesRefRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { - requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, "{+baseurl}/applications/{application%2Did}/appManagementPolicies/$ref{?%24count,%24filter,%24orderby,%24search,%24skip,%24top}", m.BaseRequestBuilder.PathParameters) + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) if requestConfiguration != nil { if requestConfiguration.QueryParameters != nil { requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) @@ -161,7 +161,7 @@ func (m *ItemAppManagementPoliciesRefRequestBuilder) ToGetRequestInformation(ctx // ToPostRequestInformation assign an appManagementPolicy policy object to an application or service principal object. The application or service principal adopts this policy over the tenant-wide tenantAppManagementPolicy setting. Only one policy object can be assigned to an application or service principal. // returns a *RequestInformation when successful func (m *ItemAppManagementPoliciesRefRequestBuilder) ToPostRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ReferenceCreateable, requestConfiguration *ItemAppManagementPoliciesRefRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { - requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, "{+baseurl}/applications/{application%2Did}/appManagementPolicies/$ref", m.BaseRequestBuilder.PathParameters) + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) if requestConfiguration != nil { requestInfo.Headers.AddAll(requestConfiguration.Headers) requestInfo.AddRequestOptions(requestConfiguration.Options) diff --git a/applications/item_get_member_groups_post_request_body.go b/applications/item_get_member_groups_post_request_body.go index 97ee925adf..4f4f362dfa 100644 --- a/applications/item_get_member_groups_post_request_body.go +++ b/applications/item_get_member_groups_post_request_body.go @@ -18,6 +18,8 @@ func NewItemGetMemberGroupsPostRequestBody()(*ItemGetMemberGroupsPostRequestBody } m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); m.SetAdditionalData(make(map[string]any)) + securityEnabledOnlyValue := false + m.SetSecurityEnabledOnly(&securityEnabledOnlyValue) return m } // CreateItemGetMemberGroupsPostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value diff --git a/applications/item_get_member_objects_post_request_body.go b/applications/item_get_member_objects_post_request_body.go index 76ba5a1e13..19d3d18a1f 100644 --- a/applications/item_get_member_objects_post_request_body.go +++ b/applications/item_get_member_objects_post_request_body.go @@ -18,6 +18,8 @@ func NewItemGetMemberObjectsPostRequestBody()(*ItemGetMemberObjectsPostRequestBo } m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); m.SetAdditionalData(make(map[string]any)) + securityEnabledOnlyValue := false + m.SetSecurityEnabledOnly(&securityEnabledOnlyValue) return m } // CreateItemGetMemberObjectsPostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value diff --git a/applications/item_owners_ref_request_builder.go b/applications/item_owners_ref_request_builder.go index 600660efd0..42698c58f6 100644 --- a/applications/item_owners_ref_request_builder.go +++ b/applications/item_owners_ref_request_builder.go @@ -62,7 +62,7 @@ type ItemOwnersRefRequestBuilderPostRequestConfiguration struct { // NewItemOwnersRefRequestBuilderInternal instantiates a new ItemOwnersRefRequestBuilder and sets the default values. func NewItemOwnersRefRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemOwnersRefRequestBuilder) { m := &ItemOwnersRefRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/applications/{application%2Did}/owners/$ref?@id={%40id}{&%24count,%24filter,%24orderby,%24search,%24skip,%24top}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/applications/{application%2Did}/owners/$ref{?%24count,%24filter,%24orderby,%24search,%24skip,%24top}", pathParameters), } return m } @@ -150,7 +150,7 @@ func (m *ItemOwnersRefRequestBuilder) ToDeleteRequestInformation(ctx context.Con // ToGetRequestInformation retrieve a list of owners for an application that are directoryObject types. // returns a *RequestInformation when successful func (m *ItemOwnersRefRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemOwnersRefRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { - requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, "{+baseurl}/applications/{application%2Did}/owners/$ref{?%24count,%24filter,%24orderby,%24search,%24skip,%24top}", m.BaseRequestBuilder.PathParameters) + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) if requestConfiguration != nil { if requestConfiguration.QueryParameters != nil { requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) @@ -164,7 +164,7 @@ func (m *ItemOwnersRefRequestBuilder) ToGetRequestInformation(ctx context.Contex // ToPostRequestInformation add an owner to an application. Application owners can be individual users, the associated service principal, or another service principal. // returns a *RequestInformation when successful func (m *ItemOwnersRefRequestBuilder) ToPostRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ReferenceCreateable, requestConfiguration *ItemOwnersRefRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { - requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, "{+baseurl}/applications/{application%2Did}/owners/$ref", m.BaseRequestBuilder.PathParameters) + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) if requestConfiguration != nil { requestInfo.Headers.AddAll(requestConfiguration.Headers) requestInfo.AddRequestOptions(requestConfiguration.Options) diff --git a/applications/item_synchronization_jobs_item_validate_credentials_post_request_body.go b/applications/item_synchronization_jobs_item_validate_credentials_post_request_body.go index c39c91588e..7e49b44631 100644 --- a/applications/item_synchronization_jobs_item_validate_credentials_post_request_body.go +++ b/applications/item_synchronization_jobs_item_validate_credentials_post_request_body.go @@ -19,6 +19,8 @@ func NewItemSynchronizationJobsItemValidateCredentialsPostRequestBody()(*ItemSyn } m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); m.SetAdditionalData(make(map[string]any)) + useSavedCredentialsValue := false + m.SetUseSavedCredentials(&useSavedCredentialsValue) return m } // CreateItemSynchronizationJobsItemValidateCredentialsPostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value diff --git a/applications/item_synchronization_jobs_validate_credentials_post_request_body.go b/applications/item_synchronization_jobs_validate_credentials_post_request_body.go index 3271a2c966..9ad7e8a2d7 100644 --- a/applications/item_synchronization_jobs_validate_credentials_post_request_body.go +++ b/applications/item_synchronization_jobs_validate_credentials_post_request_body.go @@ -19,6 +19,8 @@ func NewItemSynchronizationJobsValidateCredentialsPostRequestBody()(*ItemSynchro } m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); m.SetAdditionalData(make(map[string]any)) + useSavedCredentialsValue := false + m.SetUseSavedCredentials(&useSavedCredentialsValue) return m } // CreateItemSynchronizationJobsValidateCredentialsPostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value diff --git a/applications/item_token_issuance_policies_ref_request_builder.go b/applications/item_token_issuance_policies_ref_request_builder.go index a9a8ef7a11..163bbae67e 100644 --- a/applications/item_token_issuance_policies_ref_request_builder.go +++ b/applications/item_token_issuance_policies_ref_request_builder.go @@ -62,7 +62,7 @@ type ItemTokenIssuancePoliciesRefRequestBuilderPostRequestConfiguration struct { // NewItemTokenIssuancePoliciesRefRequestBuilderInternal instantiates a new ItemTokenIssuancePoliciesRefRequestBuilder and sets the default values. func NewItemTokenIssuancePoliciesRefRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemTokenIssuancePoliciesRefRequestBuilder) { m := &ItemTokenIssuancePoliciesRefRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/applications/{application%2Did}/tokenIssuancePolicies/$ref?@id={%40id}{&%24count,%24filter,%24orderby,%24search,%24skip,%24top}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/applications/{application%2Did}/tokenIssuancePolicies/$ref{?%24count,%24filter,%24orderby,%24search,%24skip,%24top}", pathParameters), } return m } @@ -150,7 +150,7 @@ func (m *ItemTokenIssuancePoliciesRefRequestBuilder) ToDeleteRequestInformation( // ToGetRequestInformation list the tokenIssuancePolicy objects that are assigned to an application. // returns a *RequestInformation when successful func (m *ItemTokenIssuancePoliciesRefRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemTokenIssuancePoliciesRefRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { - requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, "{+baseurl}/applications/{application%2Did}/tokenIssuancePolicies/$ref{?%24count,%24filter,%24orderby,%24search,%24skip,%24top}", m.BaseRequestBuilder.PathParameters) + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) if requestConfiguration != nil { if requestConfiguration.QueryParameters != nil { requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) @@ -164,7 +164,7 @@ func (m *ItemTokenIssuancePoliciesRefRequestBuilder) ToGetRequestInformation(ctx // ToPostRequestInformation assign a tokenIssuancePolicy to an application. // returns a *RequestInformation when successful func (m *ItemTokenIssuancePoliciesRefRequestBuilder) ToPostRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ReferenceCreateable, requestConfiguration *ItemTokenIssuancePoliciesRefRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { - requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, "{+baseurl}/applications/{application%2Did}/tokenIssuancePolicies/$ref", m.BaseRequestBuilder.PathParameters) + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) if requestConfiguration != nil { requestInfo.Headers.AddAll(requestConfiguration.Headers) requestInfo.AddRequestOptions(requestConfiguration.Options) diff --git a/applications/item_token_lifetime_policies_ref_request_builder.go b/applications/item_token_lifetime_policies_ref_request_builder.go index d028a5c658..61e86b4ac2 100644 --- a/applications/item_token_lifetime_policies_ref_request_builder.go +++ b/applications/item_token_lifetime_policies_ref_request_builder.go @@ -62,7 +62,7 @@ type ItemTokenLifetimePoliciesRefRequestBuilderPostRequestConfiguration struct { // NewItemTokenLifetimePoliciesRefRequestBuilderInternal instantiates a new ItemTokenLifetimePoliciesRefRequestBuilder and sets the default values. func NewItemTokenLifetimePoliciesRefRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemTokenLifetimePoliciesRefRequestBuilder) { m := &ItemTokenLifetimePoliciesRefRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/applications/{application%2Did}/tokenLifetimePolicies/$ref?@id={%40id}{&%24count,%24filter,%24orderby,%24search,%24skip,%24top}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/applications/{application%2Did}/tokenLifetimePolicies/$ref{?%24count,%24filter,%24orderby,%24search,%24skip,%24top}", pathParameters), } return m } @@ -150,7 +150,7 @@ func (m *ItemTokenLifetimePoliciesRefRequestBuilder) ToDeleteRequestInformation( // ToGetRequestInformation list the tokenLifetimePolicy objects that are assigned to an application. Only one object is returned in the collection because only one tokenLifetimePolicy can be assigned to an application. // returns a *RequestInformation when successful func (m *ItemTokenLifetimePoliciesRefRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemTokenLifetimePoliciesRefRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { - requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, "{+baseurl}/applications/{application%2Did}/tokenLifetimePolicies/$ref{?%24count,%24filter,%24orderby,%24search,%24skip,%24top}", m.BaseRequestBuilder.PathParameters) + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) if requestConfiguration != nil { if requestConfiguration.QueryParameters != nil { requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) @@ -164,7 +164,7 @@ func (m *ItemTokenLifetimePoliciesRefRequestBuilder) ToGetRequestInformation(ctx // ToPostRequestInformation assign a tokenLifetimePolicy to an application. You can have multiple tokenLifetimePolicy policies in a tenant but can assign only one tokenLifetimePolicy per application. // returns a *RequestInformation when successful func (m *ItemTokenLifetimePoliciesRefRequestBuilder) ToPostRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ReferenceCreateable, requestConfiguration *ItemTokenLifetimePoliciesRefRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { - requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, "{+baseurl}/applications/{application%2Did}/tokenLifetimePolicies/$ref", m.BaseRequestBuilder.PathParameters) + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) if requestConfiguration != nil { requestInfo.Headers.AddAll(requestConfiguration.Headers) requestInfo.AddRequestOptions(requestConfiguration.Options) diff --git a/applicationtemplates/application_template_item_request_builder.go b/applicationtemplates/application_template_item_request_builder.go index 155c72aed4..c015d00150 100644 --- a/applicationtemplates/application_template_item_request_builder.go +++ b/applicationtemplates/application_template_item_request_builder.go @@ -14,7 +14,7 @@ import ( type ApplicationTemplateItemRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ApplicationTemplateItemRequestBuilderGetQueryParameters retrieve the properties of an applicationTemplate object. +// ApplicationTemplateItemRequestBuilderGetQueryParameters 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. type ApplicationTemplateItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string "uriparametername:\"%24expand\"" @@ -43,7 +43,7 @@ func NewApplicationTemplateItemRequestBuilder(rawUrl string, requestAdapter i2ae urlParams["request-raw-url"] = rawUrl return NewApplicationTemplateItemRequestBuilderInternal(urlParams, requestAdapter) } -// Get retrieve the properties of an applicationTemplate object. +// Get 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. // returns a ApplicationTemplateable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] @@ -71,7 +71,7 @@ func (m *ApplicationTemplateItemRequestBuilder) Get(ctx context.Context, request func (m *ApplicationTemplateItemRequestBuilder) Instantiate()(*ItemInstantiateRequestBuilder) { return NewItemInstantiateRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// ToGetRequestInformation retrieve the properties of an applicationTemplate object. +// ToGetRequestInformation 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. // returns a *RequestInformation when successful func (m *ApplicationTemplateItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ApplicationTemplateItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/applicationtemplates/application_templates_request_builder.go b/applicationtemplates/application_templates_request_builder.go index ae61d71c4e..3ab43d4647 100644 --- a/applicationtemplates/application_templates_request_builder.go +++ b/applicationtemplates/application_templates_request_builder.go @@ -14,7 +14,7 @@ import ( type ApplicationTemplatesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ApplicationTemplatesRequestBuilderGetQueryParameters retrieve a list of applicationTemplate objects from the Microsoft Entra application gallery. +// ApplicationTemplatesRequestBuilderGetQueryParameters 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. type ApplicationTemplatesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool "uriparametername:\"%24count\"" @@ -72,7 +72,7 @@ func NewApplicationTemplatesRequestBuilder(rawUrl string, requestAdapter i2ae418 func (m *ApplicationTemplatesRequestBuilder) Count()(*CountRequestBuilder) { return NewCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve a list of applicationTemplate objects from the Microsoft Entra application gallery. +// Get 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. // returns a ApplicationTemplateCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] @@ -95,7 +95,7 @@ func (m *ApplicationTemplatesRequestBuilder) Get(ctx context.Context, requestCon } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ApplicationTemplateCollectionResponseable), nil } -// ToGetRequestInformation retrieve a list of applicationTemplate objects from the Microsoft Entra application gallery. +// ToGetRequestInformation 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. // returns a *RequestInformation when successful func (m *ApplicationTemplatesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ApplicationTemplatesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/chats/9bfa55fc2a8bddcc83bd3006b4468a739aa147b6172f68040aa7ec5edc771fea.go b/chats/9bfa55fc2a8bddcc83bd3006b4468a739aa147b6172f68040aa7ec5edc771fea.go new file mode 100644 index 0000000000..15d6dea70e --- /dev/null +++ b/chats/9bfa55fc2a8bddcc83bd3006b4468a739aa147b6172f68040aa7ec5edc771fea.go @@ -0,0 +1,165 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package chats + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// ItemTargetedMessagesItemRepliesItemHostedContentsChatMessageHostedContentItemRequestBuilder provides operations to manage the hostedContents property of the microsoft.graph.chatMessage entity. +type ItemTargetedMessagesItemRepliesItemHostedContentsChatMessageHostedContentItemRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ItemTargetedMessagesItemRepliesItemHostedContentsChatMessageHostedContentItemRequestBuilderDeleteRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemTargetedMessagesItemRepliesItemHostedContentsChatMessageHostedContentItemRequestBuilderDeleteRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// ItemTargetedMessagesItemRepliesItemHostedContentsChatMessageHostedContentItemRequestBuilderGetQueryParameters content in a message hosted by Microsoft Teams - for example, images or code snippets. +type ItemTargetedMessagesItemRepliesItemHostedContentsChatMessageHostedContentItemRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string "uriparametername:\"%24expand\"" + // Select properties to be returned + Select []string "uriparametername:\"%24select\"" +} +// ItemTargetedMessagesItemRepliesItemHostedContentsChatMessageHostedContentItemRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemTargetedMessagesItemRepliesItemHostedContentsChatMessageHostedContentItemRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *ItemTargetedMessagesItemRepliesItemHostedContentsChatMessageHostedContentItemRequestBuilderGetQueryParameters +} +// ItemTargetedMessagesItemRepliesItemHostedContentsChatMessageHostedContentItemRequestBuilderPatchRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemTargetedMessagesItemRepliesItemHostedContentsChatMessageHostedContentItemRequestBuilderPatchRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewItemTargetedMessagesItemRepliesItemHostedContentsChatMessageHostedContentItemRequestBuilderInternal instantiates a new ItemTargetedMessagesItemRepliesItemHostedContentsChatMessageHostedContentItemRequestBuilder and sets the default values. +func NewItemTargetedMessagesItemRepliesItemHostedContentsChatMessageHostedContentItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemTargetedMessagesItemRepliesItemHostedContentsChatMessageHostedContentItemRequestBuilder) { + m := &ItemTargetedMessagesItemRepliesItemHostedContentsChatMessageHostedContentItemRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/chats/{chat%2Did}/targetedMessages/{targetedChatMessage%2Did}/replies/{chatMessage%2Did}/hostedContents/{chatMessageHostedContent%2Did}{?%24expand,%24select}", pathParameters), + } + return m +} +// NewItemTargetedMessagesItemRepliesItemHostedContentsChatMessageHostedContentItemRequestBuilder instantiates a new ItemTargetedMessagesItemRepliesItemHostedContentsChatMessageHostedContentItemRequestBuilder and sets the default values. +func NewItemTargetedMessagesItemRepliesItemHostedContentsChatMessageHostedContentItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemTargetedMessagesItemRepliesItemHostedContentsChatMessageHostedContentItemRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewItemTargetedMessagesItemRepliesItemHostedContentsChatMessageHostedContentItemRequestBuilderInternal(urlParams, requestAdapter) +} +// Content provides operations to manage the media for the chat entity. +// returns a *ItemTargetedMessagesItemRepliesItemHostedContentsItemValueContentRequestBuilder when successful +func (m *ItemTargetedMessagesItemRepliesItemHostedContentsChatMessageHostedContentItemRequestBuilder) Content()(*ItemTargetedMessagesItemRepliesItemHostedContentsItemValueContentRequestBuilder) { + return NewItemTargetedMessagesItemRepliesItemHostedContentsItemValueContentRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Delete delete navigation property hostedContents for chats +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemTargetedMessagesItemRepliesItemHostedContentsChatMessageHostedContentItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemTargetedMessagesItemRepliesItemHostedContentsChatMessageHostedContentItemRequestBuilderDeleteRequestConfiguration)(error) { + requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); + if err != nil { + return err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + err = m.BaseRequestBuilder.RequestAdapter.SendNoContent(ctx, requestInfo, errorMapping) + if err != nil { + return err + } + return nil +} +// Get content in a message hosted by Microsoft Teams - for example, images or code snippets. +// returns a ChatMessageHostedContentable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemTargetedMessagesItemRepliesItemHostedContentsChatMessageHostedContentItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemTargetedMessagesItemRepliesItemHostedContentsChatMessageHostedContentItemRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageHostedContentable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateChatMessageHostedContentFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageHostedContentable), nil +} +// Patch update the navigation property hostedContents in chats +// returns a ChatMessageHostedContentable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemTargetedMessagesItemRepliesItemHostedContentsChatMessageHostedContentItemRequestBuilder) Patch(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageHostedContentable, requestConfiguration *ItemTargetedMessagesItemRepliesItemHostedContentsChatMessageHostedContentItemRequestBuilderPatchRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageHostedContentable, error) { + requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateChatMessageHostedContentFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageHostedContentable), nil +} +// ToDeleteRequestInformation delete navigation property hostedContents for chats +// returns a *RequestInformation when successful +func (m *ItemTargetedMessagesItemRepliesItemHostedContentsChatMessageHostedContentItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemTargetedMessagesItemRepliesItemHostedContentsChatMessageHostedContentItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToGetRequestInformation content in a message hosted by Microsoft Teams - for example, images or code snippets. +// returns a *RequestInformation when successful +func (m *ItemTargetedMessagesItemRepliesItemHostedContentsChatMessageHostedContentItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemTargetedMessagesItemRepliesItemHostedContentsChatMessageHostedContentItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToPatchRequestInformation update the navigation property hostedContents in chats +// returns a *RequestInformation when successful +func (m *ItemTargetedMessagesItemRepliesItemHostedContentsChatMessageHostedContentItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageHostedContentable, requestConfiguration *ItemTargetedMessagesItemRepliesItemHostedContentsChatMessageHostedContentItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *ItemTargetedMessagesItemRepliesItemHostedContentsChatMessageHostedContentItemRequestBuilder when successful +func (m *ItemTargetedMessagesItemRepliesItemHostedContentsChatMessageHostedContentItemRequestBuilder) WithUrl(rawUrl string)(*ItemTargetedMessagesItemRepliesItemHostedContentsChatMessageHostedContentItemRequestBuilder) { + return NewItemTargetedMessagesItemRepliesItemHostedContentsChatMessageHostedContentItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/chats/chat_item_request_builder.go b/chats/chat_item_request_builder.go index 12d606fa1b..5bf954d51c 100644 --- a/chats/chat_item_request_builder.go +++ b/chats/chat_item_request_builder.go @@ -192,6 +192,11 @@ func (m *ChatItemRequestBuilder) StartMigration()(*ItemStartMigrationRequestBuil func (m *ChatItemRequestBuilder) Tabs()(*ItemTabsRequestBuilder) { return NewItemTabsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } +// TargetedMessages provides operations to manage the targetedMessages property of the microsoft.graph.chat entity. +// returns a *ItemTargetedMessagesRequestBuilder when successful +func (m *ChatItemRequestBuilder) TargetedMessages()(*ItemTargetedMessagesRequestBuilder) { + return NewItemTargetedMessagesRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} // ToDeleteRequestInformation soft-delete a chat. When invoked with delegated permissions, this operation only works for tenant admins and Teams service admins. // returns a *RequestInformation when successful func (m *ChatItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ChatItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { diff --git a/chats/item_targeted_messages_count_request_builder.go b/chats/item_targeted_messages_count_request_builder.go new file mode 100644 index 0000000000..98f6cf2adc --- /dev/null +++ b/chats/item_targeted_messages_count_request_builder.go @@ -0,0 +1,83 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package chats + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// ItemTargetedMessagesCountRequestBuilder provides operations to count the resources in the collection. +type ItemTargetedMessagesCountRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ItemTargetedMessagesCountRequestBuilderGetQueryParameters get the number of the resource +type ItemTargetedMessagesCountRequestBuilderGetQueryParameters struct { + // Filter items by property values + Filter *string "uriparametername:\"%24filter\"" + // Search items by search phrases + Search *string "uriparametername:\"%24search\"" +} +// ItemTargetedMessagesCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemTargetedMessagesCountRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *ItemTargetedMessagesCountRequestBuilderGetQueryParameters +} +// NewItemTargetedMessagesCountRequestBuilderInternal instantiates a new ItemTargetedMessagesCountRequestBuilder and sets the default values. +func NewItemTargetedMessagesCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemTargetedMessagesCountRequestBuilder) { + m := &ItemTargetedMessagesCountRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/chats/{chat%2Did}/targetedMessages/$count{?%24filter,%24search}", pathParameters), + } + return m +} +// NewItemTargetedMessagesCountRequestBuilder instantiates a new ItemTargetedMessagesCountRequestBuilder and sets the default values. +func NewItemTargetedMessagesCountRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemTargetedMessagesCountRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewItemTargetedMessagesCountRequestBuilderInternal(urlParams, requestAdapter) +} +// Get get the number of the resource +// returns a *int32 when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemTargetedMessagesCountRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemTargetedMessagesCountRequestBuilderGetRequestConfiguration)(*int32, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.SendPrimitive(ctx, requestInfo, "int32", errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(*int32), nil +} +// ToGetRequestInformation get the number of the resource +// returns a *RequestInformation when successful +func (m *ItemTargetedMessagesCountRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemTargetedMessagesCountRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9") + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *ItemTargetedMessagesCountRequestBuilder when successful +func (m *ItemTargetedMessagesCountRequestBuilder) WithUrl(rawUrl string)(*ItemTargetedMessagesCountRequestBuilder) { + return NewItemTargetedMessagesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/chats/item_targeted_messages_item_hosted_contents_chat_message_hosted_content_item_request_builder.go b/chats/item_targeted_messages_item_hosted_contents_chat_message_hosted_content_item_request_builder.go new file mode 100644 index 0000000000..6add7f7802 --- /dev/null +++ b/chats/item_targeted_messages_item_hosted_contents_chat_message_hosted_content_item_request_builder.go @@ -0,0 +1,165 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package chats + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// ItemTargetedMessagesItemHostedContentsChatMessageHostedContentItemRequestBuilder provides operations to manage the hostedContents property of the microsoft.graph.chatMessage entity. +type ItemTargetedMessagesItemHostedContentsChatMessageHostedContentItemRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ItemTargetedMessagesItemHostedContentsChatMessageHostedContentItemRequestBuilderDeleteRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemTargetedMessagesItemHostedContentsChatMessageHostedContentItemRequestBuilderDeleteRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// ItemTargetedMessagesItemHostedContentsChatMessageHostedContentItemRequestBuilderGetQueryParameters content in a message hosted by Microsoft Teams - for example, images or code snippets. +type ItemTargetedMessagesItemHostedContentsChatMessageHostedContentItemRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string "uriparametername:\"%24expand\"" + // Select properties to be returned + Select []string "uriparametername:\"%24select\"" +} +// ItemTargetedMessagesItemHostedContentsChatMessageHostedContentItemRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemTargetedMessagesItemHostedContentsChatMessageHostedContentItemRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *ItemTargetedMessagesItemHostedContentsChatMessageHostedContentItemRequestBuilderGetQueryParameters +} +// ItemTargetedMessagesItemHostedContentsChatMessageHostedContentItemRequestBuilderPatchRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemTargetedMessagesItemHostedContentsChatMessageHostedContentItemRequestBuilderPatchRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewItemTargetedMessagesItemHostedContentsChatMessageHostedContentItemRequestBuilderInternal instantiates a new ItemTargetedMessagesItemHostedContentsChatMessageHostedContentItemRequestBuilder and sets the default values. +func NewItemTargetedMessagesItemHostedContentsChatMessageHostedContentItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemTargetedMessagesItemHostedContentsChatMessageHostedContentItemRequestBuilder) { + m := &ItemTargetedMessagesItemHostedContentsChatMessageHostedContentItemRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/chats/{chat%2Did}/targetedMessages/{targetedChatMessage%2Did}/hostedContents/{chatMessageHostedContent%2Did}{?%24expand,%24select}", pathParameters), + } + return m +} +// NewItemTargetedMessagesItemHostedContentsChatMessageHostedContentItemRequestBuilder instantiates a new ItemTargetedMessagesItemHostedContentsChatMessageHostedContentItemRequestBuilder and sets the default values. +func NewItemTargetedMessagesItemHostedContentsChatMessageHostedContentItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemTargetedMessagesItemHostedContentsChatMessageHostedContentItemRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewItemTargetedMessagesItemHostedContentsChatMessageHostedContentItemRequestBuilderInternal(urlParams, requestAdapter) +} +// Content provides operations to manage the media for the chat entity. +// returns a *ItemTargetedMessagesItemHostedContentsItemValueContentRequestBuilder when successful +func (m *ItemTargetedMessagesItemHostedContentsChatMessageHostedContentItemRequestBuilder) Content()(*ItemTargetedMessagesItemHostedContentsItemValueContentRequestBuilder) { + return NewItemTargetedMessagesItemHostedContentsItemValueContentRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Delete delete navigation property hostedContents for chats +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemTargetedMessagesItemHostedContentsChatMessageHostedContentItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemTargetedMessagesItemHostedContentsChatMessageHostedContentItemRequestBuilderDeleteRequestConfiguration)(error) { + requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); + if err != nil { + return err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + err = m.BaseRequestBuilder.RequestAdapter.SendNoContent(ctx, requestInfo, errorMapping) + if err != nil { + return err + } + return nil +} +// Get content in a message hosted by Microsoft Teams - for example, images or code snippets. +// returns a ChatMessageHostedContentable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemTargetedMessagesItemHostedContentsChatMessageHostedContentItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemTargetedMessagesItemHostedContentsChatMessageHostedContentItemRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageHostedContentable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateChatMessageHostedContentFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageHostedContentable), nil +} +// Patch update the navigation property hostedContents in chats +// returns a ChatMessageHostedContentable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemTargetedMessagesItemHostedContentsChatMessageHostedContentItemRequestBuilder) Patch(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageHostedContentable, requestConfiguration *ItemTargetedMessagesItemHostedContentsChatMessageHostedContentItemRequestBuilderPatchRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageHostedContentable, error) { + requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateChatMessageHostedContentFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageHostedContentable), nil +} +// ToDeleteRequestInformation delete navigation property hostedContents for chats +// returns a *RequestInformation when successful +func (m *ItemTargetedMessagesItemHostedContentsChatMessageHostedContentItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemTargetedMessagesItemHostedContentsChatMessageHostedContentItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToGetRequestInformation content in a message hosted by Microsoft Teams - for example, images or code snippets. +// returns a *RequestInformation when successful +func (m *ItemTargetedMessagesItemHostedContentsChatMessageHostedContentItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemTargetedMessagesItemHostedContentsChatMessageHostedContentItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToPatchRequestInformation update the navigation property hostedContents in chats +// returns a *RequestInformation when successful +func (m *ItemTargetedMessagesItemHostedContentsChatMessageHostedContentItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageHostedContentable, requestConfiguration *ItemTargetedMessagesItemHostedContentsChatMessageHostedContentItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *ItemTargetedMessagesItemHostedContentsChatMessageHostedContentItemRequestBuilder when successful +func (m *ItemTargetedMessagesItemHostedContentsChatMessageHostedContentItemRequestBuilder) WithUrl(rawUrl string)(*ItemTargetedMessagesItemHostedContentsChatMessageHostedContentItemRequestBuilder) { + return NewItemTargetedMessagesItemHostedContentsChatMessageHostedContentItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/chats/item_targeted_messages_item_hosted_contents_count_request_builder.go b/chats/item_targeted_messages_item_hosted_contents_count_request_builder.go new file mode 100644 index 0000000000..8d1c23f99f --- /dev/null +++ b/chats/item_targeted_messages_item_hosted_contents_count_request_builder.go @@ -0,0 +1,83 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package chats + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// ItemTargetedMessagesItemHostedContentsCountRequestBuilder provides operations to count the resources in the collection. +type ItemTargetedMessagesItemHostedContentsCountRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ItemTargetedMessagesItemHostedContentsCountRequestBuilderGetQueryParameters get the number of the resource +type ItemTargetedMessagesItemHostedContentsCountRequestBuilderGetQueryParameters struct { + // Filter items by property values + Filter *string "uriparametername:\"%24filter\"" + // Search items by search phrases + Search *string "uriparametername:\"%24search\"" +} +// ItemTargetedMessagesItemHostedContentsCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemTargetedMessagesItemHostedContentsCountRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *ItemTargetedMessagesItemHostedContentsCountRequestBuilderGetQueryParameters +} +// NewItemTargetedMessagesItemHostedContentsCountRequestBuilderInternal instantiates a new ItemTargetedMessagesItemHostedContentsCountRequestBuilder and sets the default values. +func NewItemTargetedMessagesItemHostedContentsCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemTargetedMessagesItemHostedContentsCountRequestBuilder) { + m := &ItemTargetedMessagesItemHostedContentsCountRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/chats/{chat%2Did}/targetedMessages/{targetedChatMessage%2Did}/hostedContents/$count{?%24filter,%24search}", pathParameters), + } + return m +} +// NewItemTargetedMessagesItemHostedContentsCountRequestBuilder instantiates a new ItemTargetedMessagesItemHostedContentsCountRequestBuilder and sets the default values. +func NewItemTargetedMessagesItemHostedContentsCountRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemTargetedMessagesItemHostedContentsCountRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewItemTargetedMessagesItemHostedContentsCountRequestBuilderInternal(urlParams, requestAdapter) +} +// Get get the number of the resource +// returns a *int32 when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemTargetedMessagesItemHostedContentsCountRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemTargetedMessagesItemHostedContentsCountRequestBuilderGetRequestConfiguration)(*int32, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.SendPrimitive(ctx, requestInfo, "int32", errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(*int32), nil +} +// ToGetRequestInformation get the number of the resource +// returns a *RequestInformation when successful +func (m *ItemTargetedMessagesItemHostedContentsCountRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemTargetedMessagesItemHostedContentsCountRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9") + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *ItemTargetedMessagesItemHostedContentsCountRequestBuilder when successful +func (m *ItemTargetedMessagesItemHostedContentsCountRequestBuilder) WithUrl(rawUrl string)(*ItemTargetedMessagesItemHostedContentsCountRequestBuilder) { + return NewItemTargetedMessagesItemHostedContentsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/chats/item_targeted_messages_item_hosted_contents_item_value_content_request_builder.go b/chats/item_targeted_messages_item_hosted_contents_item_value_content_request_builder.go new file mode 100644 index 0000000000..3746a0a538 --- /dev/null +++ b/chats/item_targeted_messages_item_hosted_contents_item_value_content_request_builder.go @@ -0,0 +1,144 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package chats + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// ItemTargetedMessagesItemHostedContentsItemValueContentRequestBuilder provides operations to manage the media for the chat entity. +type ItemTargetedMessagesItemHostedContentsItemValueContentRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ItemTargetedMessagesItemHostedContentsItemValueContentRequestBuilderDeleteRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemTargetedMessagesItemHostedContentsItemValueContentRequestBuilderDeleteRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// ItemTargetedMessagesItemHostedContentsItemValueContentRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemTargetedMessagesItemHostedContentsItemValueContentRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// ItemTargetedMessagesItemHostedContentsItemValueContentRequestBuilderPutRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemTargetedMessagesItemHostedContentsItemValueContentRequestBuilderPutRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewItemTargetedMessagesItemHostedContentsItemValueContentRequestBuilderInternal instantiates a new ItemTargetedMessagesItemHostedContentsItemValueContentRequestBuilder and sets the default values. +func NewItemTargetedMessagesItemHostedContentsItemValueContentRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemTargetedMessagesItemHostedContentsItemValueContentRequestBuilder) { + m := &ItemTargetedMessagesItemHostedContentsItemValueContentRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/chats/{chat%2Did}/targetedMessages/{targetedChatMessage%2Did}/hostedContents/{chatMessageHostedContent%2Did}/$value", pathParameters), + } + return m +} +// NewItemTargetedMessagesItemHostedContentsItemValueContentRequestBuilder instantiates a new ItemTargetedMessagesItemHostedContentsItemValueContentRequestBuilder and sets the default values. +func NewItemTargetedMessagesItemHostedContentsItemValueContentRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemTargetedMessagesItemHostedContentsItemValueContentRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewItemTargetedMessagesItemHostedContentsItemValueContentRequestBuilderInternal(urlParams, requestAdapter) +} +// Delete the unique identifier for an entity. Read-only. +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemTargetedMessagesItemHostedContentsItemValueContentRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemTargetedMessagesItemHostedContentsItemValueContentRequestBuilderDeleteRequestConfiguration)(error) { + requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); + if err != nil { + return err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + err = m.BaseRequestBuilder.RequestAdapter.SendNoContent(ctx, requestInfo, errorMapping) + if err != nil { + return err + } + return nil +} +// Get the unique identifier for an entity. Read-only. +// returns a []byte when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemTargetedMessagesItemHostedContentsItemValueContentRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemTargetedMessagesItemHostedContentsItemValueContentRequestBuilderGetRequestConfiguration)([]byte, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.SendPrimitive(ctx, requestInfo, "[]byte", errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.([]byte), nil +} +// Put the unique identifier for an entity. Read-only. +// returns a []byte when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemTargetedMessagesItemHostedContentsItemValueContentRequestBuilder) Put(ctx context.Context, body []byte, requestConfiguration *ItemTargetedMessagesItemHostedContentsItemValueContentRequestBuilderPutRequestConfiguration)([]byte, error) { + requestInfo, err := m.ToPutRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.SendPrimitive(ctx, requestInfo, "[]byte", errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.([]byte), nil +} +// ToDeleteRequestInformation the unique identifier for an entity. Read-only. +// returns a *RequestInformation when successful +func (m *ItemTargetedMessagesItemHostedContentsItemValueContentRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemTargetedMessagesItemHostedContentsItemValueContentRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToGetRequestInformation the unique identifier for an entity. Read-only. +// returns a *RequestInformation when successful +func (m *ItemTargetedMessagesItemHostedContentsItemValueContentRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemTargetedMessagesItemHostedContentsItemValueContentRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") + return requestInfo, nil +} +// ToPutRequestInformation the unique identifier for an entity. Read-only. +// returns a *RequestInformation when successful +func (m *ItemTargetedMessagesItemHostedContentsItemValueContentRequestBuilder) ToPutRequestInformation(ctx context.Context, body []byte, requestConfiguration *ItemTargetedMessagesItemHostedContentsItemValueContentRequestBuilderPutRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PUT, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + requestInfo.SetStreamContentAndContentType(body, "application/octet-stream") + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *ItemTargetedMessagesItemHostedContentsItemValueContentRequestBuilder when successful +func (m *ItemTargetedMessagesItemHostedContentsItemValueContentRequestBuilder) WithUrl(rawUrl string)(*ItemTargetedMessagesItemHostedContentsItemValueContentRequestBuilder) { + return NewItemTargetedMessagesItemHostedContentsItemValueContentRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/chats/item_targeted_messages_item_hosted_contents_request_builder.go b/chats/item_targeted_messages_item_hosted_contents_request_builder.go new file mode 100644 index 0000000000..00c289ff56 --- /dev/null +++ b/chats/item_targeted_messages_item_hosted_contents_request_builder.go @@ -0,0 +1,155 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package chats + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// ItemTargetedMessagesItemHostedContentsRequestBuilder provides operations to manage the hostedContents property of the microsoft.graph.chatMessage entity. +type ItemTargetedMessagesItemHostedContentsRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ItemTargetedMessagesItemHostedContentsRequestBuilderGetQueryParameters content in a message hosted by Microsoft Teams - for example, images or code snippets. +type ItemTargetedMessagesItemHostedContentsRequestBuilderGetQueryParameters struct { + // Include count of items + Count *bool "uriparametername:\"%24count\"" + // Expand related entities + Expand []string "uriparametername:\"%24expand\"" + // Filter items by property values + Filter *string "uriparametername:\"%24filter\"" + // Order items by property values + Orderby []string "uriparametername:\"%24orderby\"" + // Search items by search phrases + Search *string "uriparametername:\"%24search\"" + // Select properties to be returned + Select []string "uriparametername:\"%24select\"" + // Skip the first n items + Skip *int32 "uriparametername:\"%24skip\"" + // Show only the first n items + Top *int32 "uriparametername:\"%24top\"" +} +// ItemTargetedMessagesItemHostedContentsRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemTargetedMessagesItemHostedContentsRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *ItemTargetedMessagesItemHostedContentsRequestBuilderGetQueryParameters +} +// ItemTargetedMessagesItemHostedContentsRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemTargetedMessagesItemHostedContentsRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// ByChatMessageHostedContentId provides operations to manage the hostedContents property of the microsoft.graph.chatMessage entity. +// returns a *ItemTargetedMessagesItemHostedContentsChatMessageHostedContentItemRequestBuilder when successful +func (m *ItemTargetedMessagesItemHostedContentsRequestBuilder) ByChatMessageHostedContentId(chatMessageHostedContentId string)(*ItemTargetedMessagesItemHostedContentsChatMessageHostedContentItemRequestBuilder) { + urlTplParams := make(map[string]string) + for idx, item := range m.BaseRequestBuilder.PathParameters { + urlTplParams[idx] = item + } + if chatMessageHostedContentId != "" { + urlTplParams["chatMessageHostedContent%2Did"] = chatMessageHostedContentId + } + return NewItemTargetedMessagesItemHostedContentsChatMessageHostedContentItemRequestBuilderInternal(urlTplParams, m.BaseRequestBuilder.RequestAdapter) +} +// NewItemTargetedMessagesItemHostedContentsRequestBuilderInternal instantiates a new ItemTargetedMessagesItemHostedContentsRequestBuilder and sets the default values. +func NewItemTargetedMessagesItemHostedContentsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemTargetedMessagesItemHostedContentsRequestBuilder) { + m := &ItemTargetedMessagesItemHostedContentsRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/chats/{chat%2Did}/targetedMessages/{targetedChatMessage%2Did}/hostedContents{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), + } + return m +} +// NewItemTargetedMessagesItemHostedContentsRequestBuilder instantiates a new ItemTargetedMessagesItemHostedContentsRequestBuilder and sets the default values. +func NewItemTargetedMessagesItemHostedContentsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemTargetedMessagesItemHostedContentsRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewItemTargetedMessagesItemHostedContentsRequestBuilderInternal(urlParams, requestAdapter) +} +// Count provides operations to count the resources in the collection. +// returns a *ItemTargetedMessagesItemHostedContentsCountRequestBuilder when successful +func (m *ItemTargetedMessagesItemHostedContentsRequestBuilder) Count()(*ItemTargetedMessagesItemHostedContentsCountRequestBuilder) { + return NewItemTargetedMessagesItemHostedContentsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Get content in a message hosted by Microsoft Teams - for example, images or code snippets. +// returns a ChatMessageHostedContentCollectionResponseable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemTargetedMessagesItemHostedContentsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemTargetedMessagesItemHostedContentsRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageHostedContentCollectionResponseable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateChatMessageHostedContentCollectionResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageHostedContentCollectionResponseable), nil +} +// Post create new navigation property to hostedContents for chats +// returns a ChatMessageHostedContentable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemTargetedMessagesItemHostedContentsRequestBuilder) Post(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageHostedContentable, requestConfiguration *ItemTargetedMessagesItemHostedContentsRequestBuilderPostRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageHostedContentable, error) { + requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateChatMessageHostedContentFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageHostedContentable), nil +} +// ToGetRequestInformation content in a message hosted by Microsoft Teams - for example, images or code snippets. +// returns a *RequestInformation when successful +func (m *ItemTargetedMessagesItemHostedContentsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemTargetedMessagesItemHostedContentsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToPostRequestInformation create new navigation property to hostedContents for chats +// returns a *RequestInformation when successful +func (m *ItemTargetedMessagesItemHostedContentsRequestBuilder) ToPostRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageHostedContentable, requestConfiguration *ItemTargetedMessagesItemHostedContentsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *ItemTargetedMessagesItemHostedContentsRequestBuilder when successful +func (m *ItemTargetedMessagesItemHostedContentsRequestBuilder) WithUrl(rawUrl string)(*ItemTargetedMessagesItemHostedContentsRequestBuilder) { + return NewItemTargetedMessagesItemHostedContentsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/chats/item_targeted_messages_item_replies_chat_message_item_request_builder.go b/chats/item_targeted_messages_item_replies_chat_message_item_request_builder.go new file mode 100644 index 0000000000..a4a442976a --- /dev/null +++ b/chats/item_targeted_messages_item_replies_chat_message_item_request_builder.go @@ -0,0 +1,185 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package chats + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// ItemTargetedMessagesItemRepliesChatMessageItemRequestBuilder provides operations to manage the replies property of the microsoft.graph.chatMessage entity. +type ItemTargetedMessagesItemRepliesChatMessageItemRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ItemTargetedMessagesItemRepliesChatMessageItemRequestBuilderDeleteRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemTargetedMessagesItemRepliesChatMessageItemRequestBuilderDeleteRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// ItemTargetedMessagesItemRepliesChatMessageItemRequestBuilderGetQueryParameters replies for a specified message. Supports $expand for channel messages. +type ItemTargetedMessagesItemRepliesChatMessageItemRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string "uriparametername:\"%24expand\"" + // Select properties to be returned + Select []string "uriparametername:\"%24select\"" +} +// ItemTargetedMessagesItemRepliesChatMessageItemRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemTargetedMessagesItemRepliesChatMessageItemRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *ItemTargetedMessagesItemRepliesChatMessageItemRequestBuilderGetQueryParameters +} +// ItemTargetedMessagesItemRepliesChatMessageItemRequestBuilderPatchRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemTargetedMessagesItemRepliesChatMessageItemRequestBuilderPatchRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewItemTargetedMessagesItemRepliesChatMessageItemRequestBuilderInternal instantiates a new ItemTargetedMessagesItemRepliesChatMessageItemRequestBuilder and sets the default values. +func NewItemTargetedMessagesItemRepliesChatMessageItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemTargetedMessagesItemRepliesChatMessageItemRequestBuilder) { + m := &ItemTargetedMessagesItemRepliesChatMessageItemRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/chats/{chat%2Did}/targetedMessages/{targetedChatMessage%2Did}/replies/{chatMessage%2Did}{?%24expand,%24select}", pathParameters), + } + return m +} +// NewItemTargetedMessagesItemRepliesChatMessageItemRequestBuilder instantiates a new ItemTargetedMessagesItemRepliesChatMessageItemRequestBuilder and sets the default values. +func NewItemTargetedMessagesItemRepliesChatMessageItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemTargetedMessagesItemRepliesChatMessageItemRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewItemTargetedMessagesItemRepliesChatMessageItemRequestBuilderInternal(urlParams, requestAdapter) +} +// Delete delete navigation property replies for chats +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemTargetedMessagesItemRepliesChatMessageItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemTargetedMessagesItemRepliesChatMessageItemRequestBuilderDeleteRequestConfiguration)(error) { + requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); + if err != nil { + return err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + err = m.BaseRequestBuilder.RequestAdapter.SendNoContent(ctx, requestInfo, errorMapping) + if err != nil { + return err + } + return nil +} +// Get replies for a specified message. Supports $expand for channel messages. +// returns a ChatMessageable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemTargetedMessagesItemRepliesChatMessageItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemTargetedMessagesItemRepliesChatMessageItemRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateChatMessageFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable), nil +} +// HostedContents provides operations to manage the hostedContents property of the microsoft.graph.chatMessage entity. +// returns a *ItemTargetedMessagesItemRepliesItemHostedContentsRequestBuilder when successful +func (m *ItemTargetedMessagesItemRepliesChatMessageItemRequestBuilder) HostedContents()(*ItemTargetedMessagesItemRepliesItemHostedContentsRequestBuilder) { + return NewItemTargetedMessagesItemRepliesItemHostedContentsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Patch update the navigation property replies in chats +// returns a ChatMessageable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemTargetedMessagesItemRepliesChatMessageItemRequestBuilder) Patch(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable, requestConfiguration *ItemTargetedMessagesItemRepliesChatMessageItemRequestBuilderPatchRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable, error) { + requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateChatMessageFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable), nil +} +// SetReaction provides operations to call the setReaction method. +// returns a *ItemTargetedMessagesItemRepliesItemSetReactionRequestBuilder when successful +func (m *ItemTargetedMessagesItemRepliesChatMessageItemRequestBuilder) SetReaction()(*ItemTargetedMessagesItemRepliesItemSetReactionRequestBuilder) { + return NewItemTargetedMessagesItemRepliesItemSetReactionRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// SoftDelete provides operations to call the softDelete method. +// returns a *ItemTargetedMessagesItemRepliesItemSoftDeleteRequestBuilder when successful +func (m *ItemTargetedMessagesItemRepliesChatMessageItemRequestBuilder) SoftDelete()(*ItemTargetedMessagesItemRepliesItemSoftDeleteRequestBuilder) { + return NewItemTargetedMessagesItemRepliesItemSoftDeleteRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// ToDeleteRequestInformation delete navigation property replies for chats +// returns a *RequestInformation when successful +func (m *ItemTargetedMessagesItemRepliesChatMessageItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemTargetedMessagesItemRepliesChatMessageItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToGetRequestInformation replies for a specified message. Supports $expand for channel messages. +// returns a *RequestInformation when successful +func (m *ItemTargetedMessagesItemRepliesChatMessageItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemTargetedMessagesItemRepliesChatMessageItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToPatchRequestInformation update the navigation property replies in chats +// returns a *RequestInformation when successful +func (m *ItemTargetedMessagesItemRepliesChatMessageItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable, requestConfiguration *ItemTargetedMessagesItemRepliesChatMessageItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// UndoSoftDelete provides operations to call the undoSoftDelete method. +// returns a *ItemTargetedMessagesItemRepliesItemUndoSoftDeleteRequestBuilder when successful +func (m *ItemTargetedMessagesItemRepliesChatMessageItemRequestBuilder) UndoSoftDelete()(*ItemTargetedMessagesItemRepliesItemUndoSoftDeleteRequestBuilder) { + return NewItemTargetedMessagesItemRepliesItemUndoSoftDeleteRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// UnsetReaction provides operations to call the unsetReaction method. +// returns a *ItemTargetedMessagesItemRepliesItemUnsetReactionRequestBuilder when successful +func (m *ItemTargetedMessagesItemRepliesChatMessageItemRequestBuilder) UnsetReaction()(*ItemTargetedMessagesItemRepliesItemUnsetReactionRequestBuilder) { + return NewItemTargetedMessagesItemRepliesItemUnsetReactionRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *ItemTargetedMessagesItemRepliesChatMessageItemRequestBuilder when successful +func (m *ItemTargetedMessagesItemRepliesChatMessageItemRequestBuilder) WithUrl(rawUrl string)(*ItemTargetedMessagesItemRepliesChatMessageItemRequestBuilder) { + return NewItemTargetedMessagesItemRepliesChatMessageItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/chats/item_targeted_messages_item_replies_count_request_builder.go b/chats/item_targeted_messages_item_replies_count_request_builder.go new file mode 100644 index 0000000000..437c76f5f9 --- /dev/null +++ b/chats/item_targeted_messages_item_replies_count_request_builder.go @@ -0,0 +1,83 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package chats + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// ItemTargetedMessagesItemRepliesCountRequestBuilder provides operations to count the resources in the collection. +type ItemTargetedMessagesItemRepliesCountRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ItemTargetedMessagesItemRepliesCountRequestBuilderGetQueryParameters get the number of the resource +type ItemTargetedMessagesItemRepliesCountRequestBuilderGetQueryParameters struct { + // Filter items by property values + Filter *string "uriparametername:\"%24filter\"" + // Search items by search phrases + Search *string "uriparametername:\"%24search\"" +} +// ItemTargetedMessagesItemRepliesCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemTargetedMessagesItemRepliesCountRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *ItemTargetedMessagesItemRepliesCountRequestBuilderGetQueryParameters +} +// NewItemTargetedMessagesItemRepliesCountRequestBuilderInternal instantiates a new ItemTargetedMessagesItemRepliesCountRequestBuilder and sets the default values. +func NewItemTargetedMessagesItemRepliesCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemTargetedMessagesItemRepliesCountRequestBuilder) { + m := &ItemTargetedMessagesItemRepliesCountRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/chats/{chat%2Did}/targetedMessages/{targetedChatMessage%2Did}/replies/$count{?%24filter,%24search}", pathParameters), + } + return m +} +// NewItemTargetedMessagesItemRepliesCountRequestBuilder instantiates a new ItemTargetedMessagesItemRepliesCountRequestBuilder and sets the default values. +func NewItemTargetedMessagesItemRepliesCountRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemTargetedMessagesItemRepliesCountRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewItemTargetedMessagesItemRepliesCountRequestBuilderInternal(urlParams, requestAdapter) +} +// Get get the number of the resource +// returns a *int32 when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemTargetedMessagesItemRepliesCountRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemTargetedMessagesItemRepliesCountRequestBuilderGetRequestConfiguration)(*int32, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.SendPrimitive(ctx, requestInfo, "int32", errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(*int32), nil +} +// ToGetRequestInformation get the number of the resource +// returns a *RequestInformation when successful +func (m *ItemTargetedMessagesItemRepliesCountRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemTargetedMessagesItemRepliesCountRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9") + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *ItemTargetedMessagesItemRepliesCountRequestBuilder when successful +func (m *ItemTargetedMessagesItemRepliesCountRequestBuilder) WithUrl(rawUrl string)(*ItemTargetedMessagesItemRepliesCountRequestBuilder) { + return NewItemTargetedMessagesItemRepliesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/chats/item_targeted_messages_item_replies_delta_get_response.go b/chats/item_targeted_messages_item_replies_delta_get_response.go new file mode 100644 index 0000000000..e896810a0f --- /dev/null +++ b/chats/item_targeted_messages_item_replies_delta_get_response.go @@ -0,0 +1,92 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package chats + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" +) + +type ItemTargetedMessagesItemRepliesDeltaGetResponse struct { + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.BaseDeltaFunctionResponse +} +// NewItemTargetedMessagesItemRepliesDeltaGetResponse instantiates a new ItemTargetedMessagesItemRepliesDeltaGetResponse and sets the default values. +func NewItemTargetedMessagesItemRepliesDeltaGetResponse()(*ItemTargetedMessagesItemRepliesDeltaGetResponse) { + m := &ItemTargetedMessagesItemRepliesDeltaGetResponse{ + BaseDeltaFunctionResponse: *iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.NewBaseDeltaFunctionResponse(), + } + return m +} +// CreateItemTargetedMessagesItemRepliesDeltaGetResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateItemTargetedMessagesItemRepliesDeltaGetResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewItemTargetedMessagesItemRepliesDeltaGetResponse(), nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *ItemTargetedMessagesItemRepliesDeltaGetResponse) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.BaseDeltaFunctionResponse.GetFieldDeserializers() + res["value"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateChatMessageFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable) + } + } + m.SetValue(res) + } + return nil + } + return res +} +// GetValue gets the value property value. The value property +// returns a []ChatMessageable when successful +func (m *ItemTargetedMessagesItemRepliesDeltaGetResponse) GetValue()([]iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable) { + val, err := m.GetBackingStore().Get("value") + if err != nil { + panic(err) + } + if val != nil { + return val.([]iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable) + } + return nil +} +// Serialize serializes information the current object +func (m *ItemTargetedMessagesItemRepliesDeltaGetResponse) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.BaseDeltaFunctionResponse.Serialize(writer) + if err != nil { + return err + } + if m.GetValue() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetValue())) + for i, v := range m.GetValue() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err = writer.WriteCollectionOfObjectValues("value", cast) + if err != nil { + return err + } + } + return nil +} +// SetValue sets the value property value. The value property +func (m *ItemTargetedMessagesItemRepliesDeltaGetResponse) SetValue(value []iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable)() { + err := m.GetBackingStore().Set("value", value) + if err != nil { + panic(err) + } +} +type ItemTargetedMessagesItemRepliesDeltaGetResponseable interface { + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.BaseDeltaFunctionResponseable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetValue()([]iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable) + SetValue(value []iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable)() +} diff --git a/chats/item_targeted_messages_item_replies_delta_request_builder.go b/chats/item_targeted_messages_item_replies_delta_request_builder.go new file mode 100644 index 0000000000..2274900cb9 --- /dev/null +++ b/chats/item_targeted_messages_item_replies_delta_request_builder.go @@ -0,0 +1,122 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package chats + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// ItemTargetedMessagesItemRepliesDeltaRequestBuilder provides operations to call the delta method. +type ItemTargetedMessagesItemRepliesDeltaRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ItemTargetedMessagesItemRepliesDeltaRequestBuilderGetQueryParameters 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. +type ItemTargetedMessagesItemRepliesDeltaRequestBuilderGetQueryParameters struct { + // Include count of items + Count *bool "uriparametername:\"%24count\"" + // Expand related entities + Expand []string "uriparametername:\"%24expand\"" + // Filter items by property values + Filter *string "uriparametername:\"%24filter\"" + // Order items by property values + Orderby []string "uriparametername:\"%24orderby\"" + // Search items by search phrases + Search *string "uriparametername:\"%24search\"" + // Select properties to be returned + Select []string "uriparametername:\"%24select\"" + // Skip the first n items + Skip *int32 "uriparametername:\"%24skip\"" + // Show only the first n items + Top *int32 "uriparametername:\"%24top\"" +} +// ItemTargetedMessagesItemRepliesDeltaRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemTargetedMessagesItemRepliesDeltaRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *ItemTargetedMessagesItemRepliesDeltaRequestBuilderGetQueryParameters +} +// NewItemTargetedMessagesItemRepliesDeltaRequestBuilderInternal instantiates a new ItemTargetedMessagesItemRepliesDeltaRequestBuilder and sets the default values. +func NewItemTargetedMessagesItemRepliesDeltaRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemTargetedMessagesItemRepliesDeltaRequestBuilder) { + m := &ItemTargetedMessagesItemRepliesDeltaRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/chats/{chat%2Did}/targetedMessages/{targetedChatMessage%2Did}/replies/delta(){?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), + } + return m +} +// NewItemTargetedMessagesItemRepliesDeltaRequestBuilder instantiates a new ItemTargetedMessagesItemRepliesDeltaRequestBuilder and sets the default values. +func NewItemTargetedMessagesItemRepliesDeltaRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemTargetedMessagesItemRepliesDeltaRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewItemTargetedMessagesItemRepliesDeltaRequestBuilderInternal(urlParams, requestAdapter) +} +// Get 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. +// Deprecated: This method is obsolete. Use GetAsDeltaGetResponse instead. +// returns a ItemTargetedMessagesItemRepliesDeltaResponseable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/chatmessage-delta?view=graph-rest-1.0 +func (m *ItemTargetedMessagesItemRepliesDeltaRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemTargetedMessagesItemRepliesDeltaRequestBuilderGetRequestConfiguration)(ItemTargetedMessagesItemRepliesDeltaResponseable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, CreateItemTargetedMessagesItemRepliesDeltaResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ItemTargetedMessagesItemRepliesDeltaResponseable), nil +} +// GetAsDeltaGetResponse 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. +// returns a ItemTargetedMessagesItemRepliesDeltaGetResponseable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/chatmessage-delta?view=graph-rest-1.0 +func (m *ItemTargetedMessagesItemRepliesDeltaRequestBuilder) GetAsDeltaGetResponse(ctx context.Context, requestConfiguration *ItemTargetedMessagesItemRepliesDeltaRequestBuilderGetRequestConfiguration)(ItemTargetedMessagesItemRepliesDeltaGetResponseable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, CreateItemTargetedMessagesItemRepliesDeltaGetResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ItemTargetedMessagesItemRepliesDeltaGetResponseable), nil +} +// ToGetRequestInformation 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. +// returns a *RequestInformation when successful +func (m *ItemTargetedMessagesItemRepliesDeltaRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemTargetedMessagesItemRepliesDeltaRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *ItemTargetedMessagesItemRepliesDeltaRequestBuilder when successful +func (m *ItemTargetedMessagesItemRepliesDeltaRequestBuilder) WithUrl(rawUrl string)(*ItemTargetedMessagesItemRepliesDeltaRequestBuilder) { + return NewItemTargetedMessagesItemRepliesDeltaRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/chats/item_targeted_messages_item_replies_delta_response.go b/chats/item_targeted_messages_item_replies_delta_response.go new file mode 100644 index 0000000000..4103caa44b --- /dev/null +++ b/chats/item_targeted_messages_item_replies_delta_response.go @@ -0,0 +1,30 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package chats + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +// Deprecated: This class is obsolete. Use ItemTargetedMessagesItemRepliesDeltaGetResponseable instead. +type ItemTargetedMessagesItemRepliesDeltaResponse struct { + ItemTargetedMessagesItemRepliesDeltaGetResponse +} +// NewItemTargetedMessagesItemRepliesDeltaResponse instantiates a new ItemTargetedMessagesItemRepliesDeltaResponse and sets the default values. +func NewItemTargetedMessagesItemRepliesDeltaResponse()(*ItemTargetedMessagesItemRepliesDeltaResponse) { + m := &ItemTargetedMessagesItemRepliesDeltaResponse{ + ItemTargetedMessagesItemRepliesDeltaGetResponse: *NewItemTargetedMessagesItemRepliesDeltaGetResponse(), + } + return m +} +// CreateItemTargetedMessagesItemRepliesDeltaResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateItemTargetedMessagesItemRepliesDeltaResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewItemTargetedMessagesItemRepliesDeltaResponse(), nil +} +// Deprecated: This class is obsolete. Use ItemTargetedMessagesItemRepliesDeltaGetResponseable instead. +type ItemTargetedMessagesItemRepliesDeltaResponseable interface { + ItemTargetedMessagesItemRepliesDeltaGetResponseable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +} diff --git a/chats/item_targeted_messages_item_replies_item_hosted_contents_count_request_builder.go b/chats/item_targeted_messages_item_replies_item_hosted_contents_count_request_builder.go new file mode 100644 index 0000000000..d13e9751a1 --- /dev/null +++ b/chats/item_targeted_messages_item_replies_item_hosted_contents_count_request_builder.go @@ -0,0 +1,83 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package chats + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// ItemTargetedMessagesItemRepliesItemHostedContentsCountRequestBuilder provides operations to count the resources in the collection. +type ItemTargetedMessagesItemRepliesItemHostedContentsCountRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ItemTargetedMessagesItemRepliesItemHostedContentsCountRequestBuilderGetQueryParameters get the number of the resource +type ItemTargetedMessagesItemRepliesItemHostedContentsCountRequestBuilderGetQueryParameters struct { + // Filter items by property values + Filter *string "uriparametername:\"%24filter\"" + // Search items by search phrases + Search *string "uriparametername:\"%24search\"" +} +// ItemTargetedMessagesItemRepliesItemHostedContentsCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemTargetedMessagesItemRepliesItemHostedContentsCountRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *ItemTargetedMessagesItemRepliesItemHostedContentsCountRequestBuilderGetQueryParameters +} +// NewItemTargetedMessagesItemRepliesItemHostedContentsCountRequestBuilderInternal instantiates a new ItemTargetedMessagesItemRepliesItemHostedContentsCountRequestBuilder and sets the default values. +func NewItemTargetedMessagesItemRepliesItemHostedContentsCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemTargetedMessagesItemRepliesItemHostedContentsCountRequestBuilder) { + m := &ItemTargetedMessagesItemRepliesItemHostedContentsCountRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/chats/{chat%2Did}/targetedMessages/{targetedChatMessage%2Did}/replies/{chatMessage%2Did}/hostedContents/$count{?%24filter,%24search}", pathParameters), + } + return m +} +// NewItemTargetedMessagesItemRepliesItemHostedContentsCountRequestBuilder instantiates a new ItemTargetedMessagesItemRepliesItemHostedContentsCountRequestBuilder and sets the default values. +func NewItemTargetedMessagesItemRepliesItemHostedContentsCountRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemTargetedMessagesItemRepliesItemHostedContentsCountRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewItemTargetedMessagesItemRepliesItemHostedContentsCountRequestBuilderInternal(urlParams, requestAdapter) +} +// Get get the number of the resource +// returns a *int32 when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemTargetedMessagesItemRepliesItemHostedContentsCountRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemTargetedMessagesItemRepliesItemHostedContentsCountRequestBuilderGetRequestConfiguration)(*int32, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.SendPrimitive(ctx, requestInfo, "int32", errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(*int32), nil +} +// ToGetRequestInformation get the number of the resource +// returns a *RequestInformation when successful +func (m *ItemTargetedMessagesItemRepliesItemHostedContentsCountRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemTargetedMessagesItemRepliesItemHostedContentsCountRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9") + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *ItemTargetedMessagesItemRepliesItemHostedContentsCountRequestBuilder when successful +func (m *ItemTargetedMessagesItemRepliesItemHostedContentsCountRequestBuilder) WithUrl(rawUrl string)(*ItemTargetedMessagesItemRepliesItemHostedContentsCountRequestBuilder) { + return NewItemTargetedMessagesItemRepliesItemHostedContentsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/chats/item_targeted_messages_item_replies_item_hosted_contents_item_value_content_request_builder.go b/chats/item_targeted_messages_item_replies_item_hosted_contents_item_value_content_request_builder.go new file mode 100644 index 0000000000..49c59634c9 --- /dev/null +++ b/chats/item_targeted_messages_item_replies_item_hosted_contents_item_value_content_request_builder.go @@ -0,0 +1,144 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package chats + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// ItemTargetedMessagesItemRepliesItemHostedContentsItemValueContentRequestBuilder provides operations to manage the media for the chat entity. +type ItemTargetedMessagesItemRepliesItemHostedContentsItemValueContentRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ItemTargetedMessagesItemRepliesItemHostedContentsItemValueContentRequestBuilderDeleteRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemTargetedMessagesItemRepliesItemHostedContentsItemValueContentRequestBuilderDeleteRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// ItemTargetedMessagesItemRepliesItemHostedContentsItemValueContentRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemTargetedMessagesItemRepliesItemHostedContentsItemValueContentRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// ItemTargetedMessagesItemRepliesItemHostedContentsItemValueContentRequestBuilderPutRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemTargetedMessagesItemRepliesItemHostedContentsItemValueContentRequestBuilderPutRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewItemTargetedMessagesItemRepliesItemHostedContentsItemValueContentRequestBuilderInternal instantiates a new ItemTargetedMessagesItemRepliesItemHostedContentsItemValueContentRequestBuilder and sets the default values. +func NewItemTargetedMessagesItemRepliesItemHostedContentsItemValueContentRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemTargetedMessagesItemRepliesItemHostedContentsItemValueContentRequestBuilder) { + m := &ItemTargetedMessagesItemRepliesItemHostedContentsItemValueContentRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/chats/{chat%2Did}/targetedMessages/{targetedChatMessage%2Did}/replies/{chatMessage%2Did}/hostedContents/{chatMessageHostedContent%2Did}/$value", pathParameters), + } + return m +} +// NewItemTargetedMessagesItemRepliesItemHostedContentsItemValueContentRequestBuilder instantiates a new ItemTargetedMessagesItemRepliesItemHostedContentsItemValueContentRequestBuilder and sets the default values. +func NewItemTargetedMessagesItemRepliesItemHostedContentsItemValueContentRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemTargetedMessagesItemRepliesItemHostedContentsItemValueContentRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewItemTargetedMessagesItemRepliesItemHostedContentsItemValueContentRequestBuilderInternal(urlParams, requestAdapter) +} +// Delete the unique identifier for an entity. Read-only. +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemTargetedMessagesItemRepliesItemHostedContentsItemValueContentRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemTargetedMessagesItemRepliesItemHostedContentsItemValueContentRequestBuilderDeleteRequestConfiguration)(error) { + requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); + if err != nil { + return err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + err = m.BaseRequestBuilder.RequestAdapter.SendNoContent(ctx, requestInfo, errorMapping) + if err != nil { + return err + } + return nil +} +// Get the unique identifier for an entity. Read-only. +// returns a []byte when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemTargetedMessagesItemRepliesItemHostedContentsItemValueContentRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemTargetedMessagesItemRepliesItemHostedContentsItemValueContentRequestBuilderGetRequestConfiguration)([]byte, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.SendPrimitive(ctx, requestInfo, "[]byte", errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.([]byte), nil +} +// Put the unique identifier for an entity. Read-only. +// returns a []byte when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemTargetedMessagesItemRepliesItemHostedContentsItemValueContentRequestBuilder) Put(ctx context.Context, body []byte, requestConfiguration *ItemTargetedMessagesItemRepliesItemHostedContentsItemValueContentRequestBuilderPutRequestConfiguration)([]byte, error) { + requestInfo, err := m.ToPutRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.SendPrimitive(ctx, requestInfo, "[]byte", errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.([]byte), nil +} +// ToDeleteRequestInformation the unique identifier for an entity. Read-only. +// returns a *RequestInformation when successful +func (m *ItemTargetedMessagesItemRepliesItemHostedContentsItemValueContentRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemTargetedMessagesItemRepliesItemHostedContentsItemValueContentRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToGetRequestInformation the unique identifier for an entity. Read-only. +// returns a *RequestInformation when successful +func (m *ItemTargetedMessagesItemRepliesItemHostedContentsItemValueContentRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemTargetedMessagesItemRepliesItemHostedContentsItemValueContentRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") + return requestInfo, nil +} +// ToPutRequestInformation the unique identifier for an entity. Read-only. +// returns a *RequestInformation when successful +func (m *ItemTargetedMessagesItemRepliesItemHostedContentsItemValueContentRequestBuilder) ToPutRequestInformation(ctx context.Context, body []byte, requestConfiguration *ItemTargetedMessagesItemRepliesItemHostedContentsItemValueContentRequestBuilderPutRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PUT, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + requestInfo.SetStreamContentAndContentType(body, "application/octet-stream") + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *ItemTargetedMessagesItemRepliesItemHostedContentsItemValueContentRequestBuilder when successful +func (m *ItemTargetedMessagesItemRepliesItemHostedContentsItemValueContentRequestBuilder) WithUrl(rawUrl string)(*ItemTargetedMessagesItemRepliesItemHostedContentsItemValueContentRequestBuilder) { + return NewItemTargetedMessagesItemRepliesItemHostedContentsItemValueContentRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/chats/item_targeted_messages_item_replies_item_hosted_contents_request_builder.go b/chats/item_targeted_messages_item_replies_item_hosted_contents_request_builder.go new file mode 100644 index 0000000000..73b86335d9 --- /dev/null +++ b/chats/item_targeted_messages_item_replies_item_hosted_contents_request_builder.go @@ -0,0 +1,155 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package chats + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// ItemTargetedMessagesItemRepliesItemHostedContentsRequestBuilder provides operations to manage the hostedContents property of the microsoft.graph.chatMessage entity. +type ItemTargetedMessagesItemRepliesItemHostedContentsRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ItemTargetedMessagesItemRepliesItemHostedContentsRequestBuilderGetQueryParameters content in a message hosted by Microsoft Teams - for example, images or code snippets. +type ItemTargetedMessagesItemRepliesItemHostedContentsRequestBuilderGetQueryParameters struct { + // Include count of items + Count *bool "uriparametername:\"%24count\"" + // Expand related entities + Expand []string "uriparametername:\"%24expand\"" + // Filter items by property values + Filter *string "uriparametername:\"%24filter\"" + // Order items by property values + Orderby []string "uriparametername:\"%24orderby\"" + // Search items by search phrases + Search *string "uriparametername:\"%24search\"" + // Select properties to be returned + Select []string "uriparametername:\"%24select\"" + // Skip the first n items + Skip *int32 "uriparametername:\"%24skip\"" + // Show only the first n items + Top *int32 "uriparametername:\"%24top\"" +} +// ItemTargetedMessagesItemRepliesItemHostedContentsRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemTargetedMessagesItemRepliesItemHostedContentsRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *ItemTargetedMessagesItemRepliesItemHostedContentsRequestBuilderGetQueryParameters +} +// ItemTargetedMessagesItemRepliesItemHostedContentsRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemTargetedMessagesItemRepliesItemHostedContentsRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// ByChatMessageHostedContentId provides operations to manage the hostedContents property of the microsoft.graph.chatMessage entity. +// returns a *ItemTargetedMessagesItemRepliesItemHostedContentsChatMessageHostedContentItemRequestBuilder when successful +func (m *ItemTargetedMessagesItemRepliesItemHostedContentsRequestBuilder) ByChatMessageHostedContentId(chatMessageHostedContentId string)(*ItemTargetedMessagesItemRepliesItemHostedContentsChatMessageHostedContentItemRequestBuilder) { + urlTplParams := make(map[string]string) + for idx, item := range m.BaseRequestBuilder.PathParameters { + urlTplParams[idx] = item + } + if chatMessageHostedContentId != "" { + urlTplParams["chatMessageHostedContent%2Did"] = chatMessageHostedContentId + } + return NewItemTargetedMessagesItemRepliesItemHostedContentsChatMessageHostedContentItemRequestBuilderInternal(urlTplParams, m.BaseRequestBuilder.RequestAdapter) +} +// NewItemTargetedMessagesItemRepliesItemHostedContentsRequestBuilderInternal instantiates a new ItemTargetedMessagesItemRepliesItemHostedContentsRequestBuilder and sets the default values. +func NewItemTargetedMessagesItemRepliesItemHostedContentsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemTargetedMessagesItemRepliesItemHostedContentsRequestBuilder) { + m := &ItemTargetedMessagesItemRepliesItemHostedContentsRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/chats/{chat%2Did}/targetedMessages/{targetedChatMessage%2Did}/replies/{chatMessage%2Did}/hostedContents{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), + } + return m +} +// NewItemTargetedMessagesItemRepliesItemHostedContentsRequestBuilder instantiates a new ItemTargetedMessagesItemRepliesItemHostedContentsRequestBuilder and sets the default values. +func NewItemTargetedMessagesItemRepliesItemHostedContentsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemTargetedMessagesItemRepliesItemHostedContentsRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewItemTargetedMessagesItemRepliesItemHostedContentsRequestBuilderInternal(urlParams, requestAdapter) +} +// Count provides operations to count the resources in the collection. +// returns a *ItemTargetedMessagesItemRepliesItemHostedContentsCountRequestBuilder when successful +func (m *ItemTargetedMessagesItemRepliesItemHostedContentsRequestBuilder) Count()(*ItemTargetedMessagesItemRepliesItemHostedContentsCountRequestBuilder) { + return NewItemTargetedMessagesItemRepliesItemHostedContentsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Get content in a message hosted by Microsoft Teams - for example, images or code snippets. +// returns a ChatMessageHostedContentCollectionResponseable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemTargetedMessagesItemRepliesItemHostedContentsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemTargetedMessagesItemRepliesItemHostedContentsRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageHostedContentCollectionResponseable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateChatMessageHostedContentCollectionResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageHostedContentCollectionResponseable), nil +} +// Post create new navigation property to hostedContents for chats +// returns a ChatMessageHostedContentable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemTargetedMessagesItemRepliesItemHostedContentsRequestBuilder) Post(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageHostedContentable, requestConfiguration *ItemTargetedMessagesItemRepliesItemHostedContentsRequestBuilderPostRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageHostedContentable, error) { + requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateChatMessageHostedContentFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageHostedContentable), nil +} +// ToGetRequestInformation content in a message hosted by Microsoft Teams - for example, images or code snippets. +// returns a *RequestInformation when successful +func (m *ItemTargetedMessagesItemRepliesItemHostedContentsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemTargetedMessagesItemRepliesItemHostedContentsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToPostRequestInformation create new navigation property to hostedContents for chats +// returns a *RequestInformation when successful +func (m *ItemTargetedMessagesItemRepliesItemHostedContentsRequestBuilder) ToPostRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageHostedContentable, requestConfiguration *ItemTargetedMessagesItemRepliesItemHostedContentsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *ItemTargetedMessagesItemRepliesItemHostedContentsRequestBuilder when successful +func (m *ItemTargetedMessagesItemRepliesItemHostedContentsRequestBuilder) WithUrl(rawUrl string)(*ItemTargetedMessagesItemRepliesItemHostedContentsRequestBuilder) { + return NewItemTargetedMessagesItemRepliesItemHostedContentsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/chats/item_targeted_messages_item_replies_item_set_reaction_post_request_body.go b/chats/item_targeted_messages_item_replies_item_set_reaction_post_request_body.go new file mode 100644 index 0000000000..5c0c3d1727 --- /dev/null +++ b/chats/item_targeted_messages_item_replies_item_set_reaction_post_request_body.go @@ -0,0 +1,116 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package chats + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" +) + +type ItemTargetedMessagesItemRepliesItemSetReactionPostRequestBody struct { + // Stores model information. + backingStore ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore +} +// NewItemTargetedMessagesItemRepliesItemSetReactionPostRequestBody instantiates a new ItemTargetedMessagesItemRepliesItemSetReactionPostRequestBody and sets the default values. +func NewItemTargetedMessagesItemRepliesItemSetReactionPostRequestBody()(*ItemTargetedMessagesItemRepliesItemSetReactionPostRequestBody) { + m := &ItemTargetedMessagesItemRepliesItemSetReactionPostRequestBody{ + } + m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); + m.SetAdditionalData(make(map[string]any)) + return m +} +// CreateItemTargetedMessagesItemRepliesItemSetReactionPostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateItemTargetedMessagesItemRepliesItemSetReactionPostRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewItemTargetedMessagesItemRepliesItemSetReactionPostRequestBody(), nil +} +// GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +// returns a map[string]any when successful +func (m *ItemTargetedMessagesItemRepliesItemSetReactionPostRequestBody) GetAdditionalData()(map[string]any) { + val , err := m.backingStore.Get("additionalData") + if err != nil { + panic(err) + } + if val == nil { + var value = make(map[string]any); + m.SetAdditionalData(value); + } + return val.(map[string]any) +} +// GetBackingStore gets the BackingStore property value. Stores model information. +// returns a BackingStore when successful +func (m *ItemTargetedMessagesItemRepliesItemSetReactionPostRequestBody) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) { + return m.backingStore +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *ItemTargetedMessagesItemRepliesItemSetReactionPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) + res["reactionType"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetReactionType(val) + } + return nil + } + return res +} +// GetReactionType gets the reactionType property value. The reactionType property +// returns a *string when successful +func (m *ItemTargetedMessagesItemRepliesItemSetReactionPostRequestBody) GetReactionType()(*string) { + val, err := m.GetBackingStore().Get("reactionType") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// Serialize serializes information the current object +func (m *ItemTargetedMessagesItemRepliesItemSetReactionPostRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + { + err := writer.WriteStringValue("reactionType", m.GetReactionType()) + if err != nil { + return err + } + } + { + err := writer.WriteAdditionalData(m.GetAdditionalData()) + if err != nil { + return err + } + } + return nil +} +// SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +func (m *ItemTargetedMessagesItemRepliesItemSetReactionPostRequestBody) SetAdditionalData(value map[string]any)() { + err := m.GetBackingStore().Set("additionalData", value) + if err != nil { + panic(err) + } +} +// SetBackingStore sets the BackingStore property value. Stores model information. +func (m *ItemTargetedMessagesItemRepliesItemSetReactionPostRequestBody) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { + m.backingStore = value +} +// SetReactionType sets the reactionType property value. The reactionType property +func (m *ItemTargetedMessagesItemRepliesItemSetReactionPostRequestBody) SetReactionType(value *string)() { + err := m.GetBackingStore().Set("reactionType", value) + if err != nil { + panic(err) + } +} +type ItemTargetedMessagesItemRepliesItemSetReactionPostRequestBodyable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) + GetReactionType()(*string) + SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() + SetReactionType(value *string)() +} diff --git a/chats/item_targeted_messages_item_replies_item_set_reaction_request_builder.go b/chats/item_targeted_messages_item_replies_item_set_reaction_request_builder.go new file mode 100644 index 0000000000..2e0811a63c --- /dev/null +++ b/chats/item_targeted_messages_item_replies_item_set_reaction_request_builder.go @@ -0,0 +1,71 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package chats + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// ItemTargetedMessagesItemRepliesItemSetReactionRequestBuilder provides operations to call the setReaction method. +type ItemTargetedMessagesItemRepliesItemSetReactionRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ItemTargetedMessagesItemRepliesItemSetReactionRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemTargetedMessagesItemRepliesItemSetReactionRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewItemTargetedMessagesItemRepliesItemSetReactionRequestBuilderInternal instantiates a new ItemTargetedMessagesItemRepliesItemSetReactionRequestBuilder and sets the default values. +func NewItemTargetedMessagesItemRepliesItemSetReactionRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemTargetedMessagesItemRepliesItemSetReactionRequestBuilder) { + m := &ItemTargetedMessagesItemRepliesItemSetReactionRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/chats/{chat%2Did}/targetedMessages/{targetedChatMessage%2Did}/replies/{chatMessage%2Did}/setReaction", pathParameters), + } + return m +} +// NewItemTargetedMessagesItemRepliesItemSetReactionRequestBuilder instantiates a new ItemTargetedMessagesItemRepliesItemSetReactionRequestBuilder and sets the default values. +func NewItemTargetedMessagesItemRepliesItemSetReactionRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemTargetedMessagesItemRepliesItemSetReactionRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewItemTargetedMessagesItemRepliesItemSetReactionRequestBuilderInternal(urlParams, requestAdapter) +} +// Post invoke action setReaction +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemTargetedMessagesItemRepliesItemSetReactionRequestBuilder) Post(ctx context.Context, body ItemTargetedMessagesItemRepliesItemSetReactionPostRequestBodyable, requestConfiguration *ItemTargetedMessagesItemRepliesItemSetReactionRequestBuilderPostRequestConfiguration)(error) { + requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + err = m.BaseRequestBuilder.RequestAdapter.SendNoContent(ctx, requestInfo, errorMapping) + if err != nil { + return err + } + return nil +} +// ToPostRequestInformation invoke action setReaction +// returns a *RequestInformation when successful +func (m *ItemTargetedMessagesItemRepliesItemSetReactionRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemTargetedMessagesItemRepliesItemSetReactionPostRequestBodyable, requestConfiguration *ItemTargetedMessagesItemRepliesItemSetReactionRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *ItemTargetedMessagesItemRepliesItemSetReactionRequestBuilder when successful +func (m *ItemTargetedMessagesItemRepliesItemSetReactionRequestBuilder) WithUrl(rawUrl string)(*ItemTargetedMessagesItemRepliesItemSetReactionRequestBuilder) { + return NewItemTargetedMessagesItemRepliesItemSetReactionRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/chats/item_targeted_messages_item_replies_item_soft_delete_request_builder.go b/chats/item_targeted_messages_item_replies_item_soft_delete_request_builder.go new file mode 100644 index 0000000000..b74987cbd1 --- /dev/null +++ b/chats/item_targeted_messages_item_replies_item_soft_delete_request_builder.go @@ -0,0 +1,70 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package chats + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// ItemTargetedMessagesItemRepliesItemSoftDeleteRequestBuilder provides operations to call the softDelete method. +type ItemTargetedMessagesItemRepliesItemSoftDeleteRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ItemTargetedMessagesItemRepliesItemSoftDeleteRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemTargetedMessagesItemRepliesItemSoftDeleteRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewItemTargetedMessagesItemRepliesItemSoftDeleteRequestBuilderInternal instantiates a new ItemTargetedMessagesItemRepliesItemSoftDeleteRequestBuilder and sets the default values. +func NewItemTargetedMessagesItemRepliesItemSoftDeleteRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemTargetedMessagesItemRepliesItemSoftDeleteRequestBuilder) { + m := &ItemTargetedMessagesItemRepliesItemSoftDeleteRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/chats/{chat%2Did}/targetedMessages/{targetedChatMessage%2Did}/replies/{chatMessage%2Did}/softDelete", pathParameters), + } + return m +} +// NewItemTargetedMessagesItemRepliesItemSoftDeleteRequestBuilder instantiates a new ItemTargetedMessagesItemRepliesItemSoftDeleteRequestBuilder and sets the default values. +func NewItemTargetedMessagesItemRepliesItemSoftDeleteRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemTargetedMessagesItemRepliesItemSoftDeleteRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewItemTargetedMessagesItemRepliesItemSoftDeleteRequestBuilderInternal(urlParams, requestAdapter) +} +// Post delete a single chatMessage or a chat message reply in a channel or a chat. +// returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/chatmessage-softdelete?view=graph-rest-1.0 +func (m *ItemTargetedMessagesItemRepliesItemSoftDeleteRequestBuilder) Post(ctx context.Context, requestConfiguration *ItemTargetedMessagesItemRepliesItemSoftDeleteRequestBuilderPostRequestConfiguration)(error) { + requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); + if err != nil { + return err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + err = m.BaseRequestBuilder.RequestAdapter.SendNoContent(ctx, requestInfo, errorMapping) + if err != nil { + return err + } + return nil +} +// ToPostRequestInformation delete a single chatMessage or a chat message reply in a channel or a chat. +// returns a *RequestInformation when successful +func (m *ItemTargetedMessagesItemRepliesItemSoftDeleteRequestBuilder) ToPostRequestInformation(ctx context.Context, requestConfiguration *ItemTargetedMessagesItemRepliesItemSoftDeleteRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *ItemTargetedMessagesItemRepliesItemSoftDeleteRequestBuilder when successful +func (m *ItemTargetedMessagesItemRepliesItemSoftDeleteRequestBuilder) WithUrl(rawUrl string)(*ItemTargetedMessagesItemRepliesItemSoftDeleteRequestBuilder) { + return NewItemTargetedMessagesItemRepliesItemSoftDeleteRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/chats/item_targeted_messages_item_replies_item_undo_soft_delete_request_builder.go b/chats/item_targeted_messages_item_replies_item_undo_soft_delete_request_builder.go new file mode 100644 index 0000000000..15ad8d843a --- /dev/null +++ b/chats/item_targeted_messages_item_replies_item_undo_soft_delete_request_builder.go @@ -0,0 +1,70 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package chats + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// ItemTargetedMessagesItemRepliesItemUndoSoftDeleteRequestBuilder provides operations to call the undoSoftDelete method. +type ItemTargetedMessagesItemRepliesItemUndoSoftDeleteRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ItemTargetedMessagesItemRepliesItemUndoSoftDeleteRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemTargetedMessagesItemRepliesItemUndoSoftDeleteRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewItemTargetedMessagesItemRepliesItemUndoSoftDeleteRequestBuilderInternal instantiates a new ItemTargetedMessagesItemRepliesItemUndoSoftDeleteRequestBuilder and sets the default values. +func NewItemTargetedMessagesItemRepliesItemUndoSoftDeleteRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemTargetedMessagesItemRepliesItemUndoSoftDeleteRequestBuilder) { + m := &ItemTargetedMessagesItemRepliesItemUndoSoftDeleteRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/chats/{chat%2Did}/targetedMessages/{targetedChatMessage%2Did}/replies/{chatMessage%2Did}/undoSoftDelete", pathParameters), + } + return m +} +// NewItemTargetedMessagesItemRepliesItemUndoSoftDeleteRequestBuilder instantiates a new ItemTargetedMessagesItemRepliesItemUndoSoftDeleteRequestBuilder and sets the default values. +func NewItemTargetedMessagesItemRepliesItemUndoSoftDeleteRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemTargetedMessagesItemRepliesItemUndoSoftDeleteRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewItemTargetedMessagesItemRepliesItemUndoSoftDeleteRequestBuilderInternal(urlParams, requestAdapter) +} +// Post undo soft deletion of a single chatMessage or a chat message reply in a channel or a chat. +// returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/chatmessage-undosoftdelete?view=graph-rest-1.0 +func (m *ItemTargetedMessagesItemRepliesItemUndoSoftDeleteRequestBuilder) Post(ctx context.Context, requestConfiguration *ItemTargetedMessagesItemRepliesItemUndoSoftDeleteRequestBuilderPostRequestConfiguration)(error) { + requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); + if err != nil { + return err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + err = m.BaseRequestBuilder.RequestAdapter.SendNoContent(ctx, requestInfo, errorMapping) + if err != nil { + return err + } + return nil +} +// ToPostRequestInformation undo soft deletion of a single chatMessage or a chat message reply in a channel or a chat. +// returns a *RequestInformation when successful +func (m *ItemTargetedMessagesItemRepliesItemUndoSoftDeleteRequestBuilder) ToPostRequestInformation(ctx context.Context, requestConfiguration *ItemTargetedMessagesItemRepliesItemUndoSoftDeleteRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *ItemTargetedMessagesItemRepliesItemUndoSoftDeleteRequestBuilder when successful +func (m *ItemTargetedMessagesItemRepliesItemUndoSoftDeleteRequestBuilder) WithUrl(rawUrl string)(*ItemTargetedMessagesItemRepliesItemUndoSoftDeleteRequestBuilder) { + return NewItemTargetedMessagesItemRepliesItemUndoSoftDeleteRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/chats/item_targeted_messages_item_replies_item_unset_reaction_post_request_body.go b/chats/item_targeted_messages_item_replies_item_unset_reaction_post_request_body.go new file mode 100644 index 0000000000..43e1ade1b2 --- /dev/null +++ b/chats/item_targeted_messages_item_replies_item_unset_reaction_post_request_body.go @@ -0,0 +1,116 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package chats + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" +) + +type ItemTargetedMessagesItemRepliesItemUnsetReactionPostRequestBody struct { + // Stores model information. + backingStore ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore +} +// NewItemTargetedMessagesItemRepliesItemUnsetReactionPostRequestBody instantiates a new ItemTargetedMessagesItemRepliesItemUnsetReactionPostRequestBody and sets the default values. +func NewItemTargetedMessagesItemRepliesItemUnsetReactionPostRequestBody()(*ItemTargetedMessagesItemRepliesItemUnsetReactionPostRequestBody) { + m := &ItemTargetedMessagesItemRepliesItemUnsetReactionPostRequestBody{ + } + m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); + m.SetAdditionalData(make(map[string]any)) + return m +} +// CreateItemTargetedMessagesItemRepliesItemUnsetReactionPostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateItemTargetedMessagesItemRepliesItemUnsetReactionPostRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewItemTargetedMessagesItemRepliesItemUnsetReactionPostRequestBody(), nil +} +// GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +// returns a map[string]any when successful +func (m *ItemTargetedMessagesItemRepliesItemUnsetReactionPostRequestBody) GetAdditionalData()(map[string]any) { + val , err := m.backingStore.Get("additionalData") + if err != nil { + panic(err) + } + if val == nil { + var value = make(map[string]any); + m.SetAdditionalData(value); + } + return val.(map[string]any) +} +// GetBackingStore gets the BackingStore property value. Stores model information. +// returns a BackingStore when successful +func (m *ItemTargetedMessagesItemRepliesItemUnsetReactionPostRequestBody) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) { + return m.backingStore +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *ItemTargetedMessagesItemRepliesItemUnsetReactionPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) + res["reactionType"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetReactionType(val) + } + return nil + } + return res +} +// GetReactionType gets the reactionType property value. The reactionType property +// returns a *string when successful +func (m *ItemTargetedMessagesItemRepliesItemUnsetReactionPostRequestBody) GetReactionType()(*string) { + val, err := m.GetBackingStore().Get("reactionType") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// Serialize serializes information the current object +func (m *ItemTargetedMessagesItemRepliesItemUnsetReactionPostRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + { + err := writer.WriteStringValue("reactionType", m.GetReactionType()) + if err != nil { + return err + } + } + { + err := writer.WriteAdditionalData(m.GetAdditionalData()) + if err != nil { + return err + } + } + return nil +} +// SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +func (m *ItemTargetedMessagesItemRepliesItemUnsetReactionPostRequestBody) SetAdditionalData(value map[string]any)() { + err := m.GetBackingStore().Set("additionalData", value) + if err != nil { + panic(err) + } +} +// SetBackingStore sets the BackingStore property value. Stores model information. +func (m *ItemTargetedMessagesItemRepliesItemUnsetReactionPostRequestBody) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { + m.backingStore = value +} +// SetReactionType sets the reactionType property value. The reactionType property +func (m *ItemTargetedMessagesItemRepliesItemUnsetReactionPostRequestBody) SetReactionType(value *string)() { + err := m.GetBackingStore().Set("reactionType", value) + if err != nil { + panic(err) + } +} +type ItemTargetedMessagesItemRepliesItemUnsetReactionPostRequestBodyable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) + GetReactionType()(*string) + SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() + SetReactionType(value *string)() +} diff --git a/chats/item_targeted_messages_item_replies_item_unset_reaction_request_builder.go b/chats/item_targeted_messages_item_replies_item_unset_reaction_request_builder.go new file mode 100644 index 0000000000..f69ed56e22 --- /dev/null +++ b/chats/item_targeted_messages_item_replies_item_unset_reaction_request_builder.go @@ -0,0 +1,71 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package chats + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// ItemTargetedMessagesItemRepliesItemUnsetReactionRequestBuilder provides operations to call the unsetReaction method. +type ItemTargetedMessagesItemRepliesItemUnsetReactionRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ItemTargetedMessagesItemRepliesItemUnsetReactionRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemTargetedMessagesItemRepliesItemUnsetReactionRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewItemTargetedMessagesItemRepliesItemUnsetReactionRequestBuilderInternal instantiates a new ItemTargetedMessagesItemRepliesItemUnsetReactionRequestBuilder and sets the default values. +func NewItemTargetedMessagesItemRepliesItemUnsetReactionRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemTargetedMessagesItemRepliesItemUnsetReactionRequestBuilder) { + m := &ItemTargetedMessagesItemRepliesItemUnsetReactionRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/chats/{chat%2Did}/targetedMessages/{targetedChatMessage%2Did}/replies/{chatMessage%2Did}/unsetReaction", pathParameters), + } + return m +} +// NewItemTargetedMessagesItemRepliesItemUnsetReactionRequestBuilder instantiates a new ItemTargetedMessagesItemRepliesItemUnsetReactionRequestBuilder and sets the default values. +func NewItemTargetedMessagesItemRepliesItemUnsetReactionRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemTargetedMessagesItemRepliesItemUnsetReactionRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewItemTargetedMessagesItemRepliesItemUnsetReactionRequestBuilderInternal(urlParams, requestAdapter) +} +// Post invoke action unsetReaction +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemTargetedMessagesItemRepliesItemUnsetReactionRequestBuilder) Post(ctx context.Context, body ItemTargetedMessagesItemRepliesItemUnsetReactionPostRequestBodyable, requestConfiguration *ItemTargetedMessagesItemRepliesItemUnsetReactionRequestBuilderPostRequestConfiguration)(error) { + requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + err = m.BaseRequestBuilder.RequestAdapter.SendNoContent(ctx, requestInfo, errorMapping) + if err != nil { + return err + } + return nil +} +// ToPostRequestInformation invoke action unsetReaction +// returns a *RequestInformation when successful +func (m *ItemTargetedMessagesItemRepliesItemUnsetReactionRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemTargetedMessagesItemRepliesItemUnsetReactionPostRequestBodyable, requestConfiguration *ItemTargetedMessagesItemRepliesItemUnsetReactionRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *ItemTargetedMessagesItemRepliesItemUnsetReactionRequestBuilder when successful +func (m *ItemTargetedMessagesItemRepliesItemUnsetReactionRequestBuilder) WithUrl(rawUrl string)(*ItemTargetedMessagesItemRepliesItemUnsetReactionRequestBuilder) { + return NewItemTargetedMessagesItemRepliesItemUnsetReactionRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/chats/item_targeted_messages_item_replies_reply_with_quote_post_request_body.go b/chats/item_targeted_messages_item_replies_reply_with_quote_post_request_body.go new file mode 100644 index 0000000000..05a5f86edc --- /dev/null +++ b/chats/item_targeted_messages_item_replies_reply_with_quote_post_request_body.go @@ -0,0 +1,160 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package chats + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" +) + +type ItemTargetedMessagesItemRepliesReplyWithQuotePostRequestBody struct { + // Stores model information. + backingStore ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore +} +// NewItemTargetedMessagesItemRepliesReplyWithQuotePostRequestBody instantiates a new ItemTargetedMessagesItemRepliesReplyWithQuotePostRequestBody and sets the default values. +func NewItemTargetedMessagesItemRepliesReplyWithQuotePostRequestBody()(*ItemTargetedMessagesItemRepliesReplyWithQuotePostRequestBody) { + m := &ItemTargetedMessagesItemRepliesReplyWithQuotePostRequestBody{ + } + m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); + m.SetAdditionalData(make(map[string]any)) + return m +} +// CreateItemTargetedMessagesItemRepliesReplyWithQuotePostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateItemTargetedMessagesItemRepliesReplyWithQuotePostRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewItemTargetedMessagesItemRepliesReplyWithQuotePostRequestBody(), nil +} +// GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +// returns a map[string]any when successful +func (m *ItemTargetedMessagesItemRepliesReplyWithQuotePostRequestBody) GetAdditionalData()(map[string]any) { + val , err := m.backingStore.Get("additionalData") + if err != nil { + panic(err) + } + if val == nil { + var value = make(map[string]any); + m.SetAdditionalData(value); + } + return val.(map[string]any) +} +// GetBackingStore gets the BackingStore property value. Stores model information. +// returns a BackingStore when successful +func (m *ItemTargetedMessagesItemRepliesReplyWithQuotePostRequestBody) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) { + return m.backingStore +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *ItemTargetedMessagesItemRepliesReplyWithQuotePostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) + res["messageIds"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfPrimitiveValues("string") + if err != nil { + return err + } + if val != nil { + res := make([]string, len(val)) + for i, v := range val { + if v != nil { + res[i] = *(v.(*string)) + } + } + m.SetMessageIds(res) + } + return nil + } + res["replyMessage"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetObjectValue(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateChatMessageFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + m.SetReplyMessage(val.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable)) + } + return nil + } + return res +} +// GetMessageIds gets the messageIds property value. The messageIds property +// returns a []string when successful +func (m *ItemTargetedMessagesItemRepliesReplyWithQuotePostRequestBody) GetMessageIds()([]string) { + val, err := m.GetBackingStore().Get("messageIds") + if err != nil { + panic(err) + } + if val != nil { + return val.([]string) + } + return nil +} +// GetReplyMessage gets the replyMessage property value. The replyMessage property +// returns a ChatMessageable when successful +func (m *ItemTargetedMessagesItemRepliesReplyWithQuotePostRequestBody) GetReplyMessage()(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable) { + val, err := m.GetBackingStore().Get("replyMessage") + if err != nil { + panic(err) + } + if val != nil { + return val.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable) + } + return nil +} +// Serialize serializes information the current object +func (m *ItemTargetedMessagesItemRepliesReplyWithQuotePostRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + if m.GetMessageIds() != nil { + err := writer.WriteCollectionOfStringValues("messageIds", m.GetMessageIds()) + if err != nil { + return err + } + } + { + err := writer.WriteObjectValue("replyMessage", m.GetReplyMessage()) + if err != nil { + return err + } + } + { + err := writer.WriteAdditionalData(m.GetAdditionalData()) + if err != nil { + return err + } + } + return nil +} +// SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +func (m *ItemTargetedMessagesItemRepliesReplyWithQuotePostRequestBody) SetAdditionalData(value map[string]any)() { + err := m.GetBackingStore().Set("additionalData", value) + if err != nil { + panic(err) + } +} +// SetBackingStore sets the BackingStore property value. Stores model information. +func (m *ItemTargetedMessagesItemRepliesReplyWithQuotePostRequestBody) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { + m.backingStore = value +} +// SetMessageIds sets the messageIds property value. The messageIds property +func (m *ItemTargetedMessagesItemRepliesReplyWithQuotePostRequestBody) SetMessageIds(value []string)() { + err := m.GetBackingStore().Set("messageIds", value) + if err != nil { + panic(err) + } +} +// SetReplyMessage sets the replyMessage property value. The replyMessage property +func (m *ItemTargetedMessagesItemRepliesReplyWithQuotePostRequestBody) SetReplyMessage(value iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable)() { + err := m.GetBackingStore().Set("replyMessage", value) + if err != nil { + panic(err) + } +} +type ItemTargetedMessagesItemRepliesReplyWithQuotePostRequestBodyable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) + GetMessageIds()([]string) + GetReplyMessage()(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable) + SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() + SetMessageIds(value []string)() + SetReplyMessage(value iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable)() +} diff --git a/chats/item_targeted_messages_item_replies_reply_with_quote_request_builder.go b/chats/item_targeted_messages_item_replies_reply_with_quote_request_builder.go new file mode 100644 index 0000000000..f2ab881dfe --- /dev/null +++ b/chats/item_targeted_messages_item_replies_reply_with_quote_request_builder.go @@ -0,0 +1,79 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package chats + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// ItemTargetedMessagesItemRepliesReplyWithQuoteRequestBuilder provides operations to call the replyWithQuote method. +type ItemTargetedMessagesItemRepliesReplyWithQuoteRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ItemTargetedMessagesItemRepliesReplyWithQuoteRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemTargetedMessagesItemRepliesReplyWithQuoteRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewItemTargetedMessagesItemRepliesReplyWithQuoteRequestBuilderInternal instantiates a new ItemTargetedMessagesItemRepliesReplyWithQuoteRequestBuilder and sets the default values. +func NewItemTargetedMessagesItemRepliesReplyWithQuoteRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemTargetedMessagesItemRepliesReplyWithQuoteRequestBuilder) { + m := &ItemTargetedMessagesItemRepliesReplyWithQuoteRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/chats/{chat%2Did}/targetedMessages/{targetedChatMessage%2Did}/replies/replyWithQuote", pathParameters), + } + return m +} +// NewItemTargetedMessagesItemRepliesReplyWithQuoteRequestBuilder instantiates a new ItemTargetedMessagesItemRepliesReplyWithQuoteRequestBuilder and sets the default values. +func NewItemTargetedMessagesItemRepliesReplyWithQuoteRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemTargetedMessagesItemRepliesReplyWithQuoteRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewItemTargetedMessagesItemRepliesReplyWithQuoteRequestBuilderInternal(urlParams, requestAdapter) +} +// Post reply with quote to a single chat message or multiple chat messages in a chat. +// returns a ChatMessageable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/chatmessage-replywithquote?view=graph-rest-1.0 +func (m *ItemTargetedMessagesItemRepliesReplyWithQuoteRequestBuilder) Post(ctx context.Context, body ItemTargetedMessagesItemRepliesReplyWithQuotePostRequestBodyable, requestConfiguration *ItemTargetedMessagesItemRepliesReplyWithQuoteRequestBuilderPostRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable, error) { + requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateChatMessageFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable), nil +} +// ToPostRequestInformation reply with quote to a single chat message or multiple chat messages in a chat. +// returns a *RequestInformation when successful +func (m *ItemTargetedMessagesItemRepliesReplyWithQuoteRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemTargetedMessagesItemRepliesReplyWithQuotePostRequestBodyable, requestConfiguration *ItemTargetedMessagesItemRepliesReplyWithQuoteRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *ItemTargetedMessagesItemRepliesReplyWithQuoteRequestBuilder when successful +func (m *ItemTargetedMessagesItemRepliesReplyWithQuoteRequestBuilder) WithUrl(rawUrl string)(*ItemTargetedMessagesItemRepliesReplyWithQuoteRequestBuilder) { + return NewItemTargetedMessagesItemRepliesReplyWithQuoteRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/chats/item_targeted_messages_item_replies_request_builder.go b/chats/item_targeted_messages_item_replies_request_builder.go new file mode 100644 index 0000000000..ee6562488a --- /dev/null +++ b/chats/item_targeted_messages_item_replies_request_builder.go @@ -0,0 +1,165 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package chats + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// ItemTargetedMessagesItemRepliesRequestBuilder provides operations to manage the replies property of the microsoft.graph.chatMessage entity. +type ItemTargetedMessagesItemRepliesRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ItemTargetedMessagesItemRepliesRequestBuilderGetQueryParameters replies for a specified message. Supports $expand for channel messages. +type ItemTargetedMessagesItemRepliesRequestBuilderGetQueryParameters struct { + // Include count of items + Count *bool "uriparametername:\"%24count\"" + // Expand related entities + Expand []string "uriparametername:\"%24expand\"" + // Filter items by property values + Filter *string "uriparametername:\"%24filter\"" + // Order items by property values + Orderby []string "uriparametername:\"%24orderby\"" + // Search items by search phrases + Search *string "uriparametername:\"%24search\"" + // Select properties to be returned + Select []string "uriparametername:\"%24select\"" + // Skip the first n items + Skip *int32 "uriparametername:\"%24skip\"" + // Show only the first n items + Top *int32 "uriparametername:\"%24top\"" +} +// ItemTargetedMessagesItemRepliesRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemTargetedMessagesItemRepliesRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *ItemTargetedMessagesItemRepliesRequestBuilderGetQueryParameters +} +// ItemTargetedMessagesItemRepliesRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemTargetedMessagesItemRepliesRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// ByChatMessageId provides operations to manage the replies property of the microsoft.graph.chatMessage entity. +// returns a *ItemTargetedMessagesItemRepliesChatMessageItemRequestBuilder when successful +func (m *ItemTargetedMessagesItemRepliesRequestBuilder) ByChatMessageId(chatMessageId string)(*ItemTargetedMessagesItemRepliesChatMessageItemRequestBuilder) { + urlTplParams := make(map[string]string) + for idx, item := range m.BaseRequestBuilder.PathParameters { + urlTplParams[idx] = item + } + if chatMessageId != "" { + urlTplParams["chatMessage%2Did"] = chatMessageId + } + return NewItemTargetedMessagesItemRepliesChatMessageItemRequestBuilderInternal(urlTplParams, m.BaseRequestBuilder.RequestAdapter) +} +// NewItemTargetedMessagesItemRepliesRequestBuilderInternal instantiates a new ItemTargetedMessagesItemRepliesRequestBuilder and sets the default values. +func NewItemTargetedMessagesItemRepliesRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemTargetedMessagesItemRepliesRequestBuilder) { + m := &ItemTargetedMessagesItemRepliesRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/chats/{chat%2Did}/targetedMessages/{targetedChatMessage%2Did}/replies{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), + } + return m +} +// NewItemTargetedMessagesItemRepliesRequestBuilder instantiates a new ItemTargetedMessagesItemRepliesRequestBuilder and sets the default values. +func NewItemTargetedMessagesItemRepliesRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemTargetedMessagesItemRepliesRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewItemTargetedMessagesItemRepliesRequestBuilderInternal(urlParams, requestAdapter) +} +// Count provides operations to count the resources in the collection. +// returns a *ItemTargetedMessagesItemRepliesCountRequestBuilder when successful +func (m *ItemTargetedMessagesItemRepliesRequestBuilder) Count()(*ItemTargetedMessagesItemRepliesCountRequestBuilder) { + return NewItemTargetedMessagesItemRepliesCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Delta provides operations to call the delta method. +// returns a *ItemTargetedMessagesItemRepliesDeltaRequestBuilder when successful +func (m *ItemTargetedMessagesItemRepliesRequestBuilder) Delta()(*ItemTargetedMessagesItemRepliesDeltaRequestBuilder) { + return NewItemTargetedMessagesItemRepliesDeltaRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Get replies for a specified message. Supports $expand for channel messages. +// returns a ChatMessageCollectionResponseable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemTargetedMessagesItemRepliesRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemTargetedMessagesItemRepliesRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageCollectionResponseable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateChatMessageCollectionResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageCollectionResponseable), nil +} +// Post create new navigation property to replies for chats +// returns a ChatMessageable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemTargetedMessagesItemRepliesRequestBuilder) Post(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable, requestConfiguration *ItemTargetedMessagesItemRepliesRequestBuilderPostRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable, error) { + requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateChatMessageFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable), nil +} +// ReplyWithQuote provides operations to call the replyWithQuote method. +// returns a *ItemTargetedMessagesItemRepliesReplyWithQuoteRequestBuilder when successful +func (m *ItemTargetedMessagesItemRepliesRequestBuilder) ReplyWithQuote()(*ItemTargetedMessagesItemRepliesReplyWithQuoteRequestBuilder) { + return NewItemTargetedMessagesItemRepliesReplyWithQuoteRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// ToGetRequestInformation replies for a specified message. Supports $expand for channel messages. +// returns a *RequestInformation when successful +func (m *ItemTargetedMessagesItemRepliesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemTargetedMessagesItemRepliesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToPostRequestInformation create new navigation property to replies for chats +// returns a *RequestInformation when successful +func (m *ItemTargetedMessagesItemRepliesRequestBuilder) ToPostRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable, requestConfiguration *ItemTargetedMessagesItemRepliesRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *ItemTargetedMessagesItemRepliesRequestBuilder when successful +func (m *ItemTargetedMessagesItemRepliesRequestBuilder) WithUrl(rawUrl string)(*ItemTargetedMessagesItemRepliesRequestBuilder) { + return NewItemTargetedMessagesItemRepliesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/chats/item_targeted_messages_request_builder.go b/chats/item_targeted_messages_request_builder.go new file mode 100644 index 0000000000..ba6ef11309 --- /dev/null +++ b/chats/item_targeted_messages_request_builder.go @@ -0,0 +1,155 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package chats + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// ItemTargetedMessagesRequestBuilder provides operations to manage the targetedMessages property of the microsoft.graph.chat entity. +type ItemTargetedMessagesRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ItemTargetedMessagesRequestBuilderGetQueryParameters get targetedMessages from chats +type ItemTargetedMessagesRequestBuilderGetQueryParameters struct { + // Include count of items + Count *bool "uriparametername:\"%24count\"" + // Expand related entities + Expand []string "uriparametername:\"%24expand\"" + // Filter items by property values + Filter *string "uriparametername:\"%24filter\"" + // Order items by property values + Orderby []string "uriparametername:\"%24orderby\"" + // Search items by search phrases + Search *string "uriparametername:\"%24search\"" + // Select properties to be returned + Select []string "uriparametername:\"%24select\"" + // Skip the first n items + Skip *int32 "uriparametername:\"%24skip\"" + // Show only the first n items + Top *int32 "uriparametername:\"%24top\"" +} +// ItemTargetedMessagesRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemTargetedMessagesRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *ItemTargetedMessagesRequestBuilderGetQueryParameters +} +// ItemTargetedMessagesRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemTargetedMessagesRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// ByTargetedChatMessageId provides operations to manage the targetedMessages property of the microsoft.graph.chat entity. +// returns a *ItemTargetedMessagesTargetedChatMessageItemRequestBuilder when successful +func (m *ItemTargetedMessagesRequestBuilder) ByTargetedChatMessageId(targetedChatMessageId string)(*ItemTargetedMessagesTargetedChatMessageItemRequestBuilder) { + urlTplParams := make(map[string]string) + for idx, item := range m.BaseRequestBuilder.PathParameters { + urlTplParams[idx] = item + } + if targetedChatMessageId != "" { + urlTplParams["targetedChatMessage%2Did"] = targetedChatMessageId + } + return NewItemTargetedMessagesTargetedChatMessageItemRequestBuilderInternal(urlTplParams, m.BaseRequestBuilder.RequestAdapter) +} +// NewItemTargetedMessagesRequestBuilderInternal instantiates a new ItemTargetedMessagesRequestBuilder and sets the default values. +func NewItemTargetedMessagesRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemTargetedMessagesRequestBuilder) { + m := &ItemTargetedMessagesRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/chats/{chat%2Did}/targetedMessages{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), + } + return m +} +// NewItemTargetedMessagesRequestBuilder instantiates a new ItemTargetedMessagesRequestBuilder and sets the default values. +func NewItemTargetedMessagesRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemTargetedMessagesRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewItemTargetedMessagesRequestBuilderInternal(urlParams, requestAdapter) +} +// Count provides operations to count the resources in the collection. +// returns a *ItemTargetedMessagesCountRequestBuilder when successful +func (m *ItemTargetedMessagesRequestBuilder) Count()(*ItemTargetedMessagesCountRequestBuilder) { + return NewItemTargetedMessagesCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Get get targetedMessages from chats +// returns a TargetedChatMessageCollectionResponseable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemTargetedMessagesRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemTargetedMessagesRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.TargetedChatMessageCollectionResponseable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateTargetedChatMessageCollectionResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.TargetedChatMessageCollectionResponseable), nil +} +// Post create new navigation property to targetedMessages for chats +// returns a TargetedChatMessageable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemTargetedMessagesRequestBuilder) Post(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.TargetedChatMessageable, requestConfiguration *ItemTargetedMessagesRequestBuilderPostRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.TargetedChatMessageable, error) { + requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateTargetedChatMessageFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.TargetedChatMessageable), nil +} +// ToGetRequestInformation get targetedMessages from chats +// returns a *RequestInformation when successful +func (m *ItemTargetedMessagesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemTargetedMessagesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToPostRequestInformation create new navigation property to targetedMessages for chats +// returns a *RequestInformation when successful +func (m *ItemTargetedMessagesRequestBuilder) ToPostRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.TargetedChatMessageable, requestConfiguration *ItemTargetedMessagesRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *ItemTargetedMessagesRequestBuilder when successful +func (m *ItemTargetedMessagesRequestBuilder) WithUrl(rawUrl string)(*ItemTargetedMessagesRequestBuilder) { + return NewItemTargetedMessagesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/chats/item_targeted_messages_targeted_chat_message_item_request_builder.go b/chats/item_targeted_messages_targeted_chat_message_item_request_builder.go new file mode 100644 index 0000000000..a96745b691 --- /dev/null +++ b/chats/item_targeted_messages_targeted_chat_message_item_request_builder.go @@ -0,0 +1,170 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package chats + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// ItemTargetedMessagesTargetedChatMessageItemRequestBuilder provides operations to manage the targetedMessages property of the microsoft.graph.chat entity. +type ItemTargetedMessagesTargetedChatMessageItemRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ItemTargetedMessagesTargetedChatMessageItemRequestBuilderDeleteRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemTargetedMessagesTargetedChatMessageItemRequestBuilderDeleteRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// ItemTargetedMessagesTargetedChatMessageItemRequestBuilderGetQueryParameters get targetedMessages from chats +type ItemTargetedMessagesTargetedChatMessageItemRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string "uriparametername:\"%24expand\"" + // Select properties to be returned + Select []string "uriparametername:\"%24select\"" +} +// ItemTargetedMessagesTargetedChatMessageItemRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemTargetedMessagesTargetedChatMessageItemRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *ItemTargetedMessagesTargetedChatMessageItemRequestBuilderGetQueryParameters +} +// ItemTargetedMessagesTargetedChatMessageItemRequestBuilderPatchRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemTargetedMessagesTargetedChatMessageItemRequestBuilderPatchRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewItemTargetedMessagesTargetedChatMessageItemRequestBuilderInternal instantiates a new ItemTargetedMessagesTargetedChatMessageItemRequestBuilder and sets the default values. +func NewItemTargetedMessagesTargetedChatMessageItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemTargetedMessagesTargetedChatMessageItemRequestBuilder) { + m := &ItemTargetedMessagesTargetedChatMessageItemRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/chats/{chat%2Did}/targetedMessages/{targetedChatMessage%2Did}{?%24expand,%24select}", pathParameters), + } + return m +} +// NewItemTargetedMessagesTargetedChatMessageItemRequestBuilder instantiates a new ItemTargetedMessagesTargetedChatMessageItemRequestBuilder and sets the default values. +func NewItemTargetedMessagesTargetedChatMessageItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemTargetedMessagesTargetedChatMessageItemRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewItemTargetedMessagesTargetedChatMessageItemRequestBuilderInternal(urlParams, requestAdapter) +} +// Delete delete navigation property targetedMessages for chats +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemTargetedMessagesTargetedChatMessageItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemTargetedMessagesTargetedChatMessageItemRequestBuilderDeleteRequestConfiguration)(error) { + requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); + if err != nil { + return err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + err = m.BaseRequestBuilder.RequestAdapter.SendNoContent(ctx, requestInfo, errorMapping) + if err != nil { + return err + } + return nil +} +// Get get targetedMessages from chats +// returns a TargetedChatMessageable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemTargetedMessagesTargetedChatMessageItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemTargetedMessagesTargetedChatMessageItemRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.TargetedChatMessageable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateTargetedChatMessageFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.TargetedChatMessageable), nil +} +// HostedContents provides operations to manage the hostedContents property of the microsoft.graph.chatMessage entity. +// returns a *ItemTargetedMessagesItemHostedContentsRequestBuilder when successful +func (m *ItemTargetedMessagesTargetedChatMessageItemRequestBuilder) HostedContents()(*ItemTargetedMessagesItemHostedContentsRequestBuilder) { + return NewItemTargetedMessagesItemHostedContentsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Patch update the navigation property targetedMessages in chats +// returns a TargetedChatMessageable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemTargetedMessagesTargetedChatMessageItemRequestBuilder) Patch(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.TargetedChatMessageable, requestConfiguration *ItemTargetedMessagesTargetedChatMessageItemRequestBuilderPatchRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.TargetedChatMessageable, error) { + requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateTargetedChatMessageFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.TargetedChatMessageable), nil +} +// Replies provides operations to manage the replies property of the microsoft.graph.chatMessage entity. +// returns a *ItemTargetedMessagesItemRepliesRequestBuilder when successful +func (m *ItemTargetedMessagesTargetedChatMessageItemRequestBuilder) Replies()(*ItemTargetedMessagesItemRepliesRequestBuilder) { + return NewItemTargetedMessagesItemRepliesRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// ToDeleteRequestInformation delete navigation property targetedMessages for chats +// returns a *RequestInformation when successful +func (m *ItemTargetedMessagesTargetedChatMessageItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemTargetedMessagesTargetedChatMessageItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToGetRequestInformation get targetedMessages from chats +// returns a *RequestInformation when successful +func (m *ItemTargetedMessagesTargetedChatMessageItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemTargetedMessagesTargetedChatMessageItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToPatchRequestInformation update the navigation property targetedMessages in chats +// returns a *RequestInformation when successful +func (m *ItemTargetedMessagesTargetedChatMessageItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.TargetedChatMessageable, requestConfiguration *ItemTargetedMessagesTargetedChatMessageItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *ItemTargetedMessagesTargetedChatMessageItemRequestBuilder when successful +func (m *ItemTargetedMessagesTargetedChatMessageItemRequestBuilder) WithUrl(rawUrl string)(*ItemTargetedMessagesTargetedChatMessageItemRequestBuilder) { + return NewItemTargetedMessagesTargetedChatMessageItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/communications/calls_item_keep_alive_request_builder.go b/communications/calls_item_keep_alive_request_builder.go index 46b37392fd..f5b116a7ed 100644 --- a/communications/calls_item_keep_alive_request_builder.go +++ b/communications/calls_item_keep_alive_request_builder.go @@ -33,7 +33,7 @@ func NewCallsItemKeepAliveRequestBuilder(rawUrl string, requestAdapter i2ae4187f urlParams["request-raw-url"] = rawUrl return NewCallsItemKeepAliveRequestBuilderInternal(urlParams, requestAdapter) } -// Post make a request to this API every 15 to 45 minutes to ensure that an ongoing call remains active. A call that does not receive this request within 45 minutes is considered inactive and will subsequently end. At least one successful request must be made within 45 minutes of the previous request, or the start of the call. We recommend that you send a request in shorter time intervals (every 15 minutes). Make sure that these requests are successful to prevent the call from timing out and ending. Attempting to send a request to a call that has already ended will result in a 404 Not-Found error. The resources related to the call should be cleaned up on the application side. +// Post make a request to this API every 15 to 45 minutes to ensure that an ongoing call remains active. A call that doesn't receive this request within 45 minutes is considered inactive and will subsequently end. At least one successful request must be made within 45 minutes of the previous request, or the start of the call. We recommend that you send a request in shorter time intervals (every 15 minutes). Make sure that these requests are successful to prevent the call from timing out and ending. Attempting to send a request to a call that has already ended will result in a 404 Not-Found error. The resources related to the call should be cleaned up on the application side. // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // @@ -52,7 +52,7 @@ func (m *CallsItemKeepAliveRequestBuilder) Post(ctx context.Context, requestConf } return nil } -// ToPostRequestInformation make a request to this API every 15 to 45 minutes to ensure that an ongoing call remains active. A call that does not receive this request within 45 minutes is considered inactive and will subsequently end. At least one successful request must be made within 45 minutes of the previous request, or the start of the call. We recommend that you send a request in shorter time intervals (every 15 minutes). Make sure that these requests are successful to prevent the call from timing out and ending. Attempting to send a request to a call that has already ended will result in a 404 Not-Found error. The resources related to the call should be cleaned up on the application side. +// ToPostRequestInformation make a request to this API every 15 to 45 minutes to ensure that an ongoing call remains active. A call that doesn't receive this request within 45 minutes is considered inactive and will subsequently end. At least one successful request must be made within 45 minutes of the previous request, or the start of the call. We recommend that you send a request in shorter time intervals (every 15 minutes). Make sure that these requests are successful to prevent the call from timing out and ending. Attempting to send a request to a call that has already ended will result in a 404 Not-Found error. The resources related to the call should be cleaned up on the application side. // returns a *RequestInformation when successful func (m *CallsItemKeepAliveRequestBuilder) ToPostRequestInformation(ctx context.Context, requestConfiguration *CallsItemKeepAliveRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/communications/calls_item_record_response_post_request_body.go b/communications/calls_item_record_response_post_request_body.go index f85d73cd60..da9a1bc6cd 100644 --- a/communications/calls_item_record_response_post_request_body.go +++ b/communications/calls_item_record_response_post_request_body.go @@ -19,6 +19,10 @@ func NewCallsItemRecordResponsePostRequestBody()(*CallsItemRecordResponsePostReq } m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); m.SetAdditionalData(make(map[string]any)) + bargeInAllowedValue := false + m.SetBargeInAllowed(&bargeInAllowedValue) + playBeepValue := false + m.SetPlayBeep(&playBeepValue) return m } // CreateCallsItemRecordResponsePostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value diff --git a/communications/calls_item_reject_request_builder.go b/communications/calls_item_reject_request_builder.go index f9527cb069..69c3c94c80 100644 --- a/communications/calls_item_reject_request_builder.go +++ b/communications/calls_item_reject_request_builder.go @@ -33,7 +33,7 @@ func NewCallsItemRejectRequestBuilder(rawUrl string, requestAdapter i2ae4187f7da urlParams["request-raw-url"] = rawUrl return NewCallsItemRejectRequestBuilderInternal(urlParams, requestAdapter) } -// Post enable a bot to reject an incoming call. The incoming call request can be an invite from a participant in a group call or a peer-to-peer call. If an invite to a group call is received, the notification will contain the chatInfo and meetingInfo parameters. The bot is expected to answer or reject the call before the call times out. The current timeout value is 15 seconds. This API does not end existing calls that have already been answered. Use delete call to end a call. +// Post enable a bot to reject an incoming call. The incoming call request can be an invite from a participant in a group call or a peer-to-peer call. If an invite to a group call is received, the notification will contain the chatInfo and meetingInfo parameters. The bot is expected to answer or reject the call before the call times out. The current timeout value is 15 seconds. This API doesn't end existing calls that have already been answered. Use delete call to end a call. // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // @@ -52,7 +52,7 @@ func (m *CallsItemRejectRequestBuilder) Post(ctx context.Context, body CallsItem } return nil } -// ToPostRequestInformation enable a bot to reject an incoming call. The incoming call request can be an invite from a participant in a group call or a peer-to-peer call. If an invite to a group call is received, the notification will contain the chatInfo and meetingInfo parameters. The bot is expected to answer or reject the call before the call times out. The current timeout value is 15 seconds. This API does not end existing calls that have already been answered. Use delete call to end a call. +// ToPostRequestInformation enable a bot to reject an incoming call. The incoming call request can be an invite from a participant in a group call or a peer-to-peer call. If an invite to a group call is received, the notification will contain the chatInfo and meetingInfo parameters. The bot is expected to answer or reject the call before the call times out. The current timeout value is 15 seconds. This API doesn't end existing calls that have already been answered. Use delete call to end a call. // returns a *RequestInformation when successful func (m *CallsItemRejectRequestBuilder) ToPostRequestInformation(ctx context.Context, body CallsItemRejectPostRequestBodyable, requestConfiguration *CallsItemRejectRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/contacts/get_available_extension_properties_post_request_body.go b/contacts/get_available_extension_properties_post_request_body.go index 6e5d13b707..0a85cfef03 100644 --- a/contacts/get_available_extension_properties_post_request_body.go +++ b/contacts/get_available_extension_properties_post_request_body.go @@ -18,6 +18,8 @@ func NewGetAvailableExtensionPropertiesPostRequestBody()(*GetAvailableExtensionP } m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); m.SetAdditionalData(make(map[string]any)) + isSyncedFromOnPremisesValue := false + m.SetIsSyncedFromOnPremises(&isSyncedFromOnPremisesValue) return m } // CreateGetAvailableExtensionPropertiesPostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value diff --git a/contacts/item_get_member_groups_post_request_body.go b/contacts/item_get_member_groups_post_request_body.go index 8b817fbdc0..183ca955c4 100644 --- a/contacts/item_get_member_groups_post_request_body.go +++ b/contacts/item_get_member_groups_post_request_body.go @@ -18,6 +18,8 @@ func NewItemGetMemberGroupsPostRequestBody()(*ItemGetMemberGroupsPostRequestBody } m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); m.SetAdditionalData(make(map[string]any)) + securityEnabledOnlyValue := false + m.SetSecurityEnabledOnly(&securityEnabledOnlyValue) return m } // CreateItemGetMemberGroupsPostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value diff --git a/contacts/item_get_member_objects_post_request_body.go b/contacts/item_get_member_objects_post_request_body.go index cb1a6717d7..115891cfc8 100644 --- a/contacts/item_get_member_objects_post_request_body.go +++ b/contacts/item_get_member_objects_post_request_body.go @@ -18,6 +18,8 @@ func NewItemGetMemberObjectsPostRequestBody()(*ItemGetMemberObjectsPostRequestBo } m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); m.SetAdditionalData(make(map[string]any)) + securityEnabledOnlyValue := false + m.SetSecurityEnabledOnly(&securityEnabledOnlyValue) return m } // CreateItemGetMemberObjectsPostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value diff --git a/contracts/get_available_extension_properties_post_request_body.go b/contracts/get_available_extension_properties_post_request_body.go index b6b674a393..c410fd9af1 100644 --- a/contracts/get_available_extension_properties_post_request_body.go +++ b/contracts/get_available_extension_properties_post_request_body.go @@ -18,6 +18,8 @@ func NewGetAvailableExtensionPropertiesPostRequestBody()(*GetAvailableExtensionP } m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); m.SetAdditionalData(make(map[string]any)) + isSyncedFromOnPremisesValue := false + m.SetIsSyncedFromOnPremises(&isSyncedFromOnPremisesValue) return m } // CreateGetAvailableExtensionPropertiesPostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value diff --git a/contracts/item_get_member_groups_post_request_body.go b/contracts/item_get_member_groups_post_request_body.go index 05a25bf861..7850393139 100644 --- a/contracts/item_get_member_groups_post_request_body.go +++ b/contracts/item_get_member_groups_post_request_body.go @@ -18,6 +18,8 @@ func NewItemGetMemberGroupsPostRequestBody()(*ItemGetMemberGroupsPostRequestBody } m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); m.SetAdditionalData(make(map[string]any)) + securityEnabledOnlyValue := false + m.SetSecurityEnabledOnly(&securityEnabledOnlyValue) return m } // CreateItemGetMemberGroupsPostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value diff --git a/contracts/item_get_member_objects_post_request_body.go b/contracts/item_get_member_objects_post_request_body.go index 5df0a6124c..8abfc31d0b 100644 --- a/contracts/item_get_member_objects_post_request_body.go +++ b/contracts/item_get_member_objects_post_request_body.go @@ -18,6 +18,8 @@ func NewItemGetMemberObjectsPostRequestBody()(*ItemGetMemberObjectsPostRequestBo } m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); m.SetAdditionalData(make(map[string]any)) + securityEnabledOnlyValue := false + m.SetSecurityEnabledOnly(&securityEnabledOnlyValue) return m } // CreateItemGetMemberObjectsPostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value diff --git a/devicemanagement/managed_devices_item_clean_windows_device_post_request_body.go b/devicemanagement/managed_devices_item_clean_windows_device_post_request_body.go index 42f3267a7d..0a00c0867c 100644 --- a/devicemanagement/managed_devices_item_clean_windows_device_post_request_body.go +++ b/devicemanagement/managed_devices_item_clean_windows_device_post_request_body.go @@ -18,6 +18,8 @@ func NewManagedDevicesItemCleanWindowsDevicePostRequestBody()(*ManagedDevicesIte } m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); m.SetAdditionalData(make(map[string]any)) + keepUserDataValue := false + m.SetKeepUserData(&keepUserDataValue) return m } // CreateManagedDevicesItemCleanWindowsDevicePostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value diff --git a/devicemanagement/managed_devices_item_windows_defender_scan_post_request_body.go b/devicemanagement/managed_devices_item_windows_defender_scan_post_request_body.go index b4f31baac8..cb7a1d91ef 100644 --- a/devicemanagement/managed_devices_item_windows_defender_scan_post_request_body.go +++ b/devicemanagement/managed_devices_item_windows_defender_scan_post_request_body.go @@ -18,6 +18,8 @@ func NewManagedDevicesItemWindowsDefenderScanPostRequestBody()(*ManagedDevicesIt } m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); m.SetAdditionalData(make(map[string]any)) + quickScanValue := false + m.SetQuickScan(&quickScanValue) return m } // CreateManagedDevicesItemWindowsDefenderScanPostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value diff --git a/devicemanagement/managed_devices_item_wipe_post_request_body.go b/devicemanagement/managed_devices_item_wipe_post_request_body.go index 0b6bd15a30..cd75655cdb 100644 --- a/devicemanagement/managed_devices_item_wipe_post_request_body.go +++ b/devicemanagement/managed_devices_item_wipe_post_request_body.go @@ -18,6 +18,12 @@ func NewManagedDevicesItemWipePostRequestBody()(*ManagedDevicesItemWipePostReque } m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); m.SetAdditionalData(make(map[string]any)) + keepEnrollmentDataValue := false + m.SetKeepEnrollmentData(&keepEnrollmentDataValue) + keepUserDataValue := false + m.SetKeepUserData(&keepUserDataValue) + persistEsimDataPlanValue := false + m.SetPersistEsimDataPlan(&persistEsimDataPlanValue) return m } // CreateManagedDevicesItemWipePostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value diff --git a/devicemanagement/verify_windows_enrollment_auto_discovery_with_domain_name_get_response.go b/devicemanagement/verify_windows_enrollment_auto_discovery_with_domain_name_get_response.go index eff98ba3e8..bb6e07f844 100644 --- a/devicemanagement/verify_windows_enrollment_auto_discovery_with_domain_name_get_response.go +++ b/devicemanagement/verify_windows_enrollment_auto_discovery_with_domain_name_get_response.go @@ -18,6 +18,8 @@ func NewVerifyWindowsEnrollmentAutoDiscoveryWithDomainNameGetResponse()(*VerifyW } m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); m.SetAdditionalData(make(map[string]any)) + valueValue := false + m.SetValue(&valueValue) return m } // CreateVerifyWindowsEnrollmentAutoDiscoveryWithDomainNameGetResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value diff --git a/devices/get_available_extension_properties_post_request_body.go b/devices/get_available_extension_properties_post_request_body.go index 66aab571a6..99c82de666 100644 --- a/devices/get_available_extension_properties_post_request_body.go +++ b/devices/get_available_extension_properties_post_request_body.go @@ -18,6 +18,8 @@ func NewGetAvailableExtensionPropertiesPostRequestBody()(*GetAvailableExtensionP } m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); m.SetAdditionalData(make(map[string]any)) + isSyncedFromOnPremisesValue := false + m.SetIsSyncedFromOnPremises(&isSyncedFromOnPremisesValue) return m } // CreateGetAvailableExtensionPropertiesPostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value diff --git a/devices/item_get_member_groups_post_request_body.go b/devices/item_get_member_groups_post_request_body.go index 7527a07eb2..4f76333973 100644 --- a/devices/item_get_member_groups_post_request_body.go +++ b/devices/item_get_member_groups_post_request_body.go @@ -18,6 +18,8 @@ func NewItemGetMemberGroupsPostRequestBody()(*ItemGetMemberGroupsPostRequestBody } m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); m.SetAdditionalData(make(map[string]any)) + securityEnabledOnlyValue := false + m.SetSecurityEnabledOnly(&securityEnabledOnlyValue) return m } // CreateItemGetMemberGroupsPostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value diff --git a/devices/item_get_member_objects_post_request_body.go b/devices/item_get_member_objects_post_request_body.go index 11d19f8c47..eb97c8869b 100644 --- a/devices/item_get_member_objects_post_request_body.go +++ b/devices/item_get_member_objects_post_request_body.go @@ -18,6 +18,8 @@ func NewItemGetMemberObjectsPostRequestBody()(*ItemGetMemberObjectsPostRequestBo } m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); m.SetAdditionalData(make(map[string]any)) + securityEnabledOnlyValue := false + m.SetSecurityEnabledOnly(&securityEnabledOnlyValue) return m } // CreateItemGetMemberObjectsPostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value diff --git a/devices/item_registered_owners_ref_request_builder.go b/devices/item_registered_owners_ref_request_builder.go index 24824291be..099dc3116a 100644 --- a/devices/item_registered_owners_ref_request_builder.go +++ b/devices/item_registered_owners_ref_request_builder.go @@ -62,7 +62,7 @@ type ItemRegisteredOwnersRefRequestBuilderPostRequestConfiguration struct { // NewItemRegisteredOwnersRefRequestBuilderInternal instantiates a new ItemRegisteredOwnersRefRequestBuilder and sets the default values. func NewItemRegisteredOwnersRefRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemRegisteredOwnersRefRequestBuilder) { m := &ItemRegisteredOwnersRefRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/devices/{device%2Did}/registeredOwners/$ref?@id={%40id}{&%24count,%24filter,%24orderby,%24search,%24skip,%24top}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/devices/{device%2Did}/registeredOwners/$ref{?%24count,%24filter,%24orderby,%24search,%24skip,%24top}", pathParameters), } return m } @@ -150,7 +150,7 @@ func (m *ItemRegisteredOwnersRefRequestBuilder) ToDeleteRequestInformation(ctx c // ToGetRequestInformation retrieve a list of users that are registered owners of the device. A registered owner is the user that cloud joined the device or registered their personal device. The registered owner is set at the time of registration. Currently, there can be only one owner. // returns a *RequestInformation when successful func (m *ItemRegisteredOwnersRefRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemRegisteredOwnersRefRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { - requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, "{+baseurl}/devices/{device%2Did}/registeredOwners/$ref{?%24count,%24filter,%24orderby,%24search,%24skip,%24top}", m.BaseRequestBuilder.PathParameters) + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) if requestConfiguration != nil { if requestConfiguration.QueryParameters != nil { requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) @@ -164,7 +164,7 @@ func (m *ItemRegisteredOwnersRefRequestBuilder) ToGetRequestInformation(ctx cont // ToPostRequestInformation add a user as a registered owner of the device. // returns a *RequestInformation when successful func (m *ItemRegisteredOwnersRefRequestBuilder) ToPostRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ReferenceCreateable, requestConfiguration *ItemRegisteredOwnersRefRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { - requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, "{+baseurl}/devices/{device%2Did}/registeredOwners/$ref", m.BaseRequestBuilder.PathParameters) + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) if requestConfiguration != nil { requestInfo.Headers.AddAll(requestConfiguration.Headers) requestInfo.AddRequestOptions(requestConfiguration.Options) diff --git a/devices/item_registered_users_ref_request_builder.go b/devices/item_registered_users_ref_request_builder.go index e81ddf4362..9e80d49408 100644 --- a/devices/item_registered_users_ref_request_builder.go +++ b/devices/item_registered_users_ref_request_builder.go @@ -62,7 +62,7 @@ type ItemRegisteredUsersRefRequestBuilderPostRequestConfiguration struct { // NewItemRegisteredUsersRefRequestBuilderInternal instantiates a new ItemRegisteredUsersRefRequestBuilder and sets the default values. func NewItemRegisteredUsersRefRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemRegisteredUsersRefRequestBuilder) { m := &ItemRegisteredUsersRefRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/devices/{device%2Did}/registeredUsers/$ref?@id={%40id}{&%24count,%24filter,%24orderby,%24search,%24skip,%24top}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/devices/{device%2Did}/registeredUsers/$ref{?%24count,%24filter,%24orderby,%24search,%24skip,%24top}", pathParameters), } return m } @@ -150,7 +150,7 @@ func (m *ItemRegisteredUsersRefRequestBuilder) ToDeleteRequestInformation(ctx co // ToGetRequestInformation retrieve a list of users that are registered users of the device. For cloud joined devices and registered personal devices, registered users are set to the same value as registered owners at the time of registration. // returns a *RequestInformation when successful func (m *ItemRegisteredUsersRefRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemRegisteredUsersRefRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { - requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, "{+baseurl}/devices/{device%2Did}/registeredUsers/$ref{?%24count,%24filter,%24orderby,%24search,%24skip,%24top}", m.BaseRequestBuilder.PathParameters) + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) if requestConfiguration != nil { if requestConfiguration.QueryParameters != nil { requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) @@ -164,7 +164,7 @@ func (m *ItemRegisteredUsersRefRequestBuilder) ToGetRequestInformation(ctx conte // ToPostRequestInformation add a registered user for the device. // returns a *RequestInformation when successful func (m *ItemRegisteredUsersRefRequestBuilder) ToPostRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ReferenceCreateable, requestConfiguration *ItemRegisteredUsersRefRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { - requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, "{+baseurl}/devices/{device%2Did}/registeredUsers/$ref", m.BaseRequestBuilder.PathParameters) + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) if requestConfiguration != nil { requestInfo.Headers.AddAll(requestConfiguration.Headers) requestInfo.AddRequestOptions(requestConfiguration.Options) diff --git a/directory/administrative_units_item_members_ref_request_builder.go b/directory/administrative_units_item_members_ref_request_builder.go index 04654b195f..c88cdd1e54 100644 --- a/directory/administrative_units_item_members_ref_request_builder.go +++ b/directory/administrative_units_item_members_ref_request_builder.go @@ -62,7 +62,7 @@ type AdministrativeUnitsItemMembersRefRequestBuilderPostRequestConfiguration str // NewAdministrativeUnitsItemMembersRefRequestBuilderInternal instantiates a new AdministrativeUnitsItemMembersRefRequestBuilder and sets the default values. func NewAdministrativeUnitsItemMembersRefRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*AdministrativeUnitsItemMembersRefRequestBuilder) { m := &AdministrativeUnitsItemMembersRefRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/directory/administrativeUnits/{administrativeUnit%2Did}/members/$ref?@id={%40id}{&%24count,%24filter,%24orderby,%24search,%24skip,%24top}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/directory/administrativeUnits/{administrativeUnit%2Did}/members/$ref{?%24count,%24filter,%24orderby,%24search,%24skip,%24top}", pathParameters), } return m } @@ -150,7 +150,7 @@ func (m *AdministrativeUnitsItemMembersRefRequestBuilder) ToDeleteRequestInforma // ToGetRequestInformation use this API to get the members list (users, groups, or devices) in an administrative unit. // returns a *RequestInformation when successful func (m *AdministrativeUnitsItemMembersRefRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *AdministrativeUnitsItemMembersRefRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { - requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, "{+baseurl}/directory/administrativeUnits/{administrativeUnit%2Did}/members/$ref{?%24count,%24filter,%24orderby,%24search,%24skip,%24top}", m.BaseRequestBuilder.PathParameters) + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) if requestConfiguration != nil { if requestConfiguration.QueryParameters != nil { requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) @@ -164,7 +164,7 @@ func (m *AdministrativeUnitsItemMembersRefRequestBuilder) ToGetRequestInformatio // ToPostRequestInformation use this API to add a member (user, group, or device) to an administrative unit. Currently it's only possible to add one member at a time to an administrative unit. // returns a *RequestInformation when successful func (m *AdministrativeUnitsItemMembersRefRequestBuilder) ToPostRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ReferenceCreateable, requestConfiguration *AdministrativeUnitsItemMembersRefRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { - requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, "{+baseurl}/directory/administrativeUnits/{administrativeUnit%2Did}/members/$ref", m.BaseRequestBuilder.PathParameters) + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) if requestConfiguration != nil { requestInfo.Headers.AddAll(requestConfiguration.Headers) requestInfo.AddRequestOptions(requestConfiguration.Options) diff --git a/directory/deleted_items_get_available_extension_properties_post_request_body.go b/directory/deleted_items_get_available_extension_properties_post_request_body.go index 7eef35328b..b493880810 100644 --- a/directory/deleted_items_get_available_extension_properties_post_request_body.go +++ b/directory/deleted_items_get_available_extension_properties_post_request_body.go @@ -18,6 +18,8 @@ func NewDeletedItemsGetAvailableExtensionPropertiesPostRequestBody()(*DeletedIte } m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); m.SetAdditionalData(make(map[string]any)) + isSyncedFromOnPremisesValue := false + m.SetIsSyncedFromOnPremises(&isSyncedFromOnPremisesValue) return m } // CreateDeletedItemsGetAvailableExtensionPropertiesPostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value diff --git a/directory/deleted_items_item_get_member_groups_post_request_body.go b/directory/deleted_items_item_get_member_groups_post_request_body.go index 38febd51e5..7afebe3892 100644 --- a/directory/deleted_items_item_get_member_groups_post_request_body.go +++ b/directory/deleted_items_item_get_member_groups_post_request_body.go @@ -18,6 +18,8 @@ func NewDeletedItemsItemGetMemberGroupsPostRequestBody()(*DeletedItemsItemGetMem } m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); m.SetAdditionalData(make(map[string]any)) + securityEnabledOnlyValue := false + m.SetSecurityEnabledOnly(&securityEnabledOnlyValue) return m } // CreateDeletedItemsItemGetMemberGroupsPostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value diff --git a/directory/deleted_items_item_get_member_objects_post_request_body.go b/directory/deleted_items_item_get_member_objects_post_request_body.go index 4ee6ff34dc..675e18524c 100644 --- a/directory/deleted_items_item_get_member_objects_post_request_body.go +++ b/directory/deleted_items_item_get_member_objects_post_request_body.go @@ -18,6 +18,8 @@ func NewDeletedItemsItemGetMemberObjectsPostRequestBody()(*DeletedItemsItemGetMe } m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); m.SetAdditionalData(make(map[string]any)) + securityEnabledOnlyValue := false + m.SetSecurityEnabledOnly(&securityEnabledOnlyValue) return m } // CreateDeletedItemsItemGetMemberObjectsPostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value diff --git a/directoryobjects/get_available_extension_properties_post_request_body.go b/directoryobjects/get_available_extension_properties_post_request_body.go index 41e56973ce..3365dd513b 100644 --- a/directoryobjects/get_available_extension_properties_post_request_body.go +++ b/directoryobjects/get_available_extension_properties_post_request_body.go @@ -18,6 +18,8 @@ func NewGetAvailableExtensionPropertiesPostRequestBody()(*GetAvailableExtensionP } m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); m.SetAdditionalData(make(map[string]any)) + isSyncedFromOnPremisesValue := false + m.SetIsSyncedFromOnPremises(&isSyncedFromOnPremisesValue) return m } // CreateGetAvailableExtensionPropertiesPostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value diff --git a/directoryobjects/item_get_member_groups_post_request_body.go b/directoryobjects/item_get_member_groups_post_request_body.go index 59ecffd243..eec7929982 100644 --- a/directoryobjects/item_get_member_groups_post_request_body.go +++ b/directoryobjects/item_get_member_groups_post_request_body.go @@ -18,6 +18,8 @@ func NewItemGetMemberGroupsPostRequestBody()(*ItemGetMemberGroupsPostRequestBody } m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); m.SetAdditionalData(make(map[string]any)) + securityEnabledOnlyValue := false + m.SetSecurityEnabledOnly(&securityEnabledOnlyValue) return m } // CreateItemGetMemberGroupsPostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value diff --git a/directoryobjects/item_get_member_objects_post_request_body.go b/directoryobjects/item_get_member_objects_post_request_body.go index ad33f96c07..0b632ef2c8 100644 --- a/directoryobjects/item_get_member_objects_post_request_body.go +++ b/directoryobjects/item_get_member_objects_post_request_body.go @@ -18,6 +18,8 @@ func NewItemGetMemberObjectsPostRequestBody()(*ItemGetMemberObjectsPostRequestBo } m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); m.SetAdditionalData(make(map[string]any)) + securityEnabledOnlyValue := false + m.SetSecurityEnabledOnly(&securityEnabledOnlyValue) return m } // CreateItemGetMemberObjectsPostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value diff --git a/directoryroles/get_available_extension_properties_post_request_body.go b/directoryroles/get_available_extension_properties_post_request_body.go index 8c2513273d..2bf54d5a3f 100644 --- a/directoryroles/get_available_extension_properties_post_request_body.go +++ b/directoryroles/get_available_extension_properties_post_request_body.go @@ -18,6 +18,8 @@ func NewGetAvailableExtensionPropertiesPostRequestBody()(*GetAvailableExtensionP } m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); m.SetAdditionalData(make(map[string]any)) + isSyncedFromOnPremisesValue := false + m.SetIsSyncedFromOnPremises(&isSyncedFromOnPremisesValue) return m } // CreateGetAvailableExtensionPropertiesPostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value diff --git a/directoryroles/item_get_member_groups_post_request_body.go b/directoryroles/item_get_member_groups_post_request_body.go index 4514e7e345..97f15bd5a3 100644 --- a/directoryroles/item_get_member_groups_post_request_body.go +++ b/directoryroles/item_get_member_groups_post_request_body.go @@ -18,6 +18,8 @@ func NewItemGetMemberGroupsPostRequestBody()(*ItemGetMemberGroupsPostRequestBody } m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); m.SetAdditionalData(make(map[string]any)) + securityEnabledOnlyValue := false + m.SetSecurityEnabledOnly(&securityEnabledOnlyValue) return m } // CreateItemGetMemberGroupsPostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value diff --git a/directoryroles/item_get_member_objects_post_request_body.go b/directoryroles/item_get_member_objects_post_request_body.go index c196319339..8d8adc2b60 100644 --- a/directoryroles/item_get_member_objects_post_request_body.go +++ b/directoryroles/item_get_member_objects_post_request_body.go @@ -18,6 +18,8 @@ func NewItemGetMemberObjectsPostRequestBody()(*ItemGetMemberObjectsPostRequestBo } m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); m.SetAdditionalData(make(map[string]any)) + securityEnabledOnlyValue := false + m.SetSecurityEnabledOnly(&securityEnabledOnlyValue) return m } // CreateItemGetMemberObjectsPostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value diff --git a/directoryroles/item_members_ref_request_builder.go b/directoryroles/item_members_ref_request_builder.go index fd72ac701a..1921040e8f 100644 --- a/directoryroles/item_members_ref_request_builder.go +++ b/directoryroles/item_members_ref_request_builder.go @@ -62,7 +62,7 @@ type ItemMembersRefRequestBuilderPostRequestConfiguration struct { // NewItemMembersRefRequestBuilderInternal instantiates a new ItemMembersRefRequestBuilder and sets the default values. func NewItemMembersRefRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemMembersRefRequestBuilder) { m := &ItemMembersRefRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/directoryRoles/{directoryRole%2Did}/members/$ref?@id={%40id}{&%24count,%24filter,%24orderby,%24search,%24skip,%24top}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/directoryRoles/{directoryRole%2Did}/members/$ref{?%24count,%24filter,%24orderby,%24search,%24skip,%24top}", pathParameters), } return m } @@ -150,7 +150,7 @@ func (m *ItemMembersRefRequestBuilder) ToDeleteRequestInformation(ctx context.Co // ToGetRequestInformation retrieve the list of principals that are assigned to the directory role. You can use both the object ID and template ID of the directoryRole with this API. The template ID of a built-in role is immutable and can be seen in the role description on the Microsoft Entra admin center. For details, see Role template IDs. // returns a *RequestInformation when successful func (m *ItemMembersRefRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemMembersRefRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { - requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, "{+baseurl}/directoryRoles/{directoryRole%2Did}/members/$ref{?%24count,%24filter,%24orderby,%24search,%24skip,%24top}", m.BaseRequestBuilder.PathParameters) + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) if requestConfiguration != nil { if requestConfiguration.QueryParameters != nil { requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) @@ -164,7 +164,7 @@ func (m *ItemMembersRefRequestBuilder) ToGetRequestInformation(ctx context.Conte // ToPostRequestInformation create a new directory role member. You can use both the object ID and template ID of the directoryRole with this API. The template ID of a built-in role is immutable and can be seen in the role description on the Microsoft Entra admin center. For details, see Role template IDs. // returns a *RequestInformation when successful func (m *ItemMembersRefRequestBuilder) ToPostRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ReferenceCreateable, requestConfiguration *ItemMembersRefRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { - requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, "{+baseurl}/directoryRoles/{directoryRole%2Did}/members/$ref", m.BaseRequestBuilder.PathParameters) + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) if requestConfiguration != nil { requestInfo.Headers.AddAll(requestConfiguration.Headers) requestInfo.AddRequestOptions(requestConfiguration.Options) diff --git a/directoryroletemplates/get_available_extension_properties_post_request_body.go b/directoryroletemplates/get_available_extension_properties_post_request_body.go index 74b8a8c61a..aefadbec8b 100644 --- a/directoryroletemplates/get_available_extension_properties_post_request_body.go +++ b/directoryroletemplates/get_available_extension_properties_post_request_body.go @@ -18,6 +18,8 @@ func NewGetAvailableExtensionPropertiesPostRequestBody()(*GetAvailableExtensionP } m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); m.SetAdditionalData(make(map[string]any)) + isSyncedFromOnPremisesValue := false + m.SetIsSyncedFromOnPremises(&isSyncedFromOnPremisesValue) return m } // CreateGetAvailableExtensionPropertiesPostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value diff --git a/directoryroletemplates/item_get_member_groups_post_request_body.go b/directoryroletemplates/item_get_member_groups_post_request_body.go index 7ca6800c5b..1717aceaab 100644 --- a/directoryroletemplates/item_get_member_groups_post_request_body.go +++ b/directoryroletemplates/item_get_member_groups_post_request_body.go @@ -18,6 +18,8 @@ func NewItemGetMemberGroupsPostRequestBody()(*ItemGetMemberGroupsPostRequestBody } m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); m.SetAdditionalData(make(map[string]any)) + securityEnabledOnlyValue := false + m.SetSecurityEnabledOnly(&securityEnabledOnlyValue) return m } // CreateItemGetMemberGroupsPostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value diff --git a/directoryroletemplates/item_get_member_objects_post_request_body.go b/directoryroletemplates/item_get_member_objects_post_request_body.go index c315a0357d..3e95a60bd2 100644 --- a/directoryroletemplates/item_get_member_objects_post_request_body.go +++ b/directoryroletemplates/item_get_member_objects_post_request_body.go @@ -18,6 +18,8 @@ func NewItemGetMemberObjectsPostRequestBody()(*ItemGetMemberObjectsPostRequestBo } m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); m.SetAdditionalData(make(map[string]any)) + securityEnabledOnlyValue := false + m.SetSecurityEnabledOnly(&securityEnabledOnlyValue) return m } // CreateItemGetMemberObjectsPostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value diff --git a/domains/item_force_delete_post_request_body.go b/domains/item_force_delete_post_request_body.go index 069a77780c..349e3ce3ac 100644 --- a/domains/item_force_delete_post_request_body.go +++ b/domains/item_force_delete_post_request_body.go @@ -18,6 +18,8 @@ func NewItemForceDeletePostRequestBody()(*ItemForceDeletePostRequestBody) { } m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); m.SetAdditionalData(make(map[string]any)) + disableUserAccountsValue := false + m.SetDisableUserAccounts(&disableUserAccountsValue) return m } // CreateItemForceDeletePostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value diff --git a/domains/item_promote_post_response.go b/domains/item_promote_post_response.go index 03c351ecc1..29da83c362 100644 --- a/domains/item_promote_post_response.go +++ b/domains/item_promote_post_response.go @@ -18,6 +18,8 @@ func NewItemPromotePostResponse()(*ItemPromotePostResponse) { } m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); m.SetAdditionalData(make(map[string]any)) + valueValue := false + m.SetValue(&valueValue) return m } // CreateItemPromotePostResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value diff --git a/drives/00abb45b228d8321b1ec46446958c37e6013fe3150017a8df71a16f04d38d615.go b/drives/00abb45b228d8321b1ec46446958c37e6013fe3150017a8df71a16f04d38d615.go index 647b8799c5..161b57ea71 100644 --- a/drives/00abb45b228d8321b1ec46446958c37e6013fe3150017a8df71a16f04d38d615.go +++ b/drives/00abb45b228d8321b1ec46446958c37e6013fe3150017a8df71a16f04d38d615.go @@ -17,6 +17,8 @@ func NewItemItemsItemWorkbookWorksheetsItemTablesItemColumnsItemDataBodyRangeMer m := &ItemItemsItemWorkbookWorksheetsItemTablesItemColumnsItemDataBodyRangeMergePostRequestBody{ } m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); + acrossValue := false + m.SetAcross(&acrossValue) m.SetAdditionalData(make(map[string]any)) return m } diff --git a/drives/4702329fa23417335bf8ffb063fed53bc4118b092560e4fb33297e97b8c66ade.go b/drives/4702329fa23417335bf8ffb063fed53bc4118b092560e4fb33297e97b8c66ade.go index c2f611523c..7a65604da4 100644 --- a/drives/4702329fa23417335bf8ffb063fed53bc4118b092560e4fb33297e97b8c66ade.go +++ b/drives/4702329fa23417335bf8ffb063fed53bc4118b092560e4fb33297e97b8c66ade.go @@ -17,6 +17,8 @@ func NewItemItemsItemWorkbookWorksheetsItemTablesItemColumnsItemHeaderRowRangeMe m := &ItemItemsItemWorkbookWorksheetsItemTablesItemColumnsItemHeaderRowRangeMergePostRequestBody{ } m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); + acrossValue := false + m.SetAcross(&acrossValue) m.SetAdditionalData(make(map[string]any)) return m } diff --git a/drives/919e245408fa14f21822453c33ce483df86acf01a518edc9f8dda140e78b5fd7.go b/drives/919e245408fa14f21822453c33ce483df86acf01a518edc9f8dda140e78b5fd7.go index 5a8ad74014..4bb227d0ab 100644 --- a/drives/919e245408fa14f21822453c33ce483df86acf01a518edc9f8dda140e78b5fd7.go +++ b/drives/919e245408fa14f21822453c33ce483df86acf01a518edc9f8dda140e78b5fd7.go @@ -17,6 +17,8 @@ func NewItemItemsItemWorkbookWorksheetsItemTablesItemColumnsItemTotalRowRangeMer m := &ItemItemsItemWorkbookWorksheetsItemTablesItemColumnsItemTotalRowRangeMergePostRequestBody{ } m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); + acrossValue := false + m.SetAcross(&acrossValue) m.SetAdditionalData(make(map[string]any)) return m } diff --git a/drives/item_items_item_copy_post_request_body.go b/drives/item_items_item_copy_post_request_body.go index 4e99f5d0e0..1ecb1424e3 100644 --- a/drives/item_items_item_copy_post_request_body.go +++ b/drives/item_items_item_copy_post_request_body.go @@ -19,6 +19,10 @@ func NewItemItemsItemCopyPostRequestBody()(*ItemItemsItemCopyPostRequestBody) { } m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); m.SetAdditionalData(make(map[string]any)) + childrenOnlyValue := false + m.SetChildrenOnly(&childrenOnlyValue) + includeAllVersionHistoryValue := false + m.SetIncludeAllVersionHistory(&includeAllVersionHistoryValue) return m } // CreateItemItemsItemCopyPostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value diff --git a/drives/item_items_item_create_link_post_request_body.go b/drives/item_items_item_create_link_post_request_body.go index 110a868b03..00f825a8a3 100644 --- a/drives/item_items_item_create_link_post_request_body.go +++ b/drives/item_items_item_create_link_post_request_body.go @@ -20,6 +20,10 @@ func NewItemItemsItemCreateLinkPostRequestBody()(*ItemItemsItemCreateLinkPostReq } m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); m.SetAdditionalData(make(map[string]any)) + retainInheritedPermissionsValue := false + m.SetRetainInheritedPermissions(&retainInheritedPermissionsValue) + sendNotificationValue := false + m.SetSendNotification(&sendNotificationValue) return m } // CreateItemItemsItemCreateLinkPostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value diff --git a/drives/item_items_item_invite_post_request_body.go b/drives/item_items_item_invite_post_request_body.go index 27ceed07f4..0170a8e588 100644 --- a/drives/item_items_item_invite_post_request_body.go +++ b/drives/item_items_item_invite_post_request_body.go @@ -19,6 +19,12 @@ func NewItemItemsItemInvitePostRequestBody()(*ItemItemsItemInvitePostRequestBody } m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); m.SetAdditionalData(make(map[string]any)) + requireSignInValue := false + m.SetRequireSignIn(&requireSignInValue) + retainInheritedPermissionsValue := false + m.SetRetainInheritedPermissions(&retainInheritedPermissionsValue) + sendInvitationValue := false + m.SetSendInvitation(&sendInvitationValue) return m } // CreateItemItemsItemInvitePostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value diff --git a/drives/item_items_item_workbook_create_session_post_request_body.go b/drives/item_items_item_workbook_create_session_post_request_body.go index 1e7c8bf010..751e8e9895 100644 --- a/drives/item_items_item_workbook_create_session_post_request_body.go +++ b/drives/item_items_item_workbook_create_session_post_request_body.go @@ -18,6 +18,8 @@ func NewItemItemsItemWorkbookCreateSessionPostRequestBody()(*ItemItemsItemWorkbo } m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); m.SetAdditionalData(make(map[string]any)) + persistChangesValue := false + m.SetPersistChanges(&persistChangesValue) return m } // CreateItemItemsItemWorkbookCreateSessionPostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value diff --git a/drives/item_items_item_workbook_names_item_range_merge_post_request_body.go b/drives/item_items_item_workbook_names_item_range_merge_post_request_body.go index 773ae8a8a7..4fd027499a 100644 --- a/drives/item_items_item_workbook_names_item_range_merge_post_request_body.go +++ b/drives/item_items_item_workbook_names_item_range_merge_post_request_body.go @@ -17,6 +17,8 @@ func NewItemItemsItemWorkbookNamesItemRangeMergePostRequestBody()(*ItemItemsItem m := &ItemItemsItemWorkbookNamesItemRangeMergePostRequestBody{ } m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); + acrossValue := false + m.SetAcross(&acrossValue) m.SetAdditionalData(make(map[string]any)) return m } diff --git a/drives/item_items_item_workbook_table_row_operation_result_with_key_request_builder.go b/drives/item_items_item_workbook_table_row_operation_result_with_key_request_builder.go index 900787fbba..dc50ca3351 100644 --- a/drives/item_items_item_workbook_table_row_operation_result_with_key_request_builder.go +++ b/drives/item_items_item_workbook_table_row_operation_result_with_key_request_builder.go @@ -37,7 +37,7 @@ func NewItemItemsItemWorkbookTableRowOperationResultWithKeyRequestBuilder(rawUrl urlParams["request-raw-url"] = rawUrl return NewItemItemsItemWorkbookTableRowOperationResultWithKeyRequestBuilderInternal(urlParams, requestAdapter, nil) } -// Get this function is the last in a series of steps to create a workbookTableRow resource asynchronously. A best practice to create multiple table rows is to batch them in one create tableRow operation and carry out the operation asynchronously. An asynchronous request to create table rows involves the following steps:1. Issue an async Create tableRow request and get the query URL returned in the Location response header.2. Use the query URL returned from step 1 to issue the Get workbookOperation request and get the operation ID for step 3. Alternatively, for convenience, after you get a succeeded operationStatus result, you can get the query URL from the resourceLocation property of the workbookOperation returned in the response, and apply the query URL to step 3. 3. Use the query URL returned from step 2 as the GET request URL for this function tableRowOperationResult. A successful function call returns the new table rows in a workbookTableRow resource. This function does not do anything if called independently. +// Get this function is the last in a series of steps to create a workbookTableRow resource asynchronously. A best practice to create multiple table rows is to batch them in one create tableRow operation and carry out the operation asynchronously. An asynchronous request to create table rows involves the following steps:1. Issue an async Create tableRow request and get the query URL returned in the Location response header.2. Use the query URL returned from step 1 to issue the Get workbookOperation request and get the operation ID for step 3. Alternatively, for convenience, after you get a succeeded operationStatus result, you can get the query URL from the resourceLocation property of the workbookOperation returned in the response, and apply the query URL to step 3. 3. Use the query URL returned from step 2 as the GET request URL for this function tableRowOperationResult. A successful function call returns the new table rows in a workbookTableRow resource. This function doesn't do anything if called independently. // returns a WorkbookTableRowable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] @@ -60,7 +60,7 @@ func (m *ItemItemsItemWorkbookTableRowOperationResultWithKeyRequestBuilder) Get( } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.WorkbookTableRowable), nil } -// ToGetRequestInformation this function is the last in a series of steps to create a workbookTableRow resource asynchronously. A best practice to create multiple table rows is to batch them in one create tableRow operation and carry out the operation asynchronously. An asynchronous request to create table rows involves the following steps:1. Issue an async Create tableRow request and get the query URL returned in the Location response header.2. Use the query URL returned from step 1 to issue the Get workbookOperation request and get the operation ID for step 3. Alternatively, for convenience, after you get a succeeded operationStatus result, you can get the query URL from the resourceLocation property of the workbookOperation returned in the response, and apply the query URL to step 3. 3. Use the query URL returned from step 2 as the GET request URL for this function tableRowOperationResult. A successful function call returns the new table rows in a workbookTableRow resource. This function does not do anything if called independently. +// ToGetRequestInformation this function is the last in a series of steps to create a workbookTableRow resource asynchronously. A best practice to create multiple table rows is to batch them in one create tableRow operation and carry out the operation asynchronously. An asynchronous request to create table rows involves the following steps:1. Issue an async Create tableRow request and get the query URL returned in the Location response header.2. Use the query URL returned from step 1 to issue the Get workbookOperation request and get the operation ID for step 3. Alternatively, for convenience, after you get a succeeded operationStatus result, you can get the query URL from the resourceLocation property of the workbookOperation returned in the response, and apply the query URL to step 3. 3. Use the query URL returned from step 2 as the GET request URL for this function tableRowOperationResult. A successful function call returns the new table rows in a workbookTableRow resource. This function doesn't do anything if called independently. // returns a *RequestInformation when successful func (m *ItemItemsItemWorkbookTableRowOperationResultWithKeyRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemItemsItemWorkbookTableRowOperationResultWithKeyRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/drives/item_items_item_workbook_tables_add_post_request_body.go b/drives/item_items_item_workbook_tables_add_post_request_body.go index 3e96e520c6..b7ce1f2c45 100644 --- a/drives/item_items_item_workbook_tables_add_post_request_body.go +++ b/drives/item_items_item_workbook_tables_add_post_request_body.go @@ -18,6 +18,8 @@ func NewItemItemsItemWorkbookTablesAddPostRequestBody()(*ItemItemsItemWorkbookTa } m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); m.SetAdditionalData(make(map[string]any)) + hasHeadersValue := false + m.SetHasHeaders(&hasHeadersValue) return m } // CreateItemItemsItemWorkbookTablesAddPostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value diff --git a/drives/item_items_item_workbook_tables_item_columns_item_data_body_range_merge_post_request_body.go b/drives/item_items_item_workbook_tables_item_columns_item_data_body_range_merge_post_request_body.go index b7c939fc67..7a56598ed8 100644 --- a/drives/item_items_item_workbook_tables_item_columns_item_data_body_range_merge_post_request_body.go +++ b/drives/item_items_item_workbook_tables_item_columns_item_data_body_range_merge_post_request_body.go @@ -17,6 +17,8 @@ func NewItemItemsItemWorkbookTablesItemColumnsItemDataBodyRangeMergePostRequestB m := &ItemItemsItemWorkbookTablesItemColumnsItemDataBodyRangeMergePostRequestBody{ } m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); + acrossValue := false + m.SetAcross(&acrossValue) m.SetAdditionalData(make(map[string]any)) return m } diff --git a/drives/item_items_item_workbook_tables_item_columns_item_header_row_range_merge_post_request_body.go b/drives/item_items_item_workbook_tables_item_columns_item_header_row_range_merge_post_request_body.go index a636f1a591..0302a8c86e 100644 --- a/drives/item_items_item_workbook_tables_item_columns_item_header_row_range_merge_post_request_body.go +++ b/drives/item_items_item_workbook_tables_item_columns_item_header_row_range_merge_post_request_body.go @@ -17,6 +17,8 @@ func NewItemItemsItemWorkbookTablesItemColumnsItemHeaderRowRangeMergePostRequest m := &ItemItemsItemWorkbookTablesItemColumnsItemHeaderRowRangeMergePostRequestBody{ } m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); + acrossValue := false + m.SetAcross(&acrossValue) m.SetAdditionalData(make(map[string]any)) return m } diff --git a/drives/item_items_item_workbook_tables_item_columns_item_range_merge_post_request_body.go b/drives/item_items_item_workbook_tables_item_columns_item_range_merge_post_request_body.go index 401a288788..3e34d7b864 100644 --- a/drives/item_items_item_workbook_tables_item_columns_item_range_merge_post_request_body.go +++ b/drives/item_items_item_workbook_tables_item_columns_item_range_merge_post_request_body.go @@ -17,6 +17,8 @@ func NewItemItemsItemWorkbookTablesItemColumnsItemRangeMergePostRequestBody()(*I m := &ItemItemsItemWorkbookTablesItemColumnsItemRangeMergePostRequestBody{ } m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); + acrossValue := false + m.SetAcross(&acrossValue) m.SetAdditionalData(make(map[string]any)) return m } diff --git a/drives/item_items_item_workbook_tables_item_columns_item_total_row_range_merge_post_request_body.go b/drives/item_items_item_workbook_tables_item_columns_item_total_row_range_merge_post_request_body.go index 539e73d21f..68233183c5 100644 --- a/drives/item_items_item_workbook_tables_item_columns_item_total_row_range_merge_post_request_body.go +++ b/drives/item_items_item_workbook_tables_item_columns_item_total_row_range_merge_post_request_body.go @@ -17,6 +17,8 @@ func NewItemItemsItemWorkbookTablesItemColumnsItemTotalRowRangeMergePostRequestB m := &ItemItemsItemWorkbookTablesItemColumnsItemTotalRowRangeMergePostRequestBody{ } m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); + acrossValue := false + m.SetAcross(&acrossValue) m.SetAdditionalData(make(map[string]any)) return m } diff --git a/drives/item_items_item_workbook_tables_item_data_body_range_merge_post_request_body.go b/drives/item_items_item_workbook_tables_item_data_body_range_merge_post_request_body.go index d71295e2d8..a5f04bbee0 100644 --- a/drives/item_items_item_workbook_tables_item_data_body_range_merge_post_request_body.go +++ b/drives/item_items_item_workbook_tables_item_data_body_range_merge_post_request_body.go @@ -17,6 +17,8 @@ func NewItemItemsItemWorkbookTablesItemDataBodyRangeMergePostRequestBody()(*Item m := &ItemItemsItemWorkbookTablesItemDataBodyRangeMergePostRequestBody{ } m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); + acrossValue := false + m.SetAcross(&acrossValue) m.SetAdditionalData(make(map[string]any)) return m } diff --git a/drives/item_items_item_workbook_tables_item_header_row_range_merge_post_request_body.go b/drives/item_items_item_workbook_tables_item_header_row_range_merge_post_request_body.go index b481f6bb63..6a69fc8a16 100644 --- a/drives/item_items_item_workbook_tables_item_header_row_range_merge_post_request_body.go +++ b/drives/item_items_item_workbook_tables_item_header_row_range_merge_post_request_body.go @@ -17,6 +17,8 @@ func NewItemItemsItemWorkbookTablesItemHeaderRowRangeMergePostRequestBody()(*Ite m := &ItemItemsItemWorkbookTablesItemHeaderRowRangeMergePostRequestBody{ } m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); + acrossValue := false + m.SetAcross(&acrossValue) m.SetAdditionalData(make(map[string]any)) return m } diff --git a/drives/item_items_item_workbook_tables_item_range_merge_post_request_body.go b/drives/item_items_item_workbook_tables_item_range_merge_post_request_body.go index a2289eba4b..1946307e3b 100644 --- a/drives/item_items_item_workbook_tables_item_range_merge_post_request_body.go +++ b/drives/item_items_item_workbook_tables_item_range_merge_post_request_body.go @@ -17,6 +17,8 @@ func NewItemItemsItemWorkbookTablesItemRangeMergePostRequestBody()(*ItemItemsIte m := &ItemItemsItemWorkbookTablesItemRangeMergePostRequestBody{ } m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); + acrossValue := false + m.SetAcross(&acrossValue) m.SetAdditionalData(make(map[string]any)) return m } diff --git a/drives/item_items_item_workbook_tables_item_rows_item_range_merge_post_request_body.go b/drives/item_items_item_workbook_tables_item_rows_item_range_merge_post_request_body.go index e4809fceab..001d1f9c18 100644 --- a/drives/item_items_item_workbook_tables_item_rows_item_range_merge_post_request_body.go +++ b/drives/item_items_item_workbook_tables_item_rows_item_range_merge_post_request_body.go @@ -17,6 +17,8 @@ func NewItemItemsItemWorkbookTablesItemRowsItemRangeMergePostRequestBody()(*Item m := &ItemItemsItemWorkbookTablesItemRowsItemRangeMergePostRequestBody{ } m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); + acrossValue := false + m.SetAcross(&acrossValue) m.SetAdditionalData(make(map[string]any)) return m } diff --git a/drives/item_items_item_workbook_tables_item_sort_apply_post_request_body.go b/drives/item_items_item_workbook_tables_item_sort_apply_post_request_body.go index 2227ee8bea..5039536188 100644 --- a/drives/item_items_item_workbook_tables_item_sort_apply_post_request_body.go +++ b/drives/item_items_item_workbook_tables_item_sort_apply_post_request_body.go @@ -19,6 +19,8 @@ func NewItemItemsItemWorkbookTablesItemSortApplyPostRequestBody()(*ItemItemsItem } m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); m.SetAdditionalData(make(map[string]any)) + matchCaseValue := false + m.SetMatchCase(&matchCaseValue) return m } // CreateItemItemsItemWorkbookTablesItemSortApplyPostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value diff --git a/drives/item_items_item_workbook_tables_item_total_row_range_merge_post_request_body.go b/drives/item_items_item_workbook_tables_item_total_row_range_merge_post_request_body.go index e9b56f96e9..7bb0beaa46 100644 --- a/drives/item_items_item_workbook_tables_item_total_row_range_merge_post_request_body.go +++ b/drives/item_items_item_workbook_tables_item_total_row_range_merge_post_request_body.go @@ -17,6 +17,8 @@ func NewItemItemsItemWorkbookTablesItemTotalRowRangeMergePostRequestBody()(*Item m := &ItemItemsItemWorkbookTablesItemTotalRowRangeMergePostRequestBody{ } m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); + acrossValue := false + m.SetAcross(&acrossValue) m.SetAdditionalData(make(map[string]any)) return m } diff --git a/drives/item_items_item_workbook_worksheets_item_cell_with_row_with_column_merge_post_request_body.go b/drives/item_items_item_workbook_worksheets_item_cell_with_row_with_column_merge_post_request_body.go index aca5f250a0..22cecb872e 100644 --- a/drives/item_items_item_workbook_worksheets_item_cell_with_row_with_column_merge_post_request_body.go +++ b/drives/item_items_item_workbook_worksheets_item_cell_with_row_with_column_merge_post_request_body.go @@ -17,6 +17,8 @@ func NewItemItemsItemWorkbookWorksheetsItemCellWithRowWithColumnMergePostRequest m := &ItemItemsItemWorkbookWorksheetsItemCellWithRowWithColumnMergePostRequestBody{ } m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); + acrossValue := false + m.SetAcross(&acrossValue) m.SetAdditionalData(make(map[string]any)) return m } diff --git a/drives/item_items_item_workbook_worksheets_item_names_item_range_merge_post_request_body.go b/drives/item_items_item_workbook_worksheets_item_names_item_range_merge_post_request_body.go index 809870714a..165dc9ea88 100644 --- a/drives/item_items_item_workbook_worksheets_item_names_item_range_merge_post_request_body.go +++ b/drives/item_items_item_workbook_worksheets_item_names_item_range_merge_post_request_body.go @@ -17,6 +17,8 @@ func NewItemItemsItemWorkbookWorksheetsItemNamesItemRangeMergePostRequestBody()( m := &ItemItemsItemWorkbookWorksheetsItemNamesItemRangeMergePostRequestBody{ } m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); + acrossValue := false + m.SetAcross(&acrossValue) m.SetAdditionalData(make(map[string]any)) return m } diff --git a/drives/item_items_item_workbook_worksheets_item_range_merge_post_request_body.go b/drives/item_items_item_workbook_worksheets_item_range_merge_post_request_body.go index 961f06198a..999effa804 100644 --- a/drives/item_items_item_workbook_worksheets_item_range_merge_post_request_body.go +++ b/drives/item_items_item_workbook_worksheets_item_range_merge_post_request_body.go @@ -17,6 +17,8 @@ func NewItemItemsItemWorkbookWorksheetsItemRangeMergePostRequestBody()(*ItemItem m := &ItemItemsItemWorkbookWorksheetsItemRangeMergePostRequestBody{ } m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); + acrossValue := false + m.SetAcross(&acrossValue) m.SetAdditionalData(make(map[string]any)) return m } diff --git a/drives/item_items_item_workbook_worksheets_item_range_with_address_merge_post_request_body.go b/drives/item_items_item_workbook_worksheets_item_range_with_address_merge_post_request_body.go index 56890db587..9d3b70f2f1 100644 --- a/drives/item_items_item_workbook_worksheets_item_range_with_address_merge_post_request_body.go +++ b/drives/item_items_item_workbook_worksheets_item_range_with_address_merge_post_request_body.go @@ -17,6 +17,8 @@ func NewItemItemsItemWorkbookWorksheetsItemRangeWithAddressMergePostRequestBody( m := &ItemItemsItemWorkbookWorksheetsItemRangeWithAddressMergePostRequestBody{ } m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); + acrossValue := false + m.SetAcross(&acrossValue) m.SetAdditionalData(make(map[string]any)) return m } diff --git a/drives/item_items_item_workbook_worksheets_item_tables_add_post_request_body.go b/drives/item_items_item_workbook_worksheets_item_tables_add_post_request_body.go index 32d095a2b4..0e50fa82b8 100644 --- a/drives/item_items_item_workbook_worksheets_item_tables_add_post_request_body.go +++ b/drives/item_items_item_workbook_worksheets_item_tables_add_post_request_body.go @@ -18,6 +18,8 @@ func NewItemItemsItemWorkbookWorksheetsItemTablesAddPostRequestBody()(*ItemItems } m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); m.SetAdditionalData(make(map[string]any)) + hasHeadersValue := false + m.SetHasHeaders(&hasHeadersValue) return m } // CreateItemItemsItemWorkbookWorksheetsItemTablesAddPostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value diff --git a/drives/item_items_item_workbook_worksheets_item_tables_item_columns_item_range_merge_post_request_body.go b/drives/item_items_item_workbook_worksheets_item_tables_item_columns_item_range_merge_post_request_body.go index 4f7d99fa0f..c11da16b44 100644 --- a/drives/item_items_item_workbook_worksheets_item_tables_item_columns_item_range_merge_post_request_body.go +++ b/drives/item_items_item_workbook_worksheets_item_tables_item_columns_item_range_merge_post_request_body.go @@ -17,6 +17,8 @@ func NewItemItemsItemWorkbookWorksheetsItemTablesItemColumnsItemRangeMergePostRe m := &ItemItemsItemWorkbookWorksheetsItemTablesItemColumnsItemRangeMergePostRequestBody{ } m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); + acrossValue := false + m.SetAcross(&acrossValue) m.SetAdditionalData(make(map[string]any)) return m } diff --git a/drives/item_items_item_workbook_worksheets_item_tables_item_data_body_range_merge_post_request_body.go b/drives/item_items_item_workbook_worksheets_item_tables_item_data_body_range_merge_post_request_body.go index 737976dbfc..393ca40e30 100644 --- a/drives/item_items_item_workbook_worksheets_item_tables_item_data_body_range_merge_post_request_body.go +++ b/drives/item_items_item_workbook_worksheets_item_tables_item_data_body_range_merge_post_request_body.go @@ -17,6 +17,8 @@ func NewItemItemsItemWorkbookWorksheetsItemTablesItemDataBodyRangeMergePostReque m := &ItemItemsItemWorkbookWorksheetsItemTablesItemDataBodyRangeMergePostRequestBody{ } m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); + acrossValue := false + m.SetAcross(&acrossValue) m.SetAdditionalData(make(map[string]any)) return m } diff --git a/drives/item_items_item_workbook_worksheets_item_tables_item_header_row_range_merge_post_request_body.go b/drives/item_items_item_workbook_worksheets_item_tables_item_header_row_range_merge_post_request_body.go index 77ad9ea4cc..d119539f86 100644 --- a/drives/item_items_item_workbook_worksheets_item_tables_item_header_row_range_merge_post_request_body.go +++ b/drives/item_items_item_workbook_worksheets_item_tables_item_header_row_range_merge_post_request_body.go @@ -17,6 +17,8 @@ func NewItemItemsItemWorkbookWorksheetsItemTablesItemHeaderRowRangeMergePostRequ m := &ItemItemsItemWorkbookWorksheetsItemTablesItemHeaderRowRangeMergePostRequestBody{ } m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); + acrossValue := false + m.SetAcross(&acrossValue) m.SetAdditionalData(make(map[string]any)) return m } diff --git a/drives/item_items_item_workbook_worksheets_item_tables_item_range_merge_post_request_body.go b/drives/item_items_item_workbook_worksheets_item_tables_item_range_merge_post_request_body.go index b00eac7653..5aa73a8230 100644 --- a/drives/item_items_item_workbook_worksheets_item_tables_item_range_merge_post_request_body.go +++ b/drives/item_items_item_workbook_worksheets_item_tables_item_range_merge_post_request_body.go @@ -17,6 +17,8 @@ func NewItemItemsItemWorkbookWorksheetsItemTablesItemRangeMergePostRequestBody() m := &ItemItemsItemWorkbookWorksheetsItemTablesItemRangeMergePostRequestBody{ } m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); + acrossValue := false + m.SetAcross(&acrossValue) m.SetAdditionalData(make(map[string]any)) return m } diff --git a/drives/item_items_item_workbook_worksheets_item_tables_item_rows_item_range_merge_post_request_body.go b/drives/item_items_item_workbook_worksheets_item_tables_item_rows_item_range_merge_post_request_body.go index ba99fb5050..bdce4ef0f9 100644 --- a/drives/item_items_item_workbook_worksheets_item_tables_item_rows_item_range_merge_post_request_body.go +++ b/drives/item_items_item_workbook_worksheets_item_tables_item_rows_item_range_merge_post_request_body.go @@ -17,6 +17,8 @@ func NewItemItemsItemWorkbookWorksheetsItemTablesItemRowsItemRangeMergePostReque m := &ItemItemsItemWorkbookWorksheetsItemTablesItemRowsItemRangeMergePostRequestBody{ } m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); + acrossValue := false + m.SetAcross(&acrossValue) m.SetAdditionalData(make(map[string]any)) return m } diff --git a/drives/item_items_item_workbook_worksheets_item_tables_item_sort_apply_post_request_body.go b/drives/item_items_item_workbook_worksheets_item_tables_item_sort_apply_post_request_body.go index 2664d5c025..825d7b761b 100644 --- a/drives/item_items_item_workbook_worksheets_item_tables_item_sort_apply_post_request_body.go +++ b/drives/item_items_item_workbook_worksheets_item_tables_item_sort_apply_post_request_body.go @@ -19,6 +19,8 @@ func NewItemItemsItemWorkbookWorksheetsItemTablesItemSortApplyPostRequestBody()( } m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); m.SetAdditionalData(make(map[string]any)) + matchCaseValue := false + m.SetMatchCase(&matchCaseValue) return m } // CreateItemItemsItemWorkbookWorksheetsItemTablesItemSortApplyPostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value diff --git a/drives/item_items_item_workbook_worksheets_item_tables_item_total_row_range_merge_post_request_body.go b/drives/item_items_item_workbook_worksheets_item_tables_item_total_row_range_merge_post_request_body.go index 9d4755aff4..db6a41ab17 100644 --- a/drives/item_items_item_workbook_worksheets_item_tables_item_total_row_range_merge_post_request_body.go +++ b/drives/item_items_item_workbook_worksheets_item_tables_item_total_row_range_merge_post_request_body.go @@ -17,6 +17,8 @@ func NewItemItemsItemWorkbookWorksheetsItemTablesItemTotalRowRangeMergePostReque m := &ItemItemsItemWorkbookWorksheetsItemTablesItemTotalRowRangeMergePostRequestBody{ } m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); + acrossValue := false + m.SetAcross(&acrossValue) m.SetAdditionalData(make(map[string]any)) return m } diff --git a/drives/item_items_item_workbook_worksheets_item_used_range_merge_post_request_body.go b/drives/item_items_item_workbook_worksheets_item_used_range_merge_post_request_body.go index b1a799d223..8312ad3d41 100644 --- a/drives/item_items_item_workbook_worksheets_item_used_range_merge_post_request_body.go +++ b/drives/item_items_item_workbook_worksheets_item_used_range_merge_post_request_body.go @@ -17,6 +17,8 @@ func NewItemItemsItemWorkbookWorksheetsItemUsedRangeMergePostRequestBody()(*Item m := &ItemItemsItemWorkbookWorksheetsItemUsedRangeMergePostRequestBody{ } m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); + acrossValue := false + m.SetAcross(&acrossValue) m.SetAdditionalData(make(map[string]any)) return m } diff --git a/drives/item_items_item_workbook_worksheets_item_used_range_with_values_only_merge_post_request_body.go b/drives/item_items_item_workbook_worksheets_item_used_range_with_values_only_merge_post_request_body.go index 322cb18373..bafdfbc000 100644 --- a/drives/item_items_item_workbook_worksheets_item_used_range_with_values_only_merge_post_request_body.go +++ b/drives/item_items_item_workbook_worksheets_item_used_range_with_values_only_merge_post_request_body.go @@ -17,6 +17,8 @@ func NewItemItemsItemWorkbookWorksheetsItemUsedRangeWithValuesOnlyMergePostReque m := &ItemItemsItemWorkbookWorksheetsItemUsedRangeWithValuesOnlyMergePostRequestBody{ } m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); + acrossValue := false + m.SetAcross(&acrossValue) m.SetAdditionalData(make(map[string]any)) return m } diff --git a/drives/item_list_content_types_item_associate_with_hub_sites_post_request_body.go b/drives/item_list_content_types_item_associate_with_hub_sites_post_request_body.go index f74000fec7..4cfd34a7c4 100644 --- a/drives/item_list_content_types_item_associate_with_hub_sites_post_request_body.go +++ b/drives/item_list_content_types_item_associate_with_hub_sites_post_request_body.go @@ -18,6 +18,8 @@ func NewItemListContentTypesItemAssociateWithHubSitesPostRequestBody()(*ItemList } m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); m.SetAdditionalData(make(map[string]any)) + propagateToExistingListsValue := false + m.SetPropagateToExistingLists(&propagateToExistingListsValue) return m } // CreateItemListContentTypesItemAssociateWithHubSitesPostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value diff --git a/drives/item_list_content_types_item_is_published_get_response.go b/drives/item_list_content_types_item_is_published_get_response.go index df23eea61c..8682168804 100644 --- a/drives/item_list_content_types_item_is_published_get_response.go +++ b/drives/item_list_content_types_item_is_published_get_response.go @@ -18,6 +18,8 @@ func NewItemListContentTypesItemIsPublishedGetResponse()(*ItemListContentTypesIt } m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); m.SetAdditionalData(make(map[string]any)) + valueValue := false + m.SetValue(&valueValue) return m } // CreateItemListContentTypesItemIsPublishedGetResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value diff --git a/drives/item_list_items_item_create_link_post_request_body.go b/drives/item_list_items_item_create_link_post_request_body.go index fc260e55ce..b84514f05d 100644 --- a/drives/item_list_items_item_create_link_post_request_body.go +++ b/drives/item_list_items_item_create_link_post_request_body.go @@ -20,6 +20,10 @@ func NewItemListItemsItemCreateLinkPostRequestBody()(*ItemListItemsItemCreateLin } m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); m.SetAdditionalData(make(map[string]any)) + retainInheritedPermissionsValue := false + m.SetRetainInheritedPermissions(&retainInheritedPermissionsValue) + sendNotificationValue := false + m.SetSendNotification(&sendNotificationValue) return m } // CreateItemListItemsItemCreateLinkPostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value diff --git a/education/classes_item_assignments_item_categories_ref_request_builder.go b/education/classes_item_assignments_item_categories_ref_request_builder.go index 6fba47827a..6c268c88b9 100644 --- a/education/classes_item_assignments_item_categories_ref_request_builder.go +++ b/education/classes_item_assignments_item_categories_ref_request_builder.go @@ -62,7 +62,7 @@ type ClassesItemAssignmentsItemCategoriesRefRequestBuilderPostRequestConfigurati // NewClassesItemAssignmentsItemCategoriesRefRequestBuilderInternal instantiates a new ClassesItemAssignmentsItemCategoriesRefRequestBuilder and sets the default values. func NewClassesItemAssignmentsItemCategoriesRefRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ClassesItemAssignmentsItemCategoriesRefRequestBuilder) { m := &ClassesItemAssignmentsItemCategoriesRefRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/education/classes/{educationClass%2Did}/assignments/{educationAssignment%2Did}/categories/$ref?@id={%40id}{&%24count,%24filter,%24orderby,%24search,%24skip,%24top}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/education/classes/{educationClass%2Did}/assignments/{educationAssignment%2Did}/categories/$ref{?%24count,%24filter,%24orderby,%24search,%24skip,%24top}", pathParameters), } return m } @@ -150,7 +150,7 @@ func (m *ClassesItemAssignmentsItemCategoriesRefRequestBuilder) ToDeleteRequestI // ToGetRequestInformation list all the categories associated with an assignment. Only teachers, students, and applications with application permissions can perform this operation. // returns a *RequestInformation when successful func (m *ClassesItemAssignmentsItemCategoriesRefRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ClassesItemAssignmentsItemCategoriesRefRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { - requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, "{+baseurl}/education/classes/{educationClass%2Did}/assignments/{educationAssignment%2Did}/categories/$ref{?%24count,%24filter,%24orderby,%24search,%24skip,%24top}", m.BaseRequestBuilder.PathParameters) + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) if requestConfiguration != nil { if requestConfiguration.QueryParameters != nil { requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) @@ -164,7 +164,7 @@ func (m *ClassesItemAssignmentsItemCategoriesRefRequestBuilder) ToGetRequestInfo // ToPostRequestInformation add one or more existing educationCategory objects to the specified educationAssignment. Only teachers can perform this operation. // returns a *RequestInformation when successful func (m *ClassesItemAssignmentsItemCategoriesRefRequestBuilder) ToPostRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ReferenceCreateable, requestConfiguration *ClassesItemAssignmentsItemCategoriesRefRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { - requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, "{+baseurl}/education/classes/{educationClass%2Did}/assignments/{educationAssignment%2Did}/categories/$ref", m.BaseRequestBuilder.PathParameters) + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) if requestConfiguration != nil { requestInfo.Headers.AddAll(requestConfiguration.Headers) requestInfo.AddRequestOptions(requestConfiguration.Options) diff --git a/education/classes_item_members_ref_request_builder.go b/education/classes_item_members_ref_request_builder.go index 0369a6849b..00d5a155df 100644 --- a/education/classes_item_members_ref_request_builder.go +++ b/education/classes_item_members_ref_request_builder.go @@ -62,7 +62,7 @@ type ClassesItemMembersRefRequestBuilderPostRequestConfiguration struct { // NewClassesItemMembersRefRequestBuilderInternal instantiates a new ClassesItemMembersRefRequestBuilder and sets the default values. func NewClassesItemMembersRefRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ClassesItemMembersRefRequestBuilder) { m := &ClassesItemMembersRefRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/education/classes/{educationClass%2Did}/members/$ref?@id={%40id}{&%24count,%24filter,%24orderby,%24search,%24skip,%24top}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/education/classes/{educationClass%2Did}/members/$ref{?%24count,%24filter,%24orderby,%24search,%24skip,%24top}", pathParameters), } return m } @@ -150,7 +150,7 @@ func (m *ClassesItemMembersRefRequestBuilder) ToDeleteRequestInformation(ctx con // ToGetRequestInformation retrieves the educationUser members of an educationClass. // returns a *RequestInformation when successful func (m *ClassesItemMembersRefRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ClassesItemMembersRefRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { - requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, "{+baseurl}/education/classes/{educationClass%2Did}/members/$ref{?%24count,%24filter,%24orderby,%24search,%24skip,%24top}", m.BaseRequestBuilder.PathParameters) + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) if requestConfiguration != nil { if requestConfiguration.QueryParameters != nil { requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) @@ -164,7 +164,7 @@ func (m *ClassesItemMembersRefRequestBuilder) ToGetRequestInformation(ctx contex // ToPostRequestInformation add an educationUser member to an educationClass. // returns a *RequestInformation when successful func (m *ClassesItemMembersRefRequestBuilder) ToPostRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ReferenceCreateable, requestConfiguration *ClassesItemMembersRefRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { - requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, "{+baseurl}/education/classes/{educationClass%2Did}/members/$ref", m.BaseRequestBuilder.PathParameters) + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) if requestConfiguration != nil { requestInfo.Headers.AddAll(requestConfiguration.Headers) requestInfo.AddRequestOptions(requestConfiguration.Options) diff --git a/education/classes_item_teachers_ref_request_builder.go b/education/classes_item_teachers_ref_request_builder.go index 0ab529ccb1..ecc20699b7 100644 --- a/education/classes_item_teachers_ref_request_builder.go +++ b/education/classes_item_teachers_ref_request_builder.go @@ -62,7 +62,7 @@ type ClassesItemTeachersRefRequestBuilderPostRequestConfiguration struct { // NewClassesItemTeachersRefRequestBuilderInternal instantiates a new ClassesItemTeachersRefRequestBuilder and sets the default values. func NewClassesItemTeachersRefRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ClassesItemTeachersRefRequestBuilder) { m := &ClassesItemTeachersRefRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/education/classes/{educationClass%2Did}/teachers/$ref?@id={%40id}{&%24count,%24filter,%24orderby,%24search,%24skip,%24top}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/education/classes/{educationClass%2Did}/teachers/$ref{?%24count,%24filter,%24orderby,%24search,%24skip,%24top}", pathParameters), } return m } @@ -150,7 +150,7 @@ func (m *ClassesItemTeachersRefRequestBuilder) ToDeleteRequestInformation(ctx co // ToGetRequestInformation retrieve a list of teachers for a class. Delegated tokens must be members of the class to get the teacher list. // returns a *RequestInformation when successful func (m *ClassesItemTeachersRefRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ClassesItemTeachersRefRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { - requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, "{+baseurl}/education/classes/{educationClass%2Did}/teachers/$ref{?%24count,%24filter,%24orderby,%24search,%24skip,%24top}", m.BaseRequestBuilder.PathParameters) + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) if requestConfiguration != nil { if requestConfiguration.QueryParameters != nil { requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) @@ -164,7 +164,7 @@ func (m *ClassesItemTeachersRefRequestBuilder) ToGetRequestInformation(ctx conte // ToPostRequestInformation add a teacher to a class. // returns a *RequestInformation when successful func (m *ClassesItemTeachersRefRequestBuilder) ToPostRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ReferenceCreateable, requestConfiguration *ClassesItemTeachersRefRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { - requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, "{+baseurl}/education/classes/{educationClass%2Did}/teachers/$ref", m.BaseRequestBuilder.PathParameters) + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) if requestConfiguration != nil { requestInfo.Headers.AddAll(requestConfiguration.Headers) requestInfo.AddRequestOptions(requestConfiguration.Options) diff --git a/education/me_assignments_item_categories_ref_request_builder.go b/education/me_assignments_item_categories_ref_request_builder.go index 2c0248edec..d07edb1469 100644 --- a/education/me_assignments_item_categories_ref_request_builder.go +++ b/education/me_assignments_item_categories_ref_request_builder.go @@ -62,7 +62,7 @@ type MeAssignmentsItemCategoriesRefRequestBuilderPostRequestConfiguration struct // NewMeAssignmentsItemCategoriesRefRequestBuilderInternal instantiates a new MeAssignmentsItemCategoriesRefRequestBuilder and sets the default values. func NewMeAssignmentsItemCategoriesRefRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*MeAssignmentsItemCategoriesRefRequestBuilder) { m := &MeAssignmentsItemCategoriesRefRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/education/me/assignments/{educationAssignment%2Did}/categories/$ref?@id={%40id}{&%24count,%24filter,%24orderby,%24search,%24skip,%24top}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/education/me/assignments/{educationAssignment%2Did}/categories/$ref{?%24count,%24filter,%24orderby,%24search,%24skip,%24top}", pathParameters), } return m } @@ -141,7 +141,7 @@ func (m *MeAssignmentsItemCategoriesRefRequestBuilder) ToDeleteRequestInformatio // ToGetRequestInformation when set, enables users to easily find assignments of a given type. Read-only. Nullable. // returns a *RequestInformation when successful func (m *MeAssignmentsItemCategoriesRefRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *MeAssignmentsItemCategoriesRefRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { - requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, "{+baseurl}/education/me/assignments/{educationAssignment%2Did}/categories/$ref{?%24count,%24filter,%24orderby,%24search,%24skip,%24top}", m.BaseRequestBuilder.PathParameters) + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) if requestConfiguration != nil { if requestConfiguration.QueryParameters != nil { requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) @@ -155,7 +155,7 @@ func (m *MeAssignmentsItemCategoriesRefRequestBuilder) ToGetRequestInformation(c // ToPostRequestInformation create new navigation property ref to categories for education // returns a *RequestInformation when successful func (m *MeAssignmentsItemCategoriesRefRequestBuilder) ToPostRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ReferenceCreateable, requestConfiguration *MeAssignmentsItemCategoriesRefRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { - requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, "{+baseurl}/education/me/assignments/{educationAssignment%2Did}/categories/$ref", m.BaseRequestBuilder.PathParameters) + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) if requestConfiguration != nil { requestInfo.Headers.AddAll(requestConfiguration.Headers) requestInfo.AddRequestOptions(requestConfiguration.Options) diff --git a/education/schools_item_classes_ref_request_builder.go b/education/schools_item_classes_ref_request_builder.go index 752d0eff62..22a151517c 100644 --- a/education/schools_item_classes_ref_request_builder.go +++ b/education/schools_item_classes_ref_request_builder.go @@ -62,7 +62,7 @@ type SchoolsItemClassesRefRequestBuilderPostRequestConfiguration struct { // NewSchoolsItemClassesRefRequestBuilderInternal instantiates a new SchoolsItemClassesRefRequestBuilder and sets the default values. func NewSchoolsItemClassesRefRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*SchoolsItemClassesRefRequestBuilder) { m := &SchoolsItemClassesRefRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/education/schools/{educationSchool%2Did}/classes/$ref?@id={%40id}{&%24count,%24filter,%24orderby,%24search,%24skip,%24top}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/education/schools/{educationSchool%2Did}/classes/$ref{?%24count,%24filter,%24orderby,%24search,%24skip,%24top}", pathParameters), } return m } @@ -150,7 +150,7 @@ func (m *SchoolsItemClassesRefRequestBuilder) ToDeleteRequestInformation(ctx con // ToGetRequestInformation get the educationClass resources owned by an educationSchool. // returns a *RequestInformation when successful func (m *SchoolsItemClassesRefRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *SchoolsItemClassesRefRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { - requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, "{+baseurl}/education/schools/{educationSchool%2Did}/classes/$ref{?%24count,%24filter,%24orderby,%24search,%24skip,%24top}", m.BaseRequestBuilder.PathParameters) + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) if requestConfiguration != nil { if requestConfiguration.QueryParameters != nil { requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) @@ -164,7 +164,7 @@ func (m *SchoolsItemClassesRefRequestBuilder) ToGetRequestInformation(ctx contex // ToPostRequestInformation add a class to a school. // returns a *RequestInformation when successful func (m *SchoolsItemClassesRefRequestBuilder) ToPostRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ReferenceCreateable, requestConfiguration *SchoolsItemClassesRefRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { - requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, "{+baseurl}/education/schools/{educationSchool%2Did}/classes/$ref", m.BaseRequestBuilder.PathParameters) + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) if requestConfiguration != nil { requestInfo.Headers.AddAll(requestConfiguration.Headers) requestInfo.AddRequestOptions(requestConfiguration.Options) diff --git a/education/schools_item_users_ref_request_builder.go b/education/schools_item_users_ref_request_builder.go index 9428d584ab..f276d0c3e4 100644 --- a/education/schools_item_users_ref_request_builder.go +++ b/education/schools_item_users_ref_request_builder.go @@ -62,7 +62,7 @@ type SchoolsItemUsersRefRequestBuilderPostRequestConfiguration struct { // NewSchoolsItemUsersRefRequestBuilderInternal instantiates a new SchoolsItemUsersRefRequestBuilder and sets the default values. func NewSchoolsItemUsersRefRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*SchoolsItemUsersRefRequestBuilder) { m := &SchoolsItemUsersRefRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/education/schools/{educationSchool%2Did}/users/$ref?@id={%40id}{&%24count,%24filter,%24orderby,%24search,%24skip,%24top}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/education/schools/{educationSchool%2Did}/users/$ref{?%24count,%24filter,%24orderby,%24search,%24skip,%24top}", pathParameters), } return m } @@ -150,7 +150,7 @@ func (m *SchoolsItemUsersRefRequestBuilder) ToDeleteRequestInformation(ctx conte // ToGetRequestInformation get the educationUser resources associated with an educationSchool. // returns a *RequestInformation when successful func (m *SchoolsItemUsersRefRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *SchoolsItemUsersRefRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { - requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, "{+baseurl}/education/schools/{educationSchool%2Did}/users/$ref{?%24count,%24filter,%24orderby,%24search,%24skip,%24top}", m.BaseRequestBuilder.PathParameters) + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) if requestConfiguration != nil { if requestConfiguration.QueryParameters != nil { requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) @@ -164,7 +164,7 @@ func (m *SchoolsItemUsersRefRequestBuilder) ToGetRequestInformation(ctx context. // ToPostRequestInformation add a user to a school. // returns a *RequestInformation when successful func (m *SchoolsItemUsersRefRequestBuilder) ToPostRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ReferenceCreateable, requestConfiguration *SchoolsItemUsersRefRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { - requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, "{+baseurl}/education/schools/{educationSchool%2Did}/users/$ref", m.BaseRequestBuilder.PathParameters) + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) if requestConfiguration != nil { requestInfo.Headers.AddAll(requestConfiguration.Headers) requestInfo.AddRequestOptions(requestConfiguration.Options) diff --git a/education/users_item_assignments_item_categories_ref_request_builder.go b/education/users_item_assignments_item_categories_ref_request_builder.go index f34e75e88a..5cb41d6852 100644 --- a/education/users_item_assignments_item_categories_ref_request_builder.go +++ b/education/users_item_assignments_item_categories_ref_request_builder.go @@ -62,7 +62,7 @@ type UsersItemAssignmentsItemCategoriesRefRequestBuilderPostRequestConfiguration // NewUsersItemAssignmentsItemCategoriesRefRequestBuilderInternal instantiates a new UsersItemAssignmentsItemCategoriesRefRequestBuilder and sets the default values. func NewUsersItemAssignmentsItemCategoriesRefRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*UsersItemAssignmentsItemCategoriesRefRequestBuilder) { m := &UsersItemAssignmentsItemCategoriesRefRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/education/users/{educationUser%2Did}/assignments/{educationAssignment%2Did}/categories/$ref?@id={%40id}{&%24count,%24filter,%24orderby,%24search,%24skip,%24top}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/education/users/{educationUser%2Did}/assignments/{educationAssignment%2Did}/categories/$ref{?%24count,%24filter,%24orderby,%24search,%24skip,%24top}", pathParameters), } return m } @@ -141,7 +141,7 @@ func (m *UsersItemAssignmentsItemCategoriesRefRequestBuilder) ToDeleteRequestInf // ToGetRequestInformation when set, enables users to easily find assignments of a given type. Read-only. Nullable. // returns a *RequestInformation when successful func (m *UsersItemAssignmentsItemCategoriesRefRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *UsersItemAssignmentsItemCategoriesRefRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { - requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, "{+baseurl}/education/users/{educationUser%2Did}/assignments/{educationAssignment%2Did}/categories/$ref{?%24count,%24filter,%24orderby,%24search,%24skip,%24top}", m.BaseRequestBuilder.PathParameters) + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) if requestConfiguration != nil { if requestConfiguration.QueryParameters != nil { requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) @@ -155,7 +155,7 @@ func (m *UsersItemAssignmentsItemCategoriesRefRequestBuilder) ToGetRequestInform // ToPostRequestInformation create new navigation property ref to categories for education // returns a *RequestInformation when successful func (m *UsersItemAssignmentsItemCategoriesRefRequestBuilder) ToPostRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ReferenceCreateable, requestConfiguration *UsersItemAssignmentsItemCategoriesRefRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { - requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, "{+baseurl}/education/users/{educationUser%2Did}/assignments/{educationAssignment%2Did}/categories/$ref", m.BaseRequestBuilder.PathParameters) + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) if requestConfiguration != nil { requestInfo.Headers.AddAll(requestConfiguration.Headers) requestInfo.AddRequestOptions(requestConfiguration.Options) diff --git a/grouplifecyclepolicies/item_add_group_post_response.go b/grouplifecyclepolicies/item_add_group_post_response.go index 54c45441cb..c6aff2772b 100644 --- a/grouplifecyclepolicies/item_add_group_post_response.go +++ b/grouplifecyclepolicies/item_add_group_post_response.go @@ -18,6 +18,8 @@ func NewItemAddGroupPostResponse()(*ItemAddGroupPostResponse) { } m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); m.SetAdditionalData(make(map[string]any)) + valueValue := false + m.SetValue(&valueValue) return m } // CreateItemAddGroupPostResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value diff --git a/grouplifecyclepolicies/item_remove_group_post_response.go b/grouplifecyclepolicies/item_remove_group_post_response.go index 27312decef..294f851d5a 100644 --- a/grouplifecyclepolicies/item_remove_group_post_response.go +++ b/grouplifecyclepolicies/item_remove_group_post_response.go @@ -18,6 +18,8 @@ func NewItemRemoveGroupPostResponse()(*ItemRemoveGroupPostResponse) { } m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); m.SetAdditionalData(make(map[string]any)) + valueValue := false + m.SetValue(&valueValue) return m } // CreateItemRemoveGroupPostResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value diff --git a/groups/5540efefd894ddceb20126371c060fca8956bf21b0e79cab06b17dde36138c23.go b/groups/5540efefd894ddceb20126371c060fca8956bf21b0e79cab06b17dde36138c23.go index 63eda4d4dc..8a437712e6 100644 --- a/groups/5540efefd894ddceb20126371c060fca8956bf21b0e79cab06b17dde36138c23.go +++ b/groups/5540efefd894ddceb20126371c060fca8956bf21b0e79cab06b17dde36138c23.go @@ -18,6 +18,8 @@ func NewItemTeamChannelsItemDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPr } m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); m.SetAdditionalData(make(map[string]any)) + valueValue := false + m.SetValue(&valueValue) return m } // CreateItemTeamChannelsItemDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameGetResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value diff --git a/groups/7888491c99793ba8d896856205636a2f1f12651c40d9ea52a6886645ffe78c64.go b/groups/7888491c99793ba8d896856205636a2f1f12651c40d9ea52a6886645ffe78c64.go index 89bee50fbf..66662c098b 100644 --- a/groups/7888491c99793ba8d896856205636a2f1f12651c40d9ea52a6886645ffe78c64.go +++ b/groups/7888491c99793ba8d896856205636a2f1f12651c40d9ea52a6886645ffe78c64.go @@ -18,6 +18,8 @@ func NewItemTeamPrimaryChannelDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUser } m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); m.SetAdditionalData(make(map[string]any)) + valueValue := false + m.SetValue(&valueValue) return m } // CreateItemTeamPrimaryChannelDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameGetResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value diff --git a/groups/get_available_extension_properties_post_request_body.go b/groups/get_available_extension_properties_post_request_body.go index c7c0c7bcc0..9dd8a2863b 100644 --- a/groups/get_available_extension_properties_post_request_body.go +++ b/groups/get_available_extension_properties_post_request_body.go @@ -18,6 +18,8 @@ func NewGetAvailableExtensionPropertiesPostRequestBody()(*GetAvailableExtensionP } m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); m.SetAdditionalData(make(map[string]any)) + isSyncedFromOnPremisesValue := false + m.SetIsSyncedFromOnPremises(&isSyncedFromOnPremisesValue) return m } // CreateGetAvailableExtensionPropertiesPostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value diff --git a/groups/item_accepted_senders_ref_request_builder.go b/groups/item_accepted_senders_ref_request_builder.go index f90f73e9e0..306e7fe05b 100644 --- a/groups/item_accepted_senders_ref_request_builder.go +++ b/groups/item_accepted_senders_ref_request_builder.go @@ -28,7 +28,7 @@ type ItemAcceptedSendersRefRequestBuilderDeleteRequestConfiguration struct { // Request query parameters QueryParameters *ItemAcceptedSendersRefRequestBuilderDeleteQueryParameters } -// ItemAcceptedSendersRefRequestBuilderGetQueryParameters users in the accepted senders list can post to conversations of the group (identified in the GET request URL).Make sure you do not specify the same user or group in the accepted senders and rejected senders lists, otherwise you will get an error. +// ItemAcceptedSendersRefRequestBuilderGetQueryParameters users in the accepted senders list can post to conversations of the group (identified in the GET request URL).Make sure you don't specify the same user or group in the accepted senders and rejected senders lists, otherwise you will get an error. type ItemAcceptedSendersRefRequestBuilderGetQueryParameters struct { // Include count of items Count *bool "uriparametername:\"%24count\"" @@ -62,7 +62,7 @@ type ItemAcceptedSendersRefRequestBuilderPostRequestConfiguration struct { // NewItemAcceptedSendersRefRequestBuilderInternal instantiates a new ItemAcceptedSendersRefRequestBuilder and sets the default values. func NewItemAcceptedSendersRefRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemAcceptedSendersRefRequestBuilder) { m := &ItemAcceptedSendersRefRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/groups/{group%2Did}/acceptedSenders/$ref?@id={%40id}{&%24count,%24filter,%24orderby,%24search,%24skip,%24top}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/groups/{group%2Did}/acceptedSenders/$ref{?%24count,%24filter,%24orderby,%24search,%24skip,%24top}", pathParameters), } return m } @@ -91,7 +91,7 @@ func (m *ItemAcceptedSendersRefRequestBuilder) Delete(ctx context.Context, reque } return nil } -// Get users in the accepted senders list can post to conversations of the group (identified in the GET request URL).Make sure you do not specify the same user or group in the accepted senders and rejected senders lists, otherwise you will get an error. +// Get users in the accepted senders list can post to conversations of the group (identified in the GET request URL).Make sure you don't specify the same user or group in the accepted senders and rejected senders lists, otherwise you will get an error. // returns a StringCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] @@ -147,10 +147,10 @@ func (m *ItemAcceptedSendersRefRequestBuilder) ToDeleteRequestInformation(ctx co requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation users in the accepted senders list can post to conversations of the group (identified in the GET request URL).Make sure you do not specify the same user or group in the accepted senders and rejected senders lists, otherwise you will get an error. +// ToGetRequestInformation users in the accepted senders list can post to conversations of the group (identified in the GET request URL).Make sure you don't specify the same user or group in the accepted senders and rejected senders lists, otherwise you will get an error. // returns a *RequestInformation when successful func (m *ItemAcceptedSendersRefRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemAcceptedSendersRefRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { - requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, "{+baseurl}/groups/{group%2Did}/acceptedSenders/$ref{?%24count,%24filter,%24orderby,%24search,%24skip,%24top}", m.BaseRequestBuilder.PathParameters) + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) if requestConfiguration != nil { if requestConfiguration.QueryParameters != nil { requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) @@ -164,7 +164,7 @@ func (m *ItemAcceptedSendersRefRequestBuilder) ToGetRequestInformation(ctx conte // ToPostRequestInformation specify the user or group in @odata.id in the request body. Users in the accepted senders list can post to conversations of the group. Make sure you don't specify the same user or group in the accepted senders and rejected senders lists, otherwise you'll get an error. // returns a *RequestInformation when successful func (m *ItemAcceptedSendersRefRequestBuilder) ToPostRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ReferenceCreateable, requestConfiguration *ItemAcceptedSendersRefRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { - requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, "{+baseurl}/groups/{group%2Did}/acceptedSenders/$ref", m.BaseRequestBuilder.PathParameters) + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) if requestConfiguration != nil { requestInfo.Headers.AddAll(requestConfiguration.Headers) requestInfo.AddRequestOptions(requestConfiguration.Options) diff --git a/groups/item_accepted_senders_request_builder.go b/groups/item_accepted_senders_request_builder.go index e4c94d7221..e1a15cda76 100644 --- a/groups/item_accepted_senders_request_builder.go +++ b/groups/item_accepted_senders_request_builder.go @@ -14,7 +14,7 @@ import ( type ItemAcceptedSendersRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemAcceptedSendersRequestBuilderGetQueryParameters users in the accepted senders list can post to conversations of the group (identified in the GET request URL).Make sure you do not specify the same user or group in the accepted senders and rejected senders lists, otherwise you will get an error. +// ItemAcceptedSendersRequestBuilderGetQueryParameters users in the accepted senders list can post to conversations of the group (identified in the GET request URL).Make sure you don't specify the same user or group in the accepted senders and rejected senders lists, otherwise you will get an error. type ItemAcceptedSendersRequestBuilderGetQueryParameters struct { // Include count of items Count *bool "uriparametername:\"%24count\"" @@ -72,7 +72,7 @@ func NewItemAcceptedSendersRequestBuilder(rawUrl string, requestAdapter i2ae4187 func (m *ItemAcceptedSendersRequestBuilder) Count()(*ItemAcceptedSendersCountRequestBuilder) { return NewItemAcceptedSendersCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get users in the accepted senders list can post to conversations of the group (identified in the GET request URL).Make sure you do not specify the same user or group in the accepted senders and rejected senders lists, otherwise you will get an error. +// Get users in the accepted senders list can post to conversations of the group (identified in the GET request URL).Make sure you don't specify the same user or group in the accepted senders and rejected senders lists, otherwise you will get an error. // returns a DirectoryObjectCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] @@ -100,7 +100,7 @@ func (m *ItemAcceptedSendersRequestBuilder) Get(ctx context.Context, requestConf func (m *ItemAcceptedSendersRequestBuilder) Ref()(*ItemAcceptedSendersRefRequestBuilder) { return NewItemAcceptedSendersRefRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// ToGetRequestInformation users in the accepted senders list can post to conversations of the group (identified in the GET request URL).Make sure you do not specify the same user or group in the accepted senders and rejected senders lists, otherwise you will get an error. +// ToGetRequestInformation users in the accepted senders list can post to conversations of the group (identified in the GET request URL).Make sure you don't specify the same user or group in the accepted senders and rejected senders lists, otherwise you will get an error. // returns a *RequestInformation when successful func (m *ItemAcceptedSendersRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemAcceptedSendersRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/groups/item_calendar_events_item_accept_post_request_body.go b/groups/item_calendar_events_item_accept_post_request_body.go index dddc41e926..08f1a889ca 100644 --- a/groups/item_calendar_events_item_accept_post_request_body.go +++ b/groups/item_calendar_events_item_accept_post_request_body.go @@ -18,6 +18,8 @@ func NewItemCalendarEventsItemAcceptPostRequestBody()(*ItemCalendarEventsItemAcc } m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); m.SetAdditionalData(make(map[string]any)) + sendResponseValue := false + m.SetSendResponse(&sendResponseValue) return m } // CreateItemCalendarEventsItemAcceptPostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value diff --git a/groups/item_calendar_events_item_decline_post_request_body.go b/groups/item_calendar_events_item_decline_post_request_body.go index 4d42909a93..76ea6bd52b 100644 --- a/groups/item_calendar_events_item_decline_post_request_body.go +++ b/groups/item_calendar_events_item_decline_post_request_body.go @@ -19,6 +19,8 @@ func NewItemCalendarEventsItemDeclinePostRequestBody()(*ItemCalendarEventsItemDe } m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); m.SetAdditionalData(make(map[string]any)) + sendResponseValue := false + m.SetSendResponse(&sendResponseValue) return m } // CreateItemCalendarEventsItemDeclinePostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value diff --git a/groups/item_calendar_events_item_tentatively_accept_post_request_body.go b/groups/item_calendar_events_item_tentatively_accept_post_request_body.go index d1da400567..f839d5a98e 100644 --- a/groups/item_calendar_events_item_tentatively_accept_post_request_body.go +++ b/groups/item_calendar_events_item_tentatively_accept_post_request_body.go @@ -19,6 +19,8 @@ func NewItemCalendarEventsItemTentativelyAcceptPostRequestBody()(*ItemCalendarEv } m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); m.SetAdditionalData(make(map[string]any)) + sendResponseValue := false + m.SetSendResponse(&sendResponseValue) return m } // CreateItemCalendarEventsItemTentativelyAcceptPostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value diff --git a/groups/item_events_item_accept_post_request_body.go b/groups/item_events_item_accept_post_request_body.go index cc1eef5f58..d501535645 100644 --- a/groups/item_events_item_accept_post_request_body.go +++ b/groups/item_events_item_accept_post_request_body.go @@ -18,6 +18,8 @@ func NewItemEventsItemAcceptPostRequestBody()(*ItemEventsItemAcceptPostRequestBo } m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); m.SetAdditionalData(make(map[string]any)) + sendResponseValue := false + m.SetSendResponse(&sendResponseValue) return m } // CreateItemEventsItemAcceptPostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value diff --git a/groups/item_events_item_decline_post_request_body.go b/groups/item_events_item_decline_post_request_body.go index f971e83736..3905f65cf7 100644 --- a/groups/item_events_item_decline_post_request_body.go +++ b/groups/item_events_item_decline_post_request_body.go @@ -19,6 +19,8 @@ func NewItemEventsItemDeclinePostRequestBody()(*ItemEventsItemDeclinePostRequest } m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); m.SetAdditionalData(make(map[string]any)) + sendResponseValue := false + m.SetSendResponse(&sendResponseValue) return m } // CreateItemEventsItemDeclinePostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value diff --git a/groups/item_events_item_tentatively_accept_post_request_body.go b/groups/item_events_item_tentatively_accept_post_request_body.go index e7e10154a4..1f828fd251 100644 --- a/groups/item_events_item_tentatively_accept_post_request_body.go +++ b/groups/item_events_item_tentatively_accept_post_request_body.go @@ -19,6 +19,8 @@ func NewItemEventsItemTentativelyAcceptPostRequestBody()(*ItemEventsItemTentativ } m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); m.SetAdditionalData(make(map[string]any)) + sendResponseValue := false + m.SetSendResponse(&sendResponseValue) return m } // CreateItemEventsItemTentativelyAcceptPostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value diff --git a/groups/item_get_member_groups_post_request_body.go b/groups/item_get_member_groups_post_request_body.go index 7f1c0e0b6d..f448464b13 100644 --- a/groups/item_get_member_groups_post_request_body.go +++ b/groups/item_get_member_groups_post_request_body.go @@ -18,6 +18,8 @@ func NewItemGetMemberGroupsPostRequestBody()(*ItemGetMemberGroupsPostRequestBody } m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); m.SetAdditionalData(make(map[string]any)) + securityEnabledOnlyValue := false + m.SetSecurityEnabledOnly(&securityEnabledOnlyValue) return m } // CreateItemGetMemberGroupsPostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value diff --git a/groups/item_get_member_objects_post_request_body.go b/groups/item_get_member_objects_post_request_body.go index 6cfd8771f1..95af2382dc 100644 --- a/groups/item_get_member_objects_post_request_body.go +++ b/groups/item_get_member_objects_post_request_body.go @@ -18,6 +18,8 @@ func NewItemGetMemberObjectsPostRequestBody()(*ItemGetMemberObjectsPostRequestBo } m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); m.SetAdditionalData(make(map[string]any)) + securityEnabledOnlyValue := false + m.SetSecurityEnabledOnly(&securityEnabledOnlyValue) return m } // CreateItemGetMemberObjectsPostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value diff --git a/groups/item_group_lifecycle_policies_item_add_group_post_response.go b/groups/item_group_lifecycle_policies_item_add_group_post_response.go index cb7738b7d0..56e12ae4bd 100644 --- a/groups/item_group_lifecycle_policies_item_add_group_post_response.go +++ b/groups/item_group_lifecycle_policies_item_add_group_post_response.go @@ -18,6 +18,8 @@ func NewItemGroupLifecyclePoliciesItemAddGroupPostResponse()(*ItemGroupLifecycle } m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); m.SetAdditionalData(make(map[string]any)) + valueValue := false + m.SetValue(&valueValue) return m } // CreateItemGroupLifecyclePoliciesItemAddGroupPostResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value diff --git a/groups/item_group_lifecycle_policies_item_remove_group_post_response.go b/groups/item_group_lifecycle_policies_item_remove_group_post_response.go index 4200415e8c..33a50d263c 100644 --- a/groups/item_group_lifecycle_policies_item_remove_group_post_response.go +++ b/groups/item_group_lifecycle_policies_item_remove_group_post_response.go @@ -18,6 +18,8 @@ func NewItemGroupLifecyclePoliciesItemRemoveGroupPostResponse()(*ItemGroupLifecy } m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); m.SetAdditionalData(make(map[string]any)) + valueValue := false + m.SetValue(&valueValue) return m } // CreateItemGroupLifecyclePoliciesItemRemoveGroupPostResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value diff --git a/groups/item_members_ref_request_builder.go b/groups/item_members_ref_request_builder.go index e83a7186c3..231c6a5fba 100644 --- a/groups/item_members_ref_request_builder.go +++ b/groups/item_members_ref_request_builder.go @@ -62,7 +62,7 @@ type ItemMembersRefRequestBuilderPostRequestConfiguration struct { // NewItemMembersRefRequestBuilderInternal instantiates a new ItemMembersRefRequestBuilder and sets the default values. func NewItemMembersRefRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemMembersRefRequestBuilder) { m := &ItemMembersRefRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/groups/{group%2Did}/members/$ref?@id={%40id}{&%24count,%24filter,%24orderby,%24search,%24skip,%24top}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/groups/{group%2Did}/members/$ref{?%24count,%24filter,%24orderby,%24search,%24skip,%24top}", pathParameters), } return m } @@ -150,7 +150,7 @@ func (m *ItemMembersRefRequestBuilder) ToDeleteRequestInformation(ctx context.Co // ToGetRequestInformation get a list of the group's direct members. A group can have users, organizational contacts, devices, service principals and other groups as members. This operation is not transitive. // returns a *RequestInformation when successful func (m *ItemMembersRefRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemMembersRefRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { - requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, "{+baseurl}/groups/{group%2Did}/members/$ref{?%24count,%24filter,%24orderby,%24search,%24skip,%24top}", m.BaseRequestBuilder.PathParameters) + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) if requestConfiguration != nil { if requestConfiguration.QueryParameters != nil { requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) @@ -164,7 +164,7 @@ func (m *ItemMembersRefRequestBuilder) ToGetRequestInformation(ctx context.Conte // ToPostRequestInformation add a member to a security or Microsoft 365 group. When using the API to add multiple members in one request, you can add up to only 20 members. The following table shows the types of members that can be added to either security groups or Microsoft 365 groups. // returns a *RequestInformation when successful func (m *ItemMembersRefRequestBuilder) ToPostRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ReferenceCreateable, requestConfiguration *ItemMembersRefRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { - requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, "{+baseurl}/groups/{group%2Did}/members/$ref", m.BaseRequestBuilder.PathParameters) + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) if requestConfiguration != nil { requestInfo.Headers.AddAll(requestConfiguration.Headers) requestInfo.AddRequestOptions(requestConfiguration.Options) diff --git a/groups/item_owners_ref_request_builder.go b/groups/item_owners_ref_request_builder.go index c5ea18454b..c4d89062e8 100644 --- a/groups/item_owners_ref_request_builder.go +++ b/groups/item_owners_ref_request_builder.go @@ -62,7 +62,7 @@ type ItemOwnersRefRequestBuilderPostRequestConfiguration struct { // NewItemOwnersRefRequestBuilderInternal instantiates a new ItemOwnersRefRequestBuilder and sets the default values. func NewItemOwnersRefRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemOwnersRefRequestBuilder) { m := &ItemOwnersRefRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/groups/{group%2Did}/owners/$ref?@id={%40id}{&%24count,%24filter,%24orderby,%24search,%24skip,%24top}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/groups/{group%2Did}/owners/$ref{?%24count,%24filter,%24orderby,%24search,%24skip,%24top}", pathParameters), } return m } @@ -150,7 +150,7 @@ func (m *ItemOwnersRefRequestBuilder) ToDeleteRequestInformation(ctx context.Con // ToGetRequestInformation retrieve a list of the group's owners. The owners are a set of users or service principals who are allowed to modify the group object. Owners are currently not available in Microsoft Graph for groups that were created in Exchange, distribution groups, or groups that are synchronized from an on-premises environment. // returns a *RequestInformation when successful func (m *ItemOwnersRefRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemOwnersRefRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { - requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, "{+baseurl}/groups/{group%2Did}/owners/$ref{?%24count,%24filter,%24orderby,%24search,%24skip,%24top}", m.BaseRequestBuilder.PathParameters) + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) if requestConfiguration != nil { if requestConfiguration.QueryParameters != nil { requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) @@ -164,7 +164,7 @@ func (m *ItemOwnersRefRequestBuilder) ToGetRequestInformation(ctx context.Contex // ToPostRequestInformation add a user or service principal to a Microsoft 365 or security group's owners. The owners are a set of users or service principals who are allowed to modify the group object. // returns a *RequestInformation when successful func (m *ItemOwnersRefRequestBuilder) ToPostRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ReferenceCreateable, requestConfiguration *ItemOwnersRefRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { - requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, "{+baseurl}/groups/{group%2Did}/owners/$ref", m.BaseRequestBuilder.PathParameters) + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) if requestConfiguration != nil { requestInfo.Headers.AddAll(requestConfiguration.Headers) requestInfo.AddRequestOptions(requestConfiguration.Options) diff --git a/groups/item_rejected_senders_ref_request_builder.go b/groups/item_rejected_senders_ref_request_builder.go index 20dc408a5c..f9b1b99d68 100644 --- a/groups/item_rejected_senders_ref_request_builder.go +++ b/groups/item_rejected_senders_ref_request_builder.go @@ -62,7 +62,7 @@ type ItemRejectedSendersRefRequestBuilderPostRequestConfiguration struct { // NewItemRejectedSendersRefRequestBuilderInternal instantiates a new ItemRejectedSendersRefRequestBuilder and sets the default values. func NewItemRejectedSendersRefRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemRejectedSendersRefRequestBuilder) { m := &ItemRejectedSendersRefRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/groups/{group%2Did}/rejectedSenders/$ref?@id={%40id}{&%24count,%24filter,%24orderby,%24search,%24skip,%24top}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/groups/{group%2Did}/rejectedSenders/$ref{?%24count,%24filter,%24orderby,%24search,%24skip,%24top}", pathParameters), } return m } @@ -150,7 +150,7 @@ func (m *ItemRejectedSendersRefRequestBuilder) ToDeleteRequestInformation(ctx co // ToGetRequestInformation users in the rejected senders list can't post to conversations of the group (identified in the GET request URL). Make sure you don't specify the same user or group in the rejected senders and accepted senders lists, otherwise you get an error. // returns a *RequestInformation when successful func (m *ItemRejectedSendersRefRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemRejectedSendersRefRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { - requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, "{+baseurl}/groups/{group%2Did}/rejectedSenders/$ref{?%24count,%24filter,%24orderby,%24search,%24skip,%24top}", m.BaseRequestBuilder.PathParameters) + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) if requestConfiguration != nil { if requestConfiguration.QueryParameters != nil { requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) @@ -164,7 +164,7 @@ func (m *ItemRejectedSendersRefRequestBuilder) ToGetRequestInformation(ctx conte // ToPostRequestInformation specify the user or group in @odata.id in the request body. Users in the rejected senders list can't post to conversations of the group (identified in the POST request URL). Make sure you don't specify the same user or group in the rejected senders and accepted senders lists, otherwise you'll get an error. // returns a *RequestInformation when successful func (m *ItemRejectedSendersRefRequestBuilder) ToPostRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ReferenceCreateable, requestConfiguration *ItemRejectedSendersRefRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { - requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, "{+baseurl}/groups/{group%2Did}/rejectedSenders/$ref", m.BaseRequestBuilder.PathParameters) + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) if requestConfiguration != nil { requestInfo.Headers.AddAll(requestConfiguration.Headers) requestInfo.AddRequestOptions(requestConfiguration.Options) diff --git a/groups/item_sites_item_content_types_item_associate_with_hub_sites_post_request_body.go b/groups/item_sites_item_content_types_item_associate_with_hub_sites_post_request_body.go index a519979b6a..e5e0393953 100644 --- a/groups/item_sites_item_content_types_item_associate_with_hub_sites_post_request_body.go +++ b/groups/item_sites_item_content_types_item_associate_with_hub_sites_post_request_body.go @@ -18,6 +18,8 @@ func NewItemSitesItemContentTypesItemAssociateWithHubSitesPostRequestBody()(*Ite } m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); m.SetAdditionalData(make(map[string]any)) + propagateToExistingListsValue := false + m.SetPropagateToExistingLists(&propagateToExistingListsValue) return m } // CreateItemSitesItemContentTypesItemAssociateWithHubSitesPostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value diff --git a/groups/item_sites_item_content_types_item_is_published_get_response.go b/groups/item_sites_item_content_types_item_is_published_get_response.go index 7067682985..be08c58f3a 100644 --- a/groups/item_sites_item_content_types_item_is_published_get_response.go +++ b/groups/item_sites_item_content_types_item_is_published_get_response.go @@ -18,6 +18,8 @@ func NewItemSitesItemContentTypesItemIsPublishedGetResponse()(*ItemSitesItemCont } m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); m.SetAdditionalData(make(map[string]any)) + valueValue := false + m.SetValue(&valueValue) return m } // CreateItemSitesItemContentTypesItemIsPublishedGetResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value diff --git a/groups/item_sites_item_lists_item_content_types_item_associate_with_hub_sites_post_request_body.go b/groups/item_sites_item_lists_item_content_types_item_associate_with_hub_sites_post_request_body.go index 37e505c259..daa3c048f4 100644 --- a/groups/item_sites_item_lists_item_content_types_item_associate_with_hub_sites_post_request_body.go +++ b/groups/item_sites_item_lists_item_content_types_item_associate_with_hub_sites_post_request_body.go @@ -18,6 +18,8 @@ func NewItemSitesItemListsItemContentTypesItemAssociateWithHubSitesPostRequestBo } m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); m.SetAdditionalData(make(map[string]any)) + propagateToExistingListsValue := false + m.SetPropagateToExistingLists(&propagateToExistingListsValue) return m } // CreateItemSitesItemListsItemContentTypesItemAssociateWithHubSitesPostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value diff --git a/groups/item_sites_item_lists_item_content_types_item_is_published_get_response.go b/groups/item_sites_item_lists_item_content_types_item_is_published_get_response.go index 5f11c3bac9..9917ea980d 100644 --- a/groups/item_sites_item_lists_item_content_types_item_is_published_get_response.go +++ b/groups/item_sites_item_lists_item_content_types_item_is_published_get_response.go @@ -18,6 +18,8 @@ func NewItemSitesItemListsItemContentTypesItemIsPublishedGetResponse()(*ItemSite } m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); m.SetAdditionalData(make(map[string]any)) + valueValue := false + m.SetValue(&valueValue) return m } // CreateItemSitesItemListsItemContentTypesItemIsPublishedGetResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value diff --git a/groups/item_sites_item_lists_item_items_item_create_link_post_request_body.go b/groups/item_sites_item_lists_item_items_item_create_link_post_request_body.go index 5ddde9270c..589950de79 100644 --- a/groups/item_sites_item_lists_item_items_item_create_link_post_request_body.go +++ b/groups/item_sites_item_lists_item_items_item_create_link_post_request_body.go @@ -20,6 +20,10 @@ func NewItemSitesItemListsItemItemsItemCreateLinkPostRequestBody()(*ItemSitesIte } m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); m.SetAdditionalData(make(map[string]any)) + retainInheritedPermissionsValue := false + m.SetRetainInheritedPermissions(&retainInheritedPermissionsValue) + sendNotificationValue := false + m.SetSendNotification(&sendNotificationValue) return m } // CreateItemSitesItemListsItemItemsItemCreateLinkPostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value diff --git a/groups/item_team_archive_post_request_body.go b/groups/item_team_archive_post_request_body.go index 45085165ce..fedb44abb1 100644 --- a/groups/item_team_archive_post_request_body.go +++ b/groups/item_team_archive_post_request_body.go @@ -18,6 +18,8 @@ func NewItemTeamArchivePostRequestBody()(*ItemTeamArchivePostRequestBody) { } m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); m.SetAdditionalData(make(map[string]any)) + shouldSetSpoSiteReadOnlyForMembersValue := false + m.SetShouldSetSpoSiteReadOnlyForMembers(&shouldSetSpoSiteReadOnlyForMembersValue) return m } // CreateItemTeamArchivePostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value diff --git a/groups/item_team_channels_item_archive_post_request_body.go b/groups/item_team_channels_item_archive_post_request_body.go index 09470d283c..a048774f67 100644 --- a/groups/item_team_channels_item_archive_post_request_body.go +++ b/groups/item_team_channels_item_archive_post_request_body.go @@ -18,6 +18,8 @@ func NewItemTeamChannelsItemArchivePostRequestBody()(*ItemTeamChannelsItemArchiv } m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); m.SetAdditionalData(make(map[string]any)) + shouldSetSpoSiteReadOnlyForMembersValue := false + m.SetShouldSetSpoSiteReadOnlyForMembers(&shouldSetSpoSiteReadOnlyForMembersValue) return m } // CreateItemTeamChannelsItemArchivePostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value diff --git a/groups/item_team_primary_channel_archive_post_request_body.go b/groups/item_team_primary_channel_archive_post_request_body.go index 64082ece39..97d7f9c4eb 100644 --- a/groups/item_team_primary_channel_archive_post_request_body.go +++ b/groups/item_team_primary_channel_archive_post_request_body.go @@ -18,6 +18,8 @@ func NewItemTeamPrimaryChannelArchivePostRequestBody()(*ItemTeamPrimaryChannelAr } m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); m.SetAdditionalData(make(map[string]any)) + shouldSetSpoSiteReadOnlyForMembersValue := false + m.SetShouldSetSpoSiteReadOnlyForMembers(&shouldSetSpoSiteReadOnlyForMembersValue) return m } // CreateItemTeamPrimaryChannelArchivePostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value diff --git a/groups/item_team_schedule_share_post_request_body.go b/groups/item_team_schedule_share_post_request_body.go index b1f0ad9728..4724e518fe 100644 --- a/groups/item_team_schedule_share_post_request_body.go +++ b/groups/item_team_schedule_share_post_request_body.go @@ -19,6 +19,8 @@ func NewItemTeamScheduleSharePostRequestBody()(*ItemTeamScheduleSharePostRequest } m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); m.SetAdditionalData(make(map[string]any)) + notifyTeamValue := false + m.SetNotifyTeam(¬ifyTeamValue) return m } // CreateItemTeamScheduleSharePostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value diff --git a/groups/item_team_schedule_time_cards_clock_in_post_request_body.go b/groups/item_team_schedule_time_cards_clock_in_post_request_body.go index e71404d647..ef12bafe02 100644 --- a/groups/item_team_schedule_time_cards_clock_in_post_request_body.go +++ b/groups/item_team_schedule_time_cards_clock_in_post_request_body.go @@ -19,6 +19,8 @@ func NewItemTeamScheduleTimeCardsClockInPostRequestBody()(*ItemTeamScheduleTimeC } m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); m.SetAdditionalData(make(map[string]any)) + isAtApprovedLocationValue := false + m.SetIsAtApprovedLocation(&isAtApprovedLocationValue) return m } // CreateItemTeamScheduleTimeCardsClockInPostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value diff --git a/groups/item_team_schedule_time_cards_item_clock_out_post_request_body.go b/groups/item_team_schedule_time_cards_item_clock_out_post_request_body.go index ccdb8d0414..3b36ce3918 100644 --- a/groups/item_team_schedule_time_cards_item_clock_out_post_request_body.go +++ b/groups/item_team_schedule_time_cards_item_clock_out_post_request_body.go @@ -19,6 +19,8 @@ func NewItemTeamScheduleTimeCardsItemClockOutPostRequestBody()(*ItemTeamSchedule } m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); m.SetAdditionalData(make(map[string]any)) + isAtApprovedLocationValue := false + m.SetIsAtApprovedLocation(&isAtApprovedLocationValue) return m } // CreateItemTeamScheduleTimeCardsItemClockOutPostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value diff --git a/groups/item_team_schedule_time_cards_item_end_break_post_request_body.go b/groups/item_team_schedule_time_cards_item_end_break_post_request_body.go index 3e4debfad4..733e9ef480 100644 --- a/groups/item_team_schedule_time_cards_item_end_break_post_request_body.go +++ b/groups/item_team_schedule_time_cards_item_end_break_post_request_body.go @@ -19,6 +19,8 @@ func NewItemTeamScheduleTimeCardsItemEndBreakPostRequestBody()(*ItemTeamSchedule } m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); m.SetAdditionalData(make(map[string]any)) + isAtApprovedLocationValue := false + m.SetIsAtApprovedLocation(&isAtApprovedLocationValue) return m } // CreateItemTeamScheduleTimeCardsItemEndBreakPostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value diff --git a/groups/item_team_schedule_time_cards_item_start_break_post_request_body.go b/groups/item_team_schedule_time_cards_item_start_break_post_request_body.go index 81bec2f269..f413f695ea 100644 --- a/groups/item_team_schedule_time_cards_item_start_break_post_request_body.go +++ b/groups/item_team_schedule_time_cards_item_start_break_post_request_body.go @@ -19,6 +19,8 @@ func NewItemTeamScheduleTimeCardsItemStartBreakPostRequestBody()(*ItemTeamSchedu } m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); m.SetAdditionalData(make(map[string]any)) + isAtApprovedLocationValue := false + m.SetIsAtApprovedLocation(&isAtApprovedLocationValue) return m } // CreateItemTeamScheduleTimeCardsItemStartBreakPostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value diff --git a/groupsettingtemplates/get_available_extension_properties_post_request_body.go b/groupsettingtemplates/get_available_extension_properties_post_request_body.go index a85828ea74..259199474b 100644 --- a/groupsettingtemplates/get_available_extension_properties_post_request_body.go +++ b/groupsettingtemplates/get_available_extension_properties_post_request_body.go @@ -18,6 +18,8 @@ func NewGetAvailableExtensionPropertiesPostRequestBody()(*GetAvailableExtensionP } m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); m.SetAdditionalData(make(map[string]any)) + isSyncedFromOnPremisesValue := false + m.SetIsSyncedFromOnPremises(&isSyncedFromOnPremisesValue) return m } // CreateGetAvailableExtensionPropertiesPostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value diff --git a/groupsettingtemplates/item_get_member_groups_post_request_body.go b/groupsettingtemplates/item_get_member_groups_post_request_body.go index f224ffddf4..57f60cd67d 100644 --- a/groupsettingtemplates/item_get_member_groups_post_request_body.go +++ b/groupsettingtemplates/item_get_member_groups_post_request_body.go @@ -18,6 +18,8 @@ func NewItemGetMemberGroupsPostRequestBody()(*ItemGetMemberGroupsPostRequestBody } m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); m.SetAdditionalData(make(map[string]any)) + securityEnabledOnlyValue := false + m.SetSecurityEnabledOnly(&securityEnabledOnlyValue) return m } // CreateItemGetMemberGroupsPostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value diff --git a/groupsettingtemplates/item_get_member_objects_post_request_body.go b/groupsettingtemplates/item_get_member_objects_post_request_body.go index 69200af8aa..797a093420 100644 --- a/groupsettingtemplates/item_get_member_objects_post_request_body.go +++ b/groupsettingtemplates/item_get_member_objects_post_request_body.go @@ -18,6 +18,8 @@ func NewItemGetMemberObjectsPostRequestBody()(*ItemGetMemberObjectsPostRequestBo } m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); m.SetAdditionalData(make(map[string]any)) + securityEnabledOnlyValue := false + m.SetSecurityEnabledOnly(&securityEnabledOnlyValue) return m } // CreateItemGetMemberObjectsPostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value diff --git a/identity/b2x_user_flows_item_user_flow_identity_providers_ref_request_builder.go b/identity/b2x_user_flows_item_user_flow_identity_providers_ref_request_builder.go index 3e279306bb..12433e3192 100644 --- a/identity/b2x_user_flows_item_user_flow_identity_providers_ref_request_builder.go +++ b/identity/b2x_user_flows_item_user_flow_identity_providers_ref_request_builder.go @@ -62,7 +62,7 @@ type B2xUserFlowsItemUserFlowIdentityProvidersRefRequestBuilderPostRequestConfig // NewB2xUserFlowsItemUserFlowIdentityProvidersRefRequestBuilderInternal instantiates a new B2xUserFlowsItemUserFlowIdentityProvidersRefRequestBuilder and sets the default values. func NewB2xUserFlowsItemUserFlowIdentityProvidersRefRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*B2xUserFlowsItemUserFlowIdentityProvidersRefRequestBuilder) { m := &B2xUserFlowsItemUserFlowIdentityProvidersRefRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/identity/b2xUserFlows/{b2xIdentityUserFlow%2Did}/userFlowIdentityProviders/$ref?@id={%40id}{&%24count,%24filter,%24orderby,%24search,%24skip,%24top}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/identity/b2xUserFlows/{b2xIdentityUserFlow%2Did}/userFlowIdentityProviders/$ref{?%24count,%24filter,%24orderby,%24search,%24skip,%24top}", pathParameters), } return m } @@ -141,7 +141,7 @@ func (m *B2xUserFlowsItemUserFlowIdentityProvidersRefRequestBuilder) ToDeleteReq // ToGetRequestInformation get ref of userFlowIdentityProviders from identity // returns a *RequestInformation when successful func (m *B2xUserFlowsItemUserFlowIdentityProvidersRefRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *B2xUserFlowsItemUserFlowIdentityProvidersRefRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { - requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, "{+baseurl}/identity/b2xUserFlows/{b2xIdentityUserFlow%2Did}/userFlowIdentityProviders/$ref{?%24count,%24filter,%24orderby,%24search,%24skip,%24top}", m.BaseRequestBuilder.PathParameters) + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) if requestConfiguration != nil { if requestConfiguration.QueryParameters != nil { requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) @@ -155,7 +155,7 @@ func (m *B2xUserFlowsItemUserFlowIdentityProvidersRefRequestBuilder) ToGetReques // ToPostRequestInformation create new navigation property ref to userFlowIdentityProviders for identity // returns a *RequestInformation when successful func (m *B2xUserFlowsItemUserFlowIdentityProvidersRefRequestBuilder) ToPostRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ReferenceCreateable, requestConfiguration *B2xUserFlowsItemUserFlowIdentityProvidersRefRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { - requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, "{+baseurl}/identity/b2xUserFlows/{b2xIdentityUserFlow%2Did}/userFlowIdentityProviders/$ref", m.BaseRequestBuilder.PathParameters) + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) if requestConfiguration != nil { requestInfo.Headers.AddAll(requestConfiguration.Headers) requestInfo.AddRequestOptions(requestConfiguration.Options) diff --git a/identity/b618f466901cc8a9d7ba5fde41e3a89892087495df28ff5a8c43740d5ca2d6b3.go b/identity/b618f466901cc8a9d7ba5fde41e3a89892087495df28ff5a8c43740d5ca2d6b3.go index c20b657046..075ad50b9d 100644 --- a/identity/b618f466901cc8a9d7ba5fde41e3a89892087495df28ff5a8c43740d5ca2d6b3.go +++ b/identity/b618f466901cc8a9d7ba5fde41e3a89892087495df28ff5a8c43740d5ca2d6b3.go @@ -62,7 +62,7 @@ type AuthenticationEventsFlowsItemGraphExternalUsersSelfServiceSignUpEventsFlowO // NewAuthenticationEventsFlowsItemGraphExternalUsersSelfServiceSignUpEventsFlowOnAttributeCollectionGraphOnAttributeCollectionExternalUsersSelfServiceSignUpAttributesRefRequestBuilderInternal instantiates a new AuthenticationEventsFlowsItemGraphExternalUsersSelfServiceSignUpEventsFlowOnAttributeCollectionGraphOnAttributeCollectionExternalUsersSelfServiceSignUpAttributesRefRequestBuilder and sets the default values. func NewAuthenticationEventsFlowsItemGraphExternalUsersSelfServiceSignUpEventsFlowOnAttributeCollectionGraphOnAttributeCollectionExternalUsersSelfServiceSignUpAttributesRefRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*AuthenticationEventsFlowsItemGraphExternalUsersSelfServiceSignUpEventsFlowOnAttributeCollectionGraphOnAttributeCollectionExternalUsersSelfServiceSignUpAttributesRefRequestBuilder) { m := &AuthenticationEventsFlowsItemGraphExternalUsersSelfServiceSignUpEventsFlowOnAttributeCollectionGraphOnAttributeCollectionExternalUsersSelfServiceSignUpAttributesRefRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/identity/authenticationEventsFlows/{authenticationEventsFlow%2Did}/graph.externalUsersSelfServiceSignUpEventsFlow/onAttributeCollection/graph.onAttributeCollectionExternalUsersSelfServiceSignUp/attributes/$ref?@id={%40id}{&%24count,%24filter,%24orderby,%24search,%24skip,%24top}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/identity/authenticationEventsFlows/{authenticationEventsFlow%2Did}/graph.externalUsersSelfServiceSignUpEventsFlow/onAttributeCollection/graph.onAttributeCollectionExternalUsersSelfServiceSignUp/attributes/$ref{?%24count,%24filter,%24orderby,%24search,%24skip,%24top}", pathParameters), } return m } @@ -147,7 +147,7 @@ func (m *AuthenticationEventsFlowsItemGraphExternalUsersSelfServiceSignUpEventsF // ToGetRequestInformation get an identityUserFlowAttribute collection associated with an external identities self-service user flow represented by an externalUsersSelfServiceSignupEventsFlow object. These attributes are collected from the user during the authentication experience defined by the user flow. // returns a *RequestInformation when successful func (m *AuthenticationEventsFlowsItemGraphExternalUsersSelfServiceSignUpEventsFlowOnAttributeCollectionGraphOnAttributeCollectionExternalUsersSelfServiceSignUpAttributesRefRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *AuthenticationEventsFlowsItemGraphExternalUsersSelfServiceSignUpEventsFlowOnAttributeCollectionGraphOnAttributeCollectionExternalUsersSelfServiceSignUpAttributesRefRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { - requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, "{+baseurl}/identity/authenticationEventsFlows/{authenticationEventsFlow%2Did}/graph.externalUsersSelfServiceSignUpEventsFlow/onAttributeCollection/graph.onAttributeCollectionExternalUsersSelfServiceSignUp/attributes/$ref{?%24count,%24filter,%24orderby,%24search,%24skip,%24top}", m.BaseRequestBuilder.PathParameters) + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) if requestConfiguration != nil { if requestConfiguration.QueryParameters != nil { requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) @@ -161,7 +161,7 @@ func (m *AuthenticationEventsFlowsItemGraphExternalUsersSelfServiceSignUpEventsF // ToPostRequestInformation add an attribute to an external identities self-service sign up user flow that's represented by an externalUsersSelfServiceSignupEventsFlow object. You can add both custom and built-in attributes to a user flow. The attribute is added to both the attributeCollection> attributes and attributeCollection> attributeCollectionPage > views collections on the user flow. In the views collection, the attribute is assigned the default settings. You can PATCH the user flow to customize the settings of the attribute on the views object, for example, marking it as required or updating the allowed input types. // returns a *RequestInformation when successful func (m *AuthenticationEventsFlowsItemGraphExternalUsersSelfServiceSignUpEventsFlowOnAttributeCollectionGraphOnAttributeCollectionExternalUsersSelfServiceSignUpAttributesRefRequestBuilder) ToPostRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ReferenceCreateable, requestConfiguration *AuthenticationEventsFlowsItemGraphExternalUsersSelfServiceSignUpEventsFlowOnAttributeCollectionGraphOnAttributeCollectionExternalUsersSelfServiceSignUpAttributesRefRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { - requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, "{+baseurl}/identity/authenticationEventsFlows/{authenticationEventsFlow%2Did}/graph.externalUsersSelfServiceSignUpEventsFlow/onAttributeCollection/graph.onAttributeCollectionExternalUsersSelfServiceSignUp/attributes/$ref", m.BaseRequestBuilder.PathParameters) + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) if requestConfiguration != nil { requestInfo.Headers.AddAll(requestConfiguration.Headers) requestInfo.AddRequestOptions(requestConfiguration.Options) diff --git a/identity/conditional_access_authentication_strength_policies_item_usage_request_builder.go b/identity/conditional_access_authentication_strength_policies_item_usage_request_builder.go index 7ca0c0e4da..e36c9c7b78 100644 --- a/identity/conditional_access_authentication_strength_policies_item_usage_request_builder.go +++ b/identity/conditional_access_authentication_strength_policies_item_usage_request_builder.go @@ -34,7 +34,7 @@ func NewConditionalAccessAuthenticationStrengthPoliciesItemUsageRequestBuilder(r urlParams["request-raw-url"] = rawUrl return NewConditionalAccessAuthenticationStrengthPoliciesItemUsageRequestBuilderInternal(urlParams, requestAdapter) } -// Get allows the caller to see which Conditional Access policies reference a specified authentication strength policy. The policies are returned in two collections, one containing Conditional Access policies that require an MFA claim and the other containing Conditional Access policies that do not require such a claim. Policies in the former category are restricted in what kinds of changes may be made to them to prevent undermining the MFA requirement of those policies. +// Get allows the caller to see which Conditional Access policies reference a specified authentication strength policy. The policies are returned in two collections, one containing Conditional Access policies that require an MFA claim and the other containing Conditional Access policies that don't require such a claim. Policies in the former category are restricted in what kinds of changes may be made to them to prevent undermining the MFA requirement of those policies. // returns a AuthenticationStrengthUsageable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] @@ -57,7 +57,7 @@ func (m *ConditionalAccessAuthenticationStrengthPoliciesItemUsageRequestBuilder) } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.AuthenticationStrengthUsageable), nil } -// ToGetRequestInformation allows the caller to see which Conditional Access policies reference a specified authentication strength policy. The policies are returned in two collections, one containing Conditional Access policies that require an MFA claim and the other containing Conditional Access policies that do not require such a claim. Policies in the former category are restricted in what kinds of changes may be made to them to prevent undermining the MFA requirement of those policies. +// ToGetRequestInformation allows the caller to see which Conditional Access policies reference a specified authentication strength policy. The policies are returned in two collections, one containing Conditional Access policies that require an MFA claim and the other containing Conditional Access policies that don't require such a claim. Policies in the former category are restricted in what kinds of changes may be made to them to prevent undermining the MFA requirement of those policies. // returns a *RequestInformation when successful func (m *ConditionalAccessAuthenticationStrengthPoliciesItemUsageRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ConditionalAccessAuthenticationStrengthPoliciesItemUsageRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/identity/conditional_access_evaluate_post_request_body.go b/identity/conditional_access_evaluate_post_request_body.go index e9c6615a95..7202c1809b 100644 --- a/identity/conditional_access_evaluate_post_request_body.go +++ b/identity/conditional_access_evaluate_post_request_body.go @@ -19,6 +19,8 @@ func NewConditionalAccessEvaluatePostRequestBody()(*ConditionalAccessEvaluatePos } m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); m.SetAdditionalData(make(map[string]any)) + appliedPoliciesOnlyValue := false + m.SetAppliedPoliciesOnly(&appliedPoliciesOnlyValue) return m } // CreateConditionalAccessEvaluatePostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value diff --git a/identity/d97c07f3f60cb41364d506c241a69b0cf70bdf71b3edde814d3a6f4d3b78ad70.go b/identity/d97c07f3f60cb41364d506c241a69b0cf70bdf71b3edde814d3a6f4d3b78ad70.go index ee2476b782..9527fb4a8f 100644 --- a/identity/d97c07f3f60cb41364d506c241a69b0cf70bdf71b3edde814d3a6f4d3b78ad70.go +++ b/identity/d97c07f3f60cb41364d506c241a69b0cf70bdf71b3edde814d3a6f4d3b78ad70.go @@ -62,7 +62,7 @@ type AuthenticationEventsFlowsItemGraphExternalUsersSelfServiceSignUpEventsFlowO // NewAuthenticationEventsFlowsItemGraphExternalUsersSelfServiceSignUpEventsFlowOnAuthenticationMethodLoadStartGraphOnAuthenticationMethodLoadStartExternalUsersSelfServiceSignUpIdentityProvidersRefRequestBuilderInternal instantiates a new AuthenticationEventsFlowsItemGraphExternalUsersSelfServiceSignUpEventsFlowOnAuthenticationMethodLoadStartGraphOnAuthenticationMethodLoadStartExternalUsersSelfServiceSignUpIdentityProvidersRefRequestBuilder and sets the default values. func NewAuthenticationEventsFlowsItemGraphExternalUsersSelfServiceSignUpEventsFlowOnAuthenticationMethodLoadStartGraphOnAuthenticationMethodLoadStartExternalUsersSelfServiceSignUpIdentityProvidersRefRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*AuthenticationEventsFlowsItemGraphExternalUsersSelfServiceSignUpEventsFlowOnAuthenticationMethodLoadStartGraphOnAuthenticationMethodLoadStartExternalUsersSelfServiceSignUpIdentityProvidersRefRequestBuilder) { m := &AuthenticationEventsFlowsItemGraphExternalUsersSelfServiceSignUpEventsFlowOnAuthenticationMethodLoadStartGraphOnAuthenticationMethodLoadStartExternalUsersSelfServiceSignUpIdentityProvidersRefRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/identity/authenticationEventsFlows/{authenticationEventsFlow%2Did}/graph.externalUsersSelfServiceSignUpEventsFlow/onAuthenticationMethodLoadStart/graph.onAuthenticationMethodLoadStartExternalUsersSelfServiceSignUp/identityProviders/$ref?@id={%40id}{&%24count,%24filter,%24orderby,%24search,%24skip,%24top}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/identity/authenticationEventsFlows/{authenticationEventsFlow%2Did}/graph.externalUsersSelfServiceSignUpEventsFlow/onAuthenticationMethodLoadStart/graph.onAuthenticationMethodLoadStartExternalUsersSelfServiceSignUp/identityProviders/$ref{?%24count,%24filter,%24orderby,%24search,%24skip,%24top}", pathParameters), } return m } @@ -147,7 +147,7 @@ func (m *AuthenticationEventsFlowsItemGraphExternalUsersSelfServiceSignUpEventsF // ToGetRequestInformation get the identity providers that are defined for an external identities self-service sign up user flow that's represented by an externalUsersSelfServiceSignupEventsFlow object type. // returns a *RequestInformation when successful func (m *AuthenticationEventsFlowsItemGraphExternalUsersSelfServiceSignUpEventsFlowOnAuthenticationMethodLoadStartGraphOnAuthenticationMethodLoadStartExternalUsersSelfServiceSignUpIdentityProvidersRefRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *AuthenticationEventsFlowsItemGraphExternalUsersSelfServiceSignUpEventsFlowOnAuthenticationMethodLoadStartGraphOnAuthenticationMethodLoadStartExternalUsersSelfServiceSignUpIdentityProvidersRefRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { - requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, "{+baseurl}/identity/authenticationEventsFlows/{authenticationEventsFlow%2Did}/graph.externalUsersSelfServiceSignUpEventsFlow/onAuthenticationMethodLoadStart/graph.onAuthenticationMethodLoadStartExternalUsersSelfServiceSignUp/identityProviders/$ref{?%24count,%24filter,%24orderby,%24search,%24skip,%24top}", m.BaseRequestBuilder.PathParameters) + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) if requestConfiguration != nil { if requestConfiguration.QueryParameters != nil { requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) @@ -161,7 +161,7 @@ func (m *AuthenticationEventsFlowsItemGraphExternalUsersSelfServiceSignUpEventsF // ToPostRequestInformation add an identity provider to an external identities self-service user flow represented by an externalUsersSelfServiceSignupEventsFlow object type. The identity provider must first be configured in the tenant. // returns a *RequestInformation when successful func (m *AuthenticationEventsFlowsItemGraphExternalUsersSelfServiceSignUpEventsFlowOnAuthenticationMethodLoadStartGraphOnAuthenticationMethodLoadStartExternalUsersSelfServiceSignUpIdentityProvidersRefRequestBuilder) ToPostRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ReferenceCreateable, requestConfiguration *AuthenticationEventsFlowsItemGraphExternalUsersSelfServiceSignUpEventsFlowOnAuthenticationMethodLoadStartGraphOnAuthenticationMethodLoadStartExternalUsersSelfServiceSignUpIdentityProvidersRefRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { - requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, "{+baseurl}/identity/authenticationEventsFlows/{authenticationEventsFlow%2Did}/graph.externalUsersSelfServiceSignUpEventsFlow/onAuthenticationMethodLoadStart/graph.onAuthenticationMethodLoadStartExternalUsersSelfServiceSignUp/identityProviders/$ref", m.BaseRequestBuilder.PathParameters) + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) if requestConfiguration != nil { requestInfo.Headers.AddAll(requestConfiguration.Headers) requestInfo.AddRequestOptions(requestConfiguration.Options) diff --git a/identitygovernance/15d3ed44ee023a5d1768669ba0c2fe603365b6220d46f9a130825fd7a1771c76.go b/identitygovernance/15d3ed44ee023a5d1768669ba0c2fe603365b6220d46f9a130825fd7a1771c76.go index 71642334c9..17e9283e21 100644 --- a/identitygovernance/15d3ed44ee023a5d1768669ba0c2fe603365b6220d46f9a130825fd7a1771c76.go +++ b/identitygovernance/15d3ed44ee023a5d1768669ba0c2fe603365b6220d46f9a130825fd7a1771c76.go @@ -41,7 +41,7 @@ func NewLifecycleWorkflowsInsightsMicrosoftGraphIdentityGovernanceWorkflowsProce urlParams["request-raw-url"] = rawUrl return NewLifecycleWorkflowsInsightsMicrosoftGraphIdentityGovernanceWorkflowsProcessedSummaryWithStartDateTimeWithEndDateTimeRequestBuilderInternal(urlParams, requestAdapter, nil, nil) } -// Get provide a summary of all workflows processed within a tenant for a specified period. Because the amount of results for listed workflows as returned by the List workflows does not tell you which workflows were processed from the list of created workflows, this summary gives you a quick overview of processed status based on counts. +// Get provide a summary of all workflows processed within a tenant for a specified period. Because the amount of results for listed workflows as returned by the List workflows doesn't tell you which workflows were processed from the list of created workflows, this summary gives you a quick overview of processed status based on counts. // returns a WorkflowsInsightsSummaryable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] @@ -64,7 +64,7 @@ func (m *LifecycleWorkflowsInsightsMicrosoftGraphIdentityGovernanceWorkflowsProc } return res.(ibf6ed4fc8e373ed2600905053a507c004671ad1749cb4b6b77078a908490c430.WorkflowsInsightsSummaryable), nil } -// ToGetRequestInformation provide a summary of all workflows processed within a tenant for a specified period. Because the amount of results for listed workflows as returned by the List workflows does not tell you which workflows were processed from the list of created workflows, this summary gives you a quick overview of processed status based on counts. +// ToGetRequestInformation provide a summary of all workflows processed within a tenant for a specified period. Because the amount of results for listed workflows as returned by the List workflows doesn't tell you which workflows were processed from the list of created workflows, this summary gives you a quick overview of processed status based on counts. // returns a *RequestInformation when successful func (m *LifecycleWorkflowsInsightsMicrosoftGraphIdentityGovernanceWorkflowsProcessedSummaryWithStartDateTimeWithEndDateTimeRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *LifecycleWorkflowsInsightsMicrosoftGraphIdentityGovernanceWorkflowsProcessedSummaryWithStartDateTimeWithEndDateTimeRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/identitygovernance/50e1228a72b59d98296cf916ac35d1e42c88c09641e713c470d00c6681746c0f.go b/identitygovernance/50e1228a72b59d98296cf916ac35d1e42c88c09641e713c470d00c6681746c0f.go new file mode 100644 index 0000000000..acdef81f83 --- /dev/null +++ b/identitygovernance/50e1228a72b59d98296cf916ac35d1e42c88c09641e713c470d00c6681746c0f.go @@ -0,0 +1,98 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package identitygovernance + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// LifecycleWorkflowsWorkflowsItemMicrosoftGraphIdentityGovernancePreviewTaskFailuresRequestBuilder provides operations to call the previewTaskFailures method. +type LifecycleWorkflowsWorkflowsItemMicrosoftGraphIdentityGovernancePreviewTaskFailuresRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// LifecycleWorkflowsWorkflowsItemMicrosoftGraphIdentityGovernancePreviewTaskFailuresRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type LifecycleWorkflowsWorkflowsItemMicrosoftGraphIdentityGovernancePreviewTaskFailuresRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewLifecycleWorkflowsWorkflowsItemMicrosoftGraphIdentityGovernancePreviewTaskFailuresRequestBuilderInternal instantiates a new LifecycleWorkflowsWorkflowsItemMicrosoftGraphIdentityGovernancePreviewTaskFailuresRequestBuilder and sets the default values. +func NewLifecycleWorkflowsWorkflowsItemMicrosoftGraphIdentityGovernancePreviewTaskFailuresRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*LifecycleWorkflowsWorkflowsItemMicrosoftGraphIdentityGovernancePreviewTaskFailuresRequestBuilder) { + m := &LifecycleWorkflowsWorkflowsItemMicrosoftGraphIdentityGovernancePreviewTaskFailuresRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/workflows/{workflow%2Did}/microsoft.graph.identityGovernance.previewTaskFailures", pathParameters), + } + return m +} +// NewLifecycleWorkflowsWorkflowsItemMicrosoftGraphIdentityGovernancePreviewTaskFailuresRequestBuilder instantiates a new LifecycleWorkflowsWorkflowsItemMicrosoftGraphIdentityGovernancePreviewTaskFailuresRequestBuilder and sets the default values. +func NewLifecycleWorkflowsWorkflowsItemMicrosoftGraphIdentityGovernancePreviewTaskFailuresRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*LifecycleWorkflowsWorkflowsItemMicrosoftGraphIdentityGovernancePreviewTaskFailuresRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewLifecycleWorkflowsWorkflowsItemMicrosoftGraphIdentityGovernancePreviewTaskFailuresRequestBuilderInternal(urlParams, requestAdapter) +} +// Post validate the tasks configured in a workflow to check for configuration errors. This action identifies any tasks that would fail during execution, allowing you to fix issues before running the workflow. Returns an empty collection if no task failures are detected. +// Deprecated: This method is obsolete. Use PostAsPreviewTaskFailuresPostResponse instead. +// returns a LifecycleWorkflowsWorkflowsItemMicrosoftGraphIdentityGovernancePreviewTaskFailuresPreviewTaskFailuresResponseable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/identitygovernance-workflow-previewtaskfailures?view=graph-rest-1.0 +func (m *LifecycleWorkflowsWorkflowsItemMicrosoftGraphIdentityGovernancePreviewTaskFailuresRequestBuilder) Post(ctx context.Context, requestConfiguration *LifecycleWorkflowsWorkflowsItemMicrosoftGraphIdentityGovernancePreviewTaskFailuresRequestBuilderPostRequestConfiguration)(LifecycleWorkflowsWorkflowsItemMicrosoftGraphIdentityGovernancePreviewTaskFailuresPreviewTaskFailuresResponseable, error) { + requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, CreateLifecycleWorkflowsWorkflowsItemMicrosoftGraphIdentityGovernancePreviewTaskFailuresPreviewTaskFailuresResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(LifecycleWorkflowsWorkflowsItemMicrosoftGraphIdentityGovernancePreviewTaskFailuresPreviewTaskFailuresResponseable), nil +} +// PostAsPreviewTaskFailuresPostResponse validate the tasks configured in a workflow to check for configuration errors. This action identifies any tasks that would fail during execution, allowing you to fix issues before running the workflow. Returns an empty collection if no task failures are detected. +// returns a LifecycleWorkflowsWorkflowsItemMicrosoftGraphIdentityGovernancePreviewTaskFailuresPreviewTaskFailuresPostResponseable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/identitygovernance-workflow-previewtaskfailures?view=graph-rest-1.0 +func (m *LifecycleWorkflowsWorkflowsItemMicrosoftGraphIdentityGovernancePreviewTaskFailuresRequestBuilder) PostAsPreviewTaskFailuresPostResponse(ctx context.Context, requestConfiguration *LifecycleWorkflowsWorkflowsItemMicrosoftGraphIdentityGovernancePreviewTaskFailuresRequestBuilderPostRequestConfiguration)(LifecycleWorkflowsWorkflowsItemMicrosoftGraphIdentityGovernancePreviewTaskFailuresPreviewTaskFailuresPostResponseable, error) { + requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, CreateLifecycleWorkflowsWorkflowsItemMicrosoftGraphIdentityGovernancePreviewTaskFailuresPreviewTaskFailuresPostResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(LifecycleWorkflowsWorkflowsItemMicrosoftGraphIdentityGovernancePreviewTaskFailuresPreviewTaskFailuresPostResponseable), nil +} +// ToPostRequestInformation validate the tasks configured in a workflow to check for configuration errors. This action identifies any tasks that would fail during execution, allowing you to fix issues before running the workflow. Returns an empty collection if no task failures are detected. +// returns a *RequestInformation when successful +func (m *LifecycleWorkflowsWorkflowsItemMicrosoftGraphIdentityGovernancePreviewTaskFailuresRequestBuilder) ToPostRequestInformation(ctx context.Context, requestConfiguration *LifecycleWorkflowsWorkflowsItemMicrosoftGraphIdentityGovernancePreviewTaskFailuresRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *LifecycleWorkflowsWorkflowsItemMicrosoftGraphIdentityGovernancePreviewTaskFailuresRequestBuilder when successful +func (m *LifecycleWorkflowsWorkflowsItemMicrosoftGraphIdentityGovernancePreviewTaskFailuresRequestBuilder) WithUrl(rawUrl string)(*LifecycleWorkflowsWorkflowsItemMicrosoftGraphIdentityGovernancePreviewTaskFailuresRequestBuilder) { + return NewLifecycleWorkflowsWorkflowsItemMicrosoftGraphIdentityGovernancePreviewTaskFailuresRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/588f943695b763a68bd2ef47b4058b037ee23fc37f47245f93e33547105bb7fe.go b/identitygovernance/588f943695b763a68bd2ef47b4058b037ee23fc37f47245f93e33547105bb7fe.go new file mode 100644 index 0000000000..512512a3b5 --- /dev/null +++ b/identitygovernance/588f943695b763a68bd2ef47b4058b037ee23fc37f47245f93e33547105bb7fe.go @@ -0,0 +1,30 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package identitygovernance + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +// Deprecated: This class is obsolete. Use LifecycleWorkflowsWorkflowsItemMicrosoftGraphIdentityGovernancePreviewTaskFailuresPreviewTaskFailuresPostResponseable instead. +type LifecycleWorkflowsWorkflowsItemMicrosoftGraphIdentityGovernancePreviewTaskFailuresPreviewTaskFailuresResponse struct { + LifecycleWorkflowsWorkflowsItemMicrosoftGraphIdentityGovernancePreviewTaskFailuresPreviewTaskFailuresPostResponse +} +// NewLifecycleWorkflowsWorkflowsItemMicrosoftGraphIdentityGovernancePreviewTaskFailuresPreviewTaskFailuresResponse instantiates a new LifecycleWorkflowsWorkflowsItemMicrosoftGraphIdentityGovernancePreviewTaskFailuresPreviewTaskFailuresResponse and sets the default values. +func NewLifecycleWorkflowsWorkflowsItemMicrosoftGraphIdentityGovernancePreviewTaskFailuresPreviewTaskFailuresResponse()(*LifecycleWorkflowsWorkflowsItemMicrosoftGraphIdentityGovernancePreviewTaskFailuresPreviewTaskFailuresResponse) { + m := &LifecycleWorkflowsWorkflowsItemMicrosoftGraphIdentityGovernancePreviewTaskFailuresPreviewTaskFailuresResponse{ + LifecycleWorkflowsWorkflowsItemMicrosoftGraphIdentityGovernancePreviewTaskFailuresPreviewTaskFailuresPostResponse: *NewLifecycleWorkflowsWorkflowsItemMicrosoftGraphIdentityGovernancePreviewTaskFailuresPreviewTaskFailuresPostResponse(), + } + return m +} +// CreateLifecycleWorkflowsWorkflowsItemMicrosoftGraphIdentityGovernancePreviewTaskFailuresPreviewTaskFailuresResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateLifecycleWorkflowsWorkflowsItemMicrosoftGraphIdentityGovernancePreviewTaskFailuresPreviewTaskFailuresResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewLifecycleWorkflowsWorkflowsItemMicrosoftGraphIdentityGovernancePreviewTaskFailuresPreviewTaskFailuresResponse(), nil +} +// Deprecated: This class is obsolete. Use LifecycleWorkflowsWorkflowsItemMicrosoftGraphIdentityGovernancePreviewTaskFailuresPreviewTaskFailuresPostResponseable instead. +type LifecycleWorkflowsWorkflowsItemMicrosoftGraphIdentityGovernancePreviewTaskFailuresPreviewTaskFailuresResponseable interface { + LifecycleWorkflowsWorkflowsItemMicrosoftGraphIdentityGovernancePreviewTaskFailuresPreviewTaskFailuresPostResponseable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +} diff --git a/identitygovernance/611b6c6e0e9dd2f98ba642d429e8d4586503016ff008f22d80fcf2e2a081082a.go b/identitygovernance/611b6c6e0e9dd2f98ba642d429e8d4586503016ff008f22d80fcf2e2a081082a.go new file mode 100644 index 0000000000..7f328a05c8 --- /dev/null +++ b/identitygovernance/611b6c6e0e9dd2f98ba642d429e8d4586503016ff008f22d80fcf2e2a081082a.go @@ -0,0 +1,74 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package identitygovernance + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// LifecycleWorkflowsDeletedItemsWorkflowsItemMicrosoftGraphIdentityGovernancePreviewWorkflowRequestBuilder provides operations to call the previewWorkflow method. +type LifecycleWorkflowsDeletedItemsWorkflowsItemMicrosoftGraphIdentityGovernancePreviewWorkflowRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// LifecycleWorkflowsDeletedItemsWorkflowsItemMicrosoftGraphIdentityGovernancePreviewWorkflowRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type LifecycleWorkflowsDeletedItemsWorkflowsItemMicrosoftGraphIdentityGovernancePreviewWorkflowRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewLifecycleWorkflowsDeletedItemsWorkflowsItemMicrosoftGraphIdentityGovernancePreviewWorkflowRequestBuilderInternal instantiates a new LifecycleWorkflowsDeletedItemsWorkflowsItemMicrosoftGraphIdentityGovernancePreviewWorkflowRequestBuilder and sets the default values. +func NewLifecycleWorkflowsDeletedItemsWorkflowsItemMicrosoftGraphIdentityGovernancePreviewWorkflowRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*LifecycleWorkflowsDeletedItemsWorkflowsItemMicrosoftGraphIdentityGovernancePreviewWorkflowRequestBuilder) { + m := &LifecycleWorkflowsDeletedItemsWorkflowsItemMicrosoftGraphIdentityGovernancePreviewWorkflowRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/deletedItems/workflows/{workflow%2Did}/microsoft.graph.identityGovernance.previewWorkflow", pathParameters), + } + return m +} +// NewLifecycleWorkflowsDeletedItemsWorkflowsItemMicrosoftGraphIdentityGovernancePreviewWorkflowRequestBuilder instantiates a new LifecycleWorkflowsDeletedItemsWorkflowsItemMicrosoftGraphIdentityGovernancePreviewWorkflowRequestBuilder and sets the default values. +func NewLifecycleWorkflowsDeletedItemsWorkflowsItemMicrosoftGraphIdentityGovernancePreviewWorkflowRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*LifecycleWorkflowsDeletedItemsWorkflowsItemMicrosoftGraphIdentityGovernancePreviewWorkflowRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewLifecycleWorkflowsDeletedItemsWorkflowsItemMicrosoftGraphIdentityGovernancePreviewWorkflowRequestBuilderInternal(urlParams, requestAdapter) +} +// Post run a workflow in preview mode for selected directory objects without affecting production users. This action triggers workflow processing in preview mode, and results can be retrieved using the List userProcessingResults operation with $filter=workflowExecutionType eq 'preview'. +// returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/identitygovernance-workflow-previewworkflow?view=graph-rest-1.0 +func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemMicrosoftGraphIdentityGovernancePreviewWorkflowRequestBuilder) Post(ctx context.Context, body LifecycleWorkflowsDeletedItemsWorkflowsItemMicrosoftGraphIdentityGovernancePreviewWorkflowPreviewWorkflowPostRequestBodyable, requestConfiguration *LifecycleWorkflowsDeletedItemsWorkflowsItemMicrosoftGraphIdentityGovernancePreviewWorkflowRequestBuilderPostRequestConfiguration)(error) { + requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + err = m.BaseRequestBuilder.RequestAdapter.SendNoContent(ctx, requestInfo, errorMapping) + if err != nil { + return err + } + return nil +} +// ToPostRequestInformation run a workflow in preview mode for selected directory objects without affecting production users. This action triggers workflow processing in preview mode, and results can be retrieved using the List userProcessingResults operation with $filter=workflowExecutionType eq 'preview'. +// returns a *RequestInformation when successful +func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemMicrosoftGraphIdentityGovernancePreviewWorkflowRequestBuilder) ToPostRequestInformation(ctx context.Context, body LifecycleWorkflowsDeletedItemsWorkflowsItemMicrosoftGraphIdentityGovernancePreviewWorkflowPreviewWorkflowPostRequestBodyable, requestConfiguration *LifecycleWorkflowsDeletedItemsWorkflowsItemMicrosoftGraphIdentityGovernancePreviewWorkflowRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *LifecycleWorkflowsDeletedItemsWorkflowsItemMicrosoftGraphIdentityGovernancePreviewWorkflowRequestBuilder when successful +func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemMicrosoftGraphIdentityGovernancePreviewWorkflowRequestBuilder) WithUrl(rawUrl string)(*LifecycleWorkflowsDeletedItemsWorkflowsItemMicrosoftGraphIdentityGovernancePreviewWorkflowRequestBuilder) { + return NewLifecycleWorkflowsDeletedItemsWorkflowsItemMicrosoftGraphIdentityGovernancePreviewWorkflowRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/73626e782f1d9446dfd45a213249306eadbc28ef8a8a2c02360d7595902c0976.go b/identitygovernance/73626e782f1d9446dfd45a213249306eadbc28ef8a8a2c02360d7595902c0976.go new file mode 100644 index 0000000000..cae4dfc4a2 --- /dev/null +++ b/identitygovernance/73626e782f1d9446dfd45a213249306eadbc28ef8a8a2c02360d7595902c0976.go @@ -0,0 +1,72 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package identitygovernance + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" + ibf6ed4fc8e373ed2600905053a507c004671ad1749cb4b6b77078a908490c430 "github.com/microsoftgraph/msgraph-sdk-go/models/identitygovernance" +) + +// LifecycleWorkflowsDeletedItemsWorkflowsItemMicrosoftGraphIdentityGovernanceClearQuarantineRequestBuilder provides operations to call the clearQuarantine method. +type LifecycleWorkflowsDeletedItemsWorkflowsItemMicrosoftGraphIdentityGovernanceClearQuarantineRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// LifecycleWorkflowsDeletedItemsWorkflowsItemMicrosoftGraphIdentityGovernanceClearQuarantineRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type LifecycleWorkflowsDeletedItemsWorkflowsItemMicrosoftGraphIdentityGovernanceClearQuarantineRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewLifecycleWorkflowsDeletedItemsWorkflowsItemMicrosoftGraphIdentityGovernanceClearQuarantineRequestBuilderInternal instantiates a new LifecycleWorkflowsDeletedItemsWorkflowsItemMicrosoftGraphIdentityGovernanceClearQuarantineRequestBuilder and sets the default values. +func NewLifecycleWorkflowsDeletedItemsWorkflowsItemMicrosoftGraphIdentityGovernanceClearQuarantineRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*LifecycleWorkflowsDeletedItemsWorkflowsItemMicrosoftGraphIdentityGovernanceClearQuarantineRequestBuilder) { + m := &LifecycleWorkflowsDeletedItemsWorkflowsItemMicrosoftGraphIdentityGovernanceClearQuarantineRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/deletedItems/workflows/{workflow%2Did}/microsoft.graph.identityGovernance.clearQuarantine", pathParameters), + } + return m +} +// NewLifecycleWorkflowsDeletedItemsWorkflowsItemMicrosoftGraphIdentityGovernanceClearQuarantineRequestBuilder instantiates a new LifecycleWorkflowsDeletedItemsWorkflowsItemMicrosoftGraphIdentityGovernanceClearQuarantineRequestBuilder and sets the default values. +func NewLifecycleWorkflowsDeletedItemsWorkflowsItemMicrosoftGraphIdentityGovernanceClearQuarantineRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*LifecycleWorkflowsDeletedItemsWorkflowsItemMicrosoftGraphIdentityGovernanceClearQuarantineRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewLifecycleWorkflowsDeletedItemsWorkflowsItemMicrosoftGraphIdentityGovernanceClearQuarantineRequestBuilderInternal(urlParams, requestAdapter) +} +// Post invoke action clearQuarantine +// returns a Workflowable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemMicrosoftGraphIdentityGovernanceClearQuarantineRequestBuilder) Post(ctx context.Context, requestConfiguration *LifecycleWorkflowsDeletedItemsWorkflowsItemMicrosoftGraphIdentityGovernanceClearQuarantineRequestBuilderPostRequestConfiguration)(ibf6ed4fc8e373ed2600905053a507c004671ad1749cb4b6b77078a908490c430.Workflowable, error) { + requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ibf6ed4fc8e373ed2600905053a507c004671ad1749cb4b6b77078a908490c430.CreateWorkflowFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ibf6ed4fc8e373ed2600905053a507c004671ad1749cb4b6b77078a908490c430.Workflowable), nil +} +// ToPostRequestInformation invoke action clearQuarantine +// returns a *RequestInformation when successful +func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemMicrosoftGraphIdentityGovernanceClearQuarantineRequestBuilder) ToPostRequestInformation(ctx context.Context, requestConfiguration *LifecycleWorkflowsDeletedItemsWorkflowsItemMicrosoftGraphIdentityGovernanceClearQuarantineRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *LifecycleWorkflowsDeletedItemsWorkflowsItemMicrosoftGraphIdentityGovernanceClearQuarantineRequestBuilder when successful +func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemMicrosoftGraphIdentityGovernanceClearQuarantineRequestBuilder) WithUrl(rawUrl string)(*LifecycleWorkflowsDeletedItemsWorkflowsItemMicrosoftGraphIdentityGovernanceClearQuarantineRequestBuilder) { + return NewLifecycleWorkflowsDeletedItemsWorkflowsItemMicrosoftGraphIdentityGovernanceClearQuarantineRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/77555055825d6e3dc4304bcb4e596256542980a227f12b277a6efd13547a7fd1.go b/identitygovernance/77555055825d6e3dc4304bcb4e596256542980a227f12b277a6efd13547a7fd1.go new file mode 100644 index 0000000000..bffeba1b22 --- /dev/null +++ b/identitygovernance/77555055825d6e3dc4304bcb4e596256542980a227f12b277a6efd13547a7fd1.go @@ -0,0 +1,93 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package identitygovernance + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" + ibf6ed4fc8e373ed2600905053a507c004671ad1749cb4b6b77078a908490c430 "github.com/microsoftgraph/msgraph-sdk-go/models/identitygovernance" +) + +type LifecycleWorkflowsWorkflowsItemMicrosoftGraphIdentityGovernancePreviewTaskFailuresPreviewTaskFailuresPostResponse struct { + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.BaseCollectionPaginationCountResponse +} +// NewLifecycleWorkflowsWorkflowsItemMicrosoftGraphIdentityGovernancePreviewTaskFailuresPreviewTaskFailuresPostResponse instantiates a new LifecycleWorkflowsWorkflowsItemMicrosoftGraphIdentityGovernancePreviewTaskFailuresPreviewTaskFailuresPostResponse and sets the default values. +func NewLifecycleWorkflowsWorkflowsItemMicrosoftGraphIdentityGovernancePreviewTaskFailuresPreviewTaskFailuresPostResponse()(*LifecycleWorkflowsWorkflowsItemMicrosoftGraphIdentityGovernancePreviewTaskFailuresPreviewTaskFailuresPostResponse) { + m := &LifecycleWorkflowsWorkflowsItemMicrosoftGraphIdentityGovernancePreviewTaskFailuresPreviewTaskFailuresPostResponse{ + BaseCollectionPaginationCountResponse: *iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.NewBaseCollectionPaginationCountResponse(), + } + return m +} +// CreateLifecycleWorkflowsWorkflowsItemMicrosoftGraphIdentityGovernancePreviewTaskFailuresPreviewTaskFailuresPostResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateLifecycleWorkflowsWorkflowsItemMicrosoftGraphIdentityGovernancePreviewTaskFailuresPreviewTaskFailuresPostResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewLifecycleWorkflowsWorkflowsItemMicrosoftGraphIdentityGovernancePreviewTaskFailuresPreviewTaskFailuresPostResponse(), nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *LifecycleWorkflowsWorkflowsItemMicrosoftGraphIdentityGovernancePreviewTaskFailuresPreviewTaskFailuresPostResponse) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.BaseCollectionPaginationCountResponse.GetFieldDeserializers() + res["value"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(ibf6ed4fc8e373ed2600905053a507c004671ad1749cb4b6b77078a908490c430.CreatePreviewFailedTaskFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]ibf6ed4fc8e373ed2600905053a507c004671ad1749cb4b6b77078a908490c430.PreviewFailedTaskable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(ibf6ed4fc8e373ed2600905053a507c004671ad1749cb4b6b77078a908490c430.PreviewFailedTaskable) + } + } + m.SetValue(res) + } + return nil + } + return res +} +// GetValue gets the value property value. The value property +// returns a []PreviewFailedTaskable when successful +func (m *LifecycleWorkflowsWorkflowsItemMicrosoftGraphIdentityGovernancePreviewTaskFailuresPreviewTaskFailuresPostResponse) GetValue()([]ibf6ed4fc8e373ed2600905053a507c004671ad1749cb4b6b77078a908490c430.PreviewFailedTaskable) { + val, err := m.GetBackingStore().Get("value") + if err != nil { + panic(err) + } + if val != nil { + return val.([]ibf6ed4fc8e373ed2600905053a507c004671ad1749cb4b6b77078a908490c430.PreviewFailedTaskable) + } + return nil +} +// Serialize serializes information the current object +func (m *LifecycleWorkflowsWorkflowsItemMicrosoftGraphIdentityGovernancePreviewTaskFailuresPreviewTaskFailuresPostResponse) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.BaseCollectionPaginationCountResponse.Serialize(writer) + if err != nil { + return err + } + if m.GetValue() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetValue())) + for i, v := range m.GetValue() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err = writer.WriteCollectionOfObjectValues("value", cast) + if err != nil { + return err + } + } + return nil +} +// SetValue sets the value property value. The value property +func (m *LifecycleWorkflowsWorkflowsItemMicrosoftGraphIdentityGovernancePreviewTaskFailuresPreviewTaskFailuresPostResponse) SetValue(value []ibf6ed4fc8e373ed2600905053a507c004671ad1749cb4b6b77078a908490c430.PreviewFailedTaskable)() { + err := m.GetBackingStore().Set("value", value) + if err != nil { + panic(err) + } +} +type LifecycleWorkflowsWorkflowsItemMicrosoftGraphIdentityGovernancePreviewTaskFailuresPreviewTaskFailuresPostResponseable interface { + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.BaseCollectionPaginationCountResponseable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetValue()([]ibf6ed4fc8e373ed2600905053a507c004671ad1749cb4b6b77078a908490c430.PreviewFailedTaskable) + SetValue(value []ibf6ed4fc8e373ed2600905053a507c004671ad1749cb4b6b77078a908490c430.PreviewFailedTaskable)() +} diff --git a/identitygovernance/9037e4a7d8b2bc6f4db0f614116b423c8ddd1057afc615f56de9f89ffbc92bc5.go b/identitygovernance/9037e4a7d8b2bc6f4db0f614116b423c8ddd1057afc615f56de9f89ffbc92bc5.go new file mode 100644 index 0000000000..027e659abc --- /dev/null +++ b/identitygovernance/9037e4a7d8b2bc6f4db0f614116b423c8ddd1057afc615f56de9f89ffbc92bc5.go @@ -0,0 +1,74 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package identitygovernance + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// LifecycleWorkflowsWorkflowsItemMicrosoftGraphIdentityGovernancePreviewWorkflowRequestBuilder provides operations to call the previewWorkflow method. +type LifecycleWorkflowsWorkflowsItemMicrosoftGraphIdentityGovernancePreviewWorkflowRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// LifecycleWorkflowsWorkflowsItemMicrosoftGraphIdentityGovernancePreviewWorkflowRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type LifecycleWorkflowsWorkflowsItemMicrosoftGraphIdentityGovernancePreviewWorkflowRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewLifecycleWorkflowsWorkflowsItemMicrosoftGraphIdentityGovernancePreviewWorkflowRequestBuilderInternal instantiates a new LifecycleWorkflowsWorkflowsItemMicrosoftGraphIdentityGovernancePreviewWorkflowRequestBuilder and sets the default values. +func NewLifecycleWorkflowsWorkflowsItemMicrosoftGraphIdentityGovernancePreviewWorkflowRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*LifecycleWorkflowsWorkflowsItemMicrosoftGraphIdentityGovernancePreviewWorkflowRequestBuilder) { + m := &LifecycleWorkflowsWorkflowsItemMicrosoftGraphIdentityGovernancePreviewWorkflowRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/workflows/{workflow%2Did}/microsoft.graph.identityGovernance.previewWorkflow", pathParameters), + } + return m +} +// NewLifecycleWorkflowsWorkflowsItemMicrosoftGraphIdentityGovernancePreviewWorkflowRequestBuilder instantiates a new LifecycleWorkflowsWorkflowsItemMicrosoftGraphIdentityGovernancePreviewWorkflowRequestBuilder and sets the default values. +func NewLifecycleWorkflowsWorkflowsItemMicrosoftGraphIdentityGovernancePreviewWorkflowRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*LifecycleWorkflowsWorkflowsItemMicrosoftGraphIdentityGovernancePreviewWorkflowRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewLifecycleWorkflowsWorkflowsItemMicrosoftGraphIdentityGovernancePreviewWorkflowRequestBuilderInternal(urlParams, requestAdapter) +} +// Post run a workflow in preview mode for selected directory objects without affecting production users. This action triggers workflow processing in preview mode, and results can be retrieved using the List userProcessingResults operation with $filter=workflowExecutionType eq 'preview'. +// returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/identitygovernance-workflow-previewworkflow?view=graph-rest-1.0 +func (m *LifecycleWorkflowsWorkflowsItemMicrosoftGraphIdentityGovernancePreviewWorkflowRequestBuilder) Post(ctx context.Context, body LifecycleWorkflowsWorkflowsItemMicrosoftGraphIdentityGovernancePreviewWorkflowPreviewWorkflowPostRequestBodyable, requestConfiguration *LifecycleWorkflowsWorkflowsItemMicrosoftGraphIdentityGovernancePreviewWorkflowRequestBuilderPostRequestConfiguration)(error) { + requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + err = m.BaseRequestBuilder.RequestAdapter.SendNoContent(ctx, requestInfo, errorMapping) + if err != nil { + return err + } + return nil +} +// ToPostRequestInformation run a workflow in preview mode for selected directory objects without affecting production users. This action triggers workflow processing in preview mode, and results can be retrieved using the List userProcessingResults operation with $filter=workflowExecutionType eq 'preview'. +// returns a *RequestInformation when successful +func (m *LifecycleWorkflowsWorkflowsItemMicrosoftGraphIdentityGovernancePreviewWorkflowRequestBuilder) ToPostRequestInformation(ctx context.Context, body LifecycleWorkflowsWorkflowsItemMicrosoftGraphIdentityGovernancePreviewWorkflowPreviewWorkflowPostRequestBodyable, requestConfiguration *LifecycleWorkflowsWorkflowsItemMicrosoftGraphIdentityGovernancePreviewWorkflowRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *LifecycleWorkflowsWorkflowsItemMicrosoftGraphIdentityGovernancePreviewWorkflowRequestBuilder when successful +func (m *LifecycleWorkflowsWorkflowsItemMicrosoftGraphIdentityGovernancePreviewWorkflowRequestBuilder) WithUrl(rawUrl string)(*LifecycleWorkflowsWorkflowsItemMicrosoftGraphIdentityGovernancePreviewWorkflowRequestBuilder) { + return NewLifecycleWorkflowsWorkflowsItemMicrosoftGraphIdentityGovernancePreviewWorkflowRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/93d2c5b9203a956732a63a6520e42dc4ded591592fb6d8f2e18e939f16361576.go b/identitygovernance/93d2c5b9203a956732a63a6520e42dc4ded591592fb6d8f2e18e939f16361576.go new file mode 100644 index 0000000000..ad54d5000e --- /dev/null +++ b/identitygovernance/93d2c5b9203a956732a63a6520e42dc4ded591592fb6d8f2e18e939f16361576.go @@ -0,0 +1,129 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package identitygovernance + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" +) + +type LifecycleWorkflowsWorkflowsItemMicrosoftGraphIdentityGovernancePreviewWorkflowPreviewWorkflowPostRequestBody struct { + // Stores model information. + backingStore ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore +} +// NewLifecycleWorkflowsWorkflowsItemMicrosoftGraphIdentityGovernancePreviewWorkflowPreviewWorkflowPostRequestBody instantiates a new LifecycleWorkflowsWorkflowsItemMicrosoftGraphIdentityGovernancePreviewWorkflowPreviewWorkflowPostRequestBody and sets the default values. +func NewLifecycleWorkflowsWorkflowsItemMicrosoftGraphIdentityGovernancePreviewWorkflowPreviewWorkflowPostRequestBody()(*LifecycleWorkflowsWorkflowsItemMicrosoftGraphIdentityGovernancePreviewWorkflowPreviewWorkflowPostRequestBody) { + m := &LifecycleWorkflowsWorkflowsItemMicrosoftGraphIdentityGovernancePreviewWorkflowPreviewWorkflowPostRequestBody{ + } + m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); + m.SetAdditionalData(make(map[string]any)) + return m +} +// CreateLifecycleWorkflowsWorkflowsItemMicrosoftGraphIdentityGovernancePreviewWorkflowPreviewWorkflowPostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateLifecycleWorkflowsWorkflowsItemMicrosoftGraphIdentityGovernancePreviewWorkflowPreviewWorkflowPostRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewLifecycleWorkflowsWorkflowsItemMicrosoftGraphIdentityGovernancePreviewWorkflowPreviewWorkflowPostRequestBody(), nil +} +// GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +// returns a map[string]any when successful +func (m *LifecycleWorkflowsWorkflowsItemMicrosoftGraphIdentityGovernancePreviewWorkflowPreviewWorkflowPostRequestBody) GetAdditionalData()(map[string]any) { + val , err := m.backingStore.Get("additionalData") + if err != nil { + panic(err) + } + if val == nil { + var value = make(map[string]any); + m.SetAdditionalData(value); + } + return val.(map[string]any) +} +// GetBackingStore gets the BackingStore property value. Stores model information. +// returns a BackingStore when successful +func (m *LifecycleWorkflowsWorkflowsItemMicrosoftGraphIdentityGovernancePreviewWorkflowPreviewWorkflowPostRequestBody) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) { + return m.backingStore +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *LifecycleWorkflowsWorkflowsItemMicrosoftGraphIdentityGovernancePreviewWorkflowPreviewWorkflowPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) + res["subjects"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateDirectoryObjectFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DirectoryObjectable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DirectoryObjectable) + } + } + m.SetSubjects(res) + } + return nil + } + return res +} +// GetSubjects gets the subjects property value. The subjects property +// returns a []DirectoryObjectable when successful +func (m *LifecycleWorkflowsWorkflowsItemMicrosoftGraphIdentityGovernancePreviewWorkflowPreviewWorkflowPostRequestBody) GetSubjects()([]iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DirectoryObjectable) { + val, err := m.GetBackingStore().Get("subjects") + if err != nil { + panic(err) + } + if val != nil { + return val.([]iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DirectoryObjectable) + } + return nil +} +// Serialize serializes information the current object +func (m *LifecycleWorkflowsWorkflowsItemMicrosoftGraphIdentityGovernancePreviewWorkflowPreviewWorkflowPostRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + if m.GetSubjects() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetSubjects())) + for i, v := range m.GetSubjects() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err := writer.WriteCollectionOfObjectValues("subjects", cast) + if err != nil { + return err + } + } + { + err := writer.WriteAdditionalData(m.GetAdditionalData()) + if err != nil { + return err + } + } + return nil +} +// SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +func (m *LifecycleWorkflowsWorkflowsItemMicrosoftGraphIdentityGovernancePreviewWorkflowPreviewWorkflowPostRequestBody) SetAdditionalData(value map[string]any)() { + err := m.GetBackingStore().Set("additionalData", value) + if err != nil { + panic(err) + } +} +// SetBackingStore sets the BackingStore property value. Stores model information. +func (m *LifecycleWorkflowsWorkflowsItemMicrosoftGraphIdentityGovernancePreviewWorkflowPreviewWorkflowPostRequestBody) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { + m.backingStore = value +} +// SetSubjects sets the subjects property value. The subjects property +func (m *LifecycleWorkflowsWorkflowsItemMicrosoftGraphIdentityGovernancePreviewWorkflowPreviewWorkflowPostRequestBody) SetSubjects(value []iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DirectoryObjectable)() { + err := m.GetBackingStore().Set("subjects", value) + if err != nil { + panic(err) + } +} +type LifecycleWorkflowsWorkflowsItemMicrosoftGraphIdentityGovernancePreviewWorkflowPreviewWorkflowPostRequestBodyable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) + GetSubjects()([]iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DirectoryObjectable) + SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() + SetSubjects(value []iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DirectoryObjectable)() +} diff --git a/identitygovernance/a4a157a3b8e34fc3a67d6544dbf85b09505a93032795b60e740aa4da11d7b834.go b/identitygovernance/a4a157a3b8e34fc3a67d6544dbf85b09505a93032795b60e740aa4da11d7b834.go new file mode 100644 index 0000000000..f3e9cc5cff --- /dev/null +++ b/identitygovernance/a4a157a3b8e34fc3a67d6544dbf85b09505a93032795b60e740aa4da11d7b834.go @@ -0,0 +1,72 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package identitygovernance + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" + ibf6ed4fc8e373ed2600905053a507c004671ad1749cb4b6b77078a908490c430 "github.com/microsoftgraph/msgraph-sdk-go/models/identitygovernance" +) + +// LifecycleWorkflowsWorkflowsItemMicrosoftGraphIdentityGovernanceClearQuarantineRequestBuilder provides operations to call the clearQuarantine method. +type LifecycleWorkflowsWorkflowsItemMicrosoftGraphIdentityGovernanceClearQuarantineRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// LifecycleWorkflowsWorkflowsItemMicrosoftGraphIdentityGovernanceClearQuarantineRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type LifecycleWorkflowsWorkflowsItemMicrosoftGraphIdentityGovernanceClearQuarantineRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewLifecycleWorkflowsWorkflowsItemMicrosoftGraphIdentityGovernanceClearQuarantineRequestBuilderInternal instantiates a new LifecycleWorkflowsWorkflowsItemMicrosoftGraphIdentityGovernanceClearQuarantineRequestBuilder and sets the default values. +func NewLifecycleWorkflowsWorkflowsItemMicrosoftGraphIdentityGovernanceClearQuarantineRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*LifecycleWorkflowsWorkflowsItemMicrosoftGraphIdentityGovernanceClearQuarantineRequestBuilder) { + m := &LifecycleWorkflowsWorkflowsItemMicrosoftGraphIdentityGovernanceClearQuarantineRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/workflows/{workflow%2Did}/microsoft.graph.identityGovernance.clearQuarantine", pathParameters), + } + return m +} +// NewLifecycleWorkflowsWorkflowsItemMicrosoftGraphIdentityGovernanceClearQuarantineRequestBuilder instantiates a new LifecycleWorkflowsWorkflowsItemMicrosoftGraphIdentityGovernanceClearQuarantineRequestBuilder and sets the default values. +func NewLifecycleWorkflowsWorkflowsItemMicrosoftGraphIdentityGovernanceClearQuarantineRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*LifecycleWorkflowsWorkflowsItemMicrosoftGraphIdentityGovernanceClearQuarantineRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewLifecycleWorkflowsWorkflowsItemMicrosoftGraphIdentityGovernanceClearQuarantineRequestBuilderInternal(urlParams, requestAdapter) +} +// Post invoke action clearQuarantine +// returns a Workflowable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *LifecycleWorkflowsWorkflowsItemMicrosoftGraphIdentityGovernanceClearQuarantineRequestBuilder) Post(ctx context.Context, requestConfiguration *LifecycleWorkflowsWorkflowsItemMicrosoftGraphIdentityGovernanceClearQuarantineRequestBuilderPostRequestConfiguration)(ibf6ed4fc8e373ed2600905053a507c004671ad1749cb4b6b77078a908490c430.Workflowable, error) { + requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ibf6ed4fc8e373ed2600905053a507c004671ad1749cb4b6b77078a908490c430.CreateWorkflowFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ibf6ed4fc8e373ed2600905053a507c004671ad1749cb4b6b77078a908490c430.Workflowable), nil +} +// ToPostRequestInformation invoke action clearQuarantine +// returns a *RequestInformation when successful +func (m *LifecycleWorkflowsWorkflowsItemMicrosoftGraphIdentityGovernanceClearQuarantineRequestBuilder) ToPostRequestInformation(ctx context.Context, requestConfiguration *LifecycleWorkflowsWorkflowsItemMicrosoftGraphIdentityGovernanceClearQuarantineRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *LifecycleWorkflowsWorkflowsItemMicrosoftGraphIdentityGovernanceClearQuarantineRequestBuilder when successful +func (m *LifecycleWorkflowsWorkflowsItemMicrosoftGraphIdentityGovernanceClearQuarantineRequestBuilder) WithUrl(rawUrl string)(*LifecycleWorkflowsWorkflowsItemMicrosoftGraphIdentityGovernanceClearQuarantineRequestBuilder) { + return NewLifecycleWorkflowsWorkflowsItemMicrosoftGraphIdentityGovernanceClearQuarantineRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/a536c6c1ebfd23559f695072f4e4a768b315780308fcd709d57c302e2d7f5449.go b/identitygovernance/a536c6c1ebfd23559f695072f4e4a768b315780308fcd709d57c302e2d7f5449.go new file mode 100644 index 0000000000..d242745a34 --- /dev/null +++ b/identitygovernance/a536c6c1ebfd23559f695072f4e4a768b315780308fcd709d57c302e2d7f5449.go @@ -0,0 +1,84 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package identitygovernance + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// EntitlementManagementAvailableAccessPackagesItemResourceRoleScopesAccessPackageResourceRoleScopeItemRequestBuilder provides operations to manage the resourceRoleScopes property of the microsoft.graph.availableAccessPackage entity. +type EntitlementManagementAvailableAccessPackagesItemResourceRoleScopesAccessPackageResourceRoleScopeItemRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// EntitlementManagementAvailableAccessPackagesItemResourceRoleScopesAccessPackageResourceRoleScopeItemRequestBuilderGetQueryParameters the resource role scopes associated with this available access package. +type EntitlementManagementAvailableAccessPackagesItemResourceRoleScopesAccessPackageResourceRoleScopeItemRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string "uriparametername:\"%24expand\"" + // Select properties to be returned + Select []string "uriparametername:\"%24select\"" +} +// EntitlementManagementAvailableAccessPackagesItemResourceRoleScopesAccessPackageResourceRoleScopeItemRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type EntitlementManagementAvailableAccessPackagesItemResourceRoleScopesAccessPackageResourceRoleScopeItemRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *EntitlementManagementAvailableAccessPackagesItemResourceRoleScopesAccessPackageResourceRoleScopeItemRequestBuilderGetQueryParameters +} +// NewEntitlementManagementAvailableAccessPackagesItemResourceRoleScopesAccessPackageResourceRoleScopeItemRequestBuilderInternal instantiates a new EntitlementManagementAvailableAccessPackagesItemResourceRoleScopesAccessPackageResourceRoleScopeItemRequestBuilder and sets the default values. +func NewEntitlementManagementAvailableAccessPackagesItemResourceRoleScopesAccessPackageResourceRoleScopeItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*EntitlementManagementAvailableAccessPackagesItemResourceRoleScopesAccessPackageResourceRoleScopeItemRequestBuilder) { + m := &EntitlementManagementAvailableAccessPackagesItemResourceRoleScopesAccessPackageResourceRoleScopeItemRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/identityGovernance/entitlementManagement/availableAccessPackages/{availableAccessPackage%2Did}/resourceRoleScopes/{accessPackageResourceRoleScope%2Did}{?%24expand,%24select}", pathParameters), + } + return m +} +// NewEntitlementManagementAvailableAccessPackagesItemResourceRoleScopesAccessPackageResourceRoleScopeItemRequestBuilder instantiates a new EntitlementManagementAvailableAccessPackagesItemResourceRoleScopesAccessPackageResourceRoleScopeItemRequestBuilder and sets the default values. +func NewEntitlementManagementAvailableAccessPackagesItemResourceRoleScopesAccessPackageResourceRoleScopeItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*EntitlementManagementAvailableAccessPackagesItemResourceRoleScopesAccessPackageResourceRoleScopeItemRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewEntitlementManagementAvailableAccessPackagesItemResourceRoleScopesAccessPackageResourceRoleScopeItemRequestBuilderInternal(urlParams, requestAdapter) +} +// Get the resource role scopes associated with this available access package. +// returns a AccessPackageResourceRoleScopeable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *EntitlementManagementAvailableAccessPackagesItemResourceRoleScopesAccessPackageResourceRoleScopeItemRequestBuilder) Get(ctx context.Context, requestConfiguration *EntitlementManagementAvailableAccessPackagesItemResourceRoleScopesAccessPackageResourceRoleScopeItemRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.AccessPackageResourceRoleScopeable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateAccessPackageResourceRoleScopeFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.AccessPackageResourceRoleScopeable), nil +} +// ToGetRequestInformation the resource role scopes associated with this available access package. +// returns a *RequestInformation when successful +func (m *EntitlementManagementAvailableAccessPackagesItemResourceRoleScopesAccessPackageResourceRoleScopeItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *EntitlementManagementAvailableAccessPackagesItemResourceRoleScopesAccessPackageResourceRoleScopeItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *EntitlementManagementAvailableAccessPackagesItemResourceRoleScopesAccessPackageResourceRoleScopeItemRequestBuilder when successful +func (m *EntitlementManagementAvailableAccessPackagesItemResourceRoleScopesAccessPackageResourceRoleScopeItemRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAvailableAccessPackagesItemResourceRoleScopesAccessPackageResourceRoleScopeItemRequestBuilder) { + return NewEntitlementManagementAvailableAccessPackagesItemResourceRoleScopesAccessPackageResourceRoleScopeItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/c568886834b7001a5306026cb956831730f98aa08766263d55741494eea8668b.go b/identitygovernance/c568886834b7001a5306026cb956831730f98aa08766263d55741494eea8668b.go new file mode 100644 index 0000000000..62e48e3113 --- /dev/null +++ b/identitygovernance/c568886834b7001a5306026cb956831730f98aa08766263d55741494eea8668b.go @@ -0,0 +1,98 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package identitygovernance + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// LifecycleWorkflowsDeletedItemsWorkflowsItemMicrosoftGraphIdentityGovernancePreviewTaskFailuresRequestBuilder provides operations to call the previewTaskFailures method. +type LifecycleWorkflowsDeletedItemsWorkflowsItemMicrosoftGraphIdentityGovernancePreviewTaskFailuresRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// LifecycleWorkflowsDeletedItemsWorkflowsItemMicrosoftGraphIdentityGovernancePreviewTaskFailuresRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type LifecycleWorkflowsDeletedItemsWorkflowsItemMicrosoftGraphIdentityGovernancePreviewTaskFailuresRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewLifecycleWorkflowsDeletedItemsWorkflowsItemMicrosoftGraphIdentityGovernancePreviewTaskFailuresRequestBuilderInternal instantiates a new LifecycleWorkflowsDeletedItemsWorkflowsItemMicrosoftGraphIdentityGovernancePreviewTaskFailuresRequestBuilder and sets the default values. +func NewLifecycleWorkflowsDeletedItemsWorkflowsItemMicrosoftGraphIdentityGovernancePreviewTaskFailuresRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*LifecycleWorkflowsDeletedItemsWorkflowsItemMicrosoftGraphIdentityGovernancePreviewTaskFailuresRequestBuilder) { + m := &LifecycleWorkflowsDeletedItemsWorkflowsItemMicrosoftGraphIdentityGovernancePreviewTaskFailuresRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/deletedItems/workflows/{workflow%2Did}/microsoft.graph.identityGovernance.previewTaskFailures", pathParameters), + } + return m +} +// NewLifecycleWorkflowsDeletedItemsWorkflowsItemMicrosoftGraphIdentityGovernancePreviewTaskFailuresRequestBuilder instantiates a new LifecycleWorkflowsDeletedItemsWorkflowsItemMicrosoftGraphIdentityGovernancePreviewTaskFailuresRequestBuilder and sets the default values. +func NewLifecycleWorkflowsDeletedItemsWorkflowsItemMicrosoftGraphIdentityGovernancePreviewTaskFailuresRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*LifecycleWorkflowsDeletedItemsWorkflowsItemMicrosoftGraphIdentityGovernancePreviewTaskFailuresRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewLifecycleWorkflowsDeletedItemsWorkflowsItemMicrosoftGraphIdentityGovernancePreviewTaskFailuresRequestBuilderInternal(urlParams, requestAdapter) +} +// Post validate the tasks configured in a workflow to check for configuration errors. This action identifies any tasks that would fail during execution, allowing you to fix issues before running the workflow. Returns an empty collection if no task failures are detected. +// Deprecated: This method is obsolete. Use PostAsPreviewTaskFailuresPostResponse instead. +// returns a LifecycleWorkflowsDeletedItemsWorkflowsItemMicrosoftGraphIdentityGovernancePreviewTaskFailuresPreviewTaskFailuresResponseable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/identitygovernance-workflow-previewtaskfailures?view=graph-rest-1.0 +func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemMicrosoftGraphIdentityGovernancePreviewTaskFailuresRequestBuilder) Post(ctx context.Context, requestConfiguration *LifecycleWorkflowsDeletedItemsWorkflowsItemMicrosoftGraphIdentityGovernancePreviewTaskFailuresRequestBuilderPostRequestConfiguration)(LifecycleWorkflowsDeletedItemsWorkflowsItemMicrosoftGraphIdentityGovernancePreviewTaskFailuresPreviewTaskFailuresResponseable, error) { + requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, CreateLifecycleWorkflowsDeletedItemsWorkflowsItemMicrosoftGraphIdentityGovernancePreviewTaskFailuresPreviewTaskFailuresResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(LifecycleWorkflowsDeletedItemsWorkflowsItemMicrosoftGraphIdentityGovernancePreviewTaskFailuresPreviewTaskFailuresResponseable), nil +} +// PostAsPreviewTaskFailuresPostResponse validate the tasks configured in a workflow to check for configuration errors. This action identifies any tasks that would fail during execution, allowing you to fix issues before running the workflow. Returns an empty collection if no task failures are detected. +// returns a LifecycleWorkflowsDeletedItemsWorkflowsItemMicrosoftGraphIdentityGovernancePreviewTaskFailuresPreviewTaskFailuresPostResponseable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/identitygovernance-workflow-previewtaskfailures?view=graph-rest-1.0 +func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemMicrosoftGraphIdentityGovernancePreviewTaskFailuresRequestBuilder) PostAsPreviewTaskFailuresPostResponse(ctx context.Context, requestConfiguration *LifecycleWorkflowsDeletedItemsWorkflowsItemMicrosoftGraphIdentityGovernancePreviewTaskFailuresRequestBuilderPostRequestConfiguration)(LifecycleWorkflowsDeletedItemsWorkflowsItemMicrosoftGraphIdentityGovernancePreviewTaskFailuresPreviewTaskFailuresPostResponseable, error) { + requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, CreateLifecycleWorkflowsDeletedItemsWorkflowsItemMicrosoftGraphIdentityGovernancePreviewTaskFailuresPreviewTaskFailuresPostResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(LifecycleWorkflowsDeletedItemsWorkflowsItemMicrosoftGraphIdentityGovernancePreviewTaskFailuresPreviewTaskFailuresPostResponseable), nil +} +// ToPostRequestInformation validate the tasks configured in a workflow to check for configuration errors. This action identifies any tasks that would fail during execution, allowing you to fix issues before running the workflow. Returns an empty collection if no task failures are detected. +// returns a *RequestInformation when successful +func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemMicrosoftGraphIdentityGovernancePreviewTaskFailuresRequestBuilder) ToPostRequestInformation(ctx context.Context, requestConfiguration *LifecycleWorkflowsDeletedItemsWorkflowsItemMicrosoftGraphIdentityGovernancePreviewTaskFailuresRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *LifecycleWorkflowsDeletedItemsWorkflowsItemMicrosoftGraphIdentityGovernancePreviewTaskFailuresRequestBuilder when successful +func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemMicrosoftGraphIdentityGovernancePreviewTaskFailuresRequestBuilder) WithUrl(rawUrl string)(*LifecycleWorkflowsDeletedItemsWorkflowsItemMicrosoftGraphIdentityGovernancePreviewTaskFailuresRequestBuilder) { + return NewLifecycleWorkflowsDeletedItemsWorkflowsItemMicrosoftGraphIdentityGovernancePreviewTaskFailuresRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/ccb275dc7060c72169af0a9c9d10c2a5bad65a67783f3e3109092330c1374208.go b/identitygovernance/ccb275dc7060c72169af0a9c9d10c2a5bad65a67783f3e3109092330c1374208.go new file mode 100644 index 0000000000..c48a1c193d --- /dev/null +++ b/identitygovernance/ccb275dc7060c72169af0a9c9d10c2a5bad65a67783f3e3109092330c1374208.go @@ -0,0 +1,129 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package identitygovernance + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" +) + +type LifecycleWorkflowsDeletedItemsWorkflowsItemMicrosoftGraphIdentityGovernancePreviewWorkflowPreviewWorkflowPostRequestBody struct { + // Stores model information. + backingStore ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore +} +// NewLifecycleWorkflowsDeletedItemsWorkflowsItemMicrosoftGraphIdentityGovernancePreviewWorkflowPreviewWorkflowPostRequestBody instantiates a new LifecycleWorkflowsDeletedItemsWorkflowsItemMicrosoftGraphIdentityGovernancePreviewWorkflowPreviewWorkflowPostRequestBody and sets the default values. +func NewLifecycleWorkflowsDeletedItemsWorkflowsItemMicrosoftGraphIdentityGovernancePreviewWorkflowPreviewWorkflowPostRequestBody()(*LifecycleWorkflowsDeletedItemsWorkflowsItemMicrosoftGraphIdentityGovernancePreviewWorkflowPreviewWorkflowPostRequestBody) { + m := &LifecycleWorkflowsDeletedItemsWorkflowsItemMicrosoftGraphIdentityGovernancePreviewWorkflowPreviewWorkflowPostRequestBody{ + } + m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); + m.SetAdditionalData(make(map[string]any)) + return m +} +// CreateLifecycleWorkflowsDeletedItemsWorkflowsItemMicrosoftGraphIdentityGovernancePreviewWorkflowPreviewWorkflowPostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateLifecycleWorkflowsDeletedItemsWorkflowsItemMicrosoftGraphIdentityGovernancePreviewWorkflowPreviewWorkflowPostRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewLifecycleWorkflowsDeletedItemsWorkflowsItemMicrosoftGraphIdentityGovernancePreviewWorkflowPreviewWorkflowPostRequestBody(), nil +} +// GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +// returns a map[string]any when successful +func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemMicrosoftGraphIdentityGovernancePreviewWorkflowPreviewWorkflowPostRequestBody) GetAdditionalData()(map[string]any) { + val , err := m.backingStore.Get("additionalData") + if err != nil { + panic(err) + } + if val == nil { + var value = make(map[string]any); + m.SetAdditionalData(value); + } + return val.(map[string]any) +} +// GetBackingStore gets the BackingStore property value. Stores model information. +// returns a BackingStore when successful +func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemMicrosoftGraphIdentityGovernancePreviewWorkflowPreviewWorkflowPostRequestBody) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) { + return m.backingStore +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemMicrosoftGraphIdentityGovernancePreviewWorkflowPreviewWorkflowPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) + res["subjects"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateDirectoryObjectFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DirectoryObjectable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DirectoryObjectable) + } + } + m.SetSubjects(res) + } + return nil + } + return res +} +// GetSubjects gets the subjects property value. The subjects property +// returns a []DirectoryObjectable when successful +func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemMicrosoftGraphIdentityGovernancePreviewWorkflowPreviewWorkflowPostRequestBody) GetSubjects()([]iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DirectoryObjectable) { + val, err := m.GetBackingStore().Get("subjects") + if err != nil { + panic(err) + } + if val != nil { + return val.([]iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DirectoryObjectable) + } + return nil +} +// Serialize serializes information the current object +func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemMicrosoftGraphIdentityGovernancePreviewWorkflowPreviewWorkflowPostRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + if m.GetSubjects() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetSubjects())) + for i, v := range m.GetSubjects() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err := writer.WriteCollectionOfObjectValues("subjects", cast) + if err != nil { + return err + } + } + { + err := writer.WriteAdditionalData(m.GetAdditionalData()) + if err != nil { + return err + } + } + return nil +} +// SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemMicrosoftGraphIdentityGovernancePreviewWorkflowPreviewWorkflowPostRequestBody) SetAdditionalData(value map[string]any)() { + err := m.GetBackingStore().Set("additionalData", value) + if err != nil { + panic(err) + } +} +// SetBackingStore sets the BackingStore property value. Stores model information. +func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemMicrosoftGraphIdentityGovernancePreviewWorkflowPreviewWorkflowPostRequestBody) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { + m.backingStore = value +} +// SetSubjects sets the subjects property value. The subjects property +func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemMicrosoftGraphIdentityGovernancePreviewWorkflowPreviewWorkflowPostRequestBody) SetSubjects(value []iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DirectoryObjectable)() { + err := m.GetBackingStore().Set("subjects", value) + if err != nil { + panic(err) + } +} +type LifecycleWorkflowsDeletedItemsWorkflowsItemMicrosoftGraphIdentityGovernancePreviewWorkflowPreviewWorkflowPostRequestBodyable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) + GetSubjects()([]iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DirectoryObjectable) + SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() + SetSubjects(value []iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DirectoryObjectable)() +} diff --git a/identitygovernance/ce80ac618b516623224473a28f45d0cc8764ead79eb58c76122fd6aa68c48611.go b/identitygovernance/ce80ac618b516623224473a28f45d0cc8764ead79eb58c76122fd6aa68c48611.go new file mode 100644 index 0000000000..008dbb7a77 --- /dev/null +++ b/identitygovernance/ce80ac618b516623224473a28f45d0cc8764ead79eb58c76122fd6aa68c48611.go @@ -0,0 +1,30 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package identitygovernance + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +// Deprecated: This class is obsolete. Use LifecycleWorkflowsDeletedItemsWorkflowsItemMicrosoftGraphIdentityGovernancePreviewTaskFailuresPreviewTaskFailuresPostResponseable instead. +type LifecycleWorkflowsDeletedItemsWorkflowsItemMicrosoftGraphIdentityGovernancePreviewTaskFailuresPreviewTaskFailuresResponse struct { + LifecycleWorkflowsDeletedItemsWorkflowsItemMicrosoftGraphIdentityGovernancePreviewTaskFailuresPreviewTaskFailuresPostResponse +} +// NewLifecycleWorkflowsDeletedItemsWorkflowsItemMicrosoftGraphIdentityGovernancePreviewTaskFailuresPreviewTaskFailuresResponse instantiates a new LifecycleWorkflowsDeletedItemsWorkflowsItemMicrosoftGraphIdentityGovernancePreviewTaskFailuresPreviewTaskFailuresResponse and sets the default values. +func NewLifecycleWorkflowsDeletedItemsWorkflowsItemMicrosoftGraphIdentityGovernancePreviewTaskFailuresPreviewTaskFailuresResponse()(*LifecycleWorkflowsDeletedItemsWorkflowsItemMicrosoftGraphIdentityGovernancePreviewTaskFailuresPreviewTaskFailuresResponse) { + m := &LifecycleWorkflowsDeletedItemsWorkflowsItemMicrosoftGraphIdentityGovernancePreviewTaskFailuresPreviewTaskFailuresResponse{ + LifecycleWorkflowsDeletedItemsWorkflowsItemMicrosoftGraphIdentityGovernancePreviewTaskFailuresPreviewTaskFailuresPostResponse: *NewLifecycleWorkflowsDeletedItemsWorkflowsItemMicrosoftGraphIdentityGovernancePreviewTaskFailuresPreviewTaskFailuresPostResponse(), + } + return m +} +// CreateLifecycleWorkflowsDeletedItemsWorkflowsItemMicrosoftGraphIdentityGovernancePreviewTaskFailuresPreviewTaskFailuresResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateLifecycleWorkflowsDeletedItemsWorkflowsItemMicrosoftGraphIdentityGovernancePreviewTaskFailuresPreviewTaskFailuresResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewLifecycleWorkflowsDeletedItemsWorkflowsItemMicrosoftGraphIdentityGovernancePreviewTaskFailuresPreviewTaskFailuresResponse(), nil +} +// Deprecated: This class is obsolete. Use LifecycleWorkflowsDeletedItemsWorkflowsItemMicrosoftGraphIdentityGovernancePreviewTaskFailuresPreviewTaskFailuresPostResponseable instead. +type LifecycleWorkflowsDeletedItemsWorkflowsItemMicrosoftGraphIdentityGovernancePreviewTaskFailuresPreviewTaskFailuresResponseable interface { + LifecycleWorkflowsDeletedItemsWorkflowsItemMicrosoftGraphIdentityGovernancePreviewTaskFailuresPreviewTaskFailuresPostResponseable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +} diff --git a/identitygovernance/d3a4c28a40d1576186b4265f76986ae23dc7b7a534ec1ca7297344595e1f7a87.go b/identitygovernance/d3a4c28a40d1576186b4265f76986ae23dc7b7a534ec1ca7297344595e1f7a87.go new file mode 100644 index 0000000000..6ad40d5871 --- /dev/null +++ b/identitygovernance/d3a4c28a40d1576186b4265f76986ae23dc7b7a534ec1ca7297344595e1f7a87.go @@ -0,0 +1,93 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package identitygovernance + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" + ibf6ed4fc8e373ed2600905053a507c004671ad1749cb4b6b77078a908490c430 "github.com/microsoftgraph/msgraph-sdk-go/models/identitygovernance" +) + +type LifecycleWorkflowsDeletedItemsWorkflowsItemMicrosoftGraphIdentityGovernancePreviewTaskFailuresPreviewTaskFailuresPostResponse struct { + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.BaseCollectionPaginationCountResponse +} +// NewLifecycleWorkflowsDeletedItemsWorkflowsItemMicrosoftGraphIdentityGovernancePreviewTaskFailuresPreviewTaskFailuresPostResponse instantiates a new LifecycleWorkflowsDeletedItemsWorkflowsItemMicrosoftGraphIdentityGovernancePreviewTaskFailuresPreviewTaskFailuresPostResponse and sets the default values. +func NewLifecycleWorkflowsDeletedItemsWorkflowsItemMicrosoftGraphIdentityGovernancePreviewTaskFailuresPreviewTaskFailuresPostResponse()(*LifecycleWorkflowsDeletedItemsWorkflowsItemMicrosoftGraphIdentityGovernancePreviewTaskFailuresPreviewTaskFailuresPostResponse) { + m := &LifecycleWorkflowsDeletedItemsWorkflowsItemMicrosoftGraphIdentityGovernancePreviewTaskFailuresPreviewTaskFailuresPostResponse{ + BaseCollectionPaginationCountResponse: *iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.NewBaseCollectionPaginationCountResponse(), + } + return m +} +// CreateLifecycleWorkflowsDeletedItemsWorkflowsItemMicrosoftGraphIdentityGovernancePreviewTaskFailuresPreviewTaskFailuresPostResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateLifecycleWorkflowsDeletedItemsWorkflowsItemMicrosoftGraphIdentityGovernancePreviewTaskFailuresPreviewTaskFailuresPostResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewLifecycleWorkflowsDeletedItemsWorkflowsItemMicrosoftGraphIdentityGovernancePreviewTaskFailuresPreviewTaskFailuresPostResponse(), nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemMicrosoftGraphIdentityGovernancePreviewTaskFailuresPreviewTaskFailuresPostResponse) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.BaseCollectionPaginationCountResponse.GetFieldDeserializers() + res["value"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(ibf6ed4fc8e373ed2600905053a507c004671ad1749cb4b6b77078a908490c430.CreatePreviewFailedTaskFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]ibf6ed4fc8e373ed2600905053a507c004671ad1749cb4b6b77078a908490c430.PreviewFailedTaskable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(ibf6ed4fc8e373ed2600905053a507c004671ad1749cb4b6b77078a908490c430.PreviewFailedTaskable) + } + } + m.SetValue(res) + } + return nil + } + return res +} +// GetValue gets the value property value. The value property +// returns a []PreviewFailedTaskable when successful +func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemMicrosoftGraphIdentityGovernancePreviewTaskFailuresPreviewTaskFailuresPostResponse) GetValue()([]ibf6ed4fc8e373ed2600905053a507c004671ad1749cb4b6b77078a908490c430.PreviewFailedTaskable) { + val, err := m.GetBackingStore().Get("value") + if err != nil { + panic(err) + } + if val != nil { + return val.([]ibf6ed4fc8e373ed2600905053a507c004671ad1749cb4b6b77078a908490c430.PreviewFailedTaskable) + } + return nil +} +// Serialize serializes information the current object +func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemMicrosoftGraphIdentityGovernancePreviewTaskFailuresPreviewTaskFailuresPostResponse) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.BaseCollectionPaginationCountResponse.Serialize(writer) + if err != nil { + return err + } + if m.GetValue() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetValue())) + for i, v := range m.GetValue() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err = writer.WriteCollectionOfObjectValues("value", cast) + if err != nil { + return err + } + } + return nil +} +// SetValue sets the value property value. The value property +func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemMicrosoftGraphIdentityGovernancePreviewTaskFailuresPreviewTaskFailuresPostResponse) SetValue(value []ibf6ed4fc8e373ed2600905053a507c004671ad1749cb4b6b77078a908490c430.PreviewFailedTaskable)() { + err := m.GetBackingStore().Set("value", value) + if err != nil { + panic(err) + } +} +type LifecycleWorkflowsDeletedItemsWorkflowsItemMicrosoftGraphIdentityGovernancePreviewTaskFailuresPreviewTaskFailuresPostResponseable interface { + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.BaseCollectionPaginationCountResponseable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetValue()([]ibf6ed4fc8e373ed2600905053a507c004671ad1749cb4b6b77078a908490c430.PreviewFailedTaskable) + SetValue(value []ibf6ed4fc8e373ed2600905053a507c004671ad1749cb4b6b77078a908490c430.PreviewFailedTaskable)() +} diff --git a/identitygovernance/entitlement_management_access_package_suggestions_access_package_suggestion_item_request_builder.go b/identitygovernance/entitlement_management_access_package_suggestions_access_package_suggestion_item_request_builder.go new file mode 100644 index 0000000000..7a18f47849 --- /dev/null +++ b/identitygovernance/entitlement_management_access_package_suggestions_access_package_suggestion_item_request_builder.go @@ -0,0 +1,165 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package identitygovernance + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// EntitlementManagementAccessPackageSuggestionsAccessPackageSuggestionItemRequestBuilder provides operations to manage the accessPackageSuggestions property of the microsoft.graph.entitlementManagement entity. +type EntitlementManagementAccessPackageSuggestionsAccessPackageSuggestionItemRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// EntitlementManagementAccessPackageSuggestionsAccessPackageSuggestionItemRequestBuilderDeleteRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type EntitlementManagementAccessPackageSuggestionsAccessPackageSuggestionItemRequestBuilderDeleteRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// EntitlementManagementAccessPackageSuggestionsAccessPackageSuggestionItemRequestBuilderGetQueryParameters suggested access packages for end users based on various criteria such as related people insights and assignment history. +type EntitlementManagementAccessPackageSuggestionsAccessPackageSuggestionItemRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string "uriparametername:\"%24expand\"" + // Select properties to be returned + Select []string "uriparametername:\"%24select\"" +} +// EntitlementManagementAccessPackageSuggestionsAccessPackageSuggestionItemRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type EntitlementManagementAccessPackageSuggestionsAccessPackageSuggestionItemRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *EntitlementManagementAccessPackageSuggestionsAccessPackageSuggestionItemRequestBuilderGetQueryParameters +} +// EntitlementManagementAccessPackageSuggestionsAccessPackageSuggestionItemRequestBuilderPatchRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type EntitlementManagementAccessPackageSuggestionsAccessPackageSuggestionItemRequestBuilderPatchRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// AccessPackage provides operations to manage the accessPackage property of the microsoft.graph.accessPackageSuggestion entity. +// returns a *EntitlementManagementAccessPackageSuggestionsItemAccessPackageRequestBuilder when successful +func (m *EntitlementManagementAccessPackageSuggestionsAccessPackageSuggestionItemRequestBuilder) AccessPackage()(*EntitlementManagementAccessPackageSuggestionsItemAccessPackageRequestBuilder) { + return NewEntitlementManagementAccessPackageSuggestionsItemAccessPackageRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// NewEntitlementManagementAccessPackageSuggestionsAccessPackageSuggestionItemRequestBuilderInternal instantiates a new EntitlementManagementAccessPackageSuggestionsAccessPackageSuggestionItemRequestBuilder and sets the default values. +func NewEntitlementManagementAccessPackageSuggestionsAccessPackageSuggestionItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*EntitlementManagementAccessPackageSuggestionsAccessPackageSuggestionItemRequestBuilder) { + m := &EntitlementManagementAccessPackageSuggestionsAccessPackageSuggestionItemRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/identityGovernance/entitlementManagement/accessPackageSuggestions/{accessPackageSuggestion%2Did}{?%24expand,%24select}", pathParameters), + } + return m +} +// NewEntitlementManagementAccessPackageSuggestionsAccessPackageSuggestionItemRequestBuilder instantiates a new EntitlementManagementAccessPackageSuggestionsAccessPackageSuggestionItemRequestBuilder and sets the default values. +func NewEntitlementManagementAccessPackageSuggestionsAccessPackageSuggestionItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*EntitlementManagementAccessPackageSuggestionsAccessPackageSuggestionItemRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewEntitlementManagementAccessPackageSuggestionsAccessPackageSuggestionItemRequestBuilderInternal(urlParams, requestAdapter) +} +// Delete delete navigation property accessPackageSuggestions for identityGovernance +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *EntitlementManagementAccessPackageSuggestionsAccessPackageSuggestionItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *EntitlementManagementAccessPackageSuggestionsAccessPackageSuggestionItemRequestBuilderDeleteRequestConfiguration)(error) { + requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); + if err != nil { + return err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + err = m.BaseRequestBuilder.RequestAdapter.SendNoContent(ctx, requestInfo, errorMapping) + if err != nil { + return err + } + return nil +} +// Get suggested access packages for end users based on various criteria such as related people insights and assignment history. +// returns a AccessPackageSuggestionable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *EntitlementManagementAccessPackageSuggestionsAccessPackageSuggestionItemRequestBuilder) Get(ctx context.Context, requestConfiguration *EntitlementManagementAccessPackageSuggestionsAccessPackageSuggestionItemRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.AccessPackageSuggestionable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateAccessPackageSuggestionFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.AccessPackageSuggestionable), nil +} +// Patch update the navigation property accessPackageSuggestions in identityGovernance +// returns a AccessPackageSuggestionable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *EntitlementManagementAccessPackageSuggestionsAccessPackageSuggestionItemRequestBuilder) Patch(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.AccessPackageSuggestionable, requestConfiguration *EntitlementManagementAccessPackageSuggestionsAccessPackageSuggestionItemRequestBuilderPatchRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.AccessPackageSuggestionable, error) { + requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateAccessPackageSuggestionFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.AccessPackageSuggestionable), nil +} +// ToDeleteRequestInformation delete navigation property accessPackageSuggestions for identityGovernance +// returns a *RequestInformation when successful +func (m *EntitlementManagementAccessPackageSuggestionsAccessPackageSuggestionItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *EntitlementManagementAccessPackageSuggestionsAccessPackageSuggestionItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToGetRequestInformation suggested access packages for end users based on various criteria such as related people insights and assignment history. +// returns a *RequestInformation when successful +func (m *EntitlementManagementAccessPackageSuggestionsAccessPackageSuggestionItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *EntitlementManagementAccessPackageSuggestionsAccessPackageSuggestionItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToPatchRequestInformation update the navigation property accessPackageSuggestions in identityGovernance +// returns a *RequestInformation when successful +func (m *EntitlementManagementAccessPackageSuggestionsAccessPackageSuggestionItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.AccessPackageSuggestionable, requestConfiguration *EntitlementManagementAccessPackageSuggestionsAccessPackageSuggestionItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *EntitlementManagementAccessPackageSuggestionsAccessPackageSuggestionItemRequestBuilder when successful +func (m *EntitlementManagementAccessPackageSuggestionsAccessPackageSuggestionItemRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackageSuggestionsAccessPackageSuggestionItemRequestBuilder) { + return NewEntitlementManagementAccessPackageSuggestionsAccessPackageSuggestionItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_access_package_suggestions_count_request_builder.go b/identitygovernance/entitlement_management_access_package_suggestions_count_request_builder.go new file mode 100644 index 0000000000..a81354ec5c --- /dev/null +++ b/identitygovernance/entitlement_management_access_package_suggestions_count_request_builder.go @@ -0,0 +1,83 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package identitygovernance + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// EntitlementManagementAccessPackageSuggestionsCountRequestBuilder provides operations to count the resources in the collection. +type EntitlementManagementAccessPackageSuggestionsCountRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// EntitlementManagementAccessPackageSuggestionsCountRequestBuilderGetQueryParameters get the number of the resource +type EntitlementManagementAccessPackageSuggestionsCountRequestBuilderGetQueryParameters struct { + // Filter items by property values + Filter *string "uriparametername:\"%24filter\"" + // Search items by search phrases + Search *string "uriparametername:\"%24search\"" +} +// EntitlementManagementAccessPackageSuggestionsCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type EntitlementManagementAccessPackageSuggestionsCountRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *EntitlementManagementAccessPackageSuggestionsCountRequestBuilderGetQueryParameters +} +// NewEntitlementManagementAccessPackageSuggestionsCountRequestBuilderInternal instantiates a new EntitlementManagementAccessPackageSuggestionsCountRequestBuilder and sets the default values. +func NewEntitlementManagementAccessPackageSuggestionsCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*EntitlementManagementAccessPackageSuggestionsCountRequestBuilder) { + m := &EntitlementManagementAccessPackageSuggestionsCountRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/identityGovernance/entitlementManagement/accessPackageSuggestions/$count{?%24filter,%24search}", pathParameters), + } + return m +} +// NewEntitlementManagementAccessPackageSuggestionsCountRequestBuilder instantiates a new EntitlementManagementAccessPackageSuggestionsCountRequestBuilder and sets the default values. +func NewEntitlementManagementAccessPackageSuggestionsCountRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*EntitlementManagementAccessPackageSuggestionsCountRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewEntitlementManagementAccessPackageSuggestionsCountRequestBuilderInternal(urlParams, requestAdapter) +} +// Get get the number of the resource +// returns a *int32 when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *EntitlementManagementAccessPackageSuggestionsCountRequestBuilder) Get(ctx context.Context, requestConfiguration *EntitlementManagementAccessPackageSuggestionsCountRequestBuilderGetRequestConfiguration)(*int32, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.SendPrimitive(ctx, requestInfo, "int32", errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(*int32), nil +} +// ToGetRequestInformation get the number of the resource +// returns a *RequestInformation when successful +func (m *EntitlementManagementAccessPackageSuggestionsCountRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *EntitlementManagementAccessPackageSuggestionsCountRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9") + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *EntitlementManagementAccessPackageSuggestionsCountRequestBuilder when successful +func (m *EntitlementManagementAccessPackageSuggestionsCountRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackageSuggestionsCountRequestBuilder) { + return NewEntitlementManagementAccessPackageSuggestionsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_access_package_suggestions_filter_by_current_user_with_on_get_response.go b/identitygovernance/entitlement_management_access_package_suggestions_filter_by_current_user_with_on_get_response.go new file mode 100644 index 0000000000..905c34e186 --- /dev/null +++ b/identitygovernance/entitlement_management_access_package_suggestions_filter_by_current_user_with_on_get_response.go @@ -0,0 +1,92 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package identitygovernance + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" +) + +type EntitlementManagementAccessPackageSuggestionsFilterByCurrentUserWithOnGetResponse struct { + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.BaseCollectionPaginationCountResponse +} +// NewEntitlementManagementAccessPackageSuggestionsFilterByCurrentUserWithOnGetResponse instantiates a new EntitlementManagementAccessPackageSuggestionsFilterByCurrentUserWithOnGetResponse and sets the default values. +func NewEntitlementManagementAccessPackageSuggestionsFilterByCurrentUserWithOnGetResponse()(*EntitlementManagementAccessPackageSuggestionsFilterByCurrentUserWithOnGetResponse) { + m := &EntitlementManagementAccessPackageSuggestionsFilterByCurrentUserWithOnGetResponse{ + BaseCollectionPaginationCountResponse: *iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.NewBaseCollectionPaginationCountResponse(), + } + return m +} +// CreateEntitlementManagementAccessPackageSuggestionsFilterByCurrentUserWithOnGetResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateEntitlementManagementAccessPackageSuggestionsFilterByCurrentUserWithOnGetResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewEntitlementManagementAccessPackageSuggestionsFilterByCurrentUserWithOnGetResponse(), nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *EntitlementManagementAccessPackageSuggestionsFilterByCurrentUserWithOnGetResponse) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.BaseCollectionPaginationCountResponse.GetFieldDeserializers() + res["value"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateAccessPackageSuggestionFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.AccessPackageSuggestionable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.AccessPackageSuggestionable) + } + } + m.SetValue(res) + } + return nil + } + return res +} +// GetValue gets the value property value. The value property +// returns a []AccessPackageSuggestionable when successful +func (m *EntitlementManagementAccessPackageSuggestionsFilterByCurrentUserWithOnGetResponse) GetValue()([]iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.AccessPackageSuggestionable) { + val, err := m.GetBackingStore().Get("value") + if err != nil { + panic(err) + } + if val != nil { + return val.([]iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.AccessPackageSuggestionable) + } + return nil +} +// Serialize serializes information the current object +func (m *EntitlementManagementAccessPackageSuggestionsFilterByCurrentUserWithOnGetResponse) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.BaseCollectionPaginationCountResponse.Serialize(writer) + if err != nil { + return err + } + if m.GetValue() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetValue())) + for i, v := range m.GetValue() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err = writer.WriteCollectionOfObjectValues("value", cast) + if err != nil { + return err + } + } + return nil +} +// SetValue sets the value property value. The value property +func (m *EntitlementManagementAccessPackageSuggestionsFilterByCurrentUserWithOnGetResponse) SetValue(value []iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.AccessPackageSuggestionable)() { + err := m.GetBackingStore().Set("value", value) + if err != nil { + panic(err) + } +} +type EntitlementManagementAccessPackageSuggestionsFilterByCurrentUserWithOnGetResponseable interface { + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.BaseCollectionPaginationCountResponseable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetValue()([]iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.AccessPackageSuggestionable) + SetValue(value []iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.AccessPackageSuggestionable)() +} diff --git a/identitygovernance/entitlement_management_access_package_suggestions_filter_by_current_user_with_on_request_builder.go b/identitygovernance/entitlement_management_access_package_suggestions_filter_by_current_user_with_on_request_builder.go new file mode 100644 index 0000000000..697647d6fe --- /dev/null +++ b/identitygovernance/entitlement_management_access_package_suggestions_filter_by_current_user_with_on_request_builder.go @@ -0,0 +1,125 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package identitygovernance + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// EntitlementManagementAccessPackageSuggestionsFilterByCurrentUserWithOnRequestBuilder provides operations to call the filterByCurrentUser method. +type EntitlementManagementAccessPackageSuggestionsFilterByCurrentUserWithOnRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// EntitlementManagementAccessPackageSuggestionsFilterByCurrentUserWithOnRequestBuilderGetQueryParameters retrieve suggested accessPackageSuggestion objects for the current end user. This operation returns access packages that are suggested based on various criteria such as related people insights and the user's assignment history. The suggestions help end users discover relevant access packages they may need for their role or work context. +type EntitlementManagementAccessPackageSuggestionsFilterByCurrentUserWithOnRequestBuilderGetQueryParameters struct { + // Include count of items + Count *bool "uriparametername:\"%24count\"" + // Expand related entities + Expand []string "uriparametername:\"%24expand\"" + // Filter items by property values + Filter *string "uriparametername:\"%24filter\"" + // Order items by property values + Orderby []string "uriparametername:\"%24orderby\"" + // Search items by search phrases + Search *string "uriparametername:\"%24search\"" + // Select properties to be returned + Select []string "uriparametername:\"%24select\"" + // Skip the first n items + Skip *int32 "uriparametername:\"%24skip\"" + // Show only the first n items + Top *int32 "uriparametername:\"%24top\"" +} +// EntitlementManagementAccessPackageSuggestionsFilterByCurrentUserWithOnRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type EntitlementManagementAccessPackageSuggestionsFilterByCurrentUserWithOnRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *EntitlementManagementAccessPackageSuggestionsFilterByCurrentUserWithOnRequestBuilderGetQueryParameters +} +// NewEntitlementManagementAccessPackageSuggestionsFilterByCurrentUserWithOnRequestBuilderInternal instantiates a new EntitlementManagementAccessPackageSuggestionsFilterByCurrentUserWithOnRequestBuilder and sets the default values. +func NewEntitlementManagementAccessPackageSuggestionsFilterByCurrentUserWithOnRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter, on *string)(*EntitlementManagementAccessPackageSuggestionsFilterByCurrentUserWithOnRequestBuilder) { + m := &EntitlementManagementAccessPackageSuggestionsFilterByCurrentUserWithOnRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/identityGovernance/entitlementManagement/accessPackageSuggestions/filterByCurrentUser(on='{on}'){?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), + } + if on != nil { + m.BaseRequestBuilder.PathParameters["on"] = *on + } + return m +} +// NewEntitlementManagementAccessPackageSuggestionsFilterByCurrentUserWithOnRequestBuilder instantiates a new EntitlementManagementAccessPackageSuggestionsFilterByCurrentUserWithOnRequestBuilder and sets the default values. +func NewEntitlementManagementAccessPackageSuggestionsFilterByCurrentUserWithOnRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*EntitlementManagementAccessPackageSuggestionsFilterByCurrentUserWithOnRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewEntitlementManagementAccessPackageSuggestionsFilterByCurrentUserWithOnRequestBuilderInternal(urlParams, requestAdapter, nil) +} +// Get retrieve suggested accessPackageSuggestion objects for the current end user. This operation returns access packages that are suggested based on various criteria such as related people insights and the user's assignment history. The suggestions help end users discover relevant access packages they may need for their role or work context. +// Deprecated: This method is obsolete. Use GetAsFilterByCurrentUserWithOnGetResponse instead. +// returns a EntitlementManagementAccessPackageSuggestionsFilterByCurrentUserWithOnResponseable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/accesspackagesuggestions-filterbycurrentuser?view=graph-rest-1.0 +func (m *EntitlementManagementAccessPackageSuggestionsFilterByCurrentUserWithOnRequestBuilder) Get(ctx context.Context, requestConfiguration *EntitlementManagementAccessPackageSuggestionsFilterByCurrentUserWithOnRequestBuilderGetRequestConfiguration)(EntitlementManagementAccessPackageSuggestionsFilterByCurrentUserWithOnResponseable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, CreateEntitlementManagementAccessPackageSuggestionsFilterByCurrentUserWithOnResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(EntitlementManagementAccessPackageSuggestionsFilterByCurrentUserWithOnResponseable), nil +} +// GetAsFilterByCurrentUserWithOnGetResponse retrieve suggested accessPackageSuggestion objects for the current end user. This operation returns access packages that are suggested based on various criteria such as related people insights and the user's assignment history. The suggestions help end users discover relevant access packages they may need for their role or work context. +// returns a EntitlementManagementAccessPackageSuggestionsFilterByCurrentUserWithOnGetResponseable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/accesspackagesuggestions-filterbycurrentuser?view=graph-rest-1.0 +func (m *EntitlementManagementAccessPackageSuggestionsFilterByCurrentUserWithOnRequestBuilder) GetAsFilterByCurrentUserWithOnGetResponse(ctx context.Context, requestConfiguration *EntitlementManagementAccessPackageSuggestionsFilterByCurrentUserWithOnRequestBuilderGetRequestConfiguration)(EntitlementManagementAccessPackageSuggestionsFilterByCurrentUserWithOnGetResponseable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, CreateEntitlementManagementAccessPackageSuggestionsFilterByCurrentUserWithOnGetResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(EntitlementManagementAccessPackageSuggestionsFilterByCurrentUserWithOnGetResponseable), nil +} +// ToGetRequestInformation retrieve suggested accessPackageSuggestion objects for the current end user. This operation returns access packages that are suggested based on various criteria such as related people insights and the user's assignment history. The suggestions help end users discover relevant access packages they may need for their role or work context. +// returns a *RequestInformation when successful +func (m *EntitlementManagementAccessPackageSuggestionsFilterByCurrentUserWithOnRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *EntitlementManagementAccessPackageSuggestionsFilterByCurrentUserWithOnRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *EntitlementManagementAccessPackageSuggestionsFilterByCurrentUserWithOnRequestBuilder when successful +func (m *EntitlementManagementAccessPackageSuggestionsFilterByCurrentUserWithOnRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackageSuggestionsFilterByCurrentUserWithOnRequestBuilder) { + return NewEntitlementManagementAccessPackageSuggestionsFilterByCurrentUserWithOnRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_access_package_suggestions_filter_by_current_user_with_on_response.go b/identitygovernance/entitlement_management_access_package_suggestions_filter_by_current_user_with_on_response.go new file mode 100644 index 0000000000..6b6cad7b71 --- /dev/null +++ b/identitygovernance/entitlement_management_access_package_suggestions_filter_by_current_user_with_on_response.go @@ -0,0 +1,30 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package identitygovernance + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +// Deprecated: This class is obsolete. Use EntitlementManagementAccessPackageSuggestionsFilterByCurrentUserWithOnGetResponseable instead. +type EntitlementManagementAccessPackageSuggestionsFilterByCurrentUserWithOnResponse struct { + EntitlementManagementAccessPackageSuggestionsFilterByCurrentUserWithOnGetResponse +} +// NewEntitlementManagementAccessPackageSuggestionsFilterByCurrentUserWithOnResponse instantiates a new EntitlementManagementAccessPackageSuggestionsFilterByCurrentUserWithOnResponse and sets the default values. +func NewEntitlementManagementAccessPackageSuggestionsFilterByCurrentUserWithOnResponse()(*EntitlementManagementAccessPackageSuggestionsFilterByCurrentUserWithOnResponse) { + m := &EntitlementManagementAccessPackageSuggestionsFilterByCurrentUserWithOnResponse{ + EntitlementManagementAccessPackageSuggestionsFilterByCurrentUserWithOnGetResponse: *NewEntitlementManagementAccessPackageSuggestionsFilterByCurrentUserWithOnGetResponse(), + } + return m +} +// CreateEntitlementManagementAccessPackageSuggestionsFilterByCurrentUserWithOnResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateEntitlementManagementAccessPackageSuggestionsFilterByCurrentUserWithOnResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewEntitlementManagementAccessPackageSuggestionsFilterByCurrentUserWithOnResponse(), nil +} +// Deprecated: This class is obsolete. Use EntitlementManagementAccessPackageSuggestionsFilterByCurrentUserWithOnGetResponseable instead. +type EntitlementManagementAccessPackageSuggestionsFilterByCurrentUserWithOnResponseable interface { + EntitlementManagementAccessPackageSuggestionsFilterByCurrentUserWithOnGetResponseable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +} diff --git a/identitygovernance/entitlement_management_access_package_suggestions_item_access_package_request_builder.go b/identitygovernance/entitlement_management_access_package_suggestions_item_access_package_request_builder.go new file mode 100644 index 0000000000..4c921d0ce0 --- /dev/null +++ b/identitygovernance/entitlement_management_access_package_suggestions_item_access_package_request_builder.go @@ -0,0 +1,84 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package identitygovernance + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// EntitlementManagementAccessPackageSuggestionsItemAccessPackageRequestBuilder provides operations to manage the accessPackage property of the microsoft.graph.accessPackageSuggestion entity. +type EntitlementManagementAccessPackageSuggestionsItemAccessPackageRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// EntitlementManagementAccessPackageSuggestionsItemAccessPackageRequestBuilderGetQueryParameters the access package information for the suggested package. +type EntitlementManagementAccessPackageSuggestionsItemAccessPackageRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string "uriparametername:\"%24expand\"" + // Select properties to be returned + Select []string "uriparametername:\"%24select\"" +} +// EntitlementManagementAccessPackageSuggestionsItemAccessPackageRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type EntitlementManagementAccessPackageSuggestionsItemAccessPackageRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *EntitlementManagementAccessPackageSuggestionsItemAccessPackageRequestBuilderGetQueryParameters +} +// NewEntitlementManagementAccessPackageSuggestionsItemAccessPackageRequestBuilderInternal instantiates a new EntitlementManagementAccessPackageSuggestionsItemAccessPackageRequestBuilder and sets the default values. +func NewEntitlementManagementAccessPackageSuggestionsItemAccessPackageRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*EntitlementManagementAccessPackageSuggestionsItemAccessPackageRequestBuilder) { + m := &EntitlementManagementAccessPackageSuggestionsItemAccessPackageRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/identityGovernance/entitlementManagement/accessPackageSuggestions/{accessPackageSuggestion%2Did}/accessPackage{?%24expand,%24select}", pathParameters), + } + return m +} +// NewEntitlementManagementAccessPackageSuggestionsItemAccessPackageRequestBuilder instantiates a new EntitlementManagementAccessPackageSuggestionsItemAccessPackageRequestBuilder and sets the default values. +func NewEntitlementManagementAccessPackageSuggestionsItemAccessPackageRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*EntitlementManagementAccessPackageSuggestionsItemAccessPackageRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewEntitlementManagementAccessPackageSuggestionsItemAccessPackageRequestBuilderInternal(urlParams, requestAdapter) +} +// Get the access package information for the suggested package. +// returns a AvailableAccessPackageable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *EntitlementManagementAccessPackageSuggestionsItemAccessPackageRequestBuilder) Get(ctx context.Context, requestConfiguration *EntitlementManagementAccessPackageSuggestionsItemAccessPackageRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.AvailableAccessPackageable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateAvailableAccessPackageFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.AvailableAccessPackageable), nil +} +// ToGetRequestInformation the access package information for the suggested package. +// returns a *RequestInformation when successful +func (m *EntitlementManagementAccessPackageSuggestionsItemAccessPackageRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *EntitlementManagementAccessPackageSuggestionsItemAccessPackageRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *EntitlementManagementAccessPackageSuggestionsItemAccessPackageRequestBuilder when successful +func (m *EntitlementManagementAccessPackageSuggestionsItemAccessPackageRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackageSuggestionsItemAccessPackageRequestBuilder) { + return NewEntitlementManagementAccessPackageSuggestionsItemAccessPackageRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_access_package_suggestions_request_builder.go b/identitygovernance/entitlement_management_access_package_suggestions_request_builder.go new file mode 100644 index 0000000000..082c52aeaf --- /dev/null +++ b/identitygovernance/entitlement_management_access_package_suggestions_request_builder.go @@ -0,0 +1,160 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package identitygovernance + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// EntitlementManagementAccessPackageSuggestionsRequestBuilder provides operations to manage the accessPackageSuggestions property of the microsoft.graph.entitlementManagement entity. +type EntitlementManagementAccessPackageSuggestionsRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// EntitlementManagementAccessPackageSuggestionsRequestBuilderGetQueryParameters suggested access packages for end users based on various criteria such as related people insights and assignment history. +type EntitlementManagementAccessPackageSuggestionsRequestBuilderGetQueryParameters struct { + // Include count of items + Count *bool "uriparametername:\"%24count\"" + // Expand related entities + Expand []string "uriparametername:\"%24expand\"" + // Filter items by property values + Filter *string "uriparametername:\"%24filter\"" + // Order items by property values + Orderby []string "uriparametername:\"%24orderby\"" + // Search items by search phrases + Search *string "uriparametername:\"%24search\"" + // Select properties to be returned + Select []string "uriparametername:\"%24select\"" + // Skip the first n items + Skip *int32 "uriparametername:\"%24skip\"" + // Show only the first n items + Top *int32 "uriparametername:\"%24top\"" +} +// EntitlementManagementAccessPackageSuggestionsRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type EntitlementManagementAccessPackageSuggestionsRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *EntitlementManagementAccessPackageSuggestionsRequestBuilderGetQueryParameters +} +// EntitlementManagementAccessPackageSuggestionsRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type EntitlementManagementAccessPackageSuggestionsRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// ByAccessPackageSuggestionId provides operations to manage the accessPackageSuggestions property of the microsoft.graph.entitlementManagement entity. +// returns a *EntitlementManagementAccessPackageSuggestionsAccessPackageSuggestionItemRequestBuilder when successful +func (m *EntitlementManagementAccessPackageSuggestionsRequestBuilder) ByAccessPackageSuggestionId(accessPackageSuggestionId string)(*EntitlementManagementAccessPackageSuggestionsAccessPackageSuggestionItemRequestBuilder) { + urlTplParams := make(map[string]string) + for idx, item := range m.BaseRequestBuilder.PathParameters { + urlTplParams[idx] = item + } + if accessPackageSuggestionId != "" { + urlTplParams["accessPackageSuggestion%2Did"] = accessPackageSuggestionId + } + return NewEntitlementManagementAccessPackageSuggestionsAccessPackageSuggestionItemRequestBuilderInternal(urlTplParams, m.BaseRequestBuilder.RequestAdapter) +} +// NewEntitlementManagementAccessPackageSuggestionsRequestBuilderInternal instantiates a new EntitlementManagementAccessPackageSuggestionsRequestBuilder and sets the default values. +func NewEntitlementManagementAccessPackageSuggestionsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*EntitlementManagementAccessPackageSuggestionsRequestBuilder) { + m := &EntitlementManagementAccessPackageSuggestionsRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/identityGovernance/entitlementManagement/accessPackageSuggestions{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), + } + return m +} +// NewEntitlementManagementAccessPackageSuggestionsRequestBuilder instantiates a new EntitlementManagementAccessPackageSuggestionsRequestBuilder and sets the default values. +func NewEntitlementManagementAccessPackageSuggestionsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*EntitlementManagementAccessPackageSuggestionsRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewEntitlementManagementAccessPackageSuggestionsRequestBuilderInternal(urlParams, requestAdapter) +} +// Count provides operations to count the resources in the collection. +// returns a *EntitlementManagementAccessPackageSuggestionsCountRequestBuilder when successful +func (m *EntitlementManagementAccessPackageSuggestionsRequestBuilder) Count()(*EntitlementManagementAccessPackageSuggestionsCountRequestBuilder) { + return NewEntitlementManagementAccessPackageSuggestionsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// FilterByCurrentUserWithOn provides operations to call the filterByCurrentUser method. +// returns a *EntitlementManagementAccessPackageSuggestionsFilterByCurrentUserWithOnRequestBuilder when successful +func (m *EntitlementManagementAccessPackageSuggestionsRequestBuilder) FilterByCurrentUserWithOn(on *string)(*EntitlementManagementAccessPackageSuggestionsFilterByCurrentUserWithOnRequestBuilder) { + return NewEntitlementManagementAccessPackageSuggestionsFilterByCurrentUserWithOnRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter, on) +} +// Get suggested access packages for end users based on various criteria such as related people insights and assignment history. +// returns a AccessPackageSuggestionCollectionResponseable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *EntitlementManagementAccessPackageSuggestionsRequestBuilder) Get(ctx context.Context, requestConfiguration *EntitlementManagementAccessPackageSuggestionsRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.AccessPackageSuggestionCollectionResponseable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateAccessPackageSuggestionCollectionResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.AccessPackageSuggestionCollectionResponseable), nil +} +// Post create new navigation property to accessPackageSuggestions for identityGovernance +// returns a AccessPackageSuggestionable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *EntitlementManagementAccessPackageSuggestionsRequestBuilder) Post(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.AccessPackageSuggestionable, requestConfiguration *EntitlementManagementAccessPackageSuggestionsRequestBuilderPostRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.AccessPackageSuggestionable, error) { + requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateAccessPackageSuggestionFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.AccessPackageSuggestionable), nil +} +// ToGetRequestInformation suggested access packages for end users based on various criteria such as related people insights and assignment history. +// returns a *RequestInformation when successful +func (m *EntitlementManagementAccessPackageSuggestionsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *EntitlementManagementAccessPackageSuggestionsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToPostRequestInformation create new navigation property to accessPackageSuggestions for identityGovernance +// returns a *RequestInformation when successful +func (m *EntitlementManagementAccessPackageSuggestionsRequestBuilder) ToPostRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.AccessPackageSuggestionable, requestConfiguration *EntitlementManagementAccessPackageSuggestionsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *EntitlementManagementAccessPackageSuggestionsRequestBuilder when successful +func (m *EntitlementManagementAccessPackageSuggestionsRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackageSuggestionsRequestBuilder) { + return NewEntitlementManagementAccessPackageSuggestionsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_access_packages_item_incompatible_access_packages_ref_request_builder.go b/identitygovernance/entitlement_management_access_packages_item_incompatible_access_packages_ref_request_builder.go index 63ae35d6b8..60c519ac9c 100644 --- a/identitygovernance/entitlement_management_access_packages_item_incompatible_access_packages_ref_request_builder.go +++ b/identitygovernance/entitlement_management_access_packages_item_incompatible_access_packages_ref_request_builder.go @@ -62,7 +62,7 @@ type EntitlementManagementAccessPackagesItemIncompatibleAccessPackagesRefRequest // NewEntitlementManagementAccessPackagesItemIncompatibleAccessPackagesRefRequestBuilderInternal instantiates a new EntitlementManagementAccessPackagesItemIncompatibleAccessPackagesRefRequestBuilder and sets the default values. func NewEntitlementManagementAccessPackagesItemIncompatibleAccessPackagesRefRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*EntitlementManagementAccessPackagesItemIncompatibleAccessPackagesRefRequestBuilder) { m := &EntitlementManagementAccessPackagesItemIncompatibleAccessPackagesRefRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/identityGovernance/entitlementManagement/accessPackages/{accessPackage%2Did}/incompatibleAccessPackages/$ref?@id={%40id}{&%24count,%24filter,%24orderby,%24search,%24skip,%24top}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/identityGovernance/entitlementManagement/accessPackages/{accessPackage%2Did}/incompatibleAccessPackages/$ref{?%24count,%24filter,%24orderby,%24search,%24skip,%24top}", pathParameters), } return m } @@ -150,7 +150,7 @@ func (m *EntitlementManagementAccessPackagesItemIncompatibleAccessPackagesRefReq // ToGetRequestInformation retrieve a list of the accessPackage objects that have been marked as incompatible on an accessPackage. // returns a *RequestInformation when successful func (m *EntitlementManagementAccessPackagesItemIncompatibleAccessPackagesRefRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *EntitlementManagementAccessPackagesItemIncompatibleAccessPackagesRefRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { - requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, "{+baseurl}/identityGovernance/entitlementManagement/accessPackages/{accessPackage%2Did}/incompatibleAccessPackages/$ref{?%24count,%24filter,%24orderby,%24search,%24skip,%24top}", m.BaseRequestBuilder.PathParameters) + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) if requestConfiguration != nil { if requestConfiguration.QueryParameters != nil { requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) @@ -164,7 +164,7 @@ func (m *EntitlementManagementAccessPackagesItemIncompatibleAccessPackagesRefReq // ToPostRequestInformation add an accessPackage to the list of access packages that have been marked as incompatible on an accessPackage. // returns a *RequestInformation when successful func (m *EntitlementManagementAccessPackagesItemIncompatibleAccessPackagesRefRequestBuilder) ToPostRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ReferenceCreateable, requestConfiguration *EntitlementManagementAccessPackagesItemIncompatibleAccessPackagesRefRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { - requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, "{+baseurl}/identityGovernance/entitlementManagement/accessPackages/{accessPackage%2Did}/incompatibleAccessPackages/$ref", m.BaseRequestBuilder.PathParameters) + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) if requestConfiguration != nil { requestInfo.Headers.AddAll(requestConfiguration.Headers) requestInfo.AddRequestOptions(requestConfiguration.Options) diff --git a/identitygovernance/entitlement_management_access_packages_item_incompatible_groups_ref_request_builder.go b/identitygovernance/entitlement_management_access_packages_item_incompatible_groups_ref_request_builder.go index e4ff5dc698..4963cf8a8d 100644 --- a/identitygovernance/entitlement_management_access_packages_item_incompatible_groups_ref_request_builder.go +++ b/identitygovernance/entitlement_management_access_packages_item_incompatible_groups_ref_request_builder.go @@ -62,7 +62,7 @@ type EntitlementManagementAccessPackagesItemIncompatibleGroupsRefRequestBuilderP // NewEntitlementManagementAccessPackagesItemIncompatibleGroupsRefRequestBuilderInternal instantiates a new EntitlementManagementAccessPackagesItemIncompatibleGroupsRefRequestBuilder and sets the default values. func NewEntitlementManagementAccessPackagesItemIncompatibleGroupsRefRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*EntitlementManagementAccessPackagesItemIncompatibleGroupsRefRequestBuilder) { m := &EntitlementManagementAccessPackagesItemIncompatibleGroupsRefRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/identityGovernance/entitlementManagement/accessPackages/{accessPackage%2Did}/incompatibleGroups/$ref?@id={%40id}{&%24count,%24filter,%24orderby,%24search,%24skip,%24top}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/identityGovernance/entitlementManagement/accessPackages/{accessPackage%2Did}/incompatibleGroups/$ref{?%24count,%24filter,%24orderby,%24search,%24skip,%24top}", pathParameters), } return m } @@ -150,7 +150,7 @@ func (m *EntitlementManagementAccessPackagesItemIncompatibleGroupsRefRequestBuil // ToGetRequestInformation retrieve a list of the group objects that have been marked as incompatible on an accessPackage. // returns a *RequestInformation when successful func (m *EntitlementManagementAccessPackagesItemIncompatibleGroupsRefRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *EntitlementManagementAccessPackagesItemIncompatibleGroupsRefRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { - requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, "{+baseurl}/identityGovernance/entitlementManagement/accessPackages/{accessPackage%2Did}/incompatibleGroups/$ref{?%24count,%24filter,%24orderby,%24search,%24skip,%24top}", m.BaseRequestBuilder.PathParameters) + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) if requestConfiguration != nil { if requestConfiguration.QueryParameters != nil { requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) @@ -164,7 +164,7 @@ func (m *EntitlementManagementAccessPackagesItemIncompatibleGroupsRefRequestBuil // ToPostRequestInformation add a group to the list of groups that have been marked as incompatible on an accessPackage. // returns a *RequestInformation when successful func (m *EntitlementManagementAccessPackagesItemIncompatibleGroupsRefRequestBuilder) ToPostRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ReferenceCreateable, requestConfiguration *EntitlementManagementAccessPackagesItemIncompatibleGroupsRefRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { - requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, "{+baseurl}/identityGovernance/entitlementManagement/accessPackages/{accessPackage%2Did}/incompatibleGroups/$ref", m.BaseRequestBuilder.PathParameters) + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) if requestConfiguration != nil { requestInfo.Headers.AddAll(requestConfiguration.Headers) requestInfo.AddRequestOptions(requestConfiguration.Options) diff --git a/identitygovernance/entitlement_management_available_access_packages_available_access_package_item_request_builder.go b/identitygovernance/entitlement_management_available_access_packages_available_access_package_item_request_builder.go new file mode 100644 index 0000000000..8da74d3016 --- /dev/null +++ b/identitygovernance/entitlement_management_available_access_packages_available_access_package_item_request_builder.go @@ -0,0 +1,165 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package identitygovernance + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// EntitlementManagementAvailableAccessPackagesAvailableAccessPackageItemRequestBuilder provides operations to manage the availableAccessPackages property of the microsoft.graph.entitlementManagement entity. +type EntitlementManagementAvailableAccessPackagesAvailableAccessPackageItemRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// EntitlementManagementAvailableAccessPackagesAvailableAccessPackageItemRequestBuilderDeleteRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type EntitlementManagementAvailableAccessPackagesAvailableAccessPackageItemRequestBuilderDeleteRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// EntitlementManagementAvailableAccessPackagesAvailableAccessPackageItemRequestBuilderGetQueryParameters access packages available for end users to browse and request. +type EntitlementManagementAvailableAccessPackagesAvailableAccessPackageItemRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string "uriparametername:\"%24expand\"" + // Select properties to be returned + Select []string "uriparametername:\"%24select\"" +} +// EntitlementManagementAvailableAccessPackagesAvailableAccessPackageItemRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type EntitlementManagementAvailableAccessPackagesAvailableAccessPackageItemRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *EntitlementManagementAvailableAccessPackagesAvailableAccessPackageItemRequestBuilderGetQueryParameters +} +// EntitlementManagementAvailableAccessPackagesAvailableAccessPackageItemRequestBuilderPatchRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type EntitlementManagementAvailableAccessPackagesAvailableAccessPackageItemRequestBuilderPatchRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewEntitlementManagementAvailableAccessPackagesAvailableAccessPackageItemRequestBuilderInternal instantiates a new EntitlementManagementAvailableAccessPackagesAvailableAccessPackageItemRequestBuilder and sets the default values. +func NewEntitlementManagementAvailableAccessPackagesAvailableAccessPackageItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*EntitlementManagementAvailableAccessPackagesAvailableAccessPackageItemRequestBuilder) { + m := &EntitlementManagementAvailableAccessPackagesAvailableAccessPackageItemRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/identityGovernance/entitlementManagement/availableAccessPackages/{availableAccessPackage%2Did}{?%24expand,%24select}", pathParameters), + } + return m +} +// NewEntitlementManagementAvailableAccessPackagesAvailableAccessPackageItemRequestBuilder instantiates a new EntitlementManagementAvailableAccessPackagesAvailableAccessPackageItemRequestBuilder and sets the default values. +func NewEntitlementManagementAvailableAccessPackagesAvailableAccessPackageItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*EntitlementManagementAvailableAccessPackagesAvailableAccessPackageItemRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewEntitlementManagementAvailableAccessPackagesAvailableAccessPackageItemRequestBuilderInternal(urlParams, requestAdapter) +} +// Delete delete navigation property availableAccessPackages for identityGovernance +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *EntitlementManagementAvailableAccessPackagesAvailableAccessPackageItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *EntitlementManagementAvailableAccessPackagesAvailableAccessPackageItemRequestBuilderDeleteRequestConfiguration)(error) { + requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); + if err != nil { + return err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + err = m.BaseRequestBuilder.RequestAdapter.SendNoContent(ctx, requestInfo, errorMapping) + if err != nil { + return err + } + return nil +} +// Get access packages available for end users to browse and request. +// returns a AvailableAccessPackageable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *EntitlementManagementAvailableAccessPackagesAvailableAccessPackageItemRequestBuilder) Get(ctx context.Context, requestConfiguration *EntitlementManagementAvailableAccessPackagesAvailableAccessPackageItemRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.AvailableAccessPackageable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateAvailableAccessPackageFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.AvailableAccessPackageable), nil +} +// Patch update the navigation property availableAccessPackages in identityGovernance +// returns a AvailableAccessPackageable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *EntitlementManagementAvailableAccessPackagesAvailableAccessPackageItemRequestBuilder) Patch(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.AvailableAccessPackageable, requestConfiguration *EntitlementManagementAvailableAccessPackagesAvailableAccessPackageItemRequestBuilderPatchRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.AvailableAccessPackageable, error) { + requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateAvailableAccessPackageFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.AvailableAccessPackageable), nil +} +// ResourceRoleScopes provides operations to manage the resourceRoleScopes property of the microsoft.graph.availableAccessPackage entity. +// returns a *EntitlementManagementAvailableAccessPackagesItemResourceRoleScopesRequestBuilder when successful +func (m *EntitlementManagementAvailableAccessPackagesAvailableAccessPackageItemRequestBuilder) ResourceRoleScopes()(*EntitlementManagementAvailableAccessPackagesItemResourceRoleScopesRequestBuilder) { + return NewEntitlementManagementAvailableAccessPackagesItemResourceRoleScopesRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// ToDeleteRequestInformation delete navigation property availableAccessPackages for identityGovernance +// returns a *RequestInformation when successful +func (m *EntitlementManagementAvailableAccessPackagesAvailableAccessPackageItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *EntitlementManagementAvailableAccessPackagesAvailableAccessPackageItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToGetRequestInformation access packages available for end users to browse and request. +// returns a *RequestInformation when successful +func (m *EntitlementManagementAvailableAccessPackagesAvailableAccessPackageItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *EntitlementManagementAvailableAccessPackagesAvailableAccessPackageItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToPatchRequestInformation update the navigation property availableAccessPackages in identityGovernance +// returns a *RequestInformation when successful +func (m *EntitlementManagementAvailableAccessPackagesAvailableAccessPackageItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.AvailableAccessPackageable, requestConfiguration *EntitlementManagementAvailableAccessPackagesAvailableAccessPackageItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *EntitlementManagementAvailableAccessPackagesAvailableAccessPackageItemRequestBuilder when successful +func (m *EntitlementManagementAvailableAccessPackagesAvailableAccessPackageItemRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAvailableAccessPackagesAvailableAccessPackageItemRequestBuilder) { + return NewEntitlementManagementAvailableAccessPackagesAvailableAccessPackageItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_available_access_packages_count_request_builder.go b/identitygovernance/entitlement_management_available_access_packages_count_request_builder.go new file mode 100644 index 0000000000..879c111fea --- /dev/null +++ b/identitygovernance/entitlement_management_available_access_packages_count_request_builder.go @@ -0,0 +1,83 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package identitygovernance + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// EntitlementManagementAvailableAccessPackagesCountRequestBuilder provides operations to count the resources in the collection. +type EntitlementManagementAvailableAccessPackagesCountRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// EntitlementManagementAvailableAccessPackagesCountRequestBuilderGetQueryParameters get the number of the resource +type EntitlementManagementAvailableAccessPackagesCountRequestBuilderGetQueryParameters struct { + // Filter items by property values + Filter *string "uriparametername:\"%24filter\"" + // Search items by search phrases + Search *string "uriparametername:\"%24search\"" +} +// EntitlementManagementAvailableAccessPackagesCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type EntitlementManagementAvailableAccessPackagesCountRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *EntitlementManagementAvailableAccessPackagesCountRequestBuilderGetQueryParameters +} +// NewEntitlementManagementAvailableAccessPackagesCountRequestBuilderInternal instantiates a new EntitlementManagementAvailableAccessPackagesCountRequestBuilder and sets the default values. +func NewEntitlementManagementAvailableAccessPackagesCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*EntitlementManagementAvailableAccessPackagesCountRequestBuilder) { + m := &EntitlementManagementAvailableAccessPackagesCountRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/identityGovernance/entitlementManagement/availableAccessPackages/$count{?%24filter,%24search}", pathParameters), + } + return m +} +// NewEntitlementManagementAvailableAccessPackagesCountRequestBuilder instantiates a new EntitlementManagementAvailableAccessPackagesCountRequestBuilder and sets the default values. +func NewEntitlementManagementAvailableAccessPackagesCountRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*EntitlementManagementAvailableAccessPackagesCountRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewEntitlementManagementAvailableAccessPackagesCountRequestBuilderInternal(urlParams, requestAdapter) +} +// Get get the number of the resource +// returns a *int32 when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *EntitlementManagementAvailableAccessPackagesCountRequestBuilder) Get(ctx context.Context, requestConfiguration *EntitlementManagementAvailableAccessPackagesCountRequestBuilderGetRequestConfiguration)(*int32, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.SendPrimitive(ctx, requestInfo, "int32", errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(*int32), nil +} +// ToGetRequestInformation get the number of the resource +// returns a *RequestInformation when successful +func (m *EntitlementManagementAvailableAccessPackagesCountRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *EntitlementManagementAvailableAccessPackagesCountRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9") + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *EntitlementManagementAvailableAccessPackagesCountRequestBuilder when successful +func (m *EntitlementManagementAvailableAccessPackagesCountRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAvailableAccessPackagesCountRequestBuilder) { + return NewEntitlementManagementAvailableAccessPackagesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_available_access_packages_item_resource_role_scopes_count_request_builder.go b/identitygovernance/entitlement_management_available_access_packages_item_resource_role_scopes_count_request_builder.go new file mode 100644 index 0000000000..a4d631c038 --- /dev/null +++ b/identitygovernance/entitlement_management_available_access_packages_item_resource_role_scopes_count_request_builder.go @@ -0,0 +1,83 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package identitygovernance + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// EntitlementManagementAvailableAccessPackagesItemResourceRoleScopesCountRequestBuilder provides operations to count the resources in the collection. +type EntitlementManagementAvailableAccessPackagesItemResourceRoleScopesCountRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// EntitlementManagementAvailableAccessPackagesItemResourceRoleScopesCountRequestBuilderGetQueryParameters get the number of the resource +type EntitlementManagementAvailableAccessPackagesItemResourceRoleScopesCountRequestBuilderGetQueryParameters struct { + // Filter items by property values + Filter *string "uriparametername:\"%24filter\"" + // Search items by search phrases + Search *string "uriparametername:\"%24search\"" +} +// EntitlementManagementAvailableAccessPackagesItemResourceRoleScopesCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type EntitlementManagementAvailableAccessPackagesItemResourceRoleScopesCountRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *EntitlementManagementAvailableAccessPackagesItemResourceRoleScopesCountRequestBuilderGetQueryParameters +} +// NewEntitlementManagementAvailableAccessPackagesItemResourceRoleScopesCountRequestBuilderInternal instantiates a new EntitlementManagementAvailableAccessPackagesItemResourceRoleScopesCountRequestBuilder and sets the default values. +func NewEntitlementManagementAvailableAccessPackagesItemResourceRoleScopesCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*EntitlementManagementAvailableAccessPackagesItemResourceRoleScopesCountRequestBuilder) { + m := &EntitlementManagementAvailableAccessPackagesItemResourceRoleScopesCountRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/identityGovernance/entitlementManagement/availableAccessPackages/{availableAccessPackage%2Did}/resourceRoleScopes/$count{?%24filter,%24search}", pathParameters), + } + return m +} +// NewEntitlementManagementAvailableAccessPackagesItemResourceRoleScopesCountRequestBuilder instantiates a new EntitlementManagementAvailableAccessPackagesItemResourceRoleScopesCountRequestBuilder and sets the default values. +func NewEntitlementManagementAvailableAccessPackagesItemResourceRoleScopesCountRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*EntitlementManagementAvailableAccessPackagesItemResourceRoleScopesCountRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewEntitlementManagementAvailableAccessPackagesItemResourceRoleScopesCountRequestBuilderInternal(urlParams, requestAdapter) +} +// Get get the number of the resource +// returns a *int32 when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *EntitlementManagementAvailableAccessPackagesItemResourceRoleScopesCountRequestBuilder) Get(ctx context.Context, requestConfiguration *EntitlementManagementAvailableAccessPackagesItemResourceRoleScopesCountRequestBuilderGetRequestConfiguration)(*int32, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.SendPrimitive(ctx, requestInfo, "int32", errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(*int32), nil +} +// ToGetRequestInformation get the number of the resource +// returns a *RequestInformation when successful +func (m *EntitlementManagementAvailableAccessPackagesItemResourceRoleScopesCountRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *EntitlementManagementAvailableAccessPackagesItemResourceRoleScopesCountRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9") + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *EntitlementManagementAvailableAccessPackagesItemResourceRoleScopesCountRequestBuilder when successful +func (m *EntitlementManagementAvailableAccessPackagesItemResourceRoleScopesCountRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAvailableAccessPackagesItemResourceRoleScopesCountRequestBuilder) { + return NewEntitlementManagementAvailableAccessPackagesItemResourceRoleScopesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_available_access_packages_item_resource_role_scopes_request_builder.go b/identitygovernance/entitlement_management_available_access_packages_item_resource_role_scopes_request_builder.go new file mode 100644 index 0000000000..1d97500c8b --- /dev/null +++ b/identitygovernance/entitlement_management_available_access_packages_item_resource_role_scopes_request_builder.go @@ -0,0 +1,116 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package identitygovernance + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// EntitlementManagementAvailableAccessPackagesItemResourceRoleScopesRequestBuilder provides operations to manage the resourceRoleScopes property of the microsoft.graph.availableAccessPackage entity. +type EntitlementManagementAvailableAccessPackagesItemResourceRoleScopesRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// EntitlementManagementAvailableAccessPackagesItemResourceRoleScopesRequestBuilderGetQueryParameters get a list of the accessPackageResourceRoleScope objects associated with an availableAccessPackage. +type EntitlementManagementAvailableAccessPackagesItemResourceRoleScopesRequestBuilderGetQueryParameters struct { + // Include count of items + Count *bool "uriparametername:\"%24count\"" + // Expand related entities + Expand []string "uriparametername:\"%24expand\"" + // Filter items by property values + Filter *string "uriparametername:\"%24filter\"" + // Order items by property values + Orderby []string "uriparametername:\"%24orderby\"" + // Search items by search phrases + Search *string "uriparametername:\"%24search\"" + // Select properties to be returned + Select []string "uriparametername:\"%24select\"" + // Skip the first n items + Skip *int32 "uriparametername:\"%24skip\"" + // Show only the first n items + Top *int32 "uriparametername:\"%24top\"" +} +// EntitlementManagementAvailableAccessPackagesItemResourceRoleScopesRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type EntitlementManagementAvailableAccessPackagesItemResourceRoleScopesRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *EntitlementManagementAvailableAccessPackagesItemResourceRoleScopesRequestBuilderGetQueryParameters +} +// ByAccessPackageResourceRoleScopeId provides operations to manage the resourceRoleScopes property of the microsoft.graph.availableAccessPackage entity. +// returns a *EntitlementManagementAvailableAccessPackagesItemResourceRoleScopesAccessPackageResourceRoleScopeItemRequestBuilder when successful +func (m *EntitlementManagementAvailableAccessPackagesItemResourceRoleScopesRequestBuilder) ByAccessPackageResourceRoleScopeId(accessPackageResourceRoleScopeId string)(*EntitlementManagementAvailableAccessPackagesItemResourceRoleScopesAccessPackageResourceRoleScopeItemRequestBuilder) { + urlTplParams := make(map[string]string) + for idx, item := range m.BaseRequestBuilder.PathParameters { + urlTplParams[idx] = item + } + if accessPackageResourceRoleScopeId != "" { + urlTplParams["accessPackageResourceRoleScope%2Did"] = accessPackageResourceRoleScopeId + } + return NewEntitlementManagementAvailableAccessPackagesItemResourceRoleScopesAccessPackageResourceRoleScopeItemRequestBuilderInternal(urlTplParams, m.BaseRequestBuilder.RequestAdapter) +} +// NewEntitlementManagementAvailableAccessPackagesItemResourceRoleScopesRequestBuilderInternal instantiates a new EntitlementManagementAvailableAccessPackagesItemResourceRoleScopesRequestBuilder and sets the default values. +func NewEntitlementManagementAvailableAccessPackagesItemResourceRoleScopesRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*EntitlementManagementAvailableAccessPackagesItemResourceRoleScopesRequestBuilder) { + m := &EntitlementManagementAvailableAccessPackagesItemResourceRoleScopesRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/identityGovernance/entitlementManagement/availableAccessPackages/{availableAccessPackage%2Did}/resourceRoleScopes{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), + } + return m +} +// NewEntitlementManagementAvailableAccessPackagesItemResourceRoleScopesRequestBuilder instantiates a new EntitlementManagementAvailableAccessPackagesItemResourceRoleScopesRequestBuilder and sets the default values. +func NewEntitlementManagementAvailableAccessPackagesItemResourceRoleScopesRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*EntitlementManagementAvailableAccessPackagesItemResourceRoleScopesRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewEntitlementManagementAvailableAccessPackagesItemResourceRoleScopesRequestBuilderInternal(urlParams, requestAdapter) +} +// Count provides operations to count the resources in the collection. +// returns a *EntitlementManagementAvailableAccessPackagesItemResourceRoleScopesCountRequestBuilder when successful +func (m *EntitlementManagementAvailableAccessPackagesItemResourceRoleScopesRequestBuilder) Count()(*EntitlementManagementAvailableAccessPackagesItemResourceRoleScopesCountRequestBuilder) { + return NewEntitlementManagementAvailableAccessPackagesItemResourceRoleScopesCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Get get a list of the accessPackageResourceRoleScope objects associated with an availableAccessPackage. +// returns a AccessPackageResourceRoleScopeCollectionResponseable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/availableaccesspackage-list-resourcerolescopes?view=graph-rest-1.0 +func (m *EntitlementManagementAvailableAccessPackagesItemResourceRoleScopesRequestBuilder) Get(ctx context.Context, requestConfiguration *EntitlementManagementAvailableAccessPackagesItemResourceRoleScopesRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.AccessPackageResourceRoleScopeCollectionResponseable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateAccessPackageResourceRoleScopeCollectionResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.AccessPackageResourceRoleScopeCollectionResponseable), nil +} +// ToGetRequestInformation get a list of the accessPackageResourceRoleScope objects associated with an availableAccessPackage. +// returns a *RequestInformation when successful +func (m *EntitlementManagementAvailableAccessPackagesItemResourceRoleScopesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *EntitlementManagementAvailableAccessPackagesItemResourceRoleScopesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *EntitlementManagementAvailableAccessPackagesItemResourceRoleScopesRequestBuilder when successful +func (m *EntitlementManagementAvailableAccessPackagesItemResourceRoleScopesRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAvailableAccessPackagesItemResourceRoleScopesRequestBuilder) { + return NewEntitlementManagementAvailableAccessPackagesItemResourceRoleScopesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_available_access_packages_request_builder.go b/identitygovernance/entitlement_management_available_access_packages_request_builder.go new file mode 100644 index 0000000000..148762a655 --- /dev/null +++ b/identitygovernance/entitlement_management_available_access_packages_request_builder.go @@ -0,0 +1,155 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package identitygovernance + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// EntitlementManagementAvailableAccessPackagesRequestBuilder provides operations to manage the availableAccessPackages property of the microsoft.graph.entitlementManagement entity. +type EntitlementManagementAvailableAccessPackagesRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// EntitlementManagementAvailableAccessPackagesRequestBuilderGetQueryParameters access packages available for end users to browse and request. +type EntitlementManagementAvailableAccessPackagesRequestBuilderGetQueryParameters struct { + // Include count of items + Count *bool "uriparametername:\"%24count\"" + // Expand related entities + Expand []string "uriparametername:\"%24expand\"" + // Filter items by property values + Filter *string "uriparametername:\"%24filter\"" + // Order items by property values + Orderby []string "uriparametername:\"%24orderby\"" + // Search items by search phrases + Search *string "uriparametername:\"%24search\"" + // Select properties to be returned + Select []string "uriparametername:\"%24select\"" + // Skip the first n items + Skip *int32 "uriparametername:\"%24skip\"" + // Show only the first n items + Top *int32 "uriparametername:\"%24top\"" +} +// EntitlementManagementAvailableAccessPackagesRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type EntitlementManagementAvailableAccessPackagesRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *EntitlementManagementAvailableAccessPackagesRequestBuilderGetQueryParameters +} +// EntitlementManagementAvailableAccessPackagesRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type EntitlementManagementAvailableAccessPackagesRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// ByAvailableAccessPackageId provides operations to manage the availableAccessPackages property of the microsoft.graph.entitlementManagement entity. +// returns a *EntitlementManagementAvailableAccessPackagesAvailableAccessPackageItemRequestBuilder when successful +func (m *EntitlementManagementAvailableAccessPackagesRequestBuilder) ByAvailableAccessPackageId(availableAccessPackageId string)(*EntitlementManagementAvailableAccessPackagesAvailableAccessPackageItemRequestBuilder) { + urlTplParams := make(map[string]string) + for idx, item := range m.BaseRequestBuilder.PathParameters { + urlTplParams[idx] = item + } + if availableAccessPackageId != "" { + urlTplParams["availableAccessPackage%2Did"] = availableAccessPackageId + } + return NewEntitlementManagementAvailableAccessPackagesAvailableAccessPackageItemRequestBuilderInternal(urlTplParams, m.BaseRequestBuilder.RequestAdapter) +} +// NewEntitlementManagementAvailableAccessPackagesRequestBuilderInternal instantiates a new EntitlementManagementAvailableAccessPackagesRequestBuilder and sets the default values. +func NewEntitlementManagementAvailableAccessPackagesRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*EntitlementManagementAvailableAccessPackagesRequestBuilder) { + m := &EntitlementManagementAvailableAccessPackagesRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/identityGovernance/entitlementManagement/availableAccessPackages{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), + } + return m +} +// NewEntitlementManagementAvailableAccessPackagesRequestBuilder instantiates a new EntitlementManagementAvailableAccessPackagesRequestBuilder and sets the default values. +func NewEntitlementManagementAvailableAccessPackagesRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*EntitlementManagementAvailableAccessPackagesRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewEntitlementManagementAvailableAccessPackagesRequestBuilderInternal(urlParams, requestAdapter) +} +// Count provides operations to count the resources in the collection. +// returns a *EntitlementManagementAvailableAccessPackagesCountRequestBuilder when successful +func (m *EntitlementManagementAvailableAccessPackagesRequestBuilder) Count()(*EntitlementManagementAvailableAccessPackagesCountRequestBuilder) { + return NewEntitlementManagementAvailableAccessPackagesCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Get access packages available for end users to browse and request. +// returns a AvailableAccessPackageCollectionResponseable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *EntitlementManagementAvailableAccessPackagesRequestBuilder) Get(ctx context.Context, requestConfiguration *EntitlementManagementAvailableAccessPackagesRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.AvailableAccessPackageCollectionResponseable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateAvailableAccessPackageCollectionResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.AvailableAccessPackageCollectionResponseable), nil +} +// Post create new navigation property to availableAccessPackages for identityGovernance +// returns a AvailableAccessPackageable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *EntitlementManagementAvailableAccessPackagesRequestBuilder) Post(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.AvailableAccessPackageable, requestConfiguration *EntitlementManagementAvailableAccessPackagesRequestBuilderPostRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.AvailableAccessPackageable, error) { + requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateAvailableAccessPackageFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.AvailableAccessPackageable), nil +} +// ToGetRequestInformation access packages available for end users to browse and request. +// returns a *RequestInformation when successful +func (m *EntitlementManagementAvailableAccessPackagesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *EntitlementManagementAvailableAccessPackagesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToPostRequestInformation create new navigation property to availableAccessPackages for identityGovernance +// returns a *RequestInformation when successful +func (m *EntitlementManagementAvailableAccessPackagesRequestBuilder) ToPostRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.AvailableAccessPackageable, requestConfiguration *EntitlementManagementAvailableAccessPackagesRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *EntitlementManagementAvailableAccessPackagesRequestBuilder when successful +func (m *EntitlementManagementAvailableAccessPackagesRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAvailableAccessPackagesRequestBuilder) { + return NewEntitlementManagementAvailableAccessPackagesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_connected_organizations_item_external_sponsors_ref_request_builder.go b/identitygovernance/entitlement_management_connected_organizations_item_external_sponsors_ref_request_builder.go index 433459dbb9..442ef17bf6 100644 --- a/identitygovernance/entitlement_management_connected_organizations_item_external_sponsors_ref_request_builder.go +++ b/identitygovernance/entitlement_management_connected_organizations_item_external_sponsors_ref_request_builder.go @@ -62,7 +62,7 @@ type EntitlementManagementConnectedOrganizationsItemExternalSponsorsRefRequestBu // NewEntitlementManagementConnectedOrganizationsItemExternalSponsorsRefRequestBuilderInternal instantiates a new EntitlementManagementConnectedOrganizationsItemExternalSponsorsRefRequestBuilder and sets the default values. func NewEntitlementManagementConnectedOrganizationsItemExternalSponsorsRefRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*EntitlementManagementConnectedOrganizationsItemExternalSponsorsRefRequestBuilder) { m := &EntitlementManagementConnectedOrganizationsItemExternalSponsorsRefRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/identityGovernance/entitlementManagement/connectedOrganizations/{connectedOrganization%2Did}/externalSponsors/$ref?@id={%40id}{&%24count,%24filter,%24orderby,%24search,%24skip,%24top}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/identityGovernance/entitlementManagement/connectedOrganizations/{connectedOrganization%2Did}/externalSponsors/$ref{?%24count,%24filter,%24orderby,%24search,%24skip,%24top}", pathParameters), } return m } @@ -147,7 +147,7 @@ func (m *EntitlementManagementConnectedOrganizationsItemExternalSponsorsRefReque // ToGetRequestInformation get ref of externalSponsors from identityGovernance // returns a *RequestInformation when successful func (m *EntitlementManagementConnectedOrganizationsItemExternalSponsorsRefRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *EntitlementManagementConnectedOrganizationsItemExternalSponsorsRefRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { - requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, "{+baseurl}/identityGovernance/entitlementManagement/connectedOrganizations/{connectedOrganization%2Did}/externalSponsors/$ref{?%24count,%24filter,%24orderby,%24search,%24skip,%24top}", m.BaseRequestBuilder.PathParameters) + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) if requestConfiguration != nil { if requestConfiguration.QueryParameters != nil { requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) @@ -161,7 +161,7 @@ func (m *EntitlementManagementConnectedOrganizationsItemExternalSponsorsRefReque // ToPostRequestInformation add a user or a group to the connected organization's external sponsors. The external sponsors are a set of users who can approve requests on behalf of other users from that connected organization. // returns a *RequestInformation when successful func (m *EntitlementManagementConnectedOrganizationsItemExternalSponsorsRefRequestBuilder) ToPostRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ReferenceCreateable, requestConfiguration *EntitlementManagementConnectedOrganizationsItemExternalSponsorsRefRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { - requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, "{+baseurl}/identityGovernance/entitlementManagement/connectedOrganizations/{connectedOrganization%2Did}/externalSponsors/$ref", m.BaseRequestBuilder.PathParameters) + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) if requestConfiguration != nil { requestInfo.Headers.AddAll(requestConfiguration.Headers) requestInfo.AddRequestOptions(requestConfiguration.Options) diff --git a/identitygovernance/entitlement_management_connected_organizations_item_internal_sponsors_ref_request_builder.go b/identitygovernance/entitlement_management_connected_organizations_item_internal_sponsors_ref_request_builder.go index c19674e0cc..69e601a484 100644 --- a/identitygovernance/entitlement_management_connected_organizations_item_internal_sponsors_ref_request_builder.go +++ b/identitygovernance/entitlement_management_connected_organizations_item_internal_sponsors_ref_request_builder.go @@ -62,7 +62,7 @@ type EntitlementManagementConnectedOrganizationsItemInternalSponsorsRefRequestBu // NewEntitlementManagementConnectedOrganizationsItemInternalSponsorsRefRequestBuilderInternal instantiates a new EntitlementManagementConnectedOrganizationsItemInternalSponsorsRefRequestBuilder and sets the default values. func NewEntitlementManagementConnectedOrganizationsItemInternalSponsorsRefRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*EntitlementManagementConnectedOrganizationsItemInternalSponsorsRefRequestBuilder) { m := &EntitlementManagementConnectedOrganizationsItemInternalSponsorsRefRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/identityGovernance/entitlementManagement/connectedOrganizations/{connectedOrganization%2Did}/internalSponsors/$ref?@id={%40id}{&%24count,%24filter,%24orderby,%24search,%24skip,%24top}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/identityGovernance/entitlementManagement/connectedOrganizations/{connectedOrganization%2Did}/internalSponsors/$ref{?%24count,%24filter,%24orderby,%24search,%24skip,%24top}", pathParameters), } return m } @@ -147,7 +147,7 @@ func (m *EntitlementManagementConnectedOrganizationsItemInternalSponsorsRefReque // ToGetRequestInformation get ref of internalSponsors from identityGovernance // returns a *RequestInformation when successful func (m *EntitlementManagementConnectedOrganizationsItemInternalSponsorsRefRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *EntitlementManagementConnectedOrganizationsItemInternalSponsorsRefRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { - requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, "{+baseurl}/identityGovernance/entitlementManagement/connectedOrganizations/{connectedOrganization%2Did}/internalSponsors/$ref{?%24count,%24filter,%24orderby,%24search,%24skip,%24top}", m.BaseRequestBuilder.PathParameters) + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) if requestConfiguration != nil { if requestConfiguration.QueryParameters != nil { requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) @@ -161,7 +161,7 @@ func (m *EntitlementManagementConnectedOrganizationsItemInternalSponsorsRefReque // ToPostRequestInformation add a user or a group to the connected organization's internal sponsors. The internal sponsors are a set of users who can approve requests on behalf of other users from that connected organization. // returns a *RequestInformation when successful func (m *EntitlementManagementConnectedOrganizationsItemInternalSponsorsRefRequestBuilder) ToPostRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ReferenceCreateable, requestConfiguration *EntitlementManagementConnectedOrganizationsItemInternalSponsorsRefRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { - requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, "{+baseurl}/identityGovernance/entitlementManagement/connectedOrganizations/{connectedOrganization%2Did}/internalSponsors/$ref", m.BaseRequestBuilder.PathParameters) + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) if requestConfiguration != nil { requestInfo.Headers.AddAll(requestConfiguration.Headers) requestInfo.AddRequestOptions(requestConfiguration.Options) diff --git a/identitygovernance/entitlement_management_control_configurations_control_configuration_item_request_builder.go b/identitygovernance/entitlement_management_control_configurations_control_configuration_item_request_builder.go new file mode 100644 index 0000000000..a1900df69d --- /dev/null +++ b/identitygovernance/entitlement_management_control_configurations_control_configuration_item_request_builder.go @@ -0,0 +1,160 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package identitygovernance + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// EntitlementManagementControlConfigurationsControlConfigurationItemRequestBuilder provides operations to manage the controlConfigurations property of the microsoft.graph.entitlementManagement entity. +type EntitlementManagementControlConfigurationsControlConfigurationItemRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// EntitlementManagementControlConfigurationsControlConfigurationItemRequestBuilderDeleteRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type EntitlementManagementControlConfigurationsControlConfigurationItemRequestBuilderDeleteRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// EntitlementManagementControlConfigurationsControlConfigurationItemRequestBuilderGetQueryParameters configuration settings that control the lifecycle and access policies of entitlement management within a tenant. +type EntitlementManagementControlConfigurationsControlConfigurationItemRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string "uriparametername:\"%24expand\"" + // Select properties to be returned + Select []string "uriparametername:\"%24select\"" +} +// EntitlementManagementControlConfigurationsControlConfigurationItemRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type EntitlementManagementControlConfigurationsControlConfigurationItemRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *EntitlementManagementControlConfigurationsControlConfigurationItemRequestBuilderGetQueryParameters +} +// EntitlementManagementControlConfigurationsControlConfigurationItemRequestBuilderPutRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type EntitlementManagementControlConfigurationsControlConfigurationItemRequestBuilderPutRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewEntitlementManagementControlConfigurationsControlConfigurationItemRequestBuilderInternal instantiates a new EntitlementManagementControlConfigurationsControlConfigurationItemRequestBuilder and sets the default values. +func NewEntitlementManagementControlConfigurationsControlConfigurationItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*EntitlementManagementControlConfigurationsControlConfigurationItemRequestBuilder) { + m := &EntitlementManagementControlConfigurationsControlConfigurationItemRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/identityGovernance/entitlementManagement/controlConfigurations/{controlConfiguration%2Did}{?%24expand,%24select}", pathParameters), + } + return m +} +// NewEntitlementManagementControlConfigurationsControlConfigurationItemRequestBuilder instantiates a new EntitlementManagementControlConfigurationsControlConfigurationItemRequestBuilder and sets the default values. +func NewEntitlementManagementControlConfigurationsControlConfigurationItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*EntitlementManagementControlConfigurationsControlConfigurationItemRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewEntitlementManagementControlConfigurationsControlConfigurationItemRequestBuilderInternal(urlParams, requestAdapter) +} +// Delete delete navigation property controlConfigurations for identityGovernance +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *EntitlementManagementControlConfigurationsControlConfigurationItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *EntitlementManagementControlConfigurationsControlConfigurationItemRequestBuilderDeleteRequestConfiguration)(error) { + requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); + if err != nil { + return err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + err = m.BaseRequestBuilder.RequestAdapter.SendNoContent(ctx, requestInfo, errorMapping) + if err != nil { + return err + } + return nil +} +// Get configuration settings that control the lifecycle and access policies of entitlement management within a tenant. +// returns a ControlConfigurationable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *EntitlementManagementControlConfigurationsControlConfigurationItemRequestBuilder) Get(ctx context.Context, requestConfiguration *EntitlementManagementControlConfigurationsControlConfigurationItemRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ControlConfigurationable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateControlConfigurationFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ControlConfigurationable), nil +} +// Put update the navigation property controlConfigurations in identityGovernance +// returns a ControlConfigurationable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *EntitlementManagementControlConfigurationsControlConfigurationItemRequestBuilder) Put(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ControlConfigurationable, requestConfiguration *EntitlementManagementControlConfigurationsControlConfigurationItemRequestBuilderPutRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ControlConfigurationable, error) { + requestInfo, err := m.ToPutRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateControlConfigurationFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ControlConfigurationable), nil +} +// ToDeleteRequestInformation delete navigation property controlConfigurations for identityGovernance +// returns a *RequestInformation when successful +func (m *EntitlementManagementControlConfigurationsControlConfigurationItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *EntitlementManagementControlConfigurationsControlConfigurationItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToGetRequestInformation configuration settings that control the lifecycle and access policies of entitlement management within a tenant. +// returns a *RequestInformation when successful +func (m *EntitlementManagementControlConfigurationsControlConfigurationItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *EntitlementManagementControlConfigurationsControlConfigurationItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToPutRequestInformation update the navigation property controlConfigurations in identityGovernance +// returns a *RequestInformation when successful +func (m *EntitlementManagementControlConfigurationsControlConfigurationItemRequestBuilder) ToPutRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ControlConfigurationable, requestConfiguration *EntitlementManagementControlConfigurationsControlConfigurationItemRequestBuilderPutRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PUT, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *EntitlementManagementControlConfigurationsControlConfigurationItemRequestBuilder when successful +func (m *EntitlementManagementControlConfigurationsControlConfigurationItemRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementControlConfigurationsControlConfigurationItemRequestBuilder) { + return NewEntitlementManagementControlConfigurationsControlConfigurationItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_control_configurations_count_request_builder.go b/identitygovernance/entitlement_management_control_configurations_count_request_builder.go new file mode 100644 index 0000000000..36c6869dcf --- /dev/null +++ b/identitygovernance/entitlement_management_control_configurations_count_request_builder.go @@ -0,0 +1,83 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package identitygovernance + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// EntitlementManagementControlConfigurationsCountRequestBuilder provides operations to count the resources in the collection. +type EntitlementManagementControlConfigurationsCountRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// EntitlementManagementControlConfigurationsCountRequestBuilderGetQueryParameters get the number of the resource +type EntitlementManagementControlConfigurationsCountRequestBuilderGetQueryParameters struct { + // Filter items by property values + Filter *string "uriparametername:\"%24filter\"" + // Search items by search phrases + Search *string "uriparametername:\"%24search\"" +} +// EntitlementManagementControlConfigurationsCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type EntitlementManagementControlConfigurationsCountRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *EntitlementManagementControlConfigurationsCountRequestBuilderGetQueryParameters +} +// NewEntitlementManagementControlConfigurationsCountRequestBuilderInternal instantiates a new EntitlementManagementControlConfigurationsCountRequestBuilder and sets the default values. +func NewEntitlementManagementControlConfigurationsCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*EntitlementManagementControlConfigurationsCountRequestBuilder) { + m := &EntitlementManagementControlConfigurationsCountRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/identityGovernance/entitlementManagement/controlConfigurations/$count{?%24filter,%24search}", pathParameters), + } + return m +} +// NewEntitlementManagementControlConfigurationsCountRequestBuilder instantiates a new EntitlementManagementControlConfigurationsCountRequestBuilder and sets the default values. +func NewEntitlementManagementControlConfigurationsCountRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*EntitlementManagementControlConfigurationsCountRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewEntitlementManagementControlConfigurationsCountRequestBuilderInternal(urlParams, requestAdapter) +} +// Get get the number of the resource +// returns a *int32 when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *EntitlementManagementControlConfigurationsCountRequestBuilder) Get(ctx context.Context, requestConfiguration *EntitlementManagementControlConfigurationsCountRequestBuilderGetRequestConfiguration)(*int32, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.SendPrimitive(ctx, requestInfo, "int32", errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(*int32), nil +} +// ToGetRequestInformation get the number of the resource +// returns a *RequestInformation when successful +func (m *EntitlementManagementControlConfigurationsCountRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *EntitlementManagementControlConfigurationsCountRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9") + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *EntitlementManagementControlConfigurationsCountRequestBuilder when successful +func (m *EntitlementManagementControlConfigurationsCountRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementControlConfigurationsCountRequestBuilder) { + return NewEntitlementManagementControlConfigurationsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_control_configurations_request_builder.go b/identitygovernance/entitlement_management_control_configurations_request_builder.go new file mode 100644 index 0000000000..23eb97e921 --- /dev/null +++ b/identitygovernance/entitlement_management_control_configurations_request_builder.go @@ -0,0 +1,155 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package identitygovernance + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// EntitlementManagementControlConfigurationsRequestBuilder provides operations to manage the controlConfigurations property of the microsoft.graph.entitlementManagement entity. +type EntitlementManagementControlConfigurationsRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// EntitlementManagementControlConfigurationsRequestBuilderGetQueryParameters configuration settings that control the lifecycle and access policies of entitlement management within a tenant. +type EntitlementManagementControlConfigurationsRequestBuilderGetQueryParameters struct { + // Include count of items + Count *bool "uriparametername:\"%24count\"" + // Expand related entities + Expand []string "uriparametername:\"%24expand\"" + // Filter items by property values + Filter *string "uriparametername:\"%24filter\"" + // Order items by property values + Orderby []string "uriparametername:\"%24orderby\"" + // Search items by search phrases + Search *string "uriparametername:\"%24search\"" + // Select properties to be returned + Select []string "uriparametername:\"%24select\"" + // Skip the first n items + Skip *int32 "uriparametername:\"%24skip\"" + // Show only the first n items + Top *int32 "uriparametername:\"%24top\"" +} +// EntitlementManagementControlConfigurationsRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type EntitlementManagementControlConfigurationsRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *EntitlementManagementControlConfigurationsRequestBuilderGetQueryParameters +} +// EntitlementManagementControlConfigurationsRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type EntitlementManagementControlConfigurationsRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// ByControlConfigurationId provides operations to manage the controlConfigurations property of the microsoft.graph.entitlementManagement entity. +// returns a *EntitlementManagementControlConfigurationsControlConfigurationItemRequestBuilder when successful +func (m *EntitlementManagementControlConfigurationsRequestBuilder) ByControlConfigurationId(controlConfigurationId string)(*EntitlementManagementControlConfigurationsControlConfigurationItemRequestBuilder) { + urlTplParams := make(map[string]string) + for idx, item := range m.BaseRequestBuilder.PathParameters { + urlTplParams[idx] = item + } + if controlConfigurationId != "" { + urlTplParams["controlConfiguration%2Did"] = controlConfigurationId + } + return NewEntitlementManagementControlConfigurationsControlConfigurationItemRequestBuilderInternal(urlTplParams, m.BaseRequestBuilder.RequestAdapter) +} +// NewEntitlementManagementControlConfigurationsRequestBuilderInternal instantiates a new EntitlementManagementControlConfigurationsRequestBuilder and sets the default values. +func NewEntitlementManagementControlConfigurationsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*EntitlementManagementControlConfigurationsRequestBuilder) { + m := &EntitlementManagementControlConfigurationsRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/identityGovernance/entitlementManagement/controlConfigurations{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), + } + return m +} +// NewEntitlementManagementControlConfigurationsRequestBuilder instantiates a new EntitlementManagementControlConfigurationsRequestBuilder and sets the default values. +func NewEntitlementManagementControlConfigurationsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*EntitlementManagementControlConfigurationsRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewEntitlementManagementControlConfigurationsRequestBuilderInternal(urlParams, requestAdapter) +} +// Count provides operations to count the resources in the collection. +// returns a *EntitlementManagementControlConfigurationsCountRequestBuilder when successful +func (m *EntitlementManagementControlConfigurationsRequestBuilder) Count()(*EntitlementManagementControlConfigurationsCountRequestBuilder) { + return NewEntitlementManagementControlConfigurationsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Get configuration settings that control the lifecycle and access policies of entitlement management within a tenant. +// returns a ControlConfigurationCollectionResponseable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *EntitlementManagementControlConfigurationsRequestBuilder) Get(ctx context.Context, requestConfiguration *EntitlementManagementControlConfigurationsRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ControlConfigurationCollectionResponseable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateControlConfigurationCollectionResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ControlConfigurationCollectionResponseable), nil +} +// Post create new navigation property to controlConfigurations for identityGovernance +// returns a ControlConfigurationable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *EntitlementManagementControlConfigurationsRequestBuilder) Post(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ControlConfigurationable, requestConfiguration *EntitlementManagementControlConfigurationsRequestBuilderPostRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ControlConfigurationable, error) { + requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateControlConfigurationFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ControlConfigurationable), nil +} +// ToGetRequestInformation configuration settings that control the lifecycle and access policies of entitlement management within a tenant. +// returns a *RequestInformation when successful +func (m *EntitlementManagementControlConfigurationsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *EntitlementManagementControlConfigurationsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToPostRequestInformation create new navigation property to controlConfigurations for identityGovernance +// returns a *RequestInformation when successful +func (m *EntitlementManagementControlConfigurationsRequestBuilder) ToPostRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ControlConfigurationable, requestConfiguration *EntitlementManagementControlConfigurationsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *EntitlementManagementControlConfigurationsRequestBuilder when successful +func (m *EntitlementManagementControlConfigurationsRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementControlConfigurationsRequestBuilder) { + return NewEntitlementManagementControlConfigurationsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_request_builder.go b/identitygovernance/entitlement_management_request_builder.go index 23cbb1d6f3..7214f7e44d 100644 --- a/identitygovernance/entitlement_management_request_builder.go +++ b/identitygovernance/entitlement_management_request_builder.go @@ -54,6 +54,11 @@ func (m *EntitlementManagementRequestBuilder) AccessPackageAssignmentApprovals() func (m *EntitlementManagementRequestBuilder) AccessPackages()(*EntitlementManagementAccessPackagesRequestBuilder) { return NewEntitlementManagementAccessPackagesRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } +// AccessPackageSuggestions provides operations to manage the accessPackageSuggestions property of the microsoft.graph.entitlementManagement entity. +// returns a *EntitlementManagementAccessPackageSuggestionsRequestBuilder when successful +func (m *EntitlementManagementRequestBuilder) AccessPackageSuggestions()(*EntitlementManagementAccessPackageSuggestionsRequestBuilder) { + return NewEntitlementManagementAccessPackageSuggestionsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} // AssignmentPolicies provides operations to manage the assignmentPolicies property of the microsoft.graph.entitlementManagement entity. // returns a *EntitlementManagementAssignmentPoliciesRequestBuilder when successful func (m *EntitlementManagementRequestBuilder) AssignmentPolicies()(*EntitlementManagementAssignmentPoliciesRequestBuilder) { @@ -69,6 +74,11 @@ func (m *EntitlementManagementRequestBuilder) AssignmentRequests()(*EntitlementM func (m *EntitlementManagementRequestBuilder) Assignments()(*EntitlementManagementAssignmentsRequestBuilder) { return NewEntitlementManagementAssignmentsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } +// AvailableAccessPackages provides operations to manage the availableAccessPackages property of the microsoft.graph.entitlementManagement entity. +// returns a *EntitlementManagementAvailableAccessPackagesRequestBuilder when successful +func (m *EntitlementManagementRequestBuilder) AvailableAccessPackages()(*EntitlementManagementAvailableAccessPackagesRequestBuilder) { + return NewEntitlementManagementAvailableAccessPackagesRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} // Catalogs provides operations to manage the catalogs property of the microsoft.graph.entitlementManagement entity. // returns a *EntitlementManagementCatalogsRequestBuilder when successful func (m *EntitlementManagementRequestBuilder) Catalogs()(*EntitlementManagementCatalogsRequestBuilder) { @@ -92,6 +102,11 @@ func NewEntitlementManagementRequestBuilder(rawUrl string, requestAdapter i2ae41 urlParams["request-raw-url"] = rawUrl return NewEntitlementManagementRequestBuilderInternal(urlParams, requestAdapter) } +// ControlConfigurations provides operations to manage the controlConfigurations property of the microsoft.graph.entitlementManagement entity. +// returns a *EntitlementManagementControlConfigurationsRequestBuilder when successful +func (m *EntitlementManagementRequestBuilder) ControlConfigurations()(*EntitlementManagementControlConfigurationsRequestBuilder) { + return NewEntitlementManagementControlConfigurationsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} // Delete delete navigation property entitlementManagement for identityGovernance // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *EntitlementManagementRequestBuilder) Delete(ctx context.Context, requestConfiguration *EntitlementManagementRequestBuilderDeleteRequestConfiguration)(error) { @@ -173,6 +188,16 @@ func (m *EntitlementManagementRequestBuilder) Resources()(*EntitlementManagement func (m *EntitlementManagementRequestBuilder) Settings()(*EntitlementManagementSettingsRequestBuilder) { return NewEntitlementManagementSettingsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } +// Subjects provides operations to manage the subjects property of the microsoft.graph.entitlementManagement entity. +// returns a *EntitlementManagementSubjectsRequestBuilder when successful +func (m *EntitlementManagementRequestBuilder) Subjects()(*EntitlementManagementSubjectsRequestBuilder) { + return NewEntitlementManagementSubjectsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// SubjectsWithObjectId provides operations to manage the subjects property of the microsoft.graph.entitlementManagement entity. +// returns a *EntitlementManagementSubjectsWithObjectIdRequestBuilder when successful +func (m *EntitlementManagementRequestBuilder) SubjectsWithObjectId(objectId *string)(*EntitlementManagementSubjectsWithObjectIdRequestBuilder) { + return NewEntitlementManagementSubjectsWithObjectIdRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter, objectId) +} // ToDeleteRequestInformation delete navigation property entitlementManagement for identityGovernance // returns a *RequestInformation when successful func (m *EntitlementManagementRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *EntitlementManagementRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { diff --git a/identitygovernance/entitlement_management_subjects_access_package_subject_item_request_builder.go b/identitygovernance/entitlement_management_subjects_access_package_subject_item_request_builder.go new file mode 100644 index 0000000000..5e82b3c0df --- /dev/null +++ b/identitygovernance/entitlement_management_subjects_access_package_subject_item_request_builder.go @@ -0,0 +1,168 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package identitygovernance + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// EntitlementManagementSubjectsAccessPackageSubjectItemRequestBuilder provides operations to manage the subjects property of the microsoft.graph.entitlementManagement entity. +type EntitlementManagementSubjectsAccessPackageSubjectItemRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// EntitlementManagementSubjectsAccessPackageSubjectItemRequestBuilderDeleteRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type EntitlementManagementSubjectsAccessPackageSubjectItemRequestBuilderDeleteRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// EntitlementManagementSubjectsAccessPackageSubjectItemRequestBuilderGetQueryParameters get subjects from identityGovernance +type EntitlementManagementSubjectsAccessPackageSubjectItemRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string "uriparametername:\"%24expand\"" + // Select properties to be returned + Select []string "uriparametername:\"%24select\"" +} +// EntitlementManagementSubjectsAccessPackageSubjectItemRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type EntitlementManagementSubjectsAccessPackageSubjectItemRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *EntitlementManagementSubjectsAccessPackageSubjectItemRequestBuilderGetQueryParameters +} +// EntitlementManagementSubjectsAccessPackageSubjectItemRequestBuilderPatchRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type EntitlementManagementSubjectsAccessPackageSubjectItemRequestBuilderPatchRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// ConnectedOrganization provides operations to manage the connectedOrganization property of the microsoft.graph.accessPackageSubject entity. +// returns a *EntitlementManagementSubjectsItemConnectedOrganizationRequestBuilder when successful +func (m *EntitlementManagementSubjectsAccessPackageSubjectItemRequestBuilder) ConnectedOrganization()(*EntitlementManagementSubjectsItemConnectedOrganizationRequestBuilder) { + return NewEntitlementManagementSubjectsItemConnectedOrganizationRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// NewEntitlementManagementSubjectsAccessPackageSubjectItemRequestBuilderInternal instantiates a new EntitlementManagementSubjectsAccessPackageSubjectItemRequestBuilder and sets the default values. +func NewEntitlementManagementSubjectsAccessPackageSubjectItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*EntitlementManagementSubjectsAccessPackageSubjectItemRequestBuilder) { + m := &EntitlementManagementSubjectsAccessPackageSubjectItemRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/identityGovernance/entitlementManagement/subjects/{accessPackageSubject%2Did}{?%24expand,%24select}", pathParameters), + } + return m +} +// NewEntitlementManagementSubjectsAccessPackageSubjectItemRequestBuilder instantiates a new EntitlementManagementSubjectsAccessPackageSubjectItemRequestBuilder and sets the default values. +func NewEntitlementManagementSubjectsAccessPackageSubjectItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*EntitlementManagementSubjectsAccessPackageSubjectItemRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewEntitlementManagementSubjectsAccessPackageSubjectItemRequestBuilderInternal(urlParams, requestAdapter) +} +// Delete delete navigation property subjects for identityGovernance +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *EntitlementManagementSubjectsAccessPackageSubjectItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *EntitlementManagementSubjectsAccessPackageSubjectItemRequestBuilderDeleteRequestConfiguration)(error) { + requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); + if err != nil { + return err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + err = m.BaseRequestBuilder.RequestAdapter.SendNoContent(ctx, requestInfo, errorMapping) + if err != nil { + return err + } + return nil +} +// Get get subjects from identityGovernance +// returns a AccessPackageSubjectable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *EntitlementManagementSubjectsAccessPackageSubjectItemRequestBuilder) Get(ctx context.Context, requestConfiguration *EntitlementManagementSubjectsAccessPackageSubjectItemRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.AccessPackageSubjectable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateAccessPackageSubjectFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.AccessPackageSubjectable), nil +} +// Patch update an external directory user represented by an existing accessPackageSubject object to change the subject lifecycle. +// returns a AccessPackageSubjectable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/accesspackagesubject-update?view=graph-rest-1.0 +func (m *EntitlementManagementSubjectsAccessPackageSubjectItemRequestBuilder) Patch(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.AccessPackageSubjectable, requestConfiguration *EntitlementManagementSubjectsAccessPackageSubjectItemRequestBuilderPatchRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.AccessPackageSubjectable, error) { + requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateAccessPackageSubjectFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.AccessPackageSubjectable), nil +} +// ToDeleteRequestInformation delete navigation property subjects for identityGovernance +// returns a *RequestInformation when successful +func (m *EntitlementManagementSubjectsAccessPackageSubjectItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *EntitlementManagementSubjectsAccessPackageSubjectItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToGetRequestInformation get subjects from identityGovernance +// returns a *RequestInformation when successful +func (m *EntitlementManagementSubjectsAccessPackageSubjectItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *EntitlementManagementSubjectsAccessPackageSubjectItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToPatchRequestInformation update an external directory user represented by an existing accessPackageSubject object to change the subject lifecycle. +// returns a *RequestInformation when successful +func (m *EntitlementManagementSubjectsAccessPackageSubjectItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.AccessPackageSubjectable, requestConfiguration *EntitlementManagementSubjectsAccessPackageSubjectItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *EntitlementManagementSubjectsAccessPackageSubjectItemRequestBuilder when successful +func (m *EntitlementManagementSubjectsAccessPackageSubjectItemRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementSubjectsAccessPackageSubjectItemRequestBuilder) { + return NewEntitlementManagementSubjectsAccessPackageSubjectItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_subjects_count_request_builder.go b/identitygovernance/entitlement_management_subjects_count_request_builder.go new file mode 100644 index 0000000000..c7d8580f35 --- /dev/null +++ b/identitygovernance/entitlement_management_subjects_count_request_builder.go @@ -0,0 +1,83 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package identitygovernance + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// EntitlementManagementSubjectsCountRequestBuilder provides operations to count the resources in the collection. +type EntitlementManagementSubjectsCountRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// EntitlementManagementSubjectsCountRequestBuilderGetQueryParameters get the number of the resource +type EntitlementManagementSubjectsCountRequestBuilderGetQueryParameters struct { + // Filter items by property values + Filter *string "uriparametername:\"%24filter\"" + // Search items by search phrases + Search *string "uriparametername:\"%24search\"" +} +// EntitlementManagementSubjectsCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type EntitlementManagementSubjectsCountRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *EntitlementManagementSubjectsCountRequestBuilderGetQueryParameters +} +// NewEntitlementManagementSubjectsCountRequestBuilderInternal instantiates a new EntitlementManagementSubjectsCountRequestBuilder and sets the default values. +func NewEntitlementManagementSubjectsCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*EntitlementManagementSubjectsCountRequestBuilder) { + m := &EntitlementManagementSubjectsCountRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/identityGovernance/entitlementManagement/subjects/$count{?%24filter,%24search}", pathParameters), + } + return m +} +// NewEntitlementManagementSubjectsCountRequestBuilder instantiates a new EntitlementManagementSubjectsCountRequestBuilder and sets the default values. +func NewEntitlementManagementSubjectsCountRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*EntitlementManagementSubjectsCountRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewEntitlementManagementSubjectsCountRequestBuilderInternal(urlParams, requestAdapter) +} +// Get get the number of the resource +// returns a *int32 when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *EntitlementManagementSubjectsCountRequestBuilder) Get(ctx context.Context, requestConfiguration *EntitlementManagementSubjectsCountRequestBuilderGetRequestConfiguration)(*int32, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.SendPrimitive(ctx, requestInfo, "int32", errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(*int32), nil +} +// ToGetRequestInformation get the number of the resource +// returns a *RequestInformation when successful +func (m *EntitlementManagementSubjectsCountRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *EntitlementManagementSubjectsCountRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9") + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *EntitlementManagementSubjectsCountRequestBuilder when successful +func (m *EntitlementManagementSubjectsCountRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementSubjectsCountRequestBuilder) { + return NewEntitlementManagementSubjectsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_subjects_item_connected_organization_request_builder.go b/identitygovernance/entitlement_management_subjects_item_connected_organization_request_builder.go new file mode 100644 index 0000000000..f8fe8528cf --- /dev/null +++ b/identitygovernance/entitlement_management_subjects_item_connected_organization_request_builder.go @@ -0,0 +1,84 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package identitygovernance + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// EntitlementManagementSubjectsItemConnectedOrganizationRequestBuilder provides operations to manage the connectedOrganization property of the microsoft.graph.accessPackageSubject entity. +type EntitlementManagementSubjectsItemConnectedOrganizationRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// EntitlementManagementSubjectsItemConnectedOrganizationRequestBuilderGetQueryParameters the connected organization of the subject. Read-only. Nullable. +type EntitlementManagementSubjectsItemConnectedOrganizationRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string "uriparametername:\"%24expand\"" + // Select properties to be returned + Select []string "uriparametername:\"%24select\"" +} +// EntitlementManagementSubjectsItemConnectedOrganizationRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type EntitlementManagementSubjectsItemConnectedOrganizationRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *EntitlementManagementSubjectsItemConnectedOrganizationRequestBuilderGetQueryParameters +} +// NewEntitlementManagementSubjectsItemConnectedOrganizationRequestBuilderInternal instantiates a new EntitlementManagementSubjectsItemConnectedOrganizationRequestBuilder and sets the default values. +func NewEntitlementManagementSubjectsItemConnectedOrganizationRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*EntitlementManagementSubjectsItemConnectedOrganizationRequestBuilder) { + m := &EntitlementManagementSubjectsItemConnectedOrganizationRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/identityGovernance/entitlementManagement/subjects/{accessPackageSubject%2Did}/connectedOrganization{?%24expand,%24select}", pathParameters), + } + return m +} +// NewEntitlementManagementSubjectsItemConnectedOrganizationRequestBuilder instantiates a new EntitlementManagementSubjectsItemConnectedOrganizationRequestBuilder and sets the default values. +func NewEntitlementManagementSubjectsItemConnectedOrganizationRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*EntitlementManagementSubjectsItemConnectedOrganizationRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewEntitlementManagementSubjectsItemConnectedOrganizationRequestBuilderInternal(urlParams, requestAdapter) +} +// Get the connected organization of the subject. Read-only. Nullable. +// returns a ConnectedOrganizationable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *EntitlementManagementSubjectsItemConnectedOrganizationRequestBuilder) Get(ctx context.Context, requestConfiguration *EntitlementManagementSubjectsItemConnectedOrganizationRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ConnectedOrganizationable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateConnectedOrganizationFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ConnectedOrganizationable), nil +} +// ToGetRequestInformation the connected organization of the subject. Read-only. Nullable. +// returns a *RequestInformation when successful +func (m *EntitlementManagementSubjectsItemConnectedOrganizationRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *EntitlementManagementSubjectsItemConnectedOrganizationRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *EntitlementManagementSubjectsItemConnectedOrganizationRequestBuilder when successful +func (m *EntitlementManagementSubjectsItemConnectedOrganizationRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementSubjectsItemConnectedOrganizationRequestBuilder) { + return NewEntitlementManagementSubjectsItemConnectedOrganizationRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_subjects_request_builder.go b/identitygovernance/entitlement_management_subjects_request_builder.go new file mode 100644 index 0000000000..5463bffce9 --- /dev/null +++ b/identitygovernance/entitlement_management_subjects_request_builder.go @@ -0,0 +1,158 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package identitygovernance + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// EntitlementManagementSubjectsRequestBuilder provides operations to manage the subjects property of the microsoft.graph.entitlementManagement entity. +type EntitlementManagementSubjectsRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// EntitlementManagementSubjectsRequestBuilderGetQueryParameters get the properties of an external directory user represented by an existing accessPackageSubject object. +type EntitlementManagementSubjectsRequestBuilderGetQueryParameters struct { + // Include count of items + Count *bool "uriparametername:\"%24count\"" + // Expand related entities + Expand []string "uriparametername:\"%24expand\"" + // Filter items by property values + Filter *string "uriparametername:\"%24filter\"" + // Order items by property values + Orderby []string "uriparametername:\"%24orderby\"" + // Search items by search phrases + Search *string "uriparametername:\"%24search\"" + // Select properties to be returned + Select []string "uriparametername:\"%24select\"" + // Skip the first n items + Skip *int32 "uriparametername:\"%24skip\"" + // Show only the first n items + Top *int32 "uriparametername:\"%24top\"" +} +// EntitlementManagementSubjectsRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type EntitlementManagementSubjectsRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *EntitlementManagementSubjectsRequestBuilderGetQueryParameters +} +// EntitlementManagementSubjectsRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type EntitlementManagementSubjectsRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// ByAccessPackageSubjectId provides operations to manage the subjects property of the microsoft.graph.entitlementManagement entity. +// returns a *EntitlementManagementSubjectsAccessPackageSubjectItemRequestBuilder when successful +func (m *EntitlementManagementSubjectsRequestBuilder) ByAccessPackageSubjectId(accessPackageSubjectId string)(*EntitlementManagementSubjectsAccessPackageSubjectItemRequestBuilder) { + urlTplParams := make(map[string]string) + for idx, item := range m.BaseRequestBuilder.PathParameters { + urlTplParams[idx] = item + } + if accessPackageSubjectId != "" { + urlTplParams["accessPackageSubject%2Did"] = accessPackageSubjectId + } + return NewEntitlementManagementSubjectsAccessPackageSubjectItemRequestBuilderInternal(urlTplParams, m.BaseRequestBuilder.RequestAdapter) +} +// NewEntitlementManagementSubjectsRequestBuilderInternal instantiates a new EntitlementManagementSubjectsRequestBuilder and sets the default values. +func NewEntitlementManagementSubjectsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*EntitlementManagementSubjectsRequestBuilder) { + m := &EntitlementManagementSubjectsRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/identityGovernance/entitlementManagement/subjects{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), + } + return m +} +// NewEntitlementManagementSubjectsRequestBuilder instantiates a new EntitlementManagementSubjectsRequestBuilder and sets the default values. +func NewEntitlementManagementSubjectsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*EntitlementManagementSubjectsRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewEntitlementManagementSubjectsRequestBuilderInternal(urlParams, requestAdapter) +} +// Count provides operations to count the resources in the collection. +// returns a *EntitlementManagementSubjectsCountRequestBuilder when successful +func (m *EntitlementManagementSubjectsRequestBuilder) Count()(*EntitlementManagementSubjectsCountRequestBuilder) { + return NewEntitlementManagementSubjectsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Get get the properties of an external directory user represented by an existing accessPackageSubject object. +// returns a AccessPackageSubjectCollectionResponseable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/accesspackagesubject-get?view=graph-rest-1.0 +func (m *EntitlementManagementSubjectsRequestBuilder) Get(ctx context.Context, requestConfiguration *EntitlementManagementSubjectsRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.AccessPackageSubjectCollectionResponseable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateAccessPackageSubjectCollectionResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.AccessPackageSubjectCollectionResponseable), nil +} +// Post create new navigation property to subjects for identityGovernance +// returns a AccessPackageSubjectable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *EntitlementManagementSubjectsRequestBuilder) Post(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.AccessPackageSubjectable, requestConfiguration *EntitlementManagementSubjectsRequestBuilderPostRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.AccessPackageSubjectable, error) { + requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateAccessPackageSubjectFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.AccessPackageSubjectable), nil +} +// ToGetRequestInformation get the properties of an external directory user represented by an existing accessPackageSubject object. +// returns a *RequestInformation when successful +func (m *EntitlementManagementSubjectsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *EntitlementManagementSubjectsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToPostRequestInformation create new navigation property to subjects for identityGovernance +// returns a *RequestInformation when successful +func (m *EntitlementManagementSubjectsRequestBuilder) ToPostRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.AccessPackageSubjectable, requestConfiguration *EntitlementManagementSubjectsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *EntitlementManagementSubjectsRequestBuilder when successful +func (m *EntitlementManagementSubjectsRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementSubjectsRequestBuilder) { + return NewEntitlementManagementSubjectsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_subjects_with_object_id_request_builder.go b/identitygovernance/entitlement_management_subjects_with_object_id_request_builder.go new file mode 100644 index 0000000000..5bfe6f73ab --- /dev/null +++ b/identitygovernance/entitlement_management_subjects_with_object_id_request_builder.go @@ -0,0 +1,166 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package identitygovernance + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// EntitlementManagementSubjectsWithObjectIdRequestBuilder provides operations to manage the subjects property of the microsoft.graph.entitlementManagement entity. +type EntitlementManagementSubjectsWithObjectIdRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// EntitlementManagementSubjectsWithObjectIdRequestBuilderDeleteRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type EntitlementManagementSubjectsWithObjectIdRequestBuilderDeleteRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// EntitlementManagementSubjectsWithObjectIdRequestBuilderGetQueryParameters get subjects from identityGovernance +type EntitlementManagementSubjectsWithObjectIdRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string "uriparametername:\"%24expand\"" + // Select properties to be returned + Select []string "uriparametername:\"%24select\"" +} +// EntitlementManagementSubjectsWithObjectIdRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type EntitlementManagementSubjectsWithObjectIdRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *EntitlementManagementSubjectsWithObjectIdRequestBuilderGetQueryParameters +} +// EntitlementManagementSubjectsWithObjectIdRequestBuilderPatchRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type EntitlementManagementSubjectsWithObjectIdRequestBuilderPatchRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewEntitlementManagementSubjectsWithObjectIdRequestBuilderInternal instantiates a new EntitlementManagementSubjectsWithObjectIdRequestBuilder and sets the default values. +func NewEntitlementManagementSubjectsWithObjectIdRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter, objectId *string)(*EntitlementManagementSubjectsWithObjectIdRequestBuilder) { + m := &EntitlementManagementSubjectsWithObjectIdRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/identityGovernance/entitlementManagement/subjects(objectId='{objectId}'){?%24expand,%24select}", pathParameters), + } + if objectId != nil { + m.BaseRequestBuilder.PathParameters["objectId"] = *objectId + } + return m +} +// NewEntitlementManagementSubjectsWithObjectIdRequestBuilder instantiates a new EntitlementManagementSubjectsWithObjectIdRequestBuilder and sets the default values. +func NewEntitlementManagementSubjectsWithObjectIdRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*EntitlementManagementSubjectsWithObjectIdRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewEntitlementManagementSubjectsWithObjectIdRequestBuilderInternal(urlParams, requestAdapter, nil) +} +// Delete delete navigation property subjects for identityGovernance +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *EntitlementManagementSubjectsWithObjectIdRequestBuilder) Delete(ctx context.Context, requestConfiguration *EntitlementManagementSubjectsWithObjectIdRequestBuilderDeleteRequestConfiguration)(error) { + requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); + if err != nil { + return err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + err = m.BaseRequestBuilder.RequestAdapter.SendNoContent(ctx, requestInfo, errorMapping) + if err != nil { + return err + } + return nil +} +// Get get subjects from identityGovernance +// returns a AccessPackageSubjectable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *EntitlementManagementSubjectsWithObjectIdRequestBuilder) Get(ctx context.Context, requestConfiguration *EntitlementManagementSubjectsWithObjectIdRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.AccessPackageSubjectable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateAccessPackageSubjectFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.AccessPackageSubjectable), nil +} +// Patch update an external directory user represented by an existing accessPackageSubject object to change the subject lifecycle. +// returns a AccessPackageSubjectable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/accesspackagesubject-update?view=graph-rest-1.0 +func (m *EntitlementManagementSubjectsWithObjectIdRequestBuilder) Patch(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.AccessPackageSubjectable, requestConfiguration *EntitlementManagementSubjectsWithObjectIdRequestBuilderPatchRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.AccessPackageSubjectable, error) { + requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateAccessPackageSubjectFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.AccessPackageSubjectable), nil +} +// ToDeleteRequestInformation delete navigation property subjects for identityGovernance +// returns a *RequestInformation when successful +func (m *EntitlementManagementSubjectsWithObjectIdRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *EntitlementManagementSubjectsWithObjectIdRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToGetRequestInformation get subjects from identityGovernance +// returns a *RequestInformation when successful +func (m *EntitlementManagementSubjectsWithObjectIdRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *EntitlementManagementSubjectsWithObjectIdRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToPatchRequestInformation update an external directory user represented by an existing accessPackageSubject object to change the subject lifecycle. +// returns a *RequestInformation when successful +func (m *EntitlementManagementSubjectsWithObjectIdRequestBuilder) ToPatchRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.AccessPackageSubjectable, requestConfiguration *EntitlementManagementSubjectsWithObjectIdRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *EntitlementManagementSubjectsWithObjectIdRequestBuilder when successful +func (m *EntitlementManagementSubjectsWithObjectIdRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementSubjectsWithObjectIdRequestBuilder) { + return NewEntitlementManagementSubjectsWithObjectIdRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_preview_scope_count_request_builder.go b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_preview_scope_count_request_builder.go new file mode 100644 index 0000000000..211b102a74 --- /dev/null +++ b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_preview_scope_count_request_builder.go @@ -0,0 +1,83 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package identitygovernance + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// LifecycleWorkflowsDeletedItemsWorkflowsItemPreviewScopeCountRequestBuilder provides operations to count the resources in the collection. +type LifecycleWorkflowsDeletedItemsWorkflowsItemPreviewScopeCountRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// LifecycleWorkflowsDeletedItemsWorkflowsItemPreviewScopeCountRequestBuilderGetQueryParameters get the number of the resource +type LifecycleWorkflowsDeletedItemsWorkflowsItemPreviewScopeCountRequestBuilderGetQueryParameters struct { + // Filter items by property values + Filter *string "uriparametername:\"%24filter\"" + // Search items by search phrases + Search *string "uriparametername:\"%24search\"" +} +// LifecycleWorkflowsDeletedItemsWorkflowsItemPreviewScopeCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type LifecycleWorkflowsDeletedItemsWorkflowsItemPreviewScopeCountRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *LifecycleWorkflowsDeletedItemsWorkflowsItemPreviewScopeCountRequestBuilderGetQueryParameters +} +// NewLifecycleWorkflowsDeletedItemsWorkflowsItemPreviewScopeCountRequestBuilderInternal instantiates a new LifecycleWorkflowsDeletedItemsWorkflowsItemPreviewScopeCountRequestBuilder and sets the default values. +func NewLifecycleWorkflowsDeletedItemsWorkflowsItemPreviewScopeCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*LifecycleWorkflowsDeletedItemsWorkflowsItemPreviewScopeCountRequestBuilder) { + m := &LifecycleWorkflowsDeletedItemsWorkflowsItemPreviewScopeCountRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/deletedItems/workflows/{workflow%2Did}/previewScope/$count{?%24filter,%24search}", pathParameters), + } + return m +} +// NewLifecycleWorkflowsDeletedItemsWorkflowsItemPreviewScopeCountRequestBuilder instantiates a new LifecycleWorkflowsDeletedItemsWorkflowsItemPreviewScopeCountRequestBuilder and sets the default values. +func NewLifecycleWorkflowsDeletedItemsWorkflowsItemPreviewScopeCountRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*LifecycleWorkflowsDeletedItemsWorkflowsItemPreviewScopeCountRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewLifecycleWorkflowsDeletedItemsWorkflowsItemPreviewScopeCountRequestBuilderInternal(urlParams, requestAdapter) +} +// Get get the number of the resource +// returns a *int32 when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemPreviewScopeCountRequestBuilder) Get(ctx context.Context, requestConfiguration *LifecycleWorkflowsDeletedItemsWorkflowsItemPreviewScopeCountRequestBuilderGetRequestConfiguration)(*int32, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.SendPrimitive(ctx, requestInfo, "int32", errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(*int32), nil +} +// ToGetRequestInformation get the number of the resource +// returns a *RequestInformation when successful +func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemPreviewScopeCountRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *LifecycleWorkflowsDeletedItemsWorkflowsItemPreviewScopeCountRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9") + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *LifecycleWorkflowsDeletedItemsWorkflowsItemPreviewScopeCountRequestBuilder when successful +func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemPreviewScopeCountRequestBuilder) WithUrl(rawUrl string)(*LifecycleWorkflowsDeletedItemsWorkflowsItemPreviewScopeCountRequestBuilder) { + return NewLifecycleWorkflowsDeletedItemsWorkflowsItemPreviewScopeCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_preview_scope_directory_object_item_request_builder.go b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_preview_scope_directory_object_item_request_builder.go new file mode 100644 index 0000000000..75d2792809 --- /dev/null +++ b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_preview_scope_directory_object_item_request_builder.go @@ -0,0 +1,84 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package identitygovernance + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// LifecycleWorkflowsDeletedItemsWorkflowsItemPreviewScopeDirectoryObjectItemRequestBuilder provides operations to manage the previewScope property of the microsoft.graph.identityGovernance.workflow entity. +type LifecycleWorkflowsDeletedItemsWorkflowsItemPreviewScopeDirectoryObjectItemRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// LifecycleWorkflowsDeletedItemsWorkflowsItemPreviewScopeDirectoryObjectItemRequestBuilderGetQueryParameters the preview scope for the workflow. +type LifecycleWorkflowsDeletedItemsWorkflowsItemPreviewScopeDirectoryObjectItemRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string "uriparametername:\"%24expand\"" + // Select properties to be returned + Select []string "uriparametername:\"%24select\"" +} +// LifecycleWorkflowsDeletedItemsWorkflowsItemPreviewScopeDirectoryObjectItemRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type LifecycleWorkflowsDeletedItemsWorkflowsItemPreviewScopeDirectoryObjectItemRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *LifecycleWorkflowsDeletedItemsWorkflowsItemPreviewScopeDirectoryObjectItemRequestBuilderGetQueryParameters +} +// NewLifecycleWorkflowsDeletedItemsWorkflowsItemPreviewScopeDirectoryObjectItemRequestBuilderInternal instantiates a new LifecycleWorkflowsDeletedItemsWorkflowsItemPreviewScopeDirectoryObjectItemRequestBuilder and sets the default values. +func NewLifecycleWorkflowsDeletedItemsWorkflowsItemPreviewScopeDirectoryObjectItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*LifecycleWorkflowsDeletedItemsWorkflowsItemPreviewScopeDirectoryObjectItemRequestBuilder) { + m := &LifecycleWorkflowsDeletedItemsWorkflowsItemPreviewScopeDirectoryObjectItemRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/deletedItems/workflows/{workflow%2Did}/previewScope/{directoryObject%2Did}{?%24expand,%24select}", pathParameters), + } + return m +} +// NewLifecycleWorkflowsDeletedItemsWorkflowsItemPreviewScopeDirectoryObjectItemRequestBuilder instantiates a new LifecycleWorkflowsDeletedItemsWorkflowsItemPreviewScopeDirectoryObjectItemRequestBuilder and sets the default values. +func NewLifecycleWorkflowsDeletedItemsWorkflowsItemPreviewScopeDirectoryObjectItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*LifecycleWorkflowsDeletedItemsWorkflowsItemPreviewScopeDirectoryObjectItemRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewLifecycleWorkflowsDeletedItemsWorkflowsItemPreviewScopeDirectoryObjectItemRequestBuilderInternal(urlParams, requestAdapter) +} +// Get the preview scope for the workflow. +// returns a DirectoryObjectable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemPreviewScopeDirectoryObjectItemRequestBuilder) Get(ctx context.Context, requestConfiguration *LifecycleWorkflowsDeletedItemsWorkflowsItemPreviewScopeDirectoryObjectItemRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DirectoryObjectable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateDirectoryObjectFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DirectoryObjectable), nil +} +// ToGetRequestInformation the preview scope for the workflow. +// returns a *RequestInformation when successful +func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemPreviewScopeDirectoryObjectItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *LifecycleWorkflowsDeletedItemsWorkflowsItemPreviewScopeDirectoryObjectItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *LifecycleWorkflowsDeletedItemsWorkflowsItemPreviewScopeDirectoryObjectItemRequestBuilder when successful +func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemPreviewScopeDirectoryObjectItemRequestBuilder) WithUrl(rawUrl string)(*LifecycleWorkflowsDeletedItemsWorkflowsItemPreviewScopeDirectoryObjectItemRequestBuilder) { + return NewLifecycleWorkflowsDeletedItemsWorkflowsItemPreviewScopeDirectoryObjectItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_preview_scope_request_builder.go b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_preview_scope_request_builder.go new file mode 100644 index 0000000000..a7734309f2 --- /dev/null +++ b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_preview_scope_request_builder.go @@ -0,0 +1,113 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package identitygovernance + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// LifecycleWorkflowsDeletedItemsWorkflowsItemPreviewScopeRequestBuilder provides operations to manage the previewScope property of the microsoft.graph.identityGovernance.workflow entity. +type LifecycleWorkflowsDeletedItemsWorkflowsItemPreviewScopeRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// LifecycleWorkflowsDeletedItemsWorkflowsItemPreviewScopeRequestBuilderGetQueryParameters the preview scope for the workflow. +type LifecycleWorkflowsDeletedItemsWorkflowsItemPreviewScopeRequestBuilderGetQueryParameters struct { + // Include count of items + Count *bool "uriparametername:\"%24count\"" + // Expand related entities + Expand []string "uriparametername:\"%24expand\"" + // Filter items by property values + Filter *string "uriparametername:\"%24filter\"" + // Order items by property values + Orderby []string "uriparametername:\"%24orderby\"" + // Search items by search phrases + Search *string "uriparametername:\"%24search\"" + // Select properties to be returned + Select []string "uriparametername:\"%24select\"" + // Skip the first n items + Skip *int32 "uriparametername:\"%24skip\"" + // Show only the first n items + Top *int32 "uriparametername:\"%24top\"" +} +// LifecycleWorkflowsDeletedItemsWorkflowsItemPreviewScopeRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type LifecycleWorkflowsDeletedItemsWorkflowsItemPreviewScopeRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *LifecycleWorkflowsDeletedItemsWorkflowsItemPreviewScopeRequestBuilderGetQueryParameters +} +// ByDirectoryObjectId provides operations to manage the previewScope property of the microsoft.graph.identityGovernance.workflow entity. +// returns a *LifecycleWorkflowsDeletedItemsWorkflowsItemPreviewScopeDirectoryObjectItemRequestBuilder when successful +func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemPreviewScopeRequestBuilder) ByDirectoryObjectId(directoryObjectId string)(*LifecycleWorkflowsDeletedItemsWorkflowsItemPreviewScopeDirectoryObjectItemRequestBuilder) { + urlTplParams := make(map[string]string) + for idx, item := range m.BaseRequestBuilder.PathParameters { + urlTplParams[idx] = item + } + if directoryObjectId != "" { + urlTplParams["directoryObject%2Did"] = directoryObjectId + } + return NewLifecycleWorkflowsDeletedItemsWorkflowsItemPreviewScopeDirectoryObjectItemRequestBuilderInternal(urlTplParams, m.BaseRequestBuilder.RequestAdapter) +} +// NewLifecycleWorkflowsDeletedItemsWorkflowsItemPreviewScopeRequestBuilderInternal instantiates a new LifecycleWorkflowsDeletedItemsWorkflowsItemPreviewScopeRequestBuilder and sets the default values. +func NewLifecycleWorkflowsDeletedItemsWorkflowsItemPreviewScopeRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*LifecycleWorkflowsDeletedItemsWorkflowsItemPreviewScopeRequestBuilder) { + m := &LifecycleWorkflowsDeletedItemsWorkflowsItemPreviewScopeRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/deletedItems/workflows/{workflow%2Did}/previewScope{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), + } + return m +} +// NewLifecycleWorkflowsDeletedItemsWorkflowsItemPreviewScopeRequestBuilder instantiates a new LifecycleWorkflowsDeletedItemsWorkflowsItemPreviewScopeRequestBuilder and sets the default values. +func NewLifecycleWorkflowsDeletedItemsWorkflowsItemPreviewScopeRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*LifecycleWorkflowsDeletedItemsWorkflowsItemPreviewScopeRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewLifecycleWorkflowsDeletedItemsWorkflowsItemPreviewScopeRequestBuilderInternal(urlParams, requestAdapter) +} +// Count provides operations to count the resources in the collection. +// returns a *LifecycleWorkflowsDeletedItemsWorkflowsItemPreviewScopeCountRequestBuilder when successful +func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemPreviewScopeRequestBuilder) Count()(*LifecycleWorkflowsDeletedItemsWorkflowsItemPreviewScopeCountRequestBuilder) { + return NewLifecycleWorkflowsDeletedItemsWorkflowsItemPreviewScopeCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Get the preview scope for the workflow. +// returns a DirectoryObjectCollectionResponseable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemPreviewScopeRequestBuilder) Get(ctx context.Context, requestConfiguration *LifecycleWorkflowsDeletedItemsWorkflowsItemPreviewScopeRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DirectoryObjectCollectionResponseable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateDirectoryObjectCollectionResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DirectoryObjectCollectionResponseable), nil +} +// ToGetRequestInformation the preview scope for the workflow. +// returns a *RequestInformation when successful +func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemPreviewScopeRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *LifecycleWorkflowsDeletedItemsWorkflowsItemPreviewScopeRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *LifecycleWorkflowsDeletedItemsWorkflowsItemPreviewScopeRequestBuilder when successful +func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemPreviewScopeRequestBuilder) WithUrl(rawUrl string)(*LifecycleWorkflowsDeletedItemsWorkflowsItemPreviewScopeRequestBuilder) { + return NewLifecycleWorkflowsDeletedItemsWorkflowsItemPreviewScopeRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/lifecycle_workflows_deleted_items_workflows_workflow_item_request_builder.go b/identitygovernance/lifecycle_workflows_deleted_items_workflows_workflow_item_request_builder.go index fa6865af75..ee8b88d5c1 100644 --- a/identitygovernance/lifecycle_workflows_deleted_items_workflows_workflow_item_request_builder.go +++ b/identitygovernance/lifecycle_workflows_deleted_items_workflows_workflow_item_request_builder.go @@ -122,16 +122,36 @@ func (m *LifecycleWorkflowsDeletedItemsWorkflowsWorkflowItemRequestBuilder) Micr func (m *LifecycleWorkflowsDeletedItemsWorkflowsWorkflowItemRequestBuilder) MicrosoftGraphIdentityGovernanceActivateWithScope()(*LifecycleWorkflowsDeletedItemsWorkflowsItemMicrosoftGraphIdentityGovernanceActivateWithScopeRequestBuilder) { return NewLifecycleWorkflowsDeletedItemsWorkflowsItemMicrosoftGraphIdentityGovernanceActivateWithScopeRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } +// MicrosoftGraphIdentityGovernanceClearQuarantine provides operations to call the clearQuarantine method. +// returns a *LifecycleWorkflowsDeletedItemsWorkflowsItemMicrosoftGraphIdentityGovernanceClearQuarantineRequestBuilder when successful +func (m *LifecycleWorkflowsDeletedItemsWorkflowsWorkflowItemRequestBuilder) MicrosoftGraphIdentityGovernanceClearQuarantine()(*LifecycleWorkflowsDeletedItemsWorkflowsItemMicrosoftGraphIdentityGovernanceClearQuarantineRequestBuilder) { + return NewLifecycleWorkflowsDeletedItemsWorkflowsItemMicrosoftGraphIdentityGovernanceClearQuarantineRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} // MicrosoftGraphIdentityGovernanceCreateNewVersion provides operations to call the createNewVersion method. // returns a *LifecycleWorkflowsDeletedItemsWorkflowsItemMicrosoftGraphIdentityGovernanceCreateNewVersionRequestBuilder when successful func (m *LifecycleWorkflowsDeletedItemsWorkflowsWorkflowItemRequestBuilder) MicrosoftGraphIdentityGovernanceCreateNewVersion()(*LifecycleWorkflowsDeletedItemsWorkflowsItemMicrosoftGraphIdentityGovernanceCreateNewVersionRequestBuilder) { return NewLifecycleWorkflowsDeletedItemsWorkflowsItemMicrosoftGraphIdentityGovernanceCreateNewVersionRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } +// MicrosoftGraphIdentityGovernancePreviewTaskFailures provides operations to call the previewTaskFailures method. +// returns a *LifecycleWorkflowsDeletedItemsWorkflowsItemMicrosoftGraphIdentityGovernancePreviewTaskFailuresRequestBuilder when successful +func (m *LifecycleWorkflowsDeletedItemsWorkflowsWorkflowItemRequestBuilder) MicrosoftGraphIdentityGovernancePreviewTaskFailures()(*LifecycleWorkflowsDeletedItemsWorkflowsItemMicrosoftGraphIdentityGovernancePreviewTaskFailuresRequestBuilder) { + return NewLifecycleWorkflowsDeletedItemsWorkflowsItemMicrosoftGraphIdentityGovernancePreviewTaskFailuresRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// MicrosoftGraphIdentityGovernancePreviewWorkflow provides operations to call the previewWorkflow method. +// returns a *LifecycleWorkflowsDeletedItemsWorkflowsItemMicrosoftGraphIdentityGovernancePreviewWorkflowRequestBuilder when successful +func (m *LifecycleWorkflowsDeletedItemsWorkflowsWorkflowItemRequestBuilder) MicrosoftGraphIdentityGovernancePreviewWorkflow()(*LifecycleWorkflowsDeletedItemsWorkflowsItemMicrosoftGraphIdentityGovernancePreviewWorkflowRequestBuilder) { + return NewLifecycleWorkflowsDeletedItemsWorkflowsItemMicrosoftGraphIdentityGovernancePreviewWorkflowRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} // MicrosoftGraphIdentityGovernanceRestore provides operations to call the restore method. // returns a *LifecycleWorkflowsDeletedItemsWorkflowsItemMicrosoftGraphIdentityGovernanceRestoreRequestBuilder when successful func (m *LifecycleWorkflowsDeletedItemsWorkflowsWorkflowItemRequestBuilder) MicrosoftGraphIdentityGovernanceRestore()(*LifecycleWorkflowsDeletedItemsWorkflowsItemMicrosoftGraphIdentityGovernanceRestoreRequestBuilder) { return NewLifecycleWorkflowsDeletedItemsWorkflowsItemMicrosoftGraphIdentityGovernanceRestoreRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } +// PreviewScope provides operations to manage the previewScope property of the microsoft.graph.identityGovernance.workflow entity. +// returns a *LifecycleWorkflowsDeletedItemsWorkflowsItemPreviewScopeRequestBuilder when successful +func (m *LifecycleWorkflowsDeletedItemsWorkflowsWorkflowItemRequestBuilder) PreviewScope()(*LifecycleWorkflowsDeletedItemsWorkflowsItemPreviewScopeRequestBuilder) { + return NewLifecycleWorkflowsDeletedItemsWorkflowsItemPreviewScopeRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} // Runs provides operations to manage the runs property of the microsoft.graph.identityGovernance.workflow entity. // returns a *LifecycleWorkflowsDeletedItemsWorkflowsItemRunsRequestBuilder when successful func (m *LifecycleWorkflowsDeletedItemsWorkflowsWorkflowItemRequestBuilder) Runs()(*LifecycleWorkflowsDeletedItemsWorkflowsItemRunsRequestBuilder) { diff --git a/identitygovernance/lifecycle_workflows_workflows_item_preview_scope_count_request_builder.go b/identitygovernance/lifecycle_workflows_workflows_item_preview_scope_count_request_builder.go new file mode 100644 index 0000000000..533ee99d25 --- /dev/null +++ b/identitygovernance/lifecycle_workflows_workflows_item_preview_scope_count_request_builder.go @@ -0,0 +1,83 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package identitygovernance + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// LifecycleWorkflowsWorkflowsItemPreviewScopeCountRequestBuilder provides operations to count the resources in the collection. +type LifecycleWorkflowsWorkflowsItemPreviewScopeCountRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// LifecycleWorkflowsWorkflowsItemPreviewScopeCountRequestBuilderGetQueryParameters get the number of the resource +type LifecycleWorkflowsWorkflowsItemPreviewScopeCountRequestBuilderGetQueryParameters struct { + // Filter items by property values + Filter *string "uriparametername:\"%24filter\"" + // Search items by search phrases + Search *string "uriparametername:\"%24search\"" +} +// LifecycleWorkflowsWorkflowsItemPreviewScopeCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type LifecycleWorkflowsWorkflowsItemPreviewScopeCountRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *LifecycleWorkflowsWorkflowsItemPreviewScopeCountRequestBuilderGetQueryParameters +} +// NewLifecycleWorkflowsWorkflowsItemPreviewScopeCountRequestBuilderInternal instantiates a new LifecycleWorkflowsWorkflowsItemPreviewScopeCountRequestBuilder and sets the default values. +func NewLifecycleWorkflowsWorkflowsItemPreviewScopeCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*LifecycleWorkflowsWorkflowsItemPreviewScopeCountRequestBuilder) { + m := &LifecycleWorkflowsWorkflowsItemPreviewScopeCountRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/workflows/{workflow%2Did}/previewScope/$count{?%24filter,%24search}", pathParameters), + } + return m +} +// NewLifecycleWorkflowsWorkflowsItemPreviewScopeCountRequestBuilder instantiates a new LifecycleWorkflowsWorkflowsItemPreviewScopeCountRequestBuilder and sets the default values. +func NewLifecycleWorkflowsWorkflowsItemPreviewScopeCountRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*LifecycleWorkflowsWorkflowsItemPreviewScopeCountRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewLifecycleWorkflowsWorkflowsItemPreviewScopeCountRequestBuilderInternal(urlParams, requestAdapter) +} +// Get get the number of the resource +// returns a *int32 when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *LifecycleWorkflowsWorkflowsItemPreviewScopeCountRequestBuilder) Get(ctx context.Context, requestConfiguration *LifecycleWorkflowsWorkflowsItemPreviewScopeCountRequestBuilderGetRequestConfiguration)(*int32, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.SendPrimitive(ctx, requestInfo, "int32", errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(*int32), nil +} +// ToGetRequestInformation get the number of the resource +// returns a *RequestInformation when successful +func (m *LifecycleWorkflowsWorkflowsItemPreviewScopeCountRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *LifecycleWorkflowsWorkflowsItemPreviewScopeCountRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9") + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *LifecycleWorkflowsWorkflowsItemPreviewScopeCountRequestBuilder when successful +func (m *LifecycleWorkflowsWorkflowsItemPreviewScopeCountRequestBuilder) WithUrl(rawUrl string)(*LifecycleWorkflowsWorkflowsItemPreviewScopeCountRequestBuilder) { + return NewLifecycleWorkflowsWorkflowsItemPreviewScopeCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/lifecycle_workflows_workflows_item_preview_scope_directory_object_item_request_builder.go b/identitygovernance/lifecycle_workflows_workflows_item_preview_scope_directory_object_item_request_builder.go new file mode 100644 index 0000000000..cd6c4871c5 --- /dev/null +++ b/identitygovernance/lifecycle_workflows_workflows_item_preview_scope_directory_object_item_request_builder.go @@ -0,0 +1,84 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package identitygovernance + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// LifecycleWorkflowsWorkflowsItemPreviewScopeDirectoryObjectItemRequestBuilder provides operations to manage the previewScope property of the microsoft.graph.identityGovernance.workflow entity. +type LifecycleWorkflowsWorkflowsItemPreviewScopeDirectoryObjectItemRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// LifecycleWorkflowsWorkflowsItemPreviewScopeDirectoryObjectItemRequestBuilderGetQueryParameters the preview scope for the workflow. +type LifecycleWorkflowsWorkflowsItemPreviewScopeDirectoryObjectItemRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string "uriparametername:\"%24expand\"" + // Select properties to be returned + Select []string "uriparametername:\"%24select\"" +} +// LifecycleWorkflowsWorkflowsItemPreviewScopeDirectoryObjectItemRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type LifecycleWorkflowsWorkflowsItemPreviewScopeDirectoryObjectItemRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *LifecycleWorkflowsWorkflowsItemPreviewScopeDirectoryObjectItemRequestBuilderGetQueryParameters +} +// NewLifecycleWorkflowsWorkflowsItemPreviewScopeDirectoryObjectItemRequestBuilderInternal instantiates a new LifecycleWorkflowsWorkflowsItemPreviewScopeDirectoryObjectItemRequestBuilder and sets the default values. +func NewLifecycleWorkflowsWorkflowsItemPreviewScopeDirectoryObjectItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*LifecycleWorkflowsWorkflowsItemPreviewScopeDirectoryObjectItemRequestBuilder) { + m := &LifecycleWorkflowsWorkflowsItemPreviewScopeDirectoryObjectItemRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/workflows/{workflow%2Did}/previewScope/{directoryObject%2Did}{?%24expand,%24select}", pathParameters), + } + return m +} +// NewLifecycleWorkflowsWorkflowsItemPreviewScopeDirectoryObjectItemRequestBuilder instantiates a new LifecycleWorkflowsWorkflowsItemPreviewScopeDirectoryObjectItemRequestBuilder and sets the default values. +func NewLifecycleWorkflowsWorkflowsItemPreviewScopeDirectoryObjectItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*LifecycleWorkflowsWorkflowsItemPreviewScopeDirectoryObjectItemRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewLifecycleWorkflowsWorkflowsItemPreviewScopeDirectoryObjectItemRequestBuilderInternal(urlParams, requestAdapter) +} +// Get the preview scope for the workflow. +// returns a DirectoryObjectable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *LifecycleWorkflowsWorkflowsItemPreviewScopeDirectoryObjectItemRequestBuilder) Get(ctx context.Context, requestConfiguration *LifecycleWorkflowsWorkflowsItemPreviewScopeDirectoryObjectItemRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DirectoryObjectable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateDirectoryObjectFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DirectoryObjectable), nil +} +// ToGetRequestInformation the preview scope for the workflow. +// returns a *RequestInformation when successful +func (m *LifecycleWorkflowsWorkflowsItemPreviewScopeDirectoryObjectItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *LifecycleWorkflowsWorkflowsItemPreviewScopeDirectoryObjectItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *LifecycleWorkflowsWorkflowsItemPreviewScopeDirectoryObjectItemRequestBuilder when successful +func (m *LifecycleWorkflowsWorkflowsItemPreviewScopeDirectoryObjectItemRequestBuilder) WithUrl(rawUrl string)(*LifecycleWorkflowsWorkflowsItemPreviewScopeDirectoryObjectItemRequestBuilder) { + return NewLifecycleWorkflowsWorkflowsItemPreviewScopeDirectoryObjectItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/lifecycle_workflows_workflows_item_preview_scope_request_builder.go b/identitygovernance/lifecycle_workflows_workflows_item_preview_scope_request_builder.go new file mode 100644 index 0000000000..b3c67c11b9 --- /dev/null +++ b/identitygovernance/lifecycle_workflows_workflows_item_preview_scope_request_builder.go @@ -0,0 +1,113 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package identitygovernance + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// LifecycleWorkflowsWorkflowsItemPreviewScopeRequestBuilder provides operations to manage the previewScope property of the microsoft.graph.identityGovernance.workflow entity. +type LifecycleWorkflowsWorkflowsItemPreviewScopeRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// LifecycleWorkflowsWorkflowsItemPreviewScopeRequestBuilderGetQueryParameters the preview scope for the workflow. +type LifecycleWorkflowsWorkflowsItemPreviewScopeRequestBuilderGetQueryParameters struct { + // Include count of items + Count *bool "uriparametername:\"%24count\"" + // Expand related entities + Expand []string "uriparametername:\"%24expand\"" + // Filter items by property values + Filter *string "uriparametername:\"%24filter\"" + // Order items by property values + Orderby []string "uriparametername:\"%24orderby\"" + // Search items by search phrases + Search *string "uriparametername:\"%24search\"" + // Select properties to be returned + Select []string "uriparametername:\"%24select\"" + // Skip the first n items + Skip *int32 "uriparametername:\"%24skip\"" + // Show only the first n items + Top *int32 "uriparametername:\"%24top\"" +} +// LifecycleWorkflowsWorkflowsItemPreviewScopeRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type LifecycleWorkflowsWorkflowsItemPreviewScopeRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *LifecycleWorkflowsWorkflowsItemPreviewScopeRequestBuilderGetQueryParameters +} +// ByDirectoryObjectId provides operations to manage the previewScope property of the microsoft.graph.identityGovernance.workflow entity. +// returns a *LifecycleWorkflowsWorkflowsItemPreviewScopeDirectoryObjectItemRequestBuilder when successful +func (m *LifecycleWorkflowsWorkflowsItemPreviewScopeRequestBuilder) ByDirectoryObjectId(directoryObjectId string)(*LifecycleWorkflowsWorkflowsItemPreviewScopeDirectoryObjectItemRequestBuilder) { + urlTplParams := make(map[string]string) + for idx, item := range m.BaseRequestBuilder.PathParameters { + urlTplParams[idx] = item + } + if directoryObjectId != "" { + urlTplParams["directoryObject%2Did"] = directoryObjectId + } + return NewLifecycleWorkflowsWorkflowsItemPreviewScopeDirectoryObjectItemRequestBuilderInternal(urlTplParams, m.BaseRequestBuilder.RequestAdapter) +} +// NewLifecycleWorkflowsWorkflowsItemPreviewScopeRequestBuilderInternal instantiates a new LifecycleWorkflowsWorkflowsItemPreviewScopeRequestBuilder and sets the default values. +func NewLifecycleWorkflowsWorkflowsItemPreviewScopeRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*LifecycleWorkflowsWorkflowsItemPreviewScopeRequestBuilder) { + m := &LifecycleWorkflowsWorkflowsItemPreviewScopeRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/workflows/{workflow%2Did}/previewScope{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), + } + return m +} +// NewLifecycleWorkflowsWorkflowsItemPreviewScopeRequestBuilder instantiates a new LifecycleWorkflowsWorkflowsItemPreviewScopeRequestBuilder and sets the default values. +func NewLifecycleWorkflowsWorkflowsItemPreviewScopeRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*LifecycleWorkflowsWorkflowsItemPreviewScopeRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewLifecycleWorkflowsWorkflowsItemPreviewScopeRequestBuilderInternal(urlParams, requestAdapter) +} +// Count provides operations to count the resources in the collection. +// returns a *LifecycleWorkflowsWorkflowsItemPreviewScopeCountRequestBuilder when successful +func (m *LifecycleWorkflowsWorkflowsItemPreviewScopeRequestBuilder) Count()(*LifecycleWorkflowsWorkflowsItemPreviewScopeCountRequestBuilder) { + return NewLifecycleWorkflowsWorkflowsItemPreviewScopeCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Get the preview scope for the workflow. +// returns a DirectoryObjectCollectionResponseable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *LifecycleWorkflowsWorkflowsItemPreviewScopeRequestBuilder) Get(ctx context.Context, requestConfiguration *LifecycleWorkflowsWorkflowsItemPreviewScopeRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DirectoryObjectCollectionResponseable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateDirectoryObjectCollectionResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DirectoryObjectCollectionResponseable), nil +} +// ToGetRequestInformation the preview scope for the workflow. +// returns a *RequestInformation when successful +func (m *LifecycleWorkflowsWorkflowsItemPreviewScopeRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *LifecycleWorkflowsWorkflowsItemPreviewScopeRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *LifecycleWorkflowsWorkflowsItemPreviewScopeRequestBuilder when successful +func (m *LifecycleWorkflowsWorkflowsItemPreviewScopeRequestBuilder) WithUrl(rawUrl string)(*LifecycleWorkflowsWorkflowsItemPreviewScopeRequestBuilder) { + return NewLifecycleWorkflowsWorkflowsItemPreviewScopeRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/lifecycle_workflows_workflows_workflow_item_request_builder.go b/identitygovernance/lifecycle_workflows_workflows_workflow_item_request_builder.go index cb6fae5f7c..4255994748 100644 --- a/identitygovernance/lifecycle_workflows_workflows_workflow_item_request_builder.go +++ b/identitygovernance/lifecycle_workflows_workflows_workflow_item_request_builder.go @@ -129,11 +129,26 @@ func (m *LifecycleWorkflowsWorkflowsWorkflowItemRequestBuilder) MicrosoftGraphId func (m *LifecycleWorkflowsWorkflowsWorkflowItemRequestBuilder) MicrosoftGraphIdentityGovernanceActivateWithScope()(*LifecycleWorkflowsWorkflowsItemMicrosoftGraphIdentityGovernanceActivateWithScopeRequestBuilder) { return NewLifecycleWorkflowsWorkflowsItemMicrosoftGraphIdentityGovernanceActivateWithScopeRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } +// MicrosoftGraphIdentityGovernanceClearQuarantine provides operations to call the clearQuarantine method. +// returns a *LifecycleWorkflowsWorkflowsItemMicrosoftGraphIdentityGovernanceClearQuarantineRequestBuilder when successful +func (m *LifecycleWorkflowsWorkflowsWorkflowItemRequestBuilder) MicrosoftGraphIdentityGovernanceClearQuarantine()(*LifecycleWorkflowsWorkflowsItemMicrosoftGraphIdentityGovernanceClearQuarantineRequestBuilder) { + return NewLifecycleWorkflowsWorkflowsItemMicrosoftGraphIdentityGovernanceClearQuarantineRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} // MicrosoftGraphIdentityGovernanceCreateNewVersion provides operations to call the createNewVersion method. // returns a *LifecycleWorkflowsWorkflowsItemMicrosoftGraphIdentityGovernanceCreateNewVersionRequestBuilder when successful func (m *LifecycleWorkflowsWorkflowsWorkflowItemRequestBuilder) MicrosoftGraphIdentityGovernanceCreateNewVersion()(*LifecycleWorkflowsWorkflowsItemMicrosoftGraphIdentityGovernanceCreateNewVersionRequestBuilder) { return NewLifecycleWorkflowsWorkflowsItemMicrosoftGraphIdentityGovernanceCreateNewVersionRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } +// MicrosoftGraphIdentityGovernancePreviewTaskFailures provides operations to call the previewTaskFailures method. +// returns a *LifecycleWorkflowsWorkflowsItemMicrosoftGraphIdentityGovernancePreviewTaskFailuresRequestBuilder when successful +func (m *LifecycleWorkflowsWorkflowsWorkflowItemRequestBuilder) MicrosoftGraphIdentityGovernancePreviewTaskFailures()(*LifecycleWorkflowsWorkflowsItemMicrosoftGraphIdentityGovernancePreviewTaskFailuresRequestBuilder) { + return NewLifecycleWorkflowsWorkflowsItemMicrosoftGraphIdentityGovernancePreviewTaskFailuresRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// MicrosoftGraphIdentityGovernancePreviewWorkflow provides operations to call the previewWorkflow method. +// returns a *LifecycleWorkflowsWorkflowsItemMicrosoftGraphIdentityGovernancePreviewWorkflowRequestBuilder when successful +func (m *LifecycleWorkflowsWorkflowsWorkflowItemRequestBuilder) MicrosoftGraphIdentityGovernancePreviewWorkflow()(*LifecycleWorkflowsWorkflowsItemMicrosoftGraphIdentityGovernancePreviewWorkflowRequestBuilder) { + return NewLifecycleWorkflowsWorkflowsItemMicrosoftGraphIdentityGovernancePreviewWorkflowRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} // MicrosoftGraphIdentityGovernanceRestore provides operations to call the restore method. // returns a *LifecycleWorkflowsWorkflowsItemMicrosoftGraphIdentityGovernanceRestoreRequestBuilder when successful func (m *LifecycleWorkflowsWorkflowsWorkflowItemRequestBuilder) MicrosoftGraphIdentityGovernanceRestore()(*LifecycleWorkflowsWorkflowsItemMicrosoftGraphIdentityGovernanceRestoreRequestBuilder) { @@ -162,6 +177,11 @@ func (m *LifecycleWorkflowsWorkflowsWorkflowItemRequestBuilder) Patch(ctx contex } return res.(ibf6ed4fc8e373ed2600905053a507c004671ad1749cb4b6b77078a908490c430.Workflowable), nil } +// PreviewScope provides operations to manage the previewScope property of the microsoft.graph.identityGovernance.workflow entity. +// returns a *LifecycleWorkflowsWorkflowsItemPreviewScopeRequestBuilder when successful +func (m *LifecycleWorkflowsWorkflowsWorkflowItemRequestBuilder) PreviewScope()(*LifecycleWorkflowsWorkflowsItemPreviewScopeRequestBuilder) { + return NewLifecycleWorkflowsWorkflowsItemPreviewScopeRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} // Runs provides operations to manage the runs property of the microsoft.graph.identityGovernance.workflow entity. // returns a *LifecycleWorkflowsWorkflowsItemRunsRequestBuilder when successful func (m *LifecycleWorkflowsWorkflowsWorkflowItemRequestBuilder) Runs()(*LifecycleWorkflowsWorkflowsItemRunsRequestBuilder) { diff --git a/informationprotection/bitlocker_recovery_keys_request_builder.go b/informationprotection/bitlocker_recovery_keys_request_builder.go index 917dce5fcb..35d4b5477c 100644 --- a/informationprotection/bitlocker_recovery_keys_request_builder.go +++ b/informationprotection/bitlocker_recovery_keys_request_builder.go @@ -14,7 +14,7 @@ import ( type BitlockerRecoveryKeysRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// BitlockerRecoveryKeysRequestBuilderGetQueryParameters get a list of the bitlockerRecoveryKey objects and their properties. This operation does not return the key property. For information about how to read the key property, see Get bitlockerRecoveryKey. You can use this API to programmatically iterate through the list of recovery keys in the tenant and identify devices with BitLocker enabled. For more information, see the sample PowerShell code in BitLocker recovery process. +// BitlockerRecoveryKeysRequestBuilderGetQueryParameters get a list of the bitlockerRecoveryKey objects and their properties. This operation doesn't return the key property. For information about how to read the key property, see Get bitlockerRecoveryKey. You can use this API to programmatically iterate through the list of recovery keys in the tenant and identify devices with BitLocker enabled. For more information, see the sample PowerShell code in BitLocker recovery process. type BitlockerRecoveryKeysRequestBuilderGetQueryParameters struct { // Include count of items Count *bool "uriparametername:\"%24count\"" @@ -72,7 +72,7 @@ func NewBitlockerRecoveryKeysRequestBuilder(rawUrl string, requestAdapter i2ae41 func (m *BitlockerRecoveryKeysRequestBuilder) Count()(*BitlockerRecoveryKeysCountRequestBuilder) { return NewBitlockerRecoveryKeysCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get a list of the bitlockerRecoveryKey objects and their properties. This operation does not return the key property. For information about how to read the key property, see Get bitlockerRecoveryKey. You can use this API to programmatically iterate through the list of recovery keys in the tenant and identify devices with BitLocker enabled. For more information, see the sample PowerShell code in BitLocker recovery process. +// Get get a list of the bitlockerRecoveryKey objects and their properties. This operation doesn't return the key property. For information about how to read the key property, see Get bitlockerRecoveryKey. You can use this API to programmatically iterate through the list of recovery keys in the tenant and identify devices with BitLocker enabled. For more information, see the sample PowerShell code in BitLocker recovery process. // returns a BitlockerRecoveryKeyCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] @@ -95,7 +95,7 @@ func (m *BitlockerRecoveryKeysRequestBuilder) Get(ctx context.Context, requestCo } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.BitlockerRecoveryKeyCollectionResponseable), nil } -// ToGetRequestInformation get a list of the bitlockerRecoveryKey objects and their properties. This operation does not return the key property. For information about how to read the key property, see Get bitlockerRecoveryKey. You can use this API to programmatically iterate through the list of recovery keys in the tenant and identify devices with BitLocker enabled. For more information, see the sample PowerShell code in BitLocker recovery process. +// ToGetRequestInformation get a list of the bitlockerRecoveryKey objects and their properties. This operation doesn't return the key property. For information about how to read the key property, see Get bitlockerRecoveryKey. You can use this API to programmatically iterate through the list of recovery keys in the tenant and identify devices with BitLocker enabled. For more information, see the sample PowerShell code in BitLocker recovery process. // returns a *RequestInformation when successful func (m *BitlockerRecoveryKeysRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *BitlockerRecoveryKeysRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/kiota-dom-export.txt b/kiota-dom-export.txt index a7de793e9f..77818728bb 100644 --- a/kiota-dom-export.txt +++ b/kiota-dom-export.txt @@ -6395,6 +6395,7 @@ github.com/microsoftgraph/msgraph-sdk-go/.chats.ChatItemRequestBuilder::|public| github.com/microsoftgraph/msgraph-sdk-go/.chats.ChatItemRequestBuilder::|public|sendActivityNotification():*ItemSendActivityNotificationRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.chats.ChatItemRequestBuilder::|public|startMigration():*ItemStartMigrationRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.chats.ChatItemRequestBuilder::|public|tabs():*ItemTabsRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.chats.ChatItemRequestBuilder::|public|targetedMessages():*ItemTargetedMessagesRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.chats.ChatItemRequestBuilder::|public|ToDeleteRequestInformation(ctx:context.Context; requestConfiguration?:*ChatItemRequestBuilderDeleteRequestConfiguration):*RequestInformation github.com/microsoftgraph/msgraph-sdk-go/.chats.ChatItemRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*ChatItemRequestBuilderGetRequestConfiguration):*RequestInformation github.com/microsoftgraph/msgraph-sdk-go/.chats.ChatItemRequestBuilder::|public|ToPatchRequestInformation(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Chatable; ctx:context.Context; requestConfiguration?:*ChatItemRequestBuilderPatchRequestConfiguration):*RequestInformation @@ -7812,6 +7813,445 @@ github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTabsTeamsTabItemRequestBuild github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTabsTeamsTabItemRequestBuilder::|public|ToPatchRequestInformation(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.TeamsTabable; ctx:context.Context; requestConfiguration?:*ItemTabsTeamsTabItemRequestBuilderPatchRequestConfiguration):*RequestInformation github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTabsTeamsTabItemRequestBuilder::|public|urlTemplate:string github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTabsTeamsTabItemRequestBuilder::|public|WithUrl(rawUrl:string):*ItemTabsTeamsTabItemRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesCountRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesCountRequestBuilder.ItemTargetedMessagesCountRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesCountRequestBuilder.ItemTargetedMessagesCountRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesCountRequestBuilder.ItemTargetedMessagesCountRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesCountRequestBuilder.ItemTargetedMessagesCountRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesCountRequestBuilder.ItemTargetedMessagesCountRequestBuilderGetRequestConfiguration::|public|queryParameters:*ItemTargetedMessagesCountRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesCountRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesCountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesCountRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*ItemTargetedMessagesCountRequestBuilderGetRequestConfiguration):*int32 +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesCountRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesCountRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesCountRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*ItemTargetedMessagesCountRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesCountRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesCountRequestBuilder::|public|WithUrl(rawUrl:string):*ItemTargetedMessagesCountRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesItemHostedContentsChatMessageHostedContentItemRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesItemHostedContentsChatMessageHostedContentItemRequestBuilder.ItemTargetedMessagesItemHostedContentsChatMessageHostedContentItemRequestBuilderDeleteRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesItemHostedContentsChatMessageHostedContentItemRequestBuilder.ItemTargetedMessagesItemHostedContentsChatMessageHostedContentItemRequestBuilderDeleteRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesItemHostedContentsChatMessageHostedContentItemRequestBuilder.ItemTargetedMessagesItemHostedContentsChatMessageHostedContentItemRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesItemHostedContentsChatMessageHostedContentItemRequestBuilder.ItemTargetedMessagesItemHostedContentsChatMessageHostedContentItemRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesItemHostedContentsChatMessageHostedContentItemRequestBuilder.ItemTargetedMessagesItemHostedContentsChatMessageHostedContentItemRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesItemHostedContentsChatMessageHostedContentItemRequestBuilder.ItemTargetedMessagesItemHostedContentsChatMessageHostedContentItemRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesItemHostedContentsChatMessageHostedContentItemRequestBuilder.ItemTargetedMessagesItemHostedContentsChatMessageHostedContentItemRequestBuilderGetRequestConfiguration::|public|queryParameters:*ItemTargetedMessagesItemHostedContentsChatMessageHostedContentItemRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesItemHostedContentsChatMessageHostedContentItemRequestBuilder.ItemTargetedMessagesItemHostedContentsChatMessageHostedContentItemRequestBuilderPatchRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesItemHostedContentsChatMessageHostedContentItemRequestBuilder.ItemTargetedMessagesItemHostedContentsChatMessageHostedContentItemRequestBuilderPatchRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesItemHostedContentsChatMessageHostedContentItemRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesItemHostedContentsChatMessageHostedContentItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesItemHostedContentsChatMessageHostedContentItemRequestBuilder::|public|Content():*ItemTargetedMessagesItemHostedContentsItemValueContentRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesItemHostedContentsChatMessageHostedContentItemRequestBuilder::|public|Delete(ctx:context.Context; requestConfiguration?:*ItemTargetedMessagesItemHostedContentsChatMessageHostedContentItemRequestBuilderDeleteRequestConfiguration):void +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesItemHostedContentsChatMessageHostedContentItemRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*ItemTargetedMessagesItemHostedContentsChatMessageHostedContentItemRequestBuilderGetRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageHostedContentable +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesItemHostedContentsChatMessageHostedContentItemRequestBuilder::|public|Patch(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageHostedContentable; ctx:context.Context; requestConfiguration?:*ItemTargetedMessagesItemHostedContentsChatMessageHostedContentItemRequestBuilderPatchRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageHostedContentable +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesItemHostedContentsChatMessageHostedContentItemRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesItemHostedContentsChatMessageHostedContentItemRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesItemHostedContentsChatMessageHostedContentItemRequestBuilder::|public|ToDeleteRequestInformation(ctx:context.Context; requestConfiguration?:*ItemTargetedMessagesItemHostedContentsChatMessageHostedContentItemRequestBuilderDeleteRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesItemHostedContentsChatMessageHostedContentItemRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*ItemTargetedMessagesItemHostedContentsChatMessageHostedContentItemRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesItemHostedContentsChatMessageHostedContentItemRequestBuilder::|public|ToPatchRequestInformation(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageHostedContentable; ctx:context.Context; requestConfiguration?:*ItemTargetedMessagesItemHostedContentsChatMessageHostedContentItemRequestBuilderPatchRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesItemHostedContentsChatMessageHostedContentItemRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesItemHostedContentsChatMessageHostedContentItemRequestBuilder::|public|WithUrl(rawUrl:string):*ItemTargetedMessagesItemHostedContentsChatMessageHostedContentItemRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesItemHostedContentsCountRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesItemHostedContentsCountRequestBuilder.ItemTargetedMessagesItemHostedContentsCountRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesItemHostedContentsCountRequestBuilder.ItemTargetedMessagesItemHostedContentsCountRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesItemHostedContentsCountRequestBuilder.ItemTargetedMessagesItemHostedContentsCountRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesItemHostedContentsCountRequestBuilder.ItemTargetedMessagesItemHostedContentsCountRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesItemHostedContentsCountRequestBuilder.ItemTargetedMessagesItemHostedContentsCountRequestBuilderGetRequestConfiguration::|public|queryParameters:*ItemTargetedMessagesItemHostedContentsCountRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesItemHostedContentsCountRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesItemHostedContentsCountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesItemHostedContentsCountRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*ItemTargetedMessagesItemHostedContentsCountRequestBuilderGetRequestConfiguration):*int32 +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesItemHostedContentsCountRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesItemHostedContentsCountRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesItemHostedContentsCountRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*ItemTargetedMessagesItemHostedContentsCountRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesItemHostedContentsCountRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesItemHostedContentsCountRequestBuilder::|public|WithUrl(rawUrl:string):*ItemTargetedMessagesItemHostedContentsCountRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesItemHostedContentsItemValueContentRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesItemHostedContentsItemValueContentRequestBuilder.ItemTargetedMessagesItemHostedContentsItemValueContentRequestBuilderDeleteRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesItemHostedContentsItemValueContentRequestBuilder.ItemTargetedMessagesItemHostedContentsItemValueContentRequestBuilderDeleteRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesItemHostedContentsItemValueContentRequestBuilder.ItemTargetedMessagesItemHostedContentsItemValueContentRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesItemHostedContentsItemValueContentRequestBuilder.ItemTargetedMessagesItemHostedContentsItemValueContentRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesItemHostedContentsItemValueContentRequestBuilder.ItemTargetedMessagesItemHostedContentsItemValueContentRequestBuilderPutRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesItemHostedContentsItemValueContentRequestBuilder.ItemTargetedMessagesItemHostedContentsItemValueContentRequestBuilderPutRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesItemHostedContentsItemValueContentRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesItemHostedContentsItemValueContentRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesItemHostedContentsItemValueContentRequestBuilder::|public|Delete(ctx:context.Context; requestConfiguration?:*ItemTargetedMessagesItemHostedContentsItemValueContentRequestBuilderDeleteRequestConfiguration):void +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesItemHostedContentsItemValueContentRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*ItemTargetedMessagesItemHostedContentsItemValueContentRequestBuilderGetRequestConfiguration):[]byte +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesItemHostedContentsItemValueContentRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesItemHostedContentsItemValueContentRequestBuilder::|public|Put(body:[]byte; ctx:context.Context; requestConfiguration?:*ItemTargetedMessagesItemHostedContentsItemValueContentRequestBuilderPutRequestConfiguration):[]byte +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesItemHostedContentsItemValueContentRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesItemHostedContentsItemValueContentRequestBuilder::|public|ToDeleteRequestInformation(ctx:context.Context; requestConfiguration?:*ItemTargetedMessagesItemHostedContentsItemValueContentRequestBuilderDeleteRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesItemHostedContentsItemValueContentRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*ItemTargetedMessagesItemHostedContentsItemValueContentRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesItemHostedContentsItemValueContentRequestBuilder::|public|ToPutRequestInformation(body:[]byte; ctx:context.Context; requestConfiguration?:*ItemTargetedMessagesItemHostedContentsItemValueContentRequestBuilderPutRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesItemHostedContentsItemValueContentRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesItemHostedContentsItemValueContentRequestBuilder::|public|WithUrl(rawUrl:string):*ItemTargetedMessagesItemHostedContentsItemValueContentRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesItemHostedContentsRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesItemHostedContentsRequestBuilder.ItemTargetedMessagesItemHostedContentsRequestBuilderGetQueryParameters::|public|Count:*bool +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesItemHostedContentsRequestBuilder.ItemTargetedMessagesItemHostedContentsRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesItemHostedContentsRequestBuilder.ItemTargetedMessagesItemHostedContentsRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesItemHostedContentsRequestBuilder.ItemTargetedMessagesItemHostedContentsRequestBuilderGetQueryParameters::|public|Orderby:[]string +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesItemHostedContentsRequestBuilder.ItemTargetedMessagesItemHostedContentsRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesItemHostedContentsRequestBuilder.ItemTargetedMessagesItemHostedContentsRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesItemHostedContentsRequestBuilder.ItemTargetedMessagesItemHostedContentsRequestBuilderGetQueryParameters::|public|Skip:*int32 +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesItemHostedContentsRequestBuilder.ItemTargetedMessagesItemHostedContentsRequestBuilderGetQueryParameters::|public|Top:*int32 +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesItemHostedContentsRequestBuilder.ItemTargetedMessagesItemHostedContentsRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesItemHostedContentsRequestBuilder.ItemTargetedMessagesItemHostedContentsRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesItemHostedContentsRequestBuilder.ItemTargetedMessagesItemHostedContentsRequestBuilderGetRequestConfiguration::|public|queryParameters:*ItemTargetedMessagesItemHostedContentsRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesItemHostedContentsRequestBuilder.ItemTargetedMessagesItemHostedContentsRequestBuilderPostRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesItemHostedContentsRequestBuilder.ItemTargetedMessagesItemHostedContentsRequestBuilderPostRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesItemHostedContentsRequestBuilder::|public|ByChatMessageHostedContentId(chatMessageHostedContentId:string):*ItemTargetedMessagesItemHostedContentsChatMessageHostedContentItemRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesItemHostedContentsRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesItemHostedContentsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesItemHostedContentsRequestBuilder::|public|Count():*ItemTargetedMessagesItemHostedContentsCountRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesItemHostedContentsRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*ItemTargetedMessagesItemHostedContentsRequestBuilderGetRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageHostedContentCollectionResponseable +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesItemHostedContentsRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesItemHostedContentsRequestBuilder::|public|Post(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageHostedContentable; ctx:context.Context; requestConfiguration?:*ItemTargetedMessagesItemHostedContentsRequestBuilderPostRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageHostedContentable +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesItemHostedContentsRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesItemHostedContentsRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*ItemTargetedMessagesItemHostedContentsRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesItemHostedContentsRequestBuilder::|public|ToPostRequestInformation(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageHostedContentable; ctx:context.Context; requestConfiguration?:*ItemTargetedMessagesItemHostedContentsRequestBuilderPostRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesItemHostedContentsRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesItemHostedContentsRequestBuilder::|public|WithUrl(rawUrl:string):*ItemTargetedMessagesItemHostedContentsRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesItemRepliesChatMessageItemRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesItemRepliesChatMessageItemRequestBuilder.ItemTargetedMessagesItemRepliesChatMessageItemRequestBuilderDeleteRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesItemRepliesChatMessageItemRequestBuilder.ItemTargetedMessagesItemRepliesChatMessageItemRequestBuilderDeleteRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesItemRepliesChatMessageItemRequestBuilder.ItemTargetedMessagesItemRepliesChatMessageItemRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesItemRepliesChatMessageItemRequestBuilder.ItemTargetedMessagesItemRepliesChatMessageItemRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesItemRepliesChatMessageItemRequestBuilder.ItemTargetedMessagesItemRepliesChatMessageItemRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesItemRepliesChatMessageItemRequestBuilder.ItemTargetedMessagesItemRepliesChatMessageItemRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesItemRepliesChatMessageItemRequestBuilder.ItemTargetedMessagesItemRepliesChatMessageItemRequestBuilderGetRequestConfiguration::|public|queryParameters:*ItemTargetedMessagesItemRepliesChatMessageItemRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesItemRepliesChatMessageItemRequestBuilder.ItemTargetedMessagesItemRepliesChatMessageItemRequestBuilderPatchRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesItemRepliesChatMessageItemRequestBuilder.ItemTargetedMessagesItemRepliesChatMessageItemRequestBuilderPatchRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesItemRepliesChatMessageItemRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesItemRepliesChatMessageItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesItemRepliesChatMessageItemRequestBuilder::|public|Delete(ctx:context.Context; requestConfiguration?:*ItemTargetedMessagesItemRepliesChatMessageItemRequestBuilderDeleteRequestConfiguration):void +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesItemRepliesChatMessageItemRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*ItemTargetedMessagesItemRepliesChatMessageItemRequestBuilderGetRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesItemRepliesChatMessageItemRequestBuilder::|public|hostedContents():*ItemTargetedMessagesItemRepliesItemHostedContentsRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesItemRepliesChatMessageItemRequestBuilder::|public|Patch(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable; ctx:context.Context; requestConfiguration?:*ItemTargetedMessagesItemRepliesChatMessageItemRequestBuilderPatchRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesItemRepliesChatMessageItemRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesItemRepliesChatMessageItemRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesItemRepliesChatMessageItemRequestBuilder::|public|setReaction():*ItemTargetedMessagesItemRepliesItemSetReactionRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesItemRepliesChatMessageItemRequestBuilder::|public|softDelete():*ItemTargetedMessagesItemRepliesItemSoftDeleteRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesItemRepliesChatMessageItemRequestBuilder::|public|ToDeleteRequestInformation(ctx:context.Context; requestConfiguration?:*ItemTargetedMessagesItemRepliesChatMessageItemRequestBuilderDeleteRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesItemRepliesChatMessageItemRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*ItemTargetedMessagesItemRepliesChatMessageItemRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesItemRepliesChatMessageItemRequestBuilder::|public|ToPatchRequestInformation(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable; ctx:context.Context; requestConfiguration?:*ItemTargetedMessagesItemRepliesChatMessageItemRequestBuilderPatchRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesItemRepliesChatMessageItemRequestBuilder::|public|undoSoftDelete():*ItemTargetedMessagesItemRepliesItemUndoSoftDeleteRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesItemRepliesChatMessageItemRequestBuilder::|public|unsetReaction():*ItemTargetedMessagesItemRepliesItemUnsetReactionRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesItemRepliesChatMessageItemRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesItemRepliesChatMessageItemRequestBuilder::|public|WithUrl(rawUrl:string):*ItemTargetedMessagesItemRepliesChatMessageItemRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesItemRepliesCountRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesItemRepliesCountRequestBuilder.ItemTargetedMessagesItemRepliesCountRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesItemRepliesCountRequestBuilder.ItemTargetedMessagesItemRepliesCountRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesItemRepliesCountRequestBuilder.ItemTargetedMessagesItemRepliesCountRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesItemRepliesCountRequestBuilder.ItemTargetedMessagesItemRepliesCountRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesItemRepliesCountRequestBuilder.ItemTargetedMessagesItemRepliesCountRequestBuilderGetRequestConfiguration::|public|queryParameters:*ItemTargetedMessagesItemRepliesCountRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesItemRepliesCountRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesItemRepliesCountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesItemRepliesCountRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*ItemTargetedMessagesItemRepliesCountRequestBuilderGetRequestConfiguration):*int32 +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesItemRepliesCountRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesItemRepliesCountRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesItemRepliesCountRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*ItemTargetedMessagesItemRepliesCountRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesItemRepliesCountRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesItemRepliesCountRequestBuilder::|public|WithUrl(rawUrl:string):*ItemTargetedMessagesItemRepliesCountRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesItemRepliesDeltaGetResponse-->*iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.BaseDeltaFunctionResponse +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesItemRepliesDeltaGetResponse::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesItemRepliesDeltaGetResponse::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesItemRepliesDeltaGetResponse::|public|GetValue():[]iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesItemRepliesDeltaGetResponse::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesItemRepliesDeltaGetResponse::|public|SetValue(value:[]iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable):void +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesItemRepliesDeltaGetResponse::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesItemRepliesDeltaGetResponseable::|public|GetValue():[]iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesItemRepliesDeltaGetResponseable::|public|SetValue(value:[]iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable):void +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesItemRepliesDeltaGetResponseable~~>iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.BaseDeltaFunctionResponseable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesItemRepliesDeltaRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesItemRepliesDeltaRequestBuilder.ItemTargetedMessagesItemRepliesDeltaRequestBuilderGetQueryParameters::|public|Count:*bool +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesItemRepliesDeltaRequestBuilder.ItemTargetedMessagesItemRepliesDeltaRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesItemRepliesDeltaRequestBuilder.ItemTargetedMessagesItemRepliesDeltaRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesItemRepliesDeltaRequestBuilder.ItemTargetedMessagesItemRepliesDeltaRequestBuilderGetQueryParameters::|public|Orderby:[]string +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesItemRepliesDeltaRequestBuilder.ItemTargetedMessagesItemRepliesDeltaRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesItemRepliesDeltaRequestBuilder.ItemTargetedMessagesItemRepliesDeltaRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesItemRepliesDeltaRequestBuilder.ItemTargetedMessagesItemRepliesDeltaRequestBuilderGetQueryParameters::|public|Skip:*int32 +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesItemRepliesDeltaRequestBuilder.ItemTargetedMessagesItemRepliesDeltaRequestBuilderGetQueryParameters::|public|Top:*int32 +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesItemRepliesDeltaRequestBuilder.ItemTargetedMessagesItemRepliesDeltaRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesItemRepliesDeltaRequestBuilder.ItemTargetedMessagesItemRepliesDeltaRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesItemRepliesDeltaRequestBuilder.ItemTargetedMessagesItemRepliesDeltaRequestBuilderGetRequestConfiguration::|public|queryParameters:*ItemTargetedMessagesItemRepliesDeltaRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesItemRepliesDeltaRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesItemRepliesDeltaRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesItemRepliesDeltaRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*ItemTargetedMessagesItemRepliesDeltaRequestBuilderGetRequestConfiguration):ItemTargetedMessagesItemRepliesDeltaResponseable +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesItemRepliesDeltaRequestBuilder::|public|GetAsDeltaGetResponse(ctx:context.Context; requestConfiguration?:*ItemTargetedMessagesItemRepliesDeltaRequestBuilderGetRequestConfiguration):ItemTargetedMessagesItemRepliesDeltaGetResponseable +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesItemRepliesDeltaRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesItemRepliesDeltaRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesItemRepliesDeltaRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*ItemTargetedMessagesItemRepliesDeltaRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesItemRepliesDeltaRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesItemRepliesDeltaRequestBuilder::|public|WithUrl(rawUrl:string):*ItemTargetedMessagesItemRepliesDeltaRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesItemRepliesDeltaResponse-->*ItemTargetedMessagesItemRepliesDeltaGetResponse +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesItemRepliesDeltaResponse::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesItemRepliesDeltaResponse::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesItemRepliesDeltaResponseable~~>ItemTargetedMessagesItemRepliesDeltaGetResponseable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesItemRepliesItemHostedContentsChatMessageHostedContentItemRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesItemRepliesItemHostedContentsChatMessageHostedContentItemRequestBuilder.ItemTargetedMessagesItemRepliesItemHostedContentsChatMessageHostedContentItemRequestBuilderDeleteRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesItemRepliesItemHostedContentsChatMessageHostedContentItemRequestBuilder.ItemTargetedMessagesItemRepliesItemHostedContentsChatMessageHostedContentItemRequestBuilderDeleteRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesItemRepliesItemHostedContentsChatMessageHostedContentItemRequestBuilder.ItemTargetedMessagesItemRepliesItemHostedContentsChatMessageHostedContentItemRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesItemRepliesItemHostedContentsChatMessageHostedContentItemRequestBuilder.ItemTargetedMessagesItemRepliesItemHostedContentsChatMessageHostedContentItemRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesItemRepliesItemHostedContentsChatMessageHostedContentItemRequestBuilder.ItemTargetedMessagesItemRepliesItemHostedContentsChatMessageHostedContentItemRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesItemRepliesItemHostedContentsChatMessageHostedContentItemRequestBuilder.ItemTargetedMessagesItemRepliesItemHostedContentsChatMessageHostedContentItemRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesItemRepliesItemHostedContentsChatMessageHostedContentItemRequestBuilder.ItemTargetedMessagesItemRepliesItemHostedContentsChatMessageHostedContentItemRequestBuilderGetRequestConfiguration::|public|queryParameters:*ItemTargetedMessagesItemRepliesItemHostedContentsChatMessageHostedContentItemRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesItemRepliesItemHostedContentsChatMessageHostedContentItemRequestBuilder.ItemTargetedMessagesItemRepliesItemHostedContentsChatMessageHostedContentItemRequestBuilderPatchRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesItemRepliesItemHostedContentsChatMessageHostedContentItemRequestBuilder.ItemTargetedMessagesItemRepliesItemHostedContentsChatMessageHostedContentItemRequestBuilderPatchRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesItemRepliesItemHostedContentsChatMessageHostedContentItemRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesItemRepliesItemHostedContentsChatMessageHostedContentItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesItemRepliesItemHostedContentsChatMessageHostedContentItemRequestBuilder::|public|Content():*ItemTargetedMessagesItemRepliesItemHostedContentsItemValueContentRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesItemRepliesItemHostedContentsChatMessageHostedContentItemRequestBuilder::|public|Delete(ctx:context.Context; requestConfiguration?:*ItemTargetedMessagesItemRepliesItemHostedContentsChatMessageHostedContentItemRequestBuilderDeleteRequestConfiguration):void +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesItemRepliesItemHostedContentsChatMessageHostedContentItemRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*ItemTargetedMessagesItemRepliesItemHostedContentsChatMessageHostedContentItemRequestBuilderGetRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageHostedContentable +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesItemRepliesItemHostedContentsChatMessageHostedContentItemRequestBuilder::|public|Patch(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageHostedContentable; ctx:context.Context; requestConfiguration?:*ItemTargetedMessagesItemRepliesItemHostedContentsChatMessageHostedContentItemRequestBuilderPatchRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageHostedContentable +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesItemRepliesItemHostedContentsChatMessageHostedContentItemRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesItemRepliesItemHostedContentsChatMessageHostedContentItemRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesItemRepliesItemHostedContentsChatMessageHostedContentItemRequestBuilder::|public|ToDeleteRequestInformation(ctx:context.Context; requestConfiguration?:*ItemTargetedMessagesItemRepliesItemHostedContentsChatMessageHostedContentItemRequestBuilderDeleteRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesItemRepliesItemHostedContentsChatMessageHostedContentItemRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*ItemTargetedMessagesItemRepliesItemHostedContentsChatMessageHostedContentItemRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesItemRepliesItemHostedContentsChatMessageHostedContentItemRequestBuilder::|public|ToPatchRequestInformation(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageHostedContentable; ctx:context.Context; requestConfiguration?:*ItemTargetedMessagesItemRepliesItemHostedContentsChatMessageHostedContentItemRequestBuilderPatchRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesItemRepliesItemHostedContentsChatMessageHostedContentItemRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesItemRepliesItemHostedContentsChatMessageHostedContentItemRequestBuilder::|public|WithUrl(rawUrl:string):*ItemTargetedMessagesItemRepliesItemHostedContentsChatMessageHostedContentItemRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesItemRepliesItemHostedContentsCountRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesItemRepliesItemHostedContentsCountRequestBuilder.ItemTargetedMessagesItemRepliesItemHostedContentsCountRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesItemRepliesItemHostedContentsCountRequestBuilder.ItemTargetedMessagesItemRepliesItemHostedContentsCountRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesItemRepliesItemHostedContentsCountRequestBuilder.ItemTargetedMessagesItemRepliesItemHostedContentsCountRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesItemRepliesItemHostedContentsCountRequestBuilder.ItemTargetedMessagesItemRepliesItemHostedContentsCountRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesItemRepliesItemHostedContentsCountRequestBuilder.ItemTargetedMessagesItemRepliesItemHostedContentsCountRequestBuilderGetRequestConfiguration::|public|queryParameters:*ItemTargetedMessagesItemRepliesItemHostedContentsCountRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesItemRepliesItemHostedContentsCountRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesItemRepliesItemHostedContentsCountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesItemRepliesItemHostedContentsCountRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*ItemTargetedMessagesItemRepliesItemHostedContentsCountRequestBuilderGetRequestConfiguration):*int32 +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesItemRepliesItemHostedContentsCountRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesItemRepliesItemHostedContentsCountRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesItemRepliesItemHostedContentsCountRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*ItemTargetedMessagesItemRepliesItemHostedContentsCountRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesItemRepliesItemHostedContentsCountRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesItemRepliesItemHostedContentsCountRequestBuilder::|public|WithUrl(rawUrl:string):*ItemTargetedMessagesItemRepliesItemHostedContentsCountRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesItemRepliesItemHostedContentsItemValueContentRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesItemRepliesItemHostedContentsItemValueContentRequestBuilder.ItemTargetedMessagesItemRepliesItemHostedContentsItemValueContentRequestBuilderDeleteRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesItemRepliesItemHostedContentsItemValueContentRequestBuilder.ItemTargetedMessagesItemRepliesItemHostedContentsItemValueContentRequestBuilderDeleteRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesItemRepliesItemHostedContentsItemValueContentRequestBuilder.ItemTargetedMessagesItemRepliesItemHostedContentsItemValueContentRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesItemRepliesItemHostedContentsItemValueContentRequestBuilder.ItemTargetedMessagesItemRepliesItemHostedContentsItemValueContentRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesItemRepliesItemHostedContentsItemValueContentRequestBuilder.ItemTargetedMessagesItemRepliesItemHostedContentsItemValueContentRequestBuilderPutRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesItemRepliesItemHostedContentsItemValueContentRequestBuilder.ItemTargetedMessagesItemRepliesItemHostedContentsItemValueContentRequestBuilderPutRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesItemRepliesItemHostedContentsItemValueContentRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesItemRepliesItemHostedContentsItemValueContentRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesItemRepliesItemHostedContentsItemValueContentRequestBuilder::|public|Delete(ctx:context.Context; requestConfiguration?:*ItemTargetedMessagesItemRepliesItemHostedContentsItemValueContentRequestBuilderDeleteRequestConfiguration):void +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesItemRepliesItemHostedContentsItemValueContentRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*ItemTargetedMessagesItemRepliesItemHostedContentsItemValueContentRequestBuilderGetRequestConfiguration):[]byte +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesItemRepliesItemHostedContentsItemValueContentRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesItemRepliesItemHostedContentsItemValueContentRequestBuilder::|public|Put(body:[]byte; ctx:context.Context; requestConfiguration?:*ItemTargetedMessagesItemRepliesItemHostedContentsItemValueContentRequestBuilderPutRequestConfiguration):[]byte +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesItemRepliesItemHostedContentsItemValueContentRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesItemRepliesItemHostedContentsItemValueContentRequestBuilder::|public|ToDeleteRequestInformation(ctx:context.Context; requestConfiguration?:*ItemTargetedMessagesItemRepliesItemHostedContentsItemValueContentRequestBuilderDeleteRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesItemRepliesItemHostedContentsItemValueContentRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*ItemTargetedMessagesItemRepliesItemHostedContentsItemValueContentRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesItemRepliesItemHostedContentsItemValueContentRequestBuilder::|public|ToPutRequestInformation(body:[]byte; ctx:context.Context; requestConfiguration?:*ItemTargetedMessagesItemRepliesItemHostedContentsItemValueContentRequestBuilderPutRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesItemRepliesItemHostedContentsItemValueContentRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesItemRepliesItemHostedContentsItemValueContentRequestBuilder::|public|WithUrl(rawUrl:string):*ItemTargetedMessagesItemRepliesItemHostedContentsItemValueContentRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesItemRepliesItemHostedContentsRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesItemRepliesItemHostedContentsRequestBuilder.ItemTargetedMessagesItemRepliesItemHostedContentsRequestBuilderGetQueryParameters::|public|Count:*bool +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesItemRepliesItemHostedContentsRequestBuilder.ItemTargetedMessagesItemRepliesItemHostedContentsRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesItemRepliesItemHostedContentsRequestBuilder.ItemTargetedMessagesItemRepliesItemHostedContentsRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesItemRepliesItemHostedContentsRequestBuilder.ItemTargetedMessagesItemRepliesItemHostedContentsRequestBuilderGetQueryParameters::|public|Orderby:[]string +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesItemRepliesItemHostedContentsRequestBuilder.ItemTargetedMessagesItemRepliesItemHostedContentsRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesItemRepliesItemHostedContentsRequestBuilder.ItemTargetedMessagesItemRepliesItemHostedContentsRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesItemRepliesItemHostedContentsRequestBuilder.ItemTargetedMessagesItemRepliesItemHostedContentsRequestBuilderGetQueryParameters::|public|Skip:*int32 +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesItemRepliesItemHostedContentsRequestBuilder.ItemTargetedMessagesItemRepliesItemHostedContentsRequestBuilderGetQueryParameters::|public|Top:*int32 +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesItemRepliesItemHostedContentsRequestBuilder.ItemTargetedMessagesItemRepliesItemHostedContentsRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesItemRepliesItemHostedContentsRequestBuilder.ItemTargetedMessagesItemRepliesItemHostedContentsRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesItemRepliesItemHostedContentsRequestBuilder.ItemTargetedMessagesItemRepliesItemHostedContentsRequestBuilderGetRequestConfiguration::|public|queryParameters:*ItemTargetedMessagesItemRepliesItemHostedContentsRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesItemRepliesItemHostedContentsRequestBuilder.ItemTargetedMessagesItemRepliesItemHostedContentsRequestBuilderPostRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesItemRepliesItemHostedContentsRequestBuilder.ItemTargetedMessagesItemRepliesItemHostedContentsRequestBuilderPostRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesItemRepliesItemHostedContentsRequestBuilder::|public|ByChatMessageHostedContentId(chatMessageHostedContentId:string):*ItemTargetedMessagesItemRepliesItemHostedContentsChatMessageHostedContentItemRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesItemRepliesItemHostedContentsRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesItemRepliesItemHostedContentsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesItemRepliesItemHostedContentsRequestBuilder::|public|Count():*ItemTargetedMessagesItemRepliesItemHostedContentsCountRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesItemRepliesItemHostedContentsRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*ItemTargetedMessagesItemRepliesItemHostedContentsRequestBuilderGetRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageHostedContentCollectionResponseable +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesItemRepliesItemHostedContentsRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesItemRepliesItemHostedContentsRequestBuilder::|public|Post(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageHostedContentable; ctx:context.Context; requestConfiguration?:*ItemTargetedMessagesItemRepliesItemHostedContentsRequestBuilderPostRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageHostedContentable +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesItemRepliesItemHostedContentsRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesItemRepliesItemHostedContentsRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*ItemTargetedMessagesItemRepliesItemHostedContentsRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesItemRepliesItemHostedContentsRequestBuilder::|public|ToPostRequestInformation(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageHostedContentable; ctx:context.Context; requestConfiguration?:*ItemTargetedMessagesItemRepliesItemHostedContentsRequestBuilderPostRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesItemRepliesItemHostedContentsRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesItemRepliesItemHostedContentsRequestBuilder::|public|WithUrl(rawUrl:string):*ItemTargetedMessagesItemRepliesItemHostedContentsRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesItemRepliesItemSetReactionPostRequestBody::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesItemRepliesItemSetReactionPostRequestBody::|public|GetAdditionalData():map[string]any +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesItemRepliesItemSetReactionPostRequestBody::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesItemRepliesItemSetReactionPostRequestBody::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesItemRepliesItemSetReactionPostRequestBody::|public|GetReactionType():*string +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesItemRepliesItemSetReactionPostRequestBody::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesItemRepliesItemSetReactionPostRequestBody::|public|SetAdditionalData(value:map[string]any):void +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesItemRepliesItemSetReactionPostRequestBody::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesItemRepliesItemSetReactionPostRequestBody::|public|SetReactionType(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesItemRepliesItemSetReactionPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesItemRepliesItemSetReactionPostRequestBodyable::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesItemRepliesItemSetReactionPostRequestBodyable::|public|GetReactionType():*string +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesItemRepliesItemSetReactionPostRequestBodyable::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesItemRepliesItemSetReactionPostRequestBodyable::|public|SetReactionType(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesItemRepliesItemSetReactionPostRequestBodyable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder; *ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesItemRepliesItemSetReactionPostRequestBody~~>ItemTargetedMessagesItemRepliesItemSetReactionPostRequestBodyable +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesItemRepliesItemSetReactionRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesItemRepliesItemSetReactionRequestBuilder.ItemTargetedMessagesItemRepliesItemSetReactionRequestBuilderPostRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesItemRepliesItemSetReactionRequestBuilder.ItemTargetedMessagesItemRepliesItemSetReactionRequestBuilderPostRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesItemRepliesItemSetReactionRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesItemRepliesItemSetReactionRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesItemRepliesItemSetReactionRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesItemRepliesItemSetReactionRequestBuilder::|public|Post(body:ItemTargetedMessagesItemRepliesItemSetReactionPostRequestBodyable; ctx:context.Context; requestConfiguration?:*ItemTargetedMessagesItemRepliesItemSetReactionRequestBuilderPostRequestConfiguration):void +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesItemRepliesItemSetReactionRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesItemRepliesItemSetReactionRequestBuilder::|public|ToPostRequestInformation(body:ItemTargetedMessagesItemRepliesItemSetReactionPostRequestBodyable; ctx:context.Context; requestConfiguration?:*ItemTargetedMessagesItemRepliesItemSetReactionRequestBuilderPostRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesItemRepliesItemSetReactionRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesItemRepliesItemSetReactionRequestBuilder::|public|WithUrl(rawUrl:string):*ItemTargetedMessagesItemRepliesItemSetReactionRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesItemRepliesItemSoftDeleteRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesItemRepliesItemSoftDeleteRequestBuilder.ItemTargetedMessagesItemRepliesItemSoftDeleteRequestBuilderPostRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesItemRepliesItemSoftDeleteRequestBuilder.ItemTargetedMessagesItemRepliesItemSoftDeleteRequestBuilderPostRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesItemRepliesItemSoftDeleteRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesItemRepliesItemSoftDeleteRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesItemRepliesItemSoftDeleteRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesItemRepliesItemSoftDeleteRequestBuilder::|public|Post(ctx:context.Context; requestConfiguration?:*ItemTargetedMessagesItemRepliesItemSoftDeleteRequestBuilderPostRequestConfiguration):void +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesItemRepliesItemSoftDeleteRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesItemRepliesItemSoftDeleteRequestBuilder::|public|ToPostRequestInformation(ctx:context.Context; requestConfiguration?:*ItemTargetedMessagesItemRepliesItemSoftDeleteRequestBuilderPostRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesItemRepliesItemSoftDeleteRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesItemRepliesItemSoftDeleteRequestBuilder::|public|WithUrl(rawUrl:string):*ItemTargetedMessagesItemRepliesItemSoftDeleteRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesItemRepliesItemUndoSoftDeleteRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesItemRepliesItemUndoSoftDeleteRequestBuilder.ItemTargetedMessagesItemRepliesItemUndoSoftDeleteRequestBuilderPostRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesItemRepliesItemUndoSoftDeleteRequestBuilder.ItemTargetedMessagesItemRepliesItemUndoSoftDeleteRequestBuilderPostRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesItemRepliesItemUndoSoftDeleteRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesItemRepliesItemUndoSoftDeleteRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesItemRepliesItemUndoSoftDeleteRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesItemRepliesItemUndoSoftDeleteRequestBuilder::|public|Post(ctx:context.Context; requestConfiguration?:*ItemTargetedMessagesItemRepliesItemUndoSoftDeleteRequestBuilderPostRequestConfiguration):void +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesItemRepliesItemUndoSoftDeleteRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesItemRepliesItemUndoSoftDeleteRequestBuilder::|public|ToPostRequestInformation(ctx:context.Context; requestConfiguration?:*ItemTargetedMessagesItemRepliesItemUndoSoftDeleteRequestBuilderPostRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesItemRepliesItemUndoSoftDeleteRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesItemRepliesItemUndoSoftDeleteRequestBuilder::|public|WithUrl(rawUrl:string):*ItemTargetedMessagesItemRepliesItemUndoSoftDeleteRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesItemRepliesItemUnsetReactionPostRequestBody::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesItemRepliesItemUnsetReactionPostRequestBody::|public|GetAdditionalData():map[string]any +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesItemRepliesItemUnsetReactionPostRequestBody::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesItemRepliesItemUnsetReactionPostRequestBody::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesItemRepliesItemUnsetReactionPostRequestBody::|public|GetReactionType():*string +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesItemRepliesItemUnsetReactionPostRequestBody::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesItemRepliesItemUnsetReactionPostRequestBody::|public|SetAdditionalData(value:map[string]any):void +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesItemRepliesItemUnsetReactionPostRequestBody::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesItemRepliesItemUnsetReactionPostRequestBody::|public|SetReactionType(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesItemRepliesItemUnsetReactionPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesItemRepliesItemUnsetReactionPostRequestBodyable::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesItemRepliesItemUnsetReactionPostRequestBodyable::|public|GetReactionType():*string +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesItemRepliesItemUnsetReactionPostRequestBodyable::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesItemRepliesItemUnsetReactionPostRequestBodyable::|public|SetReactionType(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesItemRepliesItemUnsetReactionPostRequestBodyable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder; *ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesItemRepliesItemUnsetReactionPostRequestBody~~>ItemTargetedMessagesItemRepliesItemUnsetReactionPostRequestBodyable +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesItemRepliesItemUnsetReactionRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesItemRepliesItemUnsetReactionRequestBuilder.ItemTargetedMessagesItemRepliesItemUnsetReactionRequestBuilderPostRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesItemRepliesItemUnsetReactionRequestBuilder.ItemTargetedMessagesItemRepliesItemUnsetReactionRequestBuilderPostRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesItemRepliesItemUnsetReactionRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesItemRepliesItemUnsetReactionRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesItemRepliesItemUnsetReactionRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesItemRepliesItemUnsetReactionRequestBuilder::|public|Post(body:ItemTargetedMessagesItemRepliesItemUnsetReactionPostRequestBodyable; ctx:context.Context; requestConfiguration?:*ItemTargetedMessagesItemRepliesItemUnsetReactionRequestBuilderPostRequestConfiguration):void +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesItemRepliesItemUnsetReactionRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesItemRepliesItemUnsetReactionRequestBuilder::|public|ToPostRequestInformation(body:ItemTargetedMessagesItemRepliesItemUnsetReactionPostRequestBodyable; ctx:context.Context; requestConfiguration?:*ItemTargetedMessagesItemRepliesItemUnsetReactionRequestBuilderPostRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesItemRepliesItemUnsetReactionRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesItemRepliesItemUnsetReactionRequestBuilder::|public|WithUrl(rawUrl:string):*ItemTargetedMessagesItemRepliesItemUnsetReactionRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesItemRepliesReplyWithQuotePostRequestBody::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesItemRepliesReplyWithQuotePostRequestBody::|public|GetAdditionalData():map[string]any +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesItemRepliesReplyWithQuotePostRequestBody::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesItemRepliesReplyWithQuotePostRequestBody::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesItemRepliesReplyWithQuotePostRequestBody::|public|GetMessageIds():[]string +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesItemRepliesReplyWithQuotePostRequestBody::|public|GetReplyMessage():iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesItemRepliesReplyWithQuotePostRequestBody::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesItemRepliesReplyWithQuotePostRequestBody::|public|SetAdditionalData(value:map[string]any):void +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesItemRepliesReplyWithQuotePostRequestBody::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesItemRepliesReplyWithQuotePostRequestBody::|public|SetMessageIds(value:[]string):void +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesItemRepliesReplyWithQuotePostRequestBody::|public|SetReplyMessage(value:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable):void +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesItemRepliesReplyWithQuotePostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesItemRepliesReplyWithQuotePostRequestBodyable::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesItemRepliesReplyWithQuotePostRequestBodyable::|public|GetMessageIds():[]string +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesItemRepliesReplyWithQuotePostRequestBodyable::|public|GetReplyMessage():iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesItemRepliesReplyWithQuotePostRequestBodyable::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesItemRepliesReplyWithQuotePostRequestBodyable::|public|SetMessageIds(value:[]string):void +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesItemRepliesReplyWithQuotePostRequestBodyable::|public|SetReplyMessage(value:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable):void +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesItemRepliesReplyWithQuotePostRequestBodyable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder; *ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesItemRepliesReplyWithQuotePostRequestBody~~>ItemTargetedMessagesItemRepliesReplyWithQuotePostRequestBodyable +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesItemRepliesReplyWithQuoteRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesItemRepliesReplyWithQuoteRequestBuilder.ItemTargetedMessagesItemRepliesReplyWithQuoteRequestBuilderPostRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesItemRepliesReplyWithQuoteRequestBuilder.ItemTargetedMessagesItemRepliesReplyWithQuoteRequestBuilderPostRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesItemRepliesReplyWithQuoteRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesItemRepliesReplyWithQuoteRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesItemRepliesReplyWithQuoteRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesItemRepliesReplyWithQuoteRequestBuilder::|public|Post(body:ItemTargetedMessagesItemRepliesReplyWithQuotePostRequestBodyable; ctx:context.Context; requestConfiguration?:*ItemTargetedMessagesItemRepliesReplyWithQuoteRequestBuilderPostRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesItemRepliesReplyWithQuoteRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesItemRepliesReplyWithQuoteRequestBuilder::|public|ToPostRequestInformation(body:ItemTargetedMessagesItemRepliesReplyWithQuotePostRequestBodyable; ctx:context.Context; requestConfiguration?:*ItemTargetedMessagesItemRepliesReplyWithQuoteRequestBuilderPostRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesItemRepliesReplyWithQuoteRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesItemRepliesReplyWithQuoteRequestBuilder::|public|WithUrl(rawUrl:string):*ItemTargetedMessagesItemRepliesReplyWithQuoteRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesItemRepliesRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesItemRepliesRequestBuilder.ItemTargetedMessagesItemRepliesRequestBuilderGetQueryParameters::|public|Count:*bool +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesItemRepliesRequestBuilder.ItemTargetedMessagesItemRepliesRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesItemRepliesRequestBuilder.ItemTargetedMessagesItemRepliesRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesItemRepliesRequestBuilder.ItemTargetedMessagesItemRepliesRequestBuilderGetQueryParameters::|public|Orderby:[]string +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesItemRepliesRequestBuilder.ItemTargetedMessagesItemRepliesRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesItemRepliesRequestBuilder.ItemTargetedMessagesItemRepliesRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesItemRepliesRequestBuilder.ItemTargetedMessagesItemRepliesRequestBuilderGetQueryParameters::|public|Skip:*int32 +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesItemRepliesRequestBuilder.ItemTargetedMessagesItemRepliesRequestBuilderGetQueryParameters::|public|Top:*int32 +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesItemRepliesRequestBuilder.ItemTargetedMessagesItemRepliesRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesItemRepliesRequestBuilder.ItemTargetedMessagesItemRepliesRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesItemRepliesRequestBuilder.ItemTargetedMessagesItemRepliesRequestBuilderGetRequestConfiguration::|public|queryParameters:*ItemTargetedMessagesItemRepliesRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesItemRepliesRequestBuilder.ItemTargetedMessagesItemRepliesRequestBuilderPostRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesItemRepliesRequestBuilder.ItemTargetedMessagesItemRepliesRequestBuilderPostRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesItemRepliesRequestBuilder::|public|ByChatMessageId(chatMessageId:string):*ItemTargetedMessagesItemRepliesChatMessageItemRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesItemRepliesRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesItemRepliesRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesItemRepliesRequestBuilder::|public|Count():*ItemTargetedMessagesItemRepliesCountRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesItemRepliesRequestBuilder::|public|delta():*ItemTargetedMessagesItemRepliesDeltaRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesItemRepliesRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*ItemTargetedMessagesItemRepliesRequestBuilderGetRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageCollectionResponseable +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesItemRepliesRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesItemRepliesRequestBuilder::|public|Post(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable; ctx:context.Context; requestConfiguration?:*ItemTargetedMessagesItemRepliesRequestBuilderPostRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesItemRepliesRequestBuilder::|public|replyWithQuote():*ItemTargetedMessagesItemRepliesReplyWithQuoteRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesItemRepliesRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesItemRepliesRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*ItemTargetedMessagesItemRepliesRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesItemRepliesRequestBuilder::|public|ToPostRequestInformation(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable; ctx:context.Context; requestConfiguration?:*ItemTargetedMessagesItemRepliesRequestBuilderPostRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesItemRepliesRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesItemRepliesRequestBuilder::|public|WithUrl(rawUrl:string):*ItemTargetedMessagesItemRepliesRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesRequestBuilder.ItemTargetedMessagesRequestBuilderGetQueryParameters::|public|Count:*bool +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesRequestBuilder.ItemTargetedMessagesRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesRequestBuilder.ItemTargetedMessagesRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesRequestBuilder.ItemTargetedMessagesRequestBuilderGetQueryParameters::|public|Orderby:[]string +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesRequestBuilder.ItemTargetedMessagesRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesRequestBuilder.ItemTargetedMessagesRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesRequestBuilder.ItemTargetedMessagesRequestBuilderGetQueryParameters::|public|Skip:*int32 +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesRequestBuilder.ItemTargetedMessagesRequestBuilderGetQueryParameters::|public|Top:*int32 +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesRequestBuilder.ItemTargetedMessagesRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesRequestBuilder.ItemTargetedMessagesRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesRequestBuilder.ItemTargetedMessagesRequestBuilderGetRequestConfiguration::|public|queryParameters:*ItemTargetedMessagesRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesRequestBuilder.ItemTargetedMessagesRequestBuilderPostRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesRequestBuilder.ItemTargetedMessagesRequestBuilderPostRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesRequestBuilder::|public|ByTargetedChatMessageId(targetedChatMessageId:string):*ItemTargetedMessagesTargetedChatMessageItemRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesRequestBuilder::|public|Count():*ItemTargetedMessagesCountRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*ItemTargetedMessagesRequestBuilderGetRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.TargetedChatMessageCollectionResponseable +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesRequestBuilder::|public|Post(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.TargetedChatMessageable; ctx:context.Context; requestConfiguration?:*ItemTargetedMessagesRequestBuilderPostRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.TargetedChatMessageable +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*ItemTargetedMessagesRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesRequestBuilder::|public|ToPostRequestInformation(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.TargetedChatMessageable; ctx:context.Context; requestConfiguration?:*ItemTargetedMessagesRequestBuilderPostRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesRequestBuilder::|public|WithUrl(rawUrl:string):*ItemTargetedMessagesRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesTargetedChatMessageItemRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesTargetedChatMessageItemRequestBuilder.ItemTargetedMessagesTargetedChatMessageItemRequestBuilderDeleteRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesTargetedChatMessageItemRequestBuilder.ItemTargetedMessagesTargetedChatMessageItemRequestBuilderDeleteRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesTargetedChatMessageItemRequestBuilder.ItemTargetedMessagesTargetedChatMessageItemRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesTargetedChatMessageItemRequestBuilder.ItemTargetedMessagesTargetedChatMessageItemRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesTargetedChatMessageItemRequestBuilder.ItemTargetedMessagesTargetedChatMessageItemRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesTargetedChatMessageItemRequestBuilder.ItemTargetedMessagesTargetedChatMessageItemRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesTargetedChatMessageItemRequestBuilder.ItemTargetedMessagesTargetedChatMessageItemRequestBuilderGetRequestConfiguration::|public|queryParameters:*ItemTargetedMessagesTargetedChatMessageItemRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesTargetedChatMessageItemRequestBuilder.ItemTargetedMessagesTargetedChatMessageItemRequestBuilderPatchRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesTargetedChatMessageItemRequestBuilder.ItemTargetedMessagesTargetedChatMessageItemRequestBuilderPatchRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesTargetedChatMessageItemRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesTargetedChatMessageItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesTargetedChatMessageItemRequestBuilder::|public|Delete(ctx:context.Context; requestConfiguration?:*ItemTargetedMessagesTargetedChatMessageItemRequestBuilderDeleteRequestConfiguration):void +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesTargetedChatMessageItemRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*ItemTargetedMessagesTargetedChatMessageItemRequestBuilderGetRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.TargetedChatMessageable +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesTargetedChatMessageItemRequestBuilder::|public|hostedContents():*ItemTargetedMessagesItemHostedContentsRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesTargetedChatMessageItemRequestBuilder::|public|Patch(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.TargetedChatMessageable; ctx:context.Context; requestConfiguration?:*ItemTargetedMessagesTargetedChatMessageItemRequestBuilderPatchRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.TargetedChatMessageable +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesTargetedChatMessageItemRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesTargetedChatMessageItemRequestBuilder::|public|replies():*ItemTargetedMessagesItemRepliesRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesTargetedChatMessageItemRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesTargetedChatMessageItemRequestBuilder::|public|ToDeleteRequestInformation(ctx:context.Context; requestConfiguration?:*ItemTargetedMessagesTargetedChatMessageItemRequestBuilderDeleteRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesTargetedChatMessageItemRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*ItemTargetedMessagesTargetedChatMessageItemRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesTargetedChatMessageItemRequestBuilder::|public|ToPatchRequestInformation(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.TargetedChatMessageable; ctx:context.Context; requestConfiguration?:*ItemTargetedMessagesTargetedChatMessageItemRequestBuilderPatchRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesTargetedChatMessageItemRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemTargetedMessagesTargetedChatMessageItemRequestBuilder::|public|WithUrl(rawUrl:string):*ItemTargetedMessagesTargetedChatMessageItemRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemUnhideForUserPostRequestBody::|public|constructor():void github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemUnhideForUserPostRequestBody::|public|GetAdditionalData():map[string]any github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemUnhideForUserPostRequestBody::|public|GetBackingStore():BackingStore @@ -107386,6 +107826,119 @@ github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManageme github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementAccessPackagesRequestBuilder::|public|ToPostRequestInformation(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.AccessPackageable; ctx:context.Context; requestConfiguration?:*EntitlementManagementAccessPackagesRequestBuilderPostRequestConfiguration):*RequestInformation github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementAccessPackagesRequestBuilder::|public|urlTemplate:string github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementAccessPackagesRequestBuilder::|public|WithUrl(rawUrl:string):*EntitlementManagementAccessPackagesRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementAccessPackageSuggestionsAccessPackageSuggestionItemRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementAccessPackageSuggestionsAccessPackageSuggestionItemRequestBuilder.EntitlementManagementAccessPackageSuggestionsAccessPackageSuggestionItemRequestBuilderDeleteRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementAccessPackageSuggestionsAccessPackageSuggestionItemRequestBuilder.EntitlementManagementAccessPackageSuggestionsAccessPackageSuggestionItemRequestBuilderDeleteRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementAccessPackageSuggestionsAccessPackageSuggestionItemRequestBuilder.EntitlementManagementAccessPackageSuggestionsAccessPackageSuggestionItemRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementAccessPackageSuggestionsAccessPackageSuggestionItemRequestBuilder.EntitlementManagementAccessPackageSuggestionsAccessPackageSuggestionItemRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementAccessPackageSuggestionsAccessPackageSuggestionItemRequestBuilder.EntitlementManagementAccessPackageSuggestionsAccessPackageSuggestionItemRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementAccessPackageSuggestionsAccessPackageSuggestionItemRequestBuilder.EntitlementManagementAccessPackageSuggestionsAccessPackageSuggestionItemRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementAccessPackageSuggestionsAccessPackageSuggestionItemRequestBuilder.EntitlementManagementAccessPackageSuggestionsAccessPackageSuggestionItemRequestBuilderGetRequestConfiguration::|public|queryParameters:*EntitlementManagementAccessPackageSuggestionsAccessPackageSuggestionItemRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementAccessPackageSuggestionsAccessPackageSuggestionItemRequestBuilder.EntitlementManagementAccessPackageSuggestionsAccessPackageSuggestionItemRequestBuilderPatchRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementAccessPackageSuggestionsAccessPackageSuggestionItemRequestBuilder.EntitlementManagementAccessPackageSuggestionsAccessPackageSuggestionItemRequestBuilderPatchRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementAccessPackageSuggestionsAccessPackageSuggestionItemRequestBuilder::|public|accessPackage():*EntitlementManagementAccessPackageSuggestionsItemAccessPackageRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementAccessPackageSuggestionsAccessPackageSuggestionItemRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementAccessPackageSuggestionsAccessPackageSuggestionItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementAccessPackageSuggestionsAccessPackageSuggestionItemRequestBuilder::|public|Delete(ctx:context.Context; requestConfiguration?:*EntitlementManagementAccessPackageSuggestionsAccessPackageSuggestionItemRequestBuilderDeleteRequestConfiguration):void +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementAccessPackageSuggestionsAccessPackageSuggestionItemRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*EntitlementManagementAccessPackageSuggestionsAccessPackageSuggestionItemRequestBuilderGetRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.AccessPackageSuggestionable +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementAccessPackageSuggestionsAccessPackageSuggestionItemRequestBuilder::|public|Patch(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.AccessPackageSuggestionable; ctx:context.Context; requestConfiguration?:*EntitlementManagementAccessPackageSuggestionsAccessPackageSuggestionItemRequestBuilderPatchRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.AccessPackageSuggestionable +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementAccessPackageSuggestionsAccessPackageSuggestionItemRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementAccessPackageSuggestionsAccessPackageSuggestionItemRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementAccessPackageSuggestionsAccessPackageSuggestionItemRequestBuilder::|public|ToDeleteRequestInformation(ctx:context.Context; requestConfiguration?:*EntitlementManagementAccessPackageSuggestionsAccessPackageSuggestionItemRequestBuilderDeleteRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementAccessPackageSuggestionsAccessPackageSuggestionItemRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*EntitlementManagementAccessPackageSuggestionsAccessPackageSuggestionItemRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementAccessPackageSuggestionsAccessPackageSuggestionItemRequestBuilder::|public|ToPatchRequestInformation(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.AccessPackageSuggestionable; ctx:context.Context; requestConfiguration?:*EntitlementManagementAccessPackageSuggestionsAccessPackageSuggestionItemRequestBuilderPatchRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementAccessPackageSuggestionsAccessPackageSuggestionItemRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementAccessPackageSuggestionsAccessPackageSuggestionItemRequestBuilder::|public|WithUrl(rawUrl:string):*EntitlementManagementAccessPackageSuggestionsAccessPackageSuggestionItemRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementAccessPackageSuggestionsCountRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementAccessPackageSuggestionsCountRequestBuilder.EntitlementManagementAccessPackageSuggestionsCountRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementAccessPackageSuggestionsCountRequestBuilder.EntitlementManagementAccessPackageSuggestionsCountRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementAccessPackageSuggestionsCountRequestBuilder.EntitlementManagementAccessPackageSuggestionsCountRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementAccessPackageSuggestionsCountRequestBuilder.EntitlementManagementAccessPackageSuggestionsCountRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementAccessPackageSuggestionsCountRequestBuilder.EntitlementManagementAccessPackageSuggestionsCountRequestBuilderGetRequestConfiguration::|public|queryParameters:*EntitlementManagementAccessPackageSuggestionsCountRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementAccessPackageSuggestionsCountRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementAccessPackageSuggestionsCountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementAccessPackageSuggestionsCountRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*EntitlementManagementAccessPackageSuggestionsCountRequestBuilderGetRequestConfiguration):*int32 +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementAccessPackageSuggestionsCountRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementAccessPackageSuggestionsCountRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementAccessPackageSuggestionsCountRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*EntitlementManagementAccessPackageSuggestionsCountRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementAccessPackageSuggestionsCountRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementAccessPackageSuggestionsCountRequestBuilder::|public|WithUrl(rawUrl:string):*EntitlementManagementAccessPackageSuggestionsCountRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementAccessPackageSuggestionsFilterByCurrentUserWithOnGetResponse-->*iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.BaseCollectionPaginationCountResponse +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementAccessPackageSuggestionsFilterByCurrentUserWithOnGetResponse::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementAccessPackageSuggestionsFilterByCurrentUserWithOnGetResponse::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementAccessPackageSuggestionsFilterByCurrentUserWithOnGetResponse::|public|GetValue():[]iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.AccessPackageSuggestionable +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementAccessPackageSuggestionsFilterByCurrentUserWithOnGetResponse::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementAccessPackageSuggestionsFilterByCurrentUserWithOnGetResponse::|public|SetValue(value:[]iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.AccessPackageSuggestionable):void +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementAccessPackageSuggestionsFilterByCurrentUserWithOnGetResponse::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementAccessPackageSuggestionsFilterByCurrentUserWithOnGetResponseable::|public|GetValue():[]iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.AccessPackageSuggestionable +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementAccessPackageSuggestionsFilterByCurrentUserWithOnGetResponseable::|public|SetValue(value:[]iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.AccessPackageSuggestionable):void +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementAccessPackageSuggestionsFilterByCurrentUserWithOnGetResponseable~~>iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.BaseCollectionPaginationCountResponseable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementAccessPackageSuggestionsFilterByCurrentUserWithOnRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementAccessPackageSuggestionsFilterByCurrentUserWithOnRequestBuilder.EntitlementManagementAccessPackageSuggestionsFilterByCurrentUserWithOnRequestBuilderGetQueryParameters::|public|Count:*bool +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementAccessPackageSuggestionsFilterByCurrentUserWithOnRequestBuilder.EntitlementManagementAccessPackageSuggestionsFilterByCurrentUserWithOnRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementAccessPackageSuggestionsFilterByCurrentUserWithOnRequestBuilder.EntitlementManagementAccessPackageSuggestionsFilterByCurrentUserWithOnRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementAccessPackageSuggestionsFilterByCurrentUserWithOnRequestBuilder.EntitlementManagementAccessPackageSuggestionsFilterByCurrentUserWithOnRequestBuilderGetQueryParameters::|public|Orderby:[]string +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementAccessPackageSuggestionsFilterByCurrentUserWithOnRequestBuilder.EntitlementManagementAccessPackageSuggestionsFilterByCurrentUserWithOnRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementAccessPackageSuggestionsFilterByCurrentUserWithOnRequestBuilder.EntitlementManagementAccessPackageSuggestionsFilterByCurrentUserWithOnRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementAccessPackageSuggestionsFilterByCurrentUserWithOnRequestBuilder.EntitlementManagementAccessPackageSuggestionsFilterByCurrentUserWithOnRequestBuilderGetQueryParameters::|public|Skip:*int32 +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementAccessPackageSuggestionsFilterByCurrentUserWithOnRequestBuilder.EntitlementManagementAccessPackageSuggestionsFilterByCurrentUserWithOnRequestBuilderGetQueryParameters::|public|Top:*int32 +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementAccessPackageSuggestionsFilterByCurrentUserWithOnRequestBuilder.EntitlementManagementAccessPackageSuggestionsFilterByCurrentUserWithOnRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementAccessPackageSuggestionsFilterByCurrentUserWithOnRequestBuilder.EntitlementManagementAccessPackageSuggestionsFilterByCurrentUserWithOnRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementAccessPackageSuggestionsFilterByCurrentUserWithOnRequestBuilder.EntitlementManagementAccessPackageSuggestionsFilterByCurrentUserWithOnRequestBuilderGetRequestConfiguration::|public|queryParameters:*EntitlementManagementAccessPackageSuggestionsFilterByCurrentUserWithOnRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementAccessPackageSuggestionsFilterByCurrentUserWithOnRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter; on?:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementAccessPackageSuggestionsFilterByCurrentUserWithOnRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementAccessPackageSuggestionsFilterByCurrentUserWithOnRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*EntitlementManagementAccessPackageSuggestionsFilterByCurrentUserWithOnRequestBuilderGetRequestConfiguration):EntitlementManagementAccessPackageSuggestionsFilterByCurrentUserWithOnResponseable +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementAccessPackageSuggestionsFilterByCurrentUserWithOnRequestBuilder::|public|GetAsFilterByCurrentUserWithOnGetResponse(ctx:context.Context; requestConfiguration?:*EntitlementManagementAccessPackageSuggestionsFilterByCurrentUserWithOnRequestBuilderGetRequestConfiguration):EntitlementManagementAccessPackageSuggestionsFilterByCurrentUserWithOnGetResponseable +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementAccessPackageSuggestionsFilterByCurrentUserWithOnRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementAccessPackageSuggestionsFilterByCurrentUserWithOnRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementAccessPackageSuggestionsFilterByCurrentUserWithOnRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*EntitlementManagementAccessPackageSuggestionsFilterByCurrentUserWithOnRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementAccessPackageSuggestionsFilterByCurrentUserWithOnRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementAccessPackageSuggestionsFilterByCurrentUserWithOnRequestBuilder::|public|WithUrl(rawUrl:string):*EntitlementManagementAccessPackageSuggestionsFilterByCurrentUserWithOnRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementAccessPackageSuggestionsFilterByCurrentUserWithOnResponse-->*EntitlementManagementAccessPackageSuggestionsFilterByCurrentUserWithOnGetResponse +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementAccessPackageSuggestionsFilterByCurrentUserWithOnResponse::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementAccessPackageSuggestionsFilterByCurrentUserWithOnResponse::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementAccessPackageSuggestionsFilterByCurrentUserWithOnResponseable~~>EntitlementManagementAccessPackageSuggestionsFilterByCurrentUserWithOnGetResponseable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementAccessPackageSuggestionsItemAccessPackageRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementAccessPackageSuggestionsItemAccessPackageRequestBuilder.EntitlementManagementAccessPackageSuggestionsItemAccessPackageRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementAccessPackageSuggestionsItemAccessPackageRequestBuilder.EntitlementManagementAccessPackageSuggestionsItemAccessPackageRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementAccessPackageSuggestionsItemAccessPackageRequestBuilder.EntitlementManagementAccessPackageSuggestionsItemAccessPackageRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementAccessPackageSuggestionsItemAccessPackageRequestBuilder.EntitlementManagementAccessPackageSuggestionsItemAccessPackageRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementAccessPackageSuggestionsItemAccessPackageRequestBuilder.EntitlementManagementAccessPackageSuggestionsItemAccessPackageRequestBuilderGetRequestConfiguration::|public|queryParameters:*EntitlementManagementAccessPackageSuggestionsItemAccessPackageRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementAccessPackageSuggestionsItemAccessPackageRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementAccessPackageSuggestionsItemAccessPackageRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementAccessPackageSuggestionsItemAccessPackageRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*EntitlementManagementAccessPackageSuggestionsItemAccessPackageRequestBuilderGetRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.AvailableAccessPackageable +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementAccessPackageSuggestionsItemAccessPackageRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementAccessPackageSuggestionsItemAccessPackageRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementAccessPackageSuggestionsItemAccessPackageRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*EntitlementManagementAccessPackageSuggestionsItemAccessPackageRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementAccessPackageSuggestionsItemAccessPackageRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementAccessPackageSuggestionsItemAccessPackageRequestBuilder::|public|WithUrl(rawUrl:string):*EntitlementManagementAccessPackageSuggestionsItemAccessPackageRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementAccessPackageSuggestionsRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementAccessPackageSuggestionsRequestBuilder.EntitlementManagementAccessPackageSuggestionsRequestBuilderGetQueryParameters::|public|Count:*bool +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementAccessPackageSuggestionsRequestBuilder.EntitlementManagementAccessPackageSuggestionsRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementAccessPackageSuggestionsRequestBuilder.EntitlementManagementAccessPackageSuggestionsRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementAccessPackageSuggestionsRequestBuilder.EntitlementManagementAccessPackageSuggestionsRequestBuilderGetQueryParameters::|public|Orderby:[]string +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementAccessPackageSuggestionsRequestBuilder.EntitlementManagementAccessPackageSuggestionsRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementAccessPackageSuggestionsRequestBuilder.EntitlementManagementAccessPackageSuggestionsRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementAccessPackageSuggestionsRequestBuilder.EntitlementManagementAccessPackageSuggestionsRequestBuilderGetQueryParameters::|public|Skip:*int32 +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementAccessPackageSuggestionsRequestBuilder.EntitlementManagementAccessPackageSuggestionsRequestBuilderGetQueryParameters::|public|Top:*int32 +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementAccessPackageSuggestionsRequestBuilder.EntitlementManagementAccessPackageSuggestionsRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementAccessPackageSuggestionsRequestBuilder.EntitlementManagementAccessPackageSuggestionsRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementAccessPackageSuggestionsRequestBuilder.EntitlementManagementAccessPackageSuggestionsRequestBuilderGetRequestConfiguration::|public|queryParameters:*EntitlementManagementAccessPackageSuggestionsRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementAccessPackageSuggestionsRequestBuilder.EntitlementManagementAccessPackageSuggestionsRequestBuilderPostRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementAccessPackageSuggestionsRequestBuilder.EntitlementManagementAccessPackageSuggestionsRequestBuilderPostRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementAccessPackageSuggestionsRequestBuilder::|public|ByAccessPackageSuggestionId(accessPackageSuggestionId:string):*EntitlementManagementAccessPackageSuggestionsAccessPackageSuggestionItemRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementAccessPackageSuggestionsRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementAccessPackageSuggestionsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementAccessPackageSuggestionsRequestBuilder::|public|Count():*EntitlementManagementAccessPackageSuggestionsCountRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementAccessPackageSuggestionsRequestBuilder::|public|filterByCurrentUserWithOn(on:*string):*EntitlementManagementAccessPackageSuggestionsFilterByCurrentUserWithOnRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementAccessPackageSuggestionsRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*EntitlementManagementAccessPackageSuggestionsRequestBuilderGetRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.AccessPackageSuggestionCollectionResponseable +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementAccessPackageSuggestionsRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementAccessPackageSuggestionsRequestBuilder::|public|Post(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.AccessPackageSuggestionable; ctx:context.Context; requestConfiguration?:*EntitlementManagementAccessPackageSuggestionsRequestBuilderPostRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.AccessPackageSuggestionable +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementAccessPackageSuggestionsRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementAccessPackageSuggestionsRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*EntitlementManagementAccessPackageSuggestionsRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementAccessPackageSuggestionsRequestBuilder::|public|ToPostRequestInformation(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.AccessPackageSuggestionable; ctx:context.Context; requestConfiguration?:*EntitlementManagementAccessPackageSuggestionsRequestBuilderPostRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementAccessPackageSuggestionsRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementAccessPackageSuggestionsRequestBuilder::|public|WithUrl(rawUrl:string):*EntitlementManagementAccessPackageSuggestionsRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementAssignmentPoliciesAccessPackageAssignmentPolicyItemRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementAssignmentPoliciesAccessPackageAssignmentPolicyItemRequestBuilder.EntitlementManagementAssignmentPoliciesAccessPackageAssignmentPolicyItemRequestBuilderDeleteRequestConfiguration::|public|headers:*RequestHeaders github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementAssignmentPoliciesAccessPackageAssignmentPolicyItemRequestBuilder.EntitlementManagementAssignmentPoliciesAccessPackageAssignmentPolicyItemRequestBuilderDeleteRequestConfiguration::|public|options:[]RequestOption @@ -108049,6 +108602,119 @@ github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManageme github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementAssignmentsRequestBuilder::|public|ToPostRequestInformation(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.AccessPackageAssignmentable; ctx:context.Context; requestConfiguration?:*EntitlementManagementAssignmentsRequestBuilderPostRequestConfiguration):*RequestInformation github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementAssignmentsRequestBuilder::|public|urlTemplate:string github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementAssignmentsRequestBuilder::|public|WithUrl(rawUrl:string):*EntitlementManagementAssignmentsRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementAvailableAccessPackagesAvailableAccessPackageItemRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementAvailableAccessPackagesAvailableAccessPackageItemRequestBuilder.EntitlementManagementAvailableAccessPackagesAvailableAccessPackageItemRequestBuilderDeleteRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementAvailableAccessPackagesAvailableAccessPackageItemRequestBuilder.EntitlementManagementAvailableAccessPackagesAvailableAccessPackageItemRequestBuilderDeleteRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementAvailableAccessPackagesAvailableAccessPackageItemRequestBuilder.EntitlementManagementAvailableAccessPackagesAvailableAccessPackageItemRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementAvailableAccessPackagesAvailableAccessPackageItemRequestBuilder.EntitlementManagementAvailableAccessPackagesAvailableAccessPackageItemRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementAvailableAccessPackagesAvailableAccessPackageItemRequestBuilder.EntitlementManagementAvailableAccessPackagesAvailableAccessPackageItemRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementAvailableAccessPackagesAvailableAccessPackageItemRequestBuilder.EntitlementManagementAvailableAccessPackagesAvailableAccessPackageItemRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementAvailableAccessPackagesAvailableAccessPackageItemRequestBuilder.EntitlementManagementAvailableAccessPackagesAvailableAccessPackageItemRequestBuilderGetRequestConfiguration::|public|queryParameters:*EntitlementManagementAvailableAccessPackagesAvailableAccessPackageItemRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementAvailableAccessPackagesAvailableAccessPackageItemRequestBuilder.EntitlementManagementAvailableAccessPackagesAvailableAccessPackageItemRequestBuilderPatchRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementAvailableAccessPackagesAvailableAccessPackageItemRequestBuilder.EntitlementManagementAvailableAccessPackagesAvailableAccessPackageItemRequestBuilderPatchRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementAvailableAccessPackagesAvailableAccessPackageItemRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementAvailableAccessPackagesAvailableAccessPackageItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementAvailableAccessPackagesAvailableAccessPackageItemRequestBuilder::|public|Delete(ctx:context.Context; requestConfiguration?:*EntitlementManagementAvailableAccessPackagesAvailableAccessPackageItemRequestBuilderDeleteRequestConfiguration):void +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementAvailableAccessPackagesAvailableAccessPackageItemRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*EntitlementManagementAvailableAccessPackagesAvailableAccessPackageItemRequestBuilderGetRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.AvailableAccessPackageable +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementAvailableAccessPackagesAvailableAccessPackageItemRequestBuilder::|public|Patch(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.AvailableAccessPackageable; ctx:context.Context; requestConfiguration?:*EntitlementManagementAvailableAccessPackagesAvailableAccessPackageItemRequestBuilderPatchRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.AvailableAccessPackageable +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementAvailableAccessPackagesAvailableAccessPackageItemRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementAvailableAccessPackagesAvailableAccessPackageItemRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementAvailableAccessPackagesAvailableAccessPackageItemRequestBuilder::|public|resourceRoleScopes():*EntitlementManagementAvailableAccessPackagesItemResourceRoleScopesRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementAvailableAccessPackagesAvailableAccessPackageItemRequestBuilder::|public|ToDeleteRequestInformation(ctx:context.Context; requestConfiguration?:*EntitlementManagementAvailableAccessPackagesAvailableAccessPackageItemRequestBuilderDeleteRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementAvailableAccessPackagesAvailableAccessPackageItemRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*EntitlementManagementAvailableAccessPackagesAvailableAccessPackageItemRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementAvailableAccessPackagesAvailableAccessPackageItemRequestBuilder::|public|ToPatchRequestInformation(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.AvailableAccessPackageable; ctx:context.Context; requestConfiguration?:*EntitlementManagementAvailableAccessPackagesAvailableAccessPackageItemRequestBuilderPatchRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementAvailableAccessPackagesAvailableAccessPackageItemRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementAvailableAccessPackagesAvailableAccessPackageItemRequestBuilder::|public|WithUrl(rawUrl:string):*EntitlementManagementAvailableAccessPackagesAvailableAccessPackageItemRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementAvailableAccessPackagesCountRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementAvailableAccessPackagesCountRequestBuilder.EntitlementManagementAvailableAccessPackagesCountRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementAvailableAccessPackagesCountRequestBuilder.EntitlementManagementAvailableAccessPackagesCountRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementAvailableAccessPackagesCountRequestBuilder.EntitlementManagementAvailableAccessPackagesCountRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementAvailableAccessPackagesCountRequestBuilder.EntitlementManagementAvailableAccessPackagesCountRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementAvailableAccessPackagesCountRequestBuilder.EntitlementManagementAvailableAccessPackagesCountRequestBuilderGetRequestConfiguration::|public|queryParameters:*EntitlementManagementAvailableAccessPackagesCountRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementAvailableAccessPackagesCountRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementAvailableAccessPackagesCountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementAvailableAccessPackagesCountRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*EntitlementManagementAvailableAccessPackagesCountRequestBuilderGetRequestConfiguration):*int32 +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementAvailableAccessPackagesCountRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementAvailableAccessPackagesCountRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementAvailableAccessPackagesCountRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*EntitlementManagementAvailableAccessPackagesCountRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementAvailableAccessPackagesCountRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementAvailableAccessPackagesCountRequestBuilder::|public|WithUrl(rawUrl:string):*EntitlementManagementAvailableAccessPackagesCountRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementAvailableAccessPackagesItemResourceRoleScopesAccessPackageResourceRoleScopeItemRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementAvailableAccessPackagesItemResourceRoleScopesAccessPackageResourceRoleScopeItemRequestBuilder.EntitlementManagementAvailableAccessPackagesItemResourceRoleScopesAccessPackageResourceRoleScopeItemRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementAvailableAccessPackagesItemResourceRoleScopesAccessPackageResourceRoleScopeItemRequestBuilder.EntitlementManagementAvailableAccessPackagesItemResourceRoleScopesAccessPackageResourceRoleScopeItemRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementAvailableAccessPackagesItemResourceRoleScopesAccessPackageResourceRoleScopeItemRequestBuilder.EntitlementManagementAvailableAccessPackagesItemResourceRoleScopesAccessPackageResourceRoleScopeItemRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementAvailableAccessPackagesItemResourceRoleScopesAccessPackageResourceRoleScopeItemRequestBuilder.EntitlementManagementAvailableAccessPackagesItemResourceRoleScopesAccessPackageResourceRoleScopeItemRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementAvailableAccessPackagesItemResourceRoleScopesAccessPackageResourceRoleScopeItemRequestBuilder.EntitlementManagementAvailableAccessPackagesItemResourceRoleScopesAccessPackageResourceRoleScopeItemRequestBuilderGetRequestConfiguration::|public|queryParameters:*EntitlementManagementAvailableAccessPackagesItemResourceRoleScopesAccessPackageResourceRoleScopeItemRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementAvailableAccessPackagesItemResourceRoleScopesAccessPackageResourceRoleScopeItemRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementAvailableAccessPackagesItemResourceRoleScopesAccessPackageResourceRoleScopeItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementAvailableAccessPackagesItemResourceRoleScopesAccessPackageResourceRoleScopeItemRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*EntitlementManagementAvailableAccessPackagesItemResourceRoleScopesAccessPackageResourceRoleScopeItemRequestBuilderGetRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.AccessPackageResourceRoleScopeable +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementAvailableAccessPackagesItemResourceRoleScopesAccessPackageResourceRoleScopeItemRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementAvailableAccessPackagesItemResourceRoleScopesAccessPackageResourceRoleScopeItemRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementAvailableAccessPackagesItemResourceRoleScopesAccessPackageResourceRoleScopeItemRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*EntitlementManagementAvailableAccessPackagesItemResourceRoleScopesAccessPackageResourceRoleScopeItemRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementAvailableAccessPackagesItemResourceRoleScopesAccessPackageResourceRoleScopeItemRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementAvailableAccessPackagesItemResourceRoleScopesAccessPackageResourceRoleScopeItemRequestBuilder::|public|WithUrl(rawUrl:string):*EntitlementManagementAvailableAccessPackagesItemResourceRoleScopesAccessPackageResourceRoleScopeItemRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementAvailableAccessPackagesItemResourceRoleScopesCountRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementAvailableAccessPackagesItemResourceRoleScopesCountRequestBuilder.EntitlementManagementAvailableAccessPackagesItemResourceRoleScopesCountRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementAvailableAccessPackagesItemResourceRoleScopesCountRequestBuilder.EntitlementManagementAvailableAccessPackagesItemResourceRoleScopesCountRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementAvailableAccessPackagesItemResourceRoleScopesCountRequestBuilder.EntitlementManagementAvailableAccessPackagesItemResourceRoleScopesCountRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementAvailableAccessPackagesItemResourceRoleScopesCountRequestBuilder.EntitlementManagementAvailableAccessPackagesItemResourceRoleScopesCountRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementAvailableAccessPackagesItemResourceRoleScopesCountRequestBuilder.EntitlementManagementAvailableAccessPackagesItemResourceRoleScopesCountRequestBuilderGetRequestConfiguration::|public|queryParameters:*EntitlementManagementAvailableAccessPackagesItemResourceRoleScopesCountRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementAvailableAccessPackagesItemResourceRoleScopesCountRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementAvailableAccessPackagesItemResourceRoleScopesCountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementAvailableAccessPackagesItemResourceRoleScopesCountRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*EntitlementManagementAvailableAccessPackagesItemResourceRoleScopesCountRequestBuilderGetRequestConfiguration):*int32 +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementAvailableAccessPackagesItemResourceRoleScopesCountRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementAvailableAccessPackagesItemResourceRoleScopesCountRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementAvailableAccessPackagesItemResourceRoleScopesCountRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*EntitlementManagementAvailableAccessPackagesItemResourceRoleScopesCountRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementAvailableAccessPackagesItemResourceRoleScopesCountRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementAvailableAccessPackagesItemResourceRoleScopesCountRequestBuilder::|public|WithUrl(rawUrl:string):*EntitlementManagementAvailableAccessPackagesItemResourceRoleScopesCountRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementAvailableAccessPackagesItemResourceRoleScopesRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementAvailableAccessPackagesItemResourceRoleScopesRequestBuilder.EntitlementManagementAvailableAccessPackagesItemResourceRoleScopesRequestBuilderGetQueryParameters::|public|Count:*bool +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementAvailableAccessPackagesItemResourceRoleScopesRequestBuilder.EntitlementManagementAvailableAccessPackagesItemResourceRoleScopesRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementAvailableAccessPackagesItemResourceRoleScopesRequestBuilder.EntitlementManagementAvailableAccessPackagesItemResourceRoleScopesRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementAvailableAccessPackagesItemResourceRoleScopesRequestBuilder.EntitlementManagementAvailableAccessPackagesItemResourceRoleScopesRequestBuilderGetQueryParameters::|public|Orderby:[]string +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementAvailableAccessPackagesItemResourceRoleScopesRequestBuilder.EntitlementManagementAvailableAccessPackagesItemResourceRoleScopesRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementAvailableAccessPackagesItemResourceRoleScopesRequestBuilder.EntitlementManagementAvailableAccessPackagesItemResourceRoleScopesRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementAvailableAccessPackagesItemResourceRoleScopesRequestBuilder.EntitlementManagementAvailableAccessPackagesItemResourceRoleScopesRequestBuilderGetQueryParameters::|public|Skip:*int32 +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementAvailableAccessPackagesItemResourceRoleScopesRequestBuilder.EntitlementManagementAvailableAccessPackagesItemResourceRoleScopesRequestBuilderGetQueryParameters::|public|Top:*int32 +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementAvailableAccessPackagesItemResourceRoleScopesRequestBuilder.EntitlementManagementAvailableAccessPackagesItemResourceRoleScopesRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementAvailableAccessPackagesItemResourceRoleScopesRequestBuilder.EntitlementManagementAvailableAccessPackagesItemResourceRoleScopesRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementAvailableAccessPackagesItemResourceRoleScopesRequestBuilder.EntitlementManagementAvailableAccessPackagesItemResourceRoleScopesRequestBuilderGetRequestConfiguration::|public|queryParameters:*EntitlementManagementAvailableAccessPackagesItemResourceRoleScopesRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementAvailableAccessPackagesItemResourceRoleScopesRequestBuilder::|public|ByAccessPackageResourceRoleScopeId(accessPackageResourceRoleScopeId:string):*EntitlementManagementAvailableAccessPackagesItemResourceRoleScopesAccessPackageResourceRoleScopeItemRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementAvailableAccessPackagesItemResourceRoleScopesRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementAvailableAccessPackagesItemResourceRoleScopesRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementAvailableAccessPackagesItemResourceRoleScopesRequestBuilder::|public|Count():*EntitlementManagementAvailableAccessPackagesItemResourceRoleScopesCountRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementAvailableAccessPackagesItemResourceRoleScopesRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*EntitlementManagementAvailableAccessPackagesItemResourceRoleScopesRequestBuilderGetRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.AccessPackageResourceRoleScopeCollectionResponseable +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementAvailableAccessPackagesItemResourceRoleScopesRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementAvailableAccessPackagesItemResourceRoleScopesRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementAvailableAccessPackagesItemResourceRoleScopesRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*EntitlementManagementAvailableAccessPackagesItemResourceRoleScopesRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementAvailableAccessPackagesItemResourceRoleScopesRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementAvailableAccessPackagesItemResourceRoleScopesRequestBuilder::|public|WithUrl(rawUrl:string):*EntitlementManagementAvailableAccessPackagesItemResourceRoleScopesRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementAvailableAccessPackagesRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementAvailableAccessPackagesRequestBuilder.EntitlementManagementAvailableAccessPackagesRequestBuilderGetQueryParameters::|public|Count:*bool +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementAvailableAccessPackagesRequestBuilder.EntitlementManagementAvailableAccessPackagesRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementAvailableAccessPackagesRequestBuilder.EntitlementManagementAvailableAccessPackagesRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementAvailableAccessPackagesRequestBuilder.EntitlementManagementAvailableAccessPackagesRequestBuilderGetQueryParameters::|public|Orderby:[]string +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementAvailableAccessPackagesRequestBuilder.EntitlementManagementAvailableAccessPackagesRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementAvailableAccessPackagesRequestBuilder.EntitlementManagementAvailableAccessPackagesRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementAvailableAccessPackagesRequestBuilder.EntitlementManagementAvailableAccessPackagesRequestBuilderGetQueryParameters::|public|Skip:*int32 +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementAvailableAccessPackagesRequestBuilder.EntitlementManagementAvailableAccessPackagesRequestBuilderGetQueryParameters::|public|Top:*int32 +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementAvailableAccessPackagesRequestBuilder.EntitlementManagementAvailableAccessPackagesRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementAvailableAccessPackagesRequestBuilder.EntitlementManagementAvailableAccessPackagesRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementAvailableAccessPackagesRequestBuilder.EntitlementManagementAvailableAccessPackagesRequestBuilderGetRequestConfiguration::|public|queryParameters:*EntitlementManagementAvailableAccessPackagesRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementAvailableAccessPackagesRequestBuilder.EntitlementManagementAvailableAccessPackagesRequestBuilderPostRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementAvailableAccessPackagesRequestBuilder.EntitlementManagementAvailableAccessPackagesRequestBuilderPostRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementAvailableAccessPackagesRequestBuilder::|public|ByAvailableAccessPackageId(availableAccessPackageId:string):*EntitlementManagementAvailableAccessPackagesAvailableAccessPackageItemRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementAvailableAccessPackagesRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementAvailableAccessPackagesRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementAvailableAccessPackagesRequestBuilder::|public|Count():*EntitlementManagementAvailableAccessPackagesCountRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementAvailableAccessPackagesRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*EntitlementManagementAvailableAccessPackagesRequestBuilderGetRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.AvailableAccessPackageCollectionResponseable +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementAvailableAccessPackagesRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementAvailableAccessPackagesRequestBuilder::|public|Post(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.AvailableAccessPackageable; ctx:context.Context; requestConfiguration?:*EntitlementManagementAvailableAccessPackagesRequestBuilderPostRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.AvailableAccessPackageable +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementAvailableAccessPackagesRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementAvailableAccessPackagesRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*EntitlementManagementAvailableAccessPackagesRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementAvailableAccessPackagesRequestBuilder::|public|ToPostRequestInformation(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.AvailableAccessPackageable; ctx:context.Context; requestConfiguration?:*EntitlementManagementAvailableAccessPackagesRequestBuilderPostRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementAvailableAccessPackagesRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementAvailableAccessPackagesRequestBuilder::|public|WithUrl(rawUrl:string):*EntitlementManagementAvailableAccessPackagesRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementCatalogsAccessPackageCatalogItemRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementCatalogsAccessPackageCatalogItemRequestBuilder.EntitlementManagementCatalogsAccessPackageCatalogItemRequestBuilderDeleteRequestConfiguration::|public|headers:*RequestHeaders github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementCatalogsAccessPackageCatalogItemRequestBuilder.EntitlementManagementCatalogsAccessPackageCatalogItemRequestBuilderDeleteRequestConfiguration::|public|options:[]RequestOption @@ -109701,6 +110367,68 @@ github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManageme github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementConnectedOrganizationsRequestBuilder::|public|ToPostRequestInformation(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ConnectedOrganizationable; ctx:context.Context; requestConfiguration?:*EntitlementManagementConnectedOrganizationsRequestBuilderPostRequestConfiguration):*RequestInformation github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementConnectedOrganizationsRequestBuilder::|public|urlTemplate:string github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementConnectedOrganizationsRequestBuilder::|public|WithUrl(rawUrl:string):*EntitlementManagementConnectedOrganizationsRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementControlConfigurationsControlConfigurationItemRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementControlConfigurationsControlConfigurationItemRequestBuilder.EntitlementManagementControlConfigurationsControlConfigurationItemRequestBuilderDeleteRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementControlConfigurationsControlConfigurationItemRequestBuilder.EntitlementManagementControlConfigurationsControlConfigurationItemRequestBuilderDeleteRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementControlConfigurationsControlConfigurationItemRequestBuilder.EntitlementManagementControlConfigurationsControlConfigurationItemRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementControlConfigurationsControlConfigurationItemRequestBuilder.EntitlementManagementControlConfigurationsControlConfigurationItemRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementControlConfigurationsControlConfigurationItemRequestBuilder.EntitlementManagementControlConfigurationsControlConfigurationItemRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementControlConfigurationsControlConfigurationItemRequestBuilder.EntitlementManagementControlConfigurationsControlConfigurationItemRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementControlConfigurationsControlConfigurationItemRequestBuilder.EntitlementManagementControlConfigurationsControlConfigurationItemRequestBuilderGetRequestConfiguration::|public|queryParameters:*EntitlementManagementControlConfigurationsControlConfigurationItemRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementControlConfigurationsControlConfigurationItemRequestBuilder.EntitlementManagementControlConfigurationsControlConfigurationItemRequestBuilderPutRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementControlConfigurationsControlConfigurationItemRequestBuilder.EntitlementManagementControlConfigurationsControlConfigurationItemRequestBuilderPutRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementControlConfigurationsControlConfigurationItemRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementControlConfigurationsControlConfigurationItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementControlConfigurationsControlConfigurationItemRequestBuilder::|public|Delete(ctx:context.Context; requestConfiguration?:*EntitlementManagementControlConfigurationsControlConfigurationItemRequestBuilderDeleteRequestConfiguration):void +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementControlConfigurationsControlConfigurationItemRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*EntitlementManagementControlConfigurationsControlConfigurationItemRequestBuilderGetRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ControlConfigurationable +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementControlConfigurationsControlConfigurationItemRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementControlConfigurationsControlConfigurationItemRequestBuilder::|public|Put(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ControlConfigurationable; ctx:context.Context; requestConfiguration?:*EntitlementManagementControlConfigurationsControlConfigurationItemRequestBuilderPutRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ControlConfigurationable +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementControlConfigurationsControlConfigurationItemRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementControlConfigurationsControlConfigurationItemRequestBuilder::|public|ToDeleteRequestInformation(ctx:context.Context; requestConfiguration?:*EntitlementManagementControlConfigurationsControlConfigurationItemRequestBuilderDeleteRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementControlConfigurationsControlConfigurationItemRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*EntitlementManagementControlConfigurationsControlConfigurationItemRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementControlConfigurationsControlConfigurationItemRequestBuilder::|public|ToPutRequestInformation(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ControlConfigurationable; ctx:context.Context; requestConfiguration?:*EntitlementManagementControlConfigurationsControlConfigurationItemRequestBuilderPutRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementControlConfigurationsControlConfigurationItemRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementControlConfigurationsControlConfigurationItemRequestBuilder::|public|WithUrl(rawUrl:string):*EntitlementManagementControlConfigurationsControlConfigurationItemRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementControlConfigurationsCountRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementControlConfigurationsCountRequestBuilder.EntitlementManagementControlConfigurationsCountRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementControlConfigurationsCountRequestBuilder.EntitlementManagementControlConfigurationsCountRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementControlConfigurationsCountRequestBuilder.EntitlementManagementControlConfigurationsCountRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementControlConfigurationsCountRequestBuilder.EntitlementManagementControlConfigurationsCountRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementControlConfigurationsCountRequestBuilder.EntitlementManagementControlConfigurationsCountRequestBuilderGetRequestConfiguration::|public|queryParameters:*EntitlementManagementControlConfigurationsCountRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementControlConfigurationsCountRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementControlConfigurationsCountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementControlConfigurationsCountRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*EntitlementManagementControlConfigurationsCountRequestBuilderGetRequestConfiguration):*int32 +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementControlConfigurationsCountRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementControlConfigurationsCountRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementControlConfigurationsCountRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*EntitlementManagementControlConfigurationsCountRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementControlConfigurationsCountRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementControlConfigurationsCountRequestBuilder::|public|WithUrl(rawUrl:string):*EntitlementManagementControlConfigurationsCountRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementControlConfigurationsRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementControlConfigurationsRequestBuilder.EntitlementManagementControlConfigurationsRequestBuilderGetQueryParameters::|public|Count:*bool +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementControlConfigurationsRequestBuilder.EntitlementManagementControlConfigurationsRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementControlConfigurationsRequestBuilder.EntitlementManagementControlConfigurationsRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementControlConfigurationsRequestBuilder.EntitlementManagementControlConfigurationsRequestBuilderGetQueryParameters::|public|Orderby:[]string +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementControlConfigurationsRequestBuilder.EntitlementManagementControlConfigurationsRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementControlConfigurationsRequestBuilder.EntitlementManagementControlConfigurationsRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementControlConfigurationsRequestBuilder.EntitlementManagementControlConfigurationsRequestBuilderGetQueryParameters::|public|Skip:*int32 +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementControlConfigurationsRequestBuilder.EntitlementManagementControlConfigurationsRequestBuilderGetQueryParameters::|public|Top:*int32 +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementControlConfigurationsRequestBuilder.EntitlementManagementControlConfigurationsRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementControlConfigurationsRequestBuilder.EntitlementManagementControlConfigurationsRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementControlConfigurationsRequestBuilder.EntitlementManagementControlConfigurationsRequestBuilderGetRequestConfiguration::|public|queryParameters:*EntitlementManagementControlConfigurationsRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementControlConfigurationsRequestBuilder.EntitlementManagementControlConfigurationsRequestBuilderPostRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementControlConfigurationsRequestBuilder.EntitlementManagementControlConfigurationsRequestBuilderPostRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementControlConfigurationsRequestBuilder::|public|ByControlConfigurationId(controlConfigurationId:string):*EntitlementManagementControlConfigurationsControlConfigurationItemRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementControlConfigurationsRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementControlConfigurationsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementControlConfigurationsRequestBuilder::|public|Count():*EntitlementManagementControlConfigurationsCountRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementControlConfigurationsRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*EntitlementManagementControlConfigurationsRequestBuilderGetRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ControlConfigurationCollectionResponseable +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementControlConfigurationsRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementControlConfigurationsRequestBuilder::|public|Post(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ControlConfigurationable; ctx:context.Context; requestConfiguration?:*EntitlementManagementControlConfigurationsRequestBuilderPostRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ControlConfigurationable +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementControlConfigurationsRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementControlConfigurationsRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*EntitlementManagementControlConfigurationsRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementControlConfigurationsRequestBuilder::|public|ToPostRequestInformation(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ControlConfigurationable; ctx:context.Context; requestConfiguration?:*EntitlementManagementControlConfigurationsRequestBuilderPostRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementControlConfigurationsRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementControlConfigurationsRequestBuilder::|public|WithUrl(rawUrl:string):*EntitlementManagementControlConfigurationsRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementRequestBuilder.EntitlementManagementRequestBuilderDeleteRequestConfiguration::|public|headers:*RequestHeaders github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementRequestBuilder.EntitlementManagementRequestBuilderDeleteRequestConfiguration::|public|options:[]RequestOption @@ -109713,13 +110441,16 @@ github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManageme github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementRequestBuilder.EntitlementManagementRequestBuilderPatchRequestConfiguration::|public|options:[]RequestOption github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementRequestBuilder::|public|accessPackageAssignmentApprovals():*EntitlementManagementAccessPackageAssignmentApprovalsRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementRequestBuilder::|public|accessPackages():*EntitlementManagementAccessPackagesRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementRequestBuilder::|public|accessPackageSuggestions():*EntitlementManagementAccessPackageSuggestionsRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementRequestBuilder::|public|assignmentPolicies():*EntitlementManagementAssignmentPoliciesRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementRequestBuilder::|public|assignmentRequests():*EntitlementManagementAssignmentRequestsRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementRequestBuilder::|public|assignments():*EntitlementManagementAssignmentsRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementRequestBuilder::|public|availableAccessPackages():*EntitlementManagementAvailableAccessPackagesRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementRequestBuilder::|public|catalogs():*EntitlementManagementCatalogsRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementRequestBuilder::|public|connectedOrganizations():*EntitlementManagementConnectedOrganizationsRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementRequestBuilder::|public|controlConfigurations():*EntitlementManagementControlConfigurationsRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementRequestBuilder::|public|Delete(ctx:context.Context; requestConfiguration?:*EntitlementManagementRequestBuilderDeleteRequestConfiguration):void github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*EntitlementManagementRequestBuilderGetRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EntitlementManagementable github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementRequestBuilder::|public|Patch(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EntitlementManagementable; ctx:context.Context; requestConfiguration?:*EntitlementManagementRequestBuilderPatchRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EntitlementManagementable @@ -109730,6 +110461,8 @@ github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManageme github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementRequestBuilder::|public|resourceRoleScopes():*EntitlementManagementResourceRoleScopesRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementRequestBuilder::|public|resources():*EntitlementManagementResourcesRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementRequestBuilder::|public|settings():*EntitlementManagementSettingsRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementRequestBuilder::|public|subjects():*EntitlementManagementSubjectsRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementRequestBuilder::|public|subjectsWithObjectId(objectId:*string):*EntitlementManagementSubjectsWithObjectIdRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementRequestBuilder::|public|ToDeleteRequestInformation(ctx:context.Context; requestConfiguration?:*EntitlementManagementRequestBuilderDeleteRequestConfiguration):*RequestInformation github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*EntitlementManagementRequestBuilderGetRequestConfiguration):*RequestInformation github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementRequestBuilder::|public|ToPatchRequestInformation(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EntitlementManagementable; ctx:context.Context; requestConfiguration?:*EntitlementManagementRequestBuilderPatchRequestConfiguration):*RequestInformation @@ -113535,6 +114268,105 @@ github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManageme github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementSettingsRequestBuilder::|public|ToPatchRequestInformation(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EntitlementManagementSettingsable; ctx:context.Context; requestConfiguration?:*EntitlementManagementSettingsRequestBuilderPatchRequestConfiguration):*RequestInformation github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementSettingsRequestBuilder::|public|urlTemplate:string github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementSettingsRequestBuilder::|public|WithUrl(rawUrl:string):*EntitlementManagementSettingsRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementSubjectsAccessPackageSubjectItemRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementSubjectsAccessPackageSubjectItemRequestBuilder.EntitlementManagementSubjectsAccessPackageSubjectItemRequestBuilderDeleteRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementSubjectsAccessPackageSubjectItemRequestBuilder.EntitlementManagementSubjectsAccessPackageSubjectItemRequestBuilderDeleteRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementSubjectsAccessPackageSubjectItemRequestBuilder.EntitlementManagementSubjectsAccessPackageSubjectItemRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementSubjectsAccessPackageSubjectItemRequestBuilder.EntitlementManagementSubjectsAccessPackageSubjectItemRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementSubjectsAccessPackageSubjectItemRequestBuilder.EntitlementManagementSubjectsAccessPackageSubjectItemRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementSubjectsAccessPackageSubjectItemRequestBuilder.EntitlementManagementSubjectsAccessPackageSubjectItemRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementSubjectsAccessPackageSubjectItemRequestBuilder.EntitlementManagementSubjectsAccessPackageSubjectItemRequestBuilderGetRequestConfiguration::|public|queryParameters:*EntitlementManagementSubjectsAccessPackageSubjectItemRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementSubjectsAccessPackageSubjectItemRequestBuilder.EntitlementManagementSubjectsAccessPackageSubjectItemRequestBuilderPatchRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementSubjectsAccessPackageSubjectItemRequestBuilder.EntitlementManagementSubjectsAccessPackageSubjectItemRequestBuilderPatchRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementSubjectsAccessPackageSubjectItemRequestBuilder::|public|connectedOrganization():*EntitlementManagementSubjectsItemConnectedOrganizationRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementSubjectsAccessPackageSubjectItemRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementSubjectsAccessPackageSubjectItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementSubjectsAccessPackageSubjectItemRequestBuilder::|public|Delete(ctx:context.Context; requestConfiguration?:*EntitlementManagementSubjectsAccessPackageSubjectItemRequestBuilderDeleteRequestConfiguration):void +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementSubjectsAccessPackageSubjectItemRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*EntitlementManagementSubjectsAccessPackageSubjectItemRequestBuilderGetRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.AccessPackageSubjectable +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementSubjectsAccessPackageSubjectItemRequestBuilder::|public|Patch(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.AccessPackageSubjectable; ctx:context.Context; requestConfiguration?:*EntitlementManagementSubjectsAccessPackageSubjectItemRequestBuilderPatchRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.AccessPackageSubjectable +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementSubjectsAccessPackageSubjectItemRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementSubjectsAccessPackageSubjectItemRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementSubjectsAccessPackageSubjectItemRequestBuilder::|public|ToDeleteRequestInformation(ctx:context.Context; requestConfiguration?:*EntitlementManagementSubjectsAccessPackageSubjectItemRequestBuilderDeleteRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementSubjectsAccessPackageSubjectItemRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*EntitlementManagementSubjectsAccessPackageSubjectItemRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementSubjectsAccessPackageSubjectItemRequestBuilder::|public|ToPatchRequestInformation(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.AccessPackageSubjectable; ctx:context.Context; requestConfiguration?:*EntitlementManagementSubjectsAccessPackageSubjectItemRequestBuilderPatchRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementSubjectsAccessPackageSubjectItemRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementSubjectsAccessPackageSubjectItemRequestBuilder::|public|WithUrl(rawUrl:string):*EntitlementManagementSubjectsAccessPackageSubjectItemRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementSubjectsCountRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementSubjectsCountRequestBuilder.EntitlementManagementSubjectsCountRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementSubjectsCountRequestBuilder.EntitlementManagementSubjectsCountRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementSubjectsCountRequestBuilder.EntitlementManagementSubjectsCountRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementSubjectsCountRequestBuilder.EntitlementManagementSubjectsCountRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementSubjectsCountRequestBuilder.EntitlementManagementSubjectsCountRequestBuilderGetRequestConfiguration::|public|queryParameters:*EntitlementManagementSubjectsCountRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementSubjectsCountRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementSubjectsCountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementSubjectsCountRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*EntitlementManagementSubjectsCountRequestBuilderGetRequestConfiguration):*int32 +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementSubjectsCountRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementSubjectsCountRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementSubjectsCountRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*EntitlementManagementSubjectsCountRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementSubjectsCountRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementSubjectsCountRequestBuilder::|public|WithUrl(rawUrl:string):*EntitlementManagementSubjectsCountRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementSubjectsItemConnectedOrganizationRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementSubjectsItemConnectedOrganizationRequestBuilder.EntitlementManagementSubjectsItemConnectedOrganizationRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementSubjectsItemConnectedOrganizationRequestBuilder.EntitlementManagementSubjectsItemConnectedOrganizationRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementSubjectsItemConnectedOrganizationRequestBuilder.EntitlementManagementSubjectsItemConnectedOrganizationRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementSubjectsItemConnectedOrganizationRequestBuilder.EntitlementManagementSubjectsItemConnectedOrganizationRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementSubjectsItemConnectedOrganizationRequestBuilder.EntitlementManagementSubjectsItemConnectedOrganizationRequestBuilderGetRequestConfiguration::|public|queryParameters:*EntitlementManagementSubjectsItemConnectedOrganizationRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementSubjectsItemConnectedOrganizationRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementSubjectsItemConnectedOrganizationRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementSubjectsItemConnectedOrganizationRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*EntitlementManagementSubjectsItemConnectedOrganizationRequestBuilderGetRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ConnectedOrganizationable +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementSubjectsItemConnectedOrganizationRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementSubjectsItemConnectedOrganizationRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementSubjectsItemConnectedOrganizationRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*EntitlementManagementSubjectsItemConnectedOrganizationRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementSubjectsItemConnectedOrganizationRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementSubjectsItemConnectedOrganizationRequestBuilder::|public|WithUrl(rawUrl:string):*EntitlementManagementSubjectsItemConnectedOrganizationRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementSubjectsRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementSubjectsRequestBuilder.EntitlementManagementSubjectsRequestBuilderGetQueryParameters::|public|Count:*bool +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementSubjectsRequestBuilder.EntitlementManagementSubjectsRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementSubjectsRequestBuilder.EntitlementManagementSubjectsRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementSubjectsRequestBuilder.EntitlementManagementSubjectsRequestBuilderGetQueryParameters::|public|Orderby:[]string +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementSubjectsRequestBuilder.EntitlementManagementSubjectsRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementSubjectsRequestBuilder.EntitlementManagementSubjectsRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementSubjectsRequestBuilder.EntitlementManagementSubjectsRequestBuilderGetQueryParameters::|public|Skip:*int32 +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementSubjectsRequestBuilder.EntitlementManagementSubjectsRequestBuilderGetQueryParameters::|public|Top:*int32 +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementSubjectsRequestBuilder.EntitlementManagementSubjectsRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementSubjectsRequestBuilder.EntitlementManagementSubjectsRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementSubjectsRequestBuilder.EntitlementManagementSubjectsRequestBuilderGetRequestConfiguration::|public|queryParameters:*EntitlementManagementSubjectsRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementSubjectsRequestBuilder.EntitlementManagementSubjectsRequestBuilderPostRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementSubjectsRequestBuilder.EntitlementManagementSubjectsRequestBuilderPostRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementSubjectsRequestBuilder::|public|ByAccessPackageSubjectId(accessPackageSubjectId:string):*EntitlementManagementSubjectsAccessPackageSubjectItemRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementSubjectsRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementSubjectsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementSubjectsRequestBuilder::|public|Count():*EntitlementManagementSubjectsCountRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementSubjectsRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*EntitlementManagementSubjectsRequestBuilderGetRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.AccessPackageSubjectCollectionResponseable +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementSubjectsRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementSubjectsRequestBuilder::|public|Post(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.AccessPackageSubjectable; ctx:context.Context; requestConfiguration?:*EntitlementManagementSubjectsRequestBuilderPostRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.AccessPackageSubjectable +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementSubjectsRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementSubjectsRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*EntitlementManagementSubjectsRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementSubjectsRequestBuilder::|public|ToPostRequestInformation(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.AccessPackageSubjectable; ctx:context.Context; requestConfiguration?:*EntitlementManagementSubjectsRequestBuilderPostRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementSubjectsRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementSubjectsRequestBuilder::|public|WithUrl(rawUrl:string):*EntitlementManagementSubjectsRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementSubjectsWithObjectIdRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementSubjectsWithObjectIdRequestBuilder.EntitlementManagementSubjectsWithObjectIdRequestBuilderDeleteRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementSubjectsWithObjectIdRequestBuilder.EntitlementManagementSubjectsWithObjectIdRequestBuilderDeleteRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementSubjectsWithObjectIdRequestBuilder.EntitlementManagementSubjectsWithObjectIdRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementSubjectsWithObjectIdRequestBuilder.EntitlementManagementSubjectsWithObjectIdRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementSubjectsWithObjectIdRequestBuilder.EntitlementManagementSubjectsWithObjectIdRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementSubjectsWithObjectIdRequestBuilder.EntitlementManagementSubjectsWithObjectIdRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementSubjectsWithObjectIdRequestBuilder.EntitlementManagementSubjectsWithObjectIdRequestBuilderGetRequestConfiguration::|public|queryParameters:*EntitlementManagementSubjectsWithObjectIdRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementSubjectsWithObjectIdRequestBuilder.EntitlementManagementSubjectsWithObjectIdRequestBuilderPatchRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementSubjectsWithObjectIdRequestBuilder.EntitlementManagementSubjectsWithObjectIdRequestBuilderPatchRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementSubjectsWithObjectIdRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter; objectId?:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementSubjectsWithObjectIdRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementSubjectsWithObjectIdRequestBuilder::|public|Delete(ctx:context.Context; requestConfiguration?:*EntitlementManagementSubjectsWithObjectIdRequestBuilderDeleteRequestConfiguration):void +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementSubjectsWithObjectIdRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*EntitlementManagementSubjectsWithObjectIdRequestBuilderGetRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.AccessPackageSubjectable +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementSubjectsWithObjectIdRequestBuilder::|public|Patch(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.AccessPackageSubjectable; ctx:context.Context; requestConfiguration?:*EntitlementManagementSubjectsWithObjectIdRequestBuilderPatchRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.AccessPackageSubjectable +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementSubjectsWithObjectIdRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementSubjectsWithObjectIdRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementSubjectsWithObjectIdRequestBuilder::|public|ToDeleteRequestInformation(ctx:context.Context; requestConfiguration?:*EntitlementManagementSubjectsWithObjectIdRequestBuilderDeleteRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementSubjectsWithObjectIdRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*EntitlementManagementSubjectsWithObjectIdRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementSubjectsWithObjectIdRequestBuilder::|public|ToPatchRequestInformation(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.AccessPackageSubjectable; ctx:context.Context; requestConfiguration?:*EntitlementManagementSubjectsWithObjectIdRequestBuilderPatchRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementSubjectsWithObjectIdRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.EntitlementManagementSubjectsWithObjectIdRequestBuilder::|public|WithUrl(rawUrl:string):*EntitlementManagementSubjectsWithObjectIdRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.identityGovernanceRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.identityGovernanceRequestBuilder.IdentityGovernanceRequestBuilderGetQueryParameters::|public|Expand:[]string github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.identityGovernanceRequestBuilder.IdentityGovernanceRequestBuilderGetQueryParameters::|public|Select:[]string @@ -114086,6 +114918,17 @@ github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsD github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsDeletedItemsWorkflowsItemMicrosoftGraphIdentityGovernanceActivateWithScopeRequestBuilder::|public|ToPostRequestInformation(body:LifecycleWorkflowsDeletedItemsWorkflowsItemMicrosoftGraphIdentityGovernanceActivateWithScopeActivateWithScopePostRequestBodyable; ctx:context.Context; requestConfiguration?:*LifecycleWorkflowsDeletedItemsWorkflowsItemMicrosoftGraphIdentityGovernanceActivateWithScopeRequestBuilderPostRequestConfiguration):*RequestInformation github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsDeletedItemsWorkflowsItemMicrosoftGraphIdentityGovernanceActivateWithScopeRequestBuilder::|public|urlTemplate:string github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsDeletedItemsWorkflowsItemMicrosoftGraphIdentityGovernanceActivateWithScopeRequestBuilder::|public|WithUrl(rawUrl:string):*LifecycleWorkflowsDeletedItemsWorkflowsItemMicrosoftGraphIdentityGovernanceActivateWithScopeRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsDeletedItemsWorkflowsItemMicrosoftGraphIdentityGovernanceClearQuarantineRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsDeletedItemsWorkflowsItemMicrosoftGraphIdentityGovernanceClearQuarantineRequestBuilder.LifecycleWorkflowsDeletedItemsWorkflowsItemMicrosoftGraphIdentityGovernanceClearQuarantineRequestBuilderPostRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsDeletedItemsWorkflowsItemMicrosoftGraphIdentityGovernanceClearQuarantineRequestBuilder.LifecycleWorkflowsDeletedItemsWorkflowsItemMicrosoftGraphIdentityGovernanceClearQuarantineRequestBuilderPostRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsDeletedItemsWorkflowsItemMicrosoftGraphIdentityGovernanceClearQuarantineRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsDeletedItemsWorkflowsItemMicrosoftGraphIdentityGovernanceClearQuarantineRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsDeletedItemsWorkflowsItemMicrosoftGraphIdentityGovernanceClearQuarantineRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsDeletedItemsWorkflowsItemMicrosoftGraphIdentityGovernanceClearQuarantineRequestBuilder::|public|Post(ctx:context.Context; requestConfiguration?:*LifecycleWorkflowsDeletedItemsWorkflowsItemMicrosoftGraphIdentityGovernanceClearQuarantineRequestBuilderPostRequestConfiguration):ibf6ed4fc8e373ed2600905053a507c004671ad1749cb4b6b77078a908490c430.Workflowable +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsDeletedItemsWorkflowsItemMicrosoftGraphIdentityGovernanceClearQuarantineRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsDeletedItemsWorkflowsItemMicrosoftGraphIdentityGovernanceClearQuarantineRequestBuilder::|public|ToPostRequestInformation(ctx:context.Context; requestConfiguration?:*LifecycleWorkflowsDeletedItemsWorkflowsItemMicrosoftGraphIdentityGovernanceClearQuarantineRequestBuilderPostRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsDeletedItemsWorkflowsItemMicrosoftGraphIdentityGovernanceClearQuarantineRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsDeletedItemsWorkflowsItemMicrosoftGraphIdentityGovernanceClearQuarantineRequestBuilder::|public|WithUrl(rawUrl:string):*LifecycleWorkflowsDeletedItemsWorkflowsItemMicrosoftGraphIdentityGovernanceClearQuarantineRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsDeletedItemsWorkflowsItemMicrosoftGraphIdentityGovernanceCreateNewVersionCreateNewVersionPostRequestBody::|public|constructor():void github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsDeletedItemsWorkflowsItemMicrosoftGraphIdentityGovernanceCreateNewVersionCreateNewVersionPostRequestBody::|public|GetAdditionalData():map[string]any github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsDeletedItemsWorkflowsItemMicrosoftGraphIdentityGovernanceCreateNewVersionCreateNewVersionPostRequestBody::|public|GetBackingStore():BackingStore @@ -114113,6 +114956,59 @@ github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsD github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsDeletedItemsWorkflowsItemMicrosoftGraphIdentityGovernanceCreateNewVersionRequestBuilder::|public|ToPostRequestInformation(body:LifecycleWorkflowsDeletedItemsWorkflowsItemMicrosoftGraphIdentityGovernanceCreateNewVersionCreateNewVersionPostRequestBodyable; ctx:context.Context; requestConfiguration?:*LifecycleWorkflowsDeletedItemsWorkflowsItemMicrosoftGraphIdentityGovernanceCreateNewVersionRequestBuilderPostRequestConfiguration):*RequestInformation github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsDeletedItemsWorkflowsItemMicrosoftGraphIdentityGovernanceCreateNewVersionRequestBuilder::|public|urlTemplate:string github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsDeletedItemsWorkflowsItemMicrosoftGraphIdentityGovernanceCreateNewVersionRequestBuilder::|public|WithUrl(rawUrl:string):*LifecycleWorkflowsDeletedItemsWorkflowsItemMicrosoftGraphIdentityGovernanceCreateNewVersionRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsDeletedItemsWorkflowsItemMicrosoftGraphIdentityGovernancePreviewTaskFailuresPreviewTaskFailuresPostResponse-->*iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.BaseCollectionPaginationCountResponse +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsDeletedItemsWorkflowsItemMicrosoftGraphIdentityGovernancePreviewTaskFailuresPreviewTaskFailuresPostResponse::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsDeletedItemsWorkflowsItemMicrosoftGraphIdentityGovernancePreviewTaskFailuresPreviewTaskFailuresPostResponse::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsDeletedItemsWorkflowsItemMicrosoftGraphIdentityGovernancePreviewTaskFailuresPreviewTaskFailuresPostResponse::|public|GetValue():[]ibf6ed4fc8e373ed2600905053a507c004671ad1749cb4b6b77078a908490c430.PreviewFailedTaskable +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsDeletedItemsWorkflowsItemMicrosoftGraphIdentityGovernancePreviewTaskFailuresPreviewTaskFailuresPostResponse::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsDeletedItemsWorkflowsItemMicrosoftGraphIdentityGovernancePreviewTaskFailuresPreviewTaskFailuresPostResponse::|public|SetValue(value:[]ibf6ed4fc8e373ed2600905053a507c004671ad1749cb4b6b77078a908490c430.PreviewFailedTaskable):void +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsDeletedItemsWorkflowsItemMicrosoftGraphIdentityGovernancePreviewTaskFailuresPreviewTaskFailuresPostResponse::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsDeletedItemsWorkflowsItemMicrosoftGraphIdentityGovernancePreviewTaskFailuresPreviewTaskFailuresPostResponseable::|public|GetValue():[]ibf6ed4fc8e373ed2600905053a507c004671ad1749cb4b6b77078a908490c430.PreviewFailedTaskable +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsDeletedItemsWorkflowsItemMicrosoftGraphIdentityGovernancePreviewTaskFailuresPreviewTaskFailuresPostResponseable::|public|SetValue(value:[]ibf6ed4fc8e373ed2600905053a507c004671ad1749cb4b6b77078a908490c430.PreviewFailedTaskable):void +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsDeletedItemsWorkflowsItemMicrosoftGraphIdentityGovernancePreviewTaskFailuresPreviewTaskFailuresPostResponseable~~>iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.BaseCollectionPaginationCountResponseable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsDeletedItemsWorkflowsItemMicrosoftGraphIdentityGovernancePreviewTaskFailuresPreviewTaskFailuresResponse-->*LifecycleWorkflowsDeletedItemsWorkflowsItemMicrosoftGraphIdentityGovernancePreviewTaskFailuresPreviewTaskFailuresPostResponse +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsDeletedItemsWorkflowsItemMicrosoftGraphIdentityGovernancePreviewTaskFailuresPreviewTaskFailuresResponse::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsDeletedItemsWorkflowsItemMicrosoftGraphIdentityGovernancePreviewTaskFailuresPreviewTaskFailuresResponse::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsDeletedItemsWorkflowsItemMicrosoftGraphIdentityGovernancePreviewTaskFailuresPreviewTaskFailuresResponseable~~>LifecycleWorkflowsDeletedItemsWorkflowsItemMicrosoftGraphIdentityGovernancePreviewTaskFailuresPreviewTaskFailuresPostResponseable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsDeletedItemsWorkflowsItemMicrosoftGraphIdentityGovernancePreviewTaskFailuresRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsDeletedItemsWorkflowsItemMicrosoftGraphIdentityGovernancePreviewTaskFailuresRequestBuilder.LifecycleWorkflowsDeletedItemsWorkflowsItemMicrosoftGraphIdentityGovernancePreviewTaskFailuresRequestBuilderPostRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsDeletedItemsWorkflowsItemMicrosoftGraphIdentityGovernancePreviewTaskFailuresRequestBuilder.LifecycleWorkflowsDeletedItemsWorkflowsItemMicrosoftGraphIdentityGovernancePreviewTaskFailuresRequestBuilderPostRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsDeletedItemsWorkflowsItemMicrosoftGraphIdentityGovernancePreviewTaskFailuresRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsDeletedItemsWorkflowsItemMicrosoftGraphIdentityGovernancePreviewTaskFailuresRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsDeletedItemsWorkflowsItemMicrosoftGraphIdentityGovernancePreviewTaskFailuresRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsDeletedItemsWorkflowsItemMicrosoftGraphIdentityGovernancePreviewTaskFailuresRequestBuilder::|public|Post(ctx:context.Context; requestConfiguration?:*LifecycleWorkflowsDeletedItemsWorkflowsItemMicrosoftGraphIdentityGovernancePreviewTaskFailuresRequestBuilderPostRequestConfiguration):LifecycleWorkflowsDeletedItemsWorkflowsItemMicrosoftGraphIdentityGovernancePreviewTaskFailuresPreviewTaskFailuresResponseable +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsDeletedItemsWorkflowsItemMicrosoftGraphIdentityGovernancePreviewTaskFailuresRequestBuilder::|public|PostAsPreviewTaskFailuresPostResponse(ctx:context.Context; requestConfiguration?:*LifecycleWorkflowsDeletedItemsWorkflowsItemMicrosoftGraphIdentityGovernancePreviewTaskFailuresRequestBuilderPostRequestConfiguration):LifecycleWorkflowsDeletedItemsWorkflowsItemMicrosoftGraphIdentityGovernancePreviewTaskFailuresPreviewTaskFailuresPostResponseable +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsDeletedItemsWorkflowsItemMicrosoftGraphIdentityGovernancePreviewTaskFailuresRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsDeletedItemsWorkflowsItemMicrosoftGraphIdentityGovernancePreviewTaskFailuresRequestBuilder::|public|ToPostRequestInformation(ctx:context.Context; requestConfiguration?:*LifecycleWorkflowsDeletedItemsWorkflowsItemMicrosoftGraphIdentityGovernancePreviewTaskFailuresRequestBuilderPostRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsDeletedItemsWorkflowsItemMicrosoftGraphIdentityGovernancePreviewTaskFailuresRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsDeletedItemsWorkflowsItemMicrosoftGraphIdentityGovernancePreviewTaskFailuresRequestBuilder::|public|WithUrl(rawUrl:string):*LifecycleWorkflowsDeletedItemsWorkflowsItemMicrosoftGraphIdentityGovernancePreviewTaskFailuresRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsDeletedItemsWorkflowsItemMicrosoftGraphIdentityGovernancePreviewWorkflowPreviewWorkflowPostRequestBody::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsDeletedItemsWorkflowsItemMicrosoftGraphIdentityGovernancePreviewWorkflowPreviewWorkflowPostRequestBody::|public|GetAdditionalData():map[string]any +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsDeletedItemsWorkflowsItemMicrosoftGraphIdentityGovernancePreviewWorkflowPreviewWorkflowPostRequestBody::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsDeletedItemsWorkflowsItemMicrosoftGraphIdentityGovernancePreviewWorkflowPreviewWorkflowPostRequestBody::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsDeletedItemsWorkflowsItemMicrosoftGraphIdentityGovernancePreviewWorkflowPreviewWorkflowPostRequestBody::|public|GetSubjects():[]iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DirectoryObjectable +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsDeletedItemsWorkflowsItemMicrosoftGraphIdentityGovernancePreviewWorkflowPreviewWorkflowPostRequestBody::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsDeletedItemsWorkflowsItemMicrosoftGraphIdentityGovernancePreviewWorkflowPreviewWorkflowPostRequestBody::|public|SetAdditionalData(value:map[string]any):void +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsDeletedItemsWorkflowsItemMicrosoftGraphIdentityGovernancePreviewWorkflowPreviewWorkflowPostRequestBody::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsDeletedItemsWorkflowsItemMicrosoftGraphIdentityGovernancePreviewWorkflowPreviewWorkflowPostRequestBody::|public|SetSubjects(value:[]iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DirectoryObjectable):void +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsDeletedItemsWorkflowsItemMicrosoftGraphIdentityGovernancePreviewWorkflowPreviewWorkflowPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsDeletedItemsWorkflowsItemMicrosoftGraphIdentityGovernancePreviewWorkflowPreviewWorkflowPostRequestBodyable::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsDeletedItemsWorkflowsItemMicrosoftGraphIdentityGovernancePreviewWorkflowPreviewWorkflowPostRequestBodyable::|public|GetSubjects():[]iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DirectoryObjectable +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsDeletedItemsWorkflowsItemMicrosoftGraphIdentityGovernancePreviewWorkflowPreviewWorkflowPostRequestBodyable::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsDeletedItemsWorkflowsItemMicrosoftGraphIdentityGovernancePreviewWorkflowPreviewWorkflowPostRequestBodyable::|public|SetSubjects(value:[]iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DirectoryObjectable):void +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsDeletedItemsWorkflowsItemMicrosoftGraphIdentityGovernancePreviewWorkflowPreviewWorkflowPostRequestBodyable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder; *ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsDeletedItemsWorkflowsItemMicrosoftGraphIdentityGovernancePreviewWorkflowPreviewWorkflowPostRequestBody~~>LifecycleWorkflowsDeletedItemsWorkflowsItemMicrosoftGraphIdentityGovernancePreviewWorkflowPreviewWorkflowPostRequestBodyable +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsDeletedItemsWorkflowsItemMicrosoftGraphIdentityGovernancePreviewWorkflowRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsDeletedItemsWorkflowsItemMicrosoftGraphIdentityGovernancePreviewWorkflowRequestBuilder.LifecycleWorkflowsDeletedItemsWorkflowsItemMicrosoftGraphIdentityGovernancePreviewWorkflowRequestBuilderPostRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsDeletedItemsWorkflowsItemMicrosoftGraphIdentityGovernancePreviewWorkflowRequestBuilder.LifecycleWorkflowsDeletedItemsWorkflowsItemMicrosoftGraphIdentityGovernancePreviewWorkflowRequestBuilderPostRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsDeletedItemsWorkflowsItemMicrosoftGraphIdentityGovernancePreviewWorkflowRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsDeletedItemsWorkflowsItemMicrosoftGraphIdentityGovernancePreviewWorkflowRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsDeletedItemsWorkflowsItemMicrosoftGraphIdentityGovernancePreviewWorkflowRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsDeletedItemsWorkflowsItemMicrosoftGraphIdentityGovernancePreviewWorkflowRequestBuilder::|public|Post(body:LifecycleWorkflowsDeletedItemsWorkflowsItemMicrosoftGraphIdentityGovernancePreviewWorkflowPreviewWorkflowPostRequestBodyable; ctx:context.Context; requestConfiguration?:*LifecycleWorkflowsDeletedItemsWorkflowsItemMicrosoftGraphIdentityGovernancePreviewWorkflowRequestBuilderPostRequestConfiguration):void +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsDeletedItemsWorkflowsItemMicrosoftGraphIdentityGovernancePreviewWorkflowRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsDeletedItemsWorkflowsItemMicrosoftGraphIdentityGovernancePreviewWorkflowRequestBuilder::|public|ToPostRequestInformation(body:LifecycleWorkflowsDeletedItemsWorkflowsItemMicrosoftGraphIdentityGovernancePreviewWorkflowPreviewWorkflowPostRequestBodyable; ctx:context.Context; requestConfiguration?:*LifecycleWorkflowsDeletedItemsWorkflowsItemMicrosoftGraphIdentityGovernancePreviewWorkflowRequestBuilderPostRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsDeletedItemsWorkflowsItemMicrosoftGraphIdentityGovernancePreviewWorkflowRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsDeletedItemsWorkflowsItemMicrosoftGraphIdentityGovernancePreviewWorkflowRequestBuilder::|public|WithUrl(rawUrl:string):*LifecycleWorkflowsDeletedItemsWorkflowsItemMicrosoftGraphIdentityGovernancePreviewWorkflowRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsDeletedItemsWorkflowsItemMicrosoftGraphIdentityGovernanceRestoreRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsDeletedItemsWorkflowsItemMicrosoftGraphIdentityGovernanceRestoreRequestBuilder.LifecycleWorkflowsDeletedItemsWorkflowsItemMicrosoftGraphIdentityGovernanceRestoreRequestBuilderPostRequestConfiguration::|public|headers:*RequestHeaders github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsDeletedItemsWorkflowsItemMicrosoftGraphIdentityGovernanceRestoreRequestBuilder.LifecycleWorkflowsDeletedItemsWorkflowsItemMicrosoftGraphIdentityGovernanceRestoreRequestBuilderPostRequestConfiguration::|public|options:[]RequestOption @@ -114124,6 +115020,56 @@ github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsD github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsDeletedItemsWorkflowsItemMicrosoftGraphIdentityGovernanceRestoreRequestBuilder::|public|ToPostRequestInformation(ctx:context.Context; requestConfiguration?:*LifecycleWorkflowsDeletedItemsWorkflowsItemMicrosoftGraphIdentityGovernanceRestoreRequestBuilderPostRequestConfiguration):*RequestInformation github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsDeletedItemsWorkflowsItemMicrosoftGraphIdentityGovernanceRestoreRequestBuilder::|public|urlTemplate:string github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsDeletedItemsWorkflowsItemMicrosoftGraphIdentityGovernanceRestoreRequestBuilder::|public|WithUrl(rawUrl:string):*LifecycleWorkflowsDeletedItemsWorkflowsItemMicrosoftGraphIdentityGovernanceRestoreRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsDeletedItemsWorkflowsItemPreviewScopeCountRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsDeletedItemsWorkflowsItemPreviewScopeCountRequestBuilder.LifecycleWorkflowsDeletedItemsWorkflowsItemPreviewScopeCountRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsDeletedItemsWorkflowsItemPreviewScopeCountRequestBuilder.LifecycleWorkflowsDeletedItemsWorkflowsItemPreviewScopeCountRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsDeletedItemsWorkflowsItemPreviewScopeCountRequestBuilder.LifecycleWorkflowsDeletedItemsWorkflowsItemPreviewScopeCountRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsDeletedItemsWorkflowsItemPreviewScopeCountRequestBuilder.LifecycleWorkflowsDeletedItemsWorkflowsItemPreviewScopeCountRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsDeletedItemsWorkflowsItemPreviewScopeCountRequestBuilder.LifecycleWorkflowsDeletedItemsWorkflowsItemPreviewScopeCountRequestBuilderGetRequestConfiguration::|public|queryParameters:*LifecycleWorkflowsDeletedItemsWorkflowsItemPreviewScopeCountRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsDeletedItemsWorkflowsItemPreviewScopeCountRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsDeletedItemsWorkflowsItemPreviewScopeCountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsDeletedItemsWorkflowsItemPreviewScopeCountRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*LifecycleWorkflowsDeletedItemsWorkflowsItemPreviewScopeCountRequestBuilderGetRequestConfiguration):*int32 +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsDeletedItemsWorkflowsItemPreviewScopeCountRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsDeletedItemsWorkflowsItemPreviewScopeCountRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsDeletedItemsWorkflowsItemPreviewScopeCountRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*LifecycleWorkflowsDeletedItemsWorkflowsItemPreviewScopeCountRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsDeletedItemsWorkflowsItemPreviewScopeCountRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsDeletedItemsWorkflowsItemPreviewScopeCountRequestBuilder::|public|WithUrl(rawUrl:string):*LifecycleWorkflowsDeletedItemsWorkflowsItemPreviewScopeCountRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsDeletedItemsWorkflowsItemPreviewScopeDirectoryObjectItemRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsDeletedItemsWorkflowsItemPreviewScopeDirectoryObjectItemRequestBuilder.LifecycleWorkflowsDeletedItemsWorkflowsItemPreviewScopeDirectoryObjectItemRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsDeletedItemsWorkflowsItemPreviewScopeDirectoryObjectItemRequestBuilder.LifecycleWorkflowsDeletedItemsWorkflowsItemPreviewScopeDirectoryObjectItemRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsDeletedItemsWorkflowsItemPreviewScopeDirectoryObjectItemRequestBuilder.LifecycleWorkflowsDeletedItemsWorkflowsItemPreviewScopeDirectoryObjectItemRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsDeletedItemsWorkflowsItemPreviewScopeDirectoryObjectItemRequestBuilder.LifecycleWorkflowsDeletedItemsWorkflowsItemPreviewScopeDirectoryObjectItemRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsDeletedItemsWorkflowsItemPreviewScopeDirectoryObjectItemRequestBuilder.LifecycleWorkflowsDeletedItemsWorkflowsItemPreviewScopeDirectoryObjectItemRequestBuilderGetRequestConfiguration::|public|queryParameters:*LifecycleWorkflowsDeletedItemsWorkflowsItemPreviewScopeDirectoryObjectItemRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsDeletedItemsWorkflowsItemPreviewScopeDirectoryObjectItemRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsDeletedItemsWorkflowsItemPreviewScopeDirectoryObjectItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsDeletedItemsWorkflowsItemPreviewScopeDirectoryObjectItemRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*LifecycleWorkflowsDeletedItemsWorkflowsItemPreviewScopeDirectoryObjectItemRequestBuilderGetRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DirectoryObjectable +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsDeletedItemsWorkflowsItemPreviewScopeDirectoryObjectItemRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsDeletedItemsWorkflowsItemPreviewScopeDirectoryObjectItemRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsDeletedItemsWorkflowsItemPreviewScopeDirectoryObjectItemRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*LifecycleWorkflowsDeletedItemsWorkflowsItemPreviewScopeDirectoryObjectItemRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsDeletedItemsWorkflowsItemPreviewScopeDirectoryObjectItemRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsDeletedItemsWorkflowsItemPreviewScopeDirectoryObjectItemRequestBuilder::|public|WithUrl(rawUrl:string):*LifecycleWorkflowsDeletedItemsWorkflowsItemPreviewScopeDirectoryObjectItemRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsDeletedItemsWorkflowsItemPreviewScopeRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsDeletedItemsWorkflowsItemPreviewScopeRequestBuilder.LifecycleWorkflowsDeletedItemsWorkflowsItemPreviewScopeRequestBuilderGetQueryParameters::|public|Count:*bool +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsDeletedItemsWorkflowsItemPreviewScopeRequestBuilder.LifecycleWorkflowsDeletedItemsWorkflowsItemPreviewScopeRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsDeletedItemsWorkflowsItemPreviewScopeRequestBuilder.LifecycleWorkflowsDeletedItemsWorkflowsItemPreviewScopeRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsDeletedItemsWorkflowsItemPreviewScopeRequestBuilder.LifecycleWorkflowsDeletedItemsWorkflowsItemPreviewScopeRequestBuilderGetQueryParameters::|public|Orderby:[]string +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsDeletedItemsWorkflowsItemPreviewScopeRequestBuilder.LifecycleWorkflowsDeletedItemsWorkflowsItemPreviewScopeRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsDeletedItemsWorkflowsItemPreviewScopeRequestBuilder.LifecycleWorkflowsDeletedItemsWorkflowsItemPreviewScopeRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsDeletedItemsWorkflowsItemPreviewScopeRequestBuilder.LifecycleWorkflowsDeletedItemsWorkflowsItemPreviewScopeRequestBuilderGetQueryParameters::|public|Skip:*int32 +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsDeletedItemsWorkflowsItemPreviewScopeRequestBuilder.LifecycleWorkflowsDeletedItemsWorkflowsItemPreviewScopeRequestBuilderGetQueryParameters::|public|Top:*int32 +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsDeletedItemsWorkflowsItemPreviewScopeRequestBuilder.LifecycleWorkflowsDeletedItemsWorkflowsItemPreviewScopeRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsDeletedItemsWorkflowsItemPreviewScopeRequestBuilder.LifecycleWorkflowsDeletedItemsWorkflowsItemPreviewScopeRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsDeletedItemsWorkflowsItemPreviewScopeRequestBuilder.LifecycleWorkflowsDeletedItemsWorkflowsItemPreviewScopeRequestBuilderGetRequestConfiguration::|public|queryParameters:*LifecycleWorkflowsDeletedItemsWorkflowsItemPreviewScopeRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsDeletedItemsWorkflowsItemPreviewScopeRequestBuilder::|public|ByDirectoryObjectId(directoryObjectId:string):*LifecycleWorkflowsDeletedItemsWorkflowsItemPreviewScopeDirectoryObjectItemRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsDeletedItemsWorkflowsItemPreviewScopeRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsDeletedItemsWorkflowsItemPreviewScopeRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsDeletedItemsWorkflowsItemPreviewScopeRequestBuilder::|public|Count():*LifecycleWorkflowsDeletedItemsWorkflowsItemPreviewScopeCountRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsDeletedItemsWorkflowsItemPreviewScopeRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*LifecycleWorkflowsDeletedItemsWorkflowsItemPreviewScopeRequestBuilderGetRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DirectoryObjectCollectionResponseable +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsDeletedItemsWorkflowsItemPreviewScopeRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsDeletedItemsWorkflowsItemPreviewScopeRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsDeletedItemsWorkflowsItemPreviewScopeRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*LifecycleWorkflowsDeletedItemsWorkflowsItemPreviewScopeRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsDeletedItemsWorkflowsItemPreviewScopeRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsDeletedItemsWorkflowsItemPreviewScopeRequestBuilder::|public|WithUrl(rawUrl:string):*LifecycleWorkflowsDeletedItemsWorkflowsItemPreviewScopeRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsDeletedItemsWorkflowsItemRunsCountRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsDeletedItemsWorkflowsItemRunsCountRequestBuilder.LifecycleWorkflowsDeletedItemsWorkflowsItemRunsCountRequestBuilderGetQueryParameters::|public|Filter:*string github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsDeletedItemsWorkflowsItemRunsCountRequestBuilder.LifecycleWorkflowsDeletedItemsWorkflowsItemRunsCountRequestBuilderGetQueryParameters::|public|Search:*string @@ -116135,9 +117081,13 @@ github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsD github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsDeletedItemsWorkflowsWorkflowItemRequestBuilder::|public|lastModifiedBy():*LifecycleWorkflowsDeletedItemsWorkflowsItemLastModifiedByRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsDeletedItemsWorkflowsWorkflowItemRequestBuilder::|public|microsoftGraphIdentityGovernanceActivate():*LifecycleWorkflowsDeletedItemsWorkflowsItemMicrosoftGraphIdentityGovernanceActivateRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsDeletedItemsWorkflowsWorkflowItemRequestBuilder::|public|microsoftGraphIdentityGovernanceActivateWithScope():*LifecycleWorkflowsDeletedItemsWorkflowsItemMicrosoftGraphIdentityGovernanceActivateWithScopeRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsDeletedItemsWorkflowsWorkflowItemRequestBuilder::|public|microsoftGraphIdentityGovernanceClearQuarantine():*LifecycleWorkflowsDeletedItemsWorkflowsItemMicrosoftGraphIdentityGovernanceClearQuarantineRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsDeletedItemsWorkflowsWorkflowItemRequestBuilder::|public|microsoftGraphIdentityGovernanceCreateNewVersion():*LifecycleWorkflowsDeletedItemsWorkflowsItemMicrosoftGraphIdentityGovernanceCreateNewVersionRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsDeletedItemsWorkflowsWorkflowItemRequestBuilder::|public|microsoftGraphIdentityGovernancePreviewTaskFailures():*LifecycleWorkflowsDeletedItemsWorkflowsItemMicrosoftGraphIdentityGovernancePreviewTaskFailuresRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsDeletedItemsWorkflowsWorkflowItemRequestBuilder::|public|microsoftGraphIdentityGovernancePreviewWorkflow():*LifecycleWorkflowsDeletedItemsWorkflowsItemMicrosoftGraphIdentityGovernancePreviewWorkflowRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsDeletedItemsWorkflowsWorkflowItemRequestBuilder::|public|microsoftGraphIdentityGovernanceRestore():*LifecycleWorkflowsDeletedItemsWorkflowsItemMicrosoftGraphIdentityGovernanceRestoreRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsDeletedItemsWorkflowsWorkflowItemRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsDeletedItemsWorkflowsWorkflowItemRequestBuilder::|public|previewScope():*LifecycleWorkflowsDeletedItemsWorkflowsItemPreviewScopeRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsDeletedItemsWorkflowsWorkflowItemRequestBuilder::|public|requestAdapter:RequestAdapter github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsDeletedItemsWorkflowsWorkflowItemRequestBuilder::|public|runs():*LifecycleWorkflowsDeletedItemsWorkflowsItemRunsRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsDeletedItemsWorkflowsWorkflowItemRequestBuilder::|public|taskReports():*LifecycleWorkflowsDeletedItemsWorkflowsItemTaskReportsRequestBuilder @@ -116663,6 +117613,17 @@ github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsW github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsWorkflowsItemMicrosoftGraphIdentityGovernanceActivateWithScopeRequestBuilder::|public|ToPostRequestInformation(body:LifecycleWorkflowsWorkflowsItemMicrosoftGraphIdentityGovernanceActivateWithScopeActivateWithScopePostRequestBodyable; ctx:context.Context; requestConfiguration?:*LifecycleWorkflowsWorkflowsItemMicrosoftGraphIdentityGovernanceActivateWithScopeRequestBuilderPostRequestConfiguration):*RequestInformation github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsWorkflowsItemMicrosoftGraphIdentityGovernanceActivateWithScopeRequestBuilder::|public|urlTemplate:string github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsWorkflowsItemMicrosoftGraphIdentityGovernanceActivateWithScopeRequestBuilder::|public|WithUrl(rawUrl:string):*LifecycleWorkflowsWorkflowsItemMicrosoftGraphIdentityGovernanceActivateWithScopeRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsWorkflowsItemMicrosoftGraphIdentityGovernanceClearQuarantineRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsWorkflowsItemMicrosoftGraphIdentityGovernanceClearQuarantineRequestBuilder.LifecycleWorkflowsWorkflowsItemMicrosoftGraphIdentityGovernanceClearQuarantineRequestBuilderPostRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsWorkflowsItemMicrosoftGraphIdentityGovernanceClearQuarantineRequestBuilder.LifecycleWorkflowsWorkflowsItemMicrosoftGraphIdentityGovernanceClearQuarantineRequestBuilderPostRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsWorkflowsItemMicrosoftGraphIdentityGovernanceClearQuarantineRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsWorkflowsItemMicrosoftGraphIdentityGovernanceClearQuarantineRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsWorkflowsItemMicrosoftGraphIdentityGovernanceClearQuarantineRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsWorkflowsItemMicrosoftGraphIdentityGovernanceClearQuarantineRequestBuilder::|public|Post(ctx:context.Context; requestConfiguration?:*LifecycleWorkflowsWorkflowsItemMicrosoftGraphIdentityGovernanceClearQuarantineRequestBuilderPostRequestConfiguration):ibf6ed4fc8e373ed2600905053a507c004671ad1749cb4b6b77078a908490c430.Workflowable +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsWorkflowsItemMicrosoftGraphIdentityGovernanceClearQuarantineRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsWorkflowsItemMicrosoftGraphIdentityGovernanceClearQuarantineRequestBuilder::|public|ToPostRequestInformation(ctx:context.Context; requestConfiguration?:*LifecycleWorkflowsWorkflowsItemMicrosoftGraphIdentityGovernanceClearQuarantineRequestBuilderPostRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsWorkflowsItemMicrosoftGraphIdentityGovernanceClearQuarantineRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsWorkflowsItemMicrosoftGraphIdentityGovernanceClearQuarantineRequestBuilder::|public|WithUrl(rawUrl:string):*LifecycleWorkflowsWorkflowsItemMicrosoftGraphIdentityGovernanceClearQuarantineRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsWorkflowsItemMicrosoftGraphIdentityGovernanceCreateNewVersionCreateNewVersionPostRequestBody::|public|constructor():void github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsWorkflowsItemMicrosoftGraphIdentityGovernanceCreateNewVersionCreateNewVersionPostRequestBody::|public|GetAdditionalData():map[string]any github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsWorkflowsItemMicrosoftGraphIdentityGovernanceCreateNewVersionCreateNewVersionPostRequestBody::|public|GetBackingStore():BackingStore @@ -116690,6 +117651,59 @@ github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsW github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsWorkflowsItemMicrosoftGraphIdentityGovernanceCreateNewVersionRequestBuilder::|public|ToPostRequestInformation(body:LifecycleWorkflowsWorkflowsItemMicrosoftGraphIdentityGovernanceCreateNewVersionCreateNewVersionPostRequestBodyable; ctx:context.Context; requestConfiguration?:*LifecycleWorkflowsWorkflowsItemMicrosoftGraphIdentityGovernanceCreateNewVersionRequestBuilderPostRequestConfiguration):*RequestInformation github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsWorkflowsItemMicrosoftGraphIdentityGovernanceCreateNewVersionRequestBuilder::|public|urlTemplate:string github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsWorkflowsItemMicrosoftGraphIdentityGovernanceCreateNewVersionRequestBuilder::|public|WithUrl(rawUrl:string):*LifecycleWorkflowsWorkflowsItemMicrosoftGraphIdentityGovernanceCreateNewVersionRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsWorkflowsItemMicrosoftGraphIdentityGovernancePreviewTaskFailuresPreviewTaskFailuresPostResponse-->*iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.BaseCollectionPaginationCountResponse +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsWorkflowsItemMicrosoftGraphIdentityGovernancePreviewTaskFailuresPreviewTaskFailuresPostResponse::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsWorkflowsItemMicrosoftGraphIdentityGovernancePreviewTaskFailuresPreviewTaskFailuresPostResponse::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsWorkflowsItemMicrosoftGraphIdentityGovernancePreviewTaskFailuresPreviewTaskFailuresPostResponse::|public|GetValue():[]ibf6ed4fc8e373ed2600905053a507c004671ad1749cb4b6b77078a908490c430.PreviewFailedTaskable +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsWorkflowsItemMicrosoftGraphIdentityGovernancePreviewTaskFailuresPreviewTaskFailuresPostResponse::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsWorkflowsItemMicrosoftGraphIdentityGovernancePreviewTaskFailuresPreviewTaskFailuresPostResponse::|public|SetValue(value:[]ibf6ed4fc8e373ed2600905053a507c004671ad1749cb4b6b77078a908490c430.PreviewFailedTaskable):void +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsWorkflowsItemMicrosoftGraphIdentityGovernancePreviewTaskFailuresPreviewTaskFailuresPostResponse::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsWorkflowsItemMicrosoftGraphIdentityGovernancePreviewTaskFailuresPreviewTaskFailuresPostResponseable::|public|GetValue():[]ibf6ed4fc8e373ed2600905053a507c004671ad1749cb4b6b77078a908490c430.PreviewFailedTaskable +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsWorkflowsItemMicrosoftGraphIdentityGovernancePreviewTaskFailuresPreviewTaskFailuresPostResponseable::|public|SetValue(value:[]ibf6ed4fc8e373ed2600905053a507c004671ad1749cb4b6b77078a908490c430.PreviewFailedTaskable):void +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsWorkflowsItemMicrosoftGraphIdentityGovernancePreviewTaskFailuresPreviewTaskFailuresPostResponseable~~>iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.BaseCollectionPaginationCountResponseable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsWorkflowsItemMicrosoftGraphIdentityGovernancePreviewTaskFailuresPreviewTaskFailuresResponse-->*LifecycleWorkflowsWorkflowsItemMicrosoftGraphIdentityGovernancePreviewTaskFailuresPreviewTaskFailuresPostResponse +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsWorkflowsItemMicrosoftGraphIdentityGovernancePreviewTaskFailuresPreviewTaskFailuresResponse::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsWorkflowsItemMicrosoftGraphIdentityGovernancePreviewTaskFailuresPreviewTaskFailuresResponse::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsWorkflowsItemMicrosoftGraphIdentityGovernancePreviewTaskFailuresPreviewTaskFailuresResponseable~~>LifecycleWorkflowsWorkflowsItemMicrosoftGraphIdentityGovernancePreviewTaskFailuresPreviewTaskFailuresPostResponseable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsWorkflowsItemMicrosoftGraphIdentityGovernancePreviewTaskFailuresRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsWorkflowsItemMicrosoftGraphIdentityGovernancePreviewTaskFailuresRequestBuilder.LifecycleWorkflowsWorkflowsItemMicrosoftGraphIdentityGovernancePreviewTaskFailuresRequestBuilderPostRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsWorkflowsItemMicrosoftGraphIdentityGovernancePreviewTaskFailuresRequestBuilder.LifecycleWorkflowsWorkflowsItemMicrosoftGraphIdentityGovernancePreviewTaskFailuresRequestBuilderPostRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsWorkflowsItemMicrosoftGraphIdentityGovernancePreviewTaskFailuresRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsWorkflowsItemMicrosoftGraphIdentityGovernancePreviewTaskFailuresRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsWorkflowsItemMicrosoftGraphIdentityGovernancePreviewTaskFailuresRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsWorkflowsItemMicrosoftGraphIdentityGovernancePreviewTaskFailuresRequestBuilder::|public|Post(ctx:context.Context; requestConfiguration?:*LifecycleWorkflowsWorkflowsItemMicrosoftGraphIdentityGovernancePreviewTaskFailuresRequestBuilderPostRequestConfiguration):LifecycleWorkflowsWorkflowsItemMicrosoftGraphIdentityGovernancePreviewTaskFailuresPreviewTaskFailuresResponseable +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsWorkflowsItemMicrosoftGraphIdentityGovernancePreviewTaskFailuresRequestBuilder::|public|PostAsPreviewTaskFailuresPostResponse(ctx:context.Context; requestConfiguration?:*LifecycleWorkflowsWorkflowsItemMicrosoftGraphIdentityGovernancePreviewTaskFailuresRequestBuilderPostRequestConfiguration):LifecycleWorkflowsWorkflowsItemMicrosoftGraphIdentityGovernancePreviewTaskFailuresPreviewTaskFailuresPostResponseable +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsWorkflowsItemMicrosoftGraphIdentityGovernancePreviewTaskFailuresRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsWorkflowsItemMicrosoftGraphIdentityGovernancePreviewTaskFailuresRequestBuilder::|public|ToPostRequestInformation(ctx:context.Context; requestConfiguration?:*LifecycleWorkflowsWorkflowsItemMicrosoftGraphIdentityGovernancePreviewTaskFailuresRequestBuilderPostRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsWorkflowsItemMicrosoftGraphIdentityGovernancePreviewTaskFailuresRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsWorkflowsItemMicrosoftGraphIdentityGovernancePreviewTaskFailuresRequestBuilder::|public|WithUrl(rawUrl:string):*LifecycleWorkflowsWorkflowsItemMicrosoftGraphIdentityGovernancePreviewTaskFailuresRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsWorkflowsItemMicrosoftGraphIdentityGovernancePreviewWorkflowPreviewWorkflowPostRequestBody::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsWorkflowsItemMicrosoftGraphIdentityGovernancePreviewWorkflowPreviewWorkflowPostRequestBody::|public|GetAdditionalData():map[string]any +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsWorkflowsItemMicrosoftGraphIdentityGovernancePreviewWorkflowPreviewWorkflowPostRequestBody::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsWorkflowsItemMicrosoftGraphIdentityGovernancePreviewWorkflowPreviewWorkflowPostRequestBody::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsWorkflowsItemMicrosoftGraphIdentityGovernancePreviewWorkflowPreviewWorkflowPostRequestBody::|public|GetSubjects():[]iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DirectoryObjectable +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsWorkflowsItemMicrosoftGraphIdentityGovernancePreviewWorkflowPreviewWorkflowPostRequestBody::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsWorkflowsItemMicrosoftGraphIdentityGovernancePreviewWorkflowPreviewWorkflowPostRequestBody::|public|SetAdditionalData(value:map[string]any):void +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsWorkflowsItemMicrosoftGraphIdentityGovernancePreviewWorkflowPreviewWorkflowPostRequestBody::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsWorkflowsItemMicrosoftGraphIdentityGovernancePreviewWorkflowPreviewWorkflowPostRequestBody::|public|SetSubjects(value:[]iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DirectoryObjectable):void +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsWorkflowsItemMicrosoftGraphIdentityGovernancePreviewWorkflowPreviewWorkflowPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsWorkflowsItemMicrosoftGraphIdentityGovernancePreviewWorkflowPreviewWorkflowPostRequestBodyable::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsWorkflowsItemMicrosoftGraphIdentityGovernancePreviewWorkflowPreviewWorkflowPostRequestBodyable::|public|GetSubjects():[]iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DirectoryObjectable +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsWorkflowsItemMicrosoftGraphIdentityGovernancePreviewWorkflowPreviewWorkflowPostRequestBodyable::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsWorkflowsItemMicrosoftGraphIdentityGovernancePreviewWorkflowPreviewWorkflowPostRequestBodyable::|public|SetSubjects(value:[]iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DirectoryObjectable):void +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsWorkflowsItemMicrosoftGraphIdentityGovernancePreviewWorkflowPreviewWorkflowPostRequestBodyable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder; *ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsWorkflowsItemMicrosoftGraphIdentityGovernancePreviewWorkflowPreviewWorkflowPostRequestBody~~>LifecycleWorkflowsWorkflowsItemMicrosoftGraphIdentityGovernancePreviewWorkflowPreviewWorkflowPostRequestBodyable +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsWorkflowsItemMicrosoftGraphIdentityGovernancePreviewWorkflowRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsWorkflowsItemMicrosoftGraphIdentityGovernancePreviewWorkflowRequestBuilder.LifecycleWorkflowsWorkflowsItemMicrosoftGraphIdentityGovernancePreviewWorkflowRequestBuilderPostRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsWorkflowsItemMicrosoftGraphIdentityGovernancePreviewWorkflowRequestBuilder.LifecycleWorkflowsWorkflowsItemMicrosoftGraphIdentityGovernancePreviewWorkflowRequestBuilderPostRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsWorkflowsItemMicrosoftGraphIdentityGovernancePreviewWorkflowRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsWorkflowsItemMicrosoftGraphIdentityGovernancePreviewWorkflowRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsWorkflowsItemMicrosoftGraphIdentityGovernancePreviewWorkflowRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsWorkflowsItemMicrosoftGraphIdentityGovernancePreviewWorkflowRequestBuilder::|public|Post(body:LifecycleWorkflowsWorkflowsItemMicrosoftGraphIdentityGovernancePreviewWorkflowPreviewWorkflowPostRequestBodyable; ctx:context.Context; requestConfiguration?:*LifecycleWorkflowsWorkflowsItemMicrosoftGraphIdentityGovernancePreviewWorkflowRequestBuilderPostRequestConfiguration):void +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsWorkflowsItemMicrosoftGraphIdentityGovernancePreviewWorkflowRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsWorkflowsItemMicrosoftGraphIdentityGovernancePreviewWorkflowRequestBuilder::|public|ToPostRequestInformation(body:LifecycleWorkflowsWorkflowsItemMicrosoftGraphIdentityGovernancePreviewWorkflowPreviewWorkflowPostRequestBodyable; ctx:context.Context; requestConfiguration?:*LifecycleWorkflowsWorkflowsItemMicrosoftGraphIdentityGovernancePreviewWorkflowRequestBuilderPostRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsWorkflowsItemMicrosoftGraphIdentityGovernancePreviewWorkflowRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsWorkflowsItemMicrosoftGraphIdentityGovernancePreviewWorkflowRequestBuilder::|public|WithUrl(rawUrl:string):*LifecycleWorkflowsWorkflowsItemMicrosoftGraphIdentityGovernancePreviewWorkflowRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsWorkflowsItemMicrosoftGraphIdentityGovernanceRestoreRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsWorkflowsItemMicrosoftGraphIdentityGovernanceRestoreRequestBuilder.LifecycleWorkflowsWorkflowsItemMicrosoftGraphIdentityGovernanceRestoreRequestBuilderPostRequestConfiguration::|public|headers:*RequestHeaders github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsWorkflowsItemMicrosoftGraphIdentityGovernanceRestoreRequestBuilder.LifecycleWorkflowsWorkflowsItemMicrosoftGraphIdentityGovernanceRestoreRequestBuilderPostRequestConfiguration::|public|options:[]RequestOption @@ -116701,6 +117715,56 @@ github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsW github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsWorkflowsItemMicrosoftGraphIdentityGovernanceRestoreRequestBuilder::|public|ToPostRequestInformation(ctx:context.Context; requestConfiguration?:*LifecycleWorkflowsWorkflowsItemMicrosoftGraphIdentityGovernanceRestoreRequestBuilderPostRequestConfiguration):*RequestInformation github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsWorkflowsItemMicrosoftGraphIdentityGovernanceRestoreRequestBuilder::|public|urlTemplate:string github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsWorkflowsItemMicrosoftGraphIdentityGovernanceRestoreRequestBuilder::|public|WithUrl(rawUrl:string):*LifecycleWorkflowsWorkflowsItemMicrosoftGraphIdentityGovernanceRestoreRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsWorkflowsItemPreviewScopeCountRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsWorkflowsItemPreviewScopeCountRequestBuilder.LifecycleWorkflowsWorkflowsItemPreviewScopeCountRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsWorkflowsItemPreviewScopeCountRequestBuilder.LifecycleWorkflowsWorkflowsItemPreviewScopeCountRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsWorkflowsItemPreviewScopeCountRequestBuilder.LifecycleWorkflowsWorkflowsItemPreviewScopeCountRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsWorkflowsItemPreviewScopeCountRequestBuilder.LifecycleWorkflowsWorkflowsItemPreviewScopeCountRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsWorkflowsItemPreviewScopeCountRequestBuilder.LifecycleWorkflowsWorkflowsItemPreviewScopeCountRequestBuilderGetRequestConfiguration::|public|queryParameters:*LifecycleWorkflowsWorkflowsItemPreviewScopeCountRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsWorkflowsItemPreviewScopeCountRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsWorkflowsItemPreviewScopeCountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsWorkflowsItemPreviewScopeCountRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*LifecycleWorkflowsWorkflowsItemPreviewScopeCountRequestBuilderGetRequestConfiguration):*int32 +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsWorkflowsItemPreviewScopeCountRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsWorkflowsItemPreviewScopeCountRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsWorkflowsItemPreviewScopeCountRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*LifecycleWorkflowsWorkflowsItemPreviewScopeCountRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsWorkflowsItemPreviewScopeCountRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsWorkflowsItemPreviewScopeCountRequestBuilder::|public|WithUrl(rawUrl:string):*LifecycleWorkflowsWorkflowsItemPreviewScopeCountRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsWorkflowsItemPreviewScopeDirectoryObjectItemRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsWorkflowsItemPreviewScopeDirectoryObjectItemRequestBuilder.LifecycleWorkflowsWorkflowsItemPreviewScopeDirectoryObjectItemRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsWorkflowsItemPreviewScopeDirectoryObjectItemRequestBuilder.LifecycleWorkflowsWorkflowsItemPreviewScopeDirectoryObjectItemRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsWorkflowsItemPreviewScopeDirectoryObjectItemRequestBuilder.LifecycleWorkflowsWorkflowsItemPreviewScopeDirectoryObjectItemRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsWorkflowsItemPreviewScopeDirectoryObjectItemRequestBuilder.LifecycleWorkflowsWorkflowsItemPreviewScopeDirectoryObjectItemRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsWorkflowsItemPreviewScopeDirectoryObjectItemRequestBuilder.LifecycleWorkflowsWorkflowsItemPreviewScopeDirectoryObjectItemRequestBuilderGetRequestConfiguration::|public|queryParameters:*LifecycleWorkflowsWorkflowsItemPreviewScopeDirectoryObjectItemRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsWorkflowsItemPreviewScopeDirectoryObjectItemRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsWorkflowsItemPreviewScopeDirectoryObjectItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsWorkflowsItemPreviewScopeDirectoryObjectItemRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*LifecycleWorkflowsWorkflowsItemPreviewScopeDirectoryObjectItemRequestBuilderGetRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DirectoryObjectable +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsWorkflowsItemPreviewScopeDirectoryObjectItemRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsWorkflowsItemPreviewScopeDirectoryObjectItemRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsWorkflowsItemPreviewScopeDirectoryObjectItemRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*LifecycleWorkflowsWorkflowsItemPreviewScopeDirectoryObjectItemRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsWorkflowsItemPreviewScopeDirectoryObjectItemRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsWorkflowsItemPreviewScopeDirectoryObjectItemRequestBuilder::|public|WithUrl(rawUrl:string):*LifecycleWorkflowsWorkflowsItemPreviewScopeDirectoryObjectItemRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsWorkflowsItemPreviewScopeRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsWorkflowsItemPreviewScopeRequestBuilder.LifecycleWorkflowsWorkflowsItemPreviewScopeRequestBuilderGetQueryParameters::|public|Count:*bool +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsWorkflowsItemPreviewScopeRequestBuilder.LifecycleWorkflowsWorkflowsItemPreviewScopeRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsWorkflowsItemPreviewScopeRequestBuilder.LifecycleWorkflowsWorkflowsItemPreviewScopeRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsWorkflowsItemPreviewScopeRequestBuilder.LifecycleWorkflowsWorkflowsItemPreviewScopeRequestBuilderGetQueryParameters::|public|Orderby:[]string +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsWorkflowsItemPreviewScopeRequestBuilder.LifecycleWorkflowsWorkflowsItemPreviewScopeRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsWorkflowsItemPreviewScopeRequestBuilder.LifecycleWorkflowsWorkflowsItemPreviewScopeRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsWorkflowsItemPreviewScopeRequestBuilder.LifecycleWorkflowsWorkflowsItemPreviewScopeRequestBuilderGetQueryParameters::|public|Skip:*int32 +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsWorkflowsItemPreviewScopeRequestBuilder.LifecycleWorkflowsWorkflowsItemPreviewScopeRequestBuilderGetQueryParameters::|public|Top:*int32 +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsWorkflowsItemPreviewScopeRequestBuilder.LifecycleWorkflowsWorkflowsItemPreviewScopeRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsWorkflowsItemPreviewScopeRequestBuilder.LifecycleWorkflowsWorkflowsItemPreviewScopeRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsWorkflowsItemPreviewScopeRequestBuilder.LifecycleWorkflowsWorkflowsItemPreviewScopeRequestBuilderGetRequestConfiguration::|public|queryParameters:*LifecycleWorkflowsWorkflowsItemPreviewScopeRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsWorkflowsItemPreviewScopeRequestBuilder::|public|ByDirectoryObjectId(directoryObjectId:string):*LifecycleWorkflowsWorkflowsItemPreviewScopeDirectoryObjectItemRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsWorkflowsItemPreviewScopeRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsWorkflowsItemPreviewScopeRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsWorkflowsItemPreviewScopeRequestBuilder::|public|Count():*LifecycleWorkflowsWorkflowsItemPreviewScopeCountRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsWorkflowsItemPreviewScopeRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*LifecycleWorkflowsWorkflowsItemPreviewScopeRequestBuilderGetRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DirectoryObjectCollectionResponseable +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsWorkflowsItemPreviewScopeRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsWorkflowsItemPreviewScopeRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsWorkflowsItemPreviewScopeRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*LifecycleWorkflowsWorkflowsItemPreviewScopeRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsWorkflowsItemPreviewScopeRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsWorkflowsItemPreviewScopeRequestBuilder::|public|WithUrl(rawUrl:string):*LifecycleWorkflowsWorkflowsItemPreviewScopeRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsWorkflowsItemRunsCountRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsWorkflowsItemRunsCountRequestBuilder.LifecycleWorkflowsWorkflowsItemRunsCountRequestBuilderGetQueryParameters::|public|Filter:*string github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsWorkflowsItemRunsCountRequestBuilder.LifecycleWorkflowsWorkflowsItemRunsCountRequestBuilderGetQueryParameters::|public|Search:*string @@ -118718,10 +119782,14 @@ github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsW github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsWorkflowsWorkflowItemRequestBuilder::|public|lastModifiedBy():*LifecycleWorkflowsWorkflowsItemLastModifiedByRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsWorkflowsWorkflowItemRequestBuilder::|public|microsoftGraphIdentityGovernanceActivate():*LifecycleWorkflowsWorkflowsItemMicrosoftGraphIdentityGovernanceActivateRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsWorkflowsWorkflowItemRequestBuilder::|public|microsoftGraphIdentityGovernanceActivateWithScope():*LifecycleWorkflowsWorkflowsItemMicrosoftGraphIdentityGovernanceActivateWithScopeRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsWorkflowsWorkflowItemRequestBuilder::|public|microsoftGraphIdentityGovernanceClearQuarantine():*LifecycleWorkflowsWorkflowsItemMicrosoftGraphIdentityGovernanceClearQuarantineRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsWorkflowsWorkflowItemRequestBuilder::|public|microsoftGraphIdentityGovernanceCreateNewVersion():*LifecycleWorkflowsWorkflowsItemMicrosoftGraphIdentityGovernanceCreateNewVersionRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsWorkflowsWorkflowItemRequestBuilder::|public|microsoftGraphIdentityGovernancePreviewTaskFailures():*LifecycleWorkflowsWorkflowsItemMicrosoftGraphIdentityGovernancePreviewTaskFailuresRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsWorkflowsWorkflowItemRequestBuilder::|public|microsoftGraphIdentityGovernancePreviewWorkflow():*LifecycleWorkflowsWorkflowsItemMicrosoftGraphIdentityGovernancePreviewWorkflowRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsWorkflowsWorkflowItemRequestBuilder::|public|microsoftGraphIdentityGovernanceRestore():*LifecycleWorkflowsWorkflowsItemMicrosoftGraphIdentityGovernanceRestoreRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsWorkflowsWorkflowItemRequestBuilder::|public|Patch(body:ibf6ed4fc8e373ed2600905053a507c004671ad1749cb4b6b77078a908490c430.Workflowable; ctx:context.Context; requestConfiguration?:*LifecycleWorkflowsWorkflowsWorkflowItemRequestBuilderPatchRequestConfiguration):ibf6ed4fc8e373ed2600905053a507c004671ad1749cb4b6b77078a908490c430.Workflowable github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsWorkflowsWorkflowItemRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsWorkflowsWorkflowItemRequestBuilder::|public|previewScope():*LifecycleWorkflowsWorkflowsItemPreviewScopeRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsWorkflowsWorkflowItemRequestBuilder::|public|requestAdapter:RequestAdapter github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsWorkflowsWorkflowItemRequestBuilder::|public|runs():*LifecycleWorkflowsWorkflowsItemRunsRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsWorkflowsWorkflowItemRequestBuilder::|public|taskReports():*LifecycleWorkflowsWorkflowsItemTaskReportsRequestBuilder @@ -121850,6 +122918,9 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.accessActionable::|public|SetBa github.com/microsoftgraph/msgraph-sdk-go/.models.accessActionable::|public|SetOdataType(value:*string):void github.com/microsoftgraph/msgraph-sdk-go/.models.accessActionable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder; *ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable github.com/microsoftgraph/msgraph-sdk-go/.models.accessAction~~>AccessActionable +github.com/microsoftgraph/msgraph-sdk-go/.models.accessEntityType::0000-user +github.com/microsoftgraph/msgraph-sdk-go/.models.accessEntityType::0001-group +github.com/microsoftgraph/msgraph-sdk-go/.models.accessEntityType::0002-unknownFutureValue github.com/microsoftgraph/msgraph-sdk-go/.models.accessPackage-->*Entity github.com/microsoftgraph/msgraph-sdk-go/.models.accessPackage::|public|constructor():void github.com/microsoftgraph/msgraph-sdk-go/.models.accessPackage::|public|GetAccessPackagesIncompatibleWith():[]AccessPackageable @@ -121966,6 +123037,7 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.accessPackageAnswerStringable~~ github.com/microsoftgraph/msgraph-sdk-go/.models.accessPackageAnswer~~>AccessPackageAnswerable github.com/microsoftgraph/msgraph-sdk-go/.models.accessPackageApprovalStage::|public|constructor():void github.com/microsoftgraph/msgraph-sdk-go/.models.accessPackageApprovalStage::|public|GetAdditionalData():map[string]any +github.com/microsoftgraph/msgraph-sdk-go/.models.accessPackageApprovalStage::|public|GetApproverInformationVisibility():*ApproverInformationVisibility github.com/microsoftgraph/msgraph-sdk-go/.models.accessPackageApprovalStage::|public|GetBackingStore():BackingStore github.com/microsoftgraph/msgraph-sdk-go/.models.accessPackageApprovalStage::|public|GetDurationBeforeAutomaticDenial():*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ISODuration github.com/microsoftgraph/msgraph-sdk-go/.models.accessPackageApprovalStage::|public|GetDurationBeforeEscalation():*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ISODuration @@ -121979,6 +123051,7 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.accessPackageApprovalStage::|pu github.com/microsoftgraph/msgraph-sdk-go/.models.accessPackageApprovalStage::|public|GetPrimaryApprovers():[]SubjectSetable github.com/microsoftgraph/msgraph-sdk-go/.models.accessPackageApprovalStage::|public|Serialize(writer:SerializationWriter):void github.com/microsoftgraph/msgraph-sdk-go/.models.accessPackageApprovalStage::|public|SetAdditionalData(value:map[string]any):void +github.com/microsoftgraph/msgraph-sdk-go/.models.accessPackageApprovalStage::|public|SetApproverInformationVisibility(value:*ApproverInformationVisibility):void github.com/microsoftgraph/msgraph-sdk-go/.models.accessPackageApprovalStage::|public|SetBackingStore(value:BackingStore):void github.com/microsoftgraph/msgraph-sdk-go/.models.accessPackageApprovalStage::|public|SetDurationBeforeAutomaticDenial(value:*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ISODuration):void github.com/microsoftgraph/msgraph-sdk-go/.models.accessPackageApprovalStage::|public|SetDurationBeforeEscalation(value:*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ISODuration):void @@ -121990,6 +123063,7 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.accessPackageApprovalStage::|pu github.com/microsoftgraph/msgraph-sdk-go/.models.accessPackageApprovalStage::|public|SetOdataType(value:*string):void github.com/microsoftgraph/msgraph-sdk-go/.models.accessPackageApprovalStage::|public|SetPrimaryApprovers(value:[]SubjectSetable):void github.com/microsoftgraph/msgraph-sdk-go/.models.accessPackageApprovalStage::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.accessPackageApprovalStageable::|public|GetApproverInformationVisibility():*ApproverInformationVisibility github.com/microsoftgraph/msgraph-sdk-go/.models.accessPackageApprovalStageable::|public|GetBackingStore():BackingStore github.com/microsoftgraph/msgraph-sdk-go/.models.accessPackageApprovalStageable::|public|GetDurationBeforeAutomaticDenial():*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ISODuration github.com/microsoftgraph/msgraph-sdk-go/.models.accessPackageApprovalStageable::|public|GetDurationBeforeEscalation():*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ISODuration @@ -122000,6 +123074,7 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.accessPackageApprovalStageable: github.com/microsoftgraph/msgraph-sdk-go/.models.accessPackageApprovalStageable::|public|GetIsEscalationEnabled():*bool github.com/microsoftgraph/msgraph-sdk-go/.models.accessPackageApprovalStageable::|public|GetOdataType():*string github.com/microsoftgraph/msgraph-sdk-go/.models.accessPackageApprovalStageable::|public|GetPrimaryApprovers():[]SubjectSetable +github.com/microsoftgraph/msgraph-sdk-go/.models.accessPackageApprovalStageable::|public|SetApproverInformationVisibility(value:*ApproverInformationVisibility):void github.com/microsoftgraph/msgraph-sdk-go/.models.accessPackageApprovalStageable::|public|SetBackingStore(value:BackingStore):void github.com/microsoftgraph/msgraph-sdk-go/.models.accessPackageApprovalStageable::|public|SetDurationBeforeAutomaticDenial(value:*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ISODuration):void github.com/microsoftgraph/msgraph-sdk-go/.models.accessPackageApprovalStageable::|public|SetDurationBeforeEscalation(value:*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ISODuration):void @@ -122958,6 +124033,7 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.accessPackageResourceRole::|pub github.com/microsoftgraph/msgraph-sdk-go/.models.accessPackageResourceRole::|public|GetOriginId():*string github.com/microsoftgraph/msgraph-sdk-go/.models.accessPackageResourceRole::|public|GetOriginSystem():*string github.com/microsoftgraph/msgraph-sdk-go/.models.accessPackageResourceRole::|public|GetResource():AccessPackageResourceable +github.com/microsoftgraph/msgraph-sdk-go/.models.accessPackageResourceRole::|public|GetTypeEscaped():*RoleType github.com/microsoftgraph/msgraph-sdk-go/.models.accessPackageResourceRole::|public|OdataType:*string github.com/microsoftgraph/msgraph-sdk-go/.models.accessPackageResourceRole::|public|Serialize(writer:SerializationWriter):void github.com/microsoftgraph/msgraph-sdk-go/.models.accessPackageResourceRole::|public|SetDescription(value:*string):void @@ -122965,17 +124041,20 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.accessPackageResourceRole::|pub github.com/microsoftgraph/msgraph-sdk-go/.models.accessPackageResourceRole::|public|SetOriginId(value:*string):void github.com/microsoftgraph/msgraph-sdk-go/.models.accessPackageResourceRole::|public|SetOriginSystem(value:*string):void github.com/microsoftgraph/msgraph-sdk-go/.models.accessPackageResourceRole::|public|SetResource(value:AccessPackageResourceable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.accessPackageResourceRole::|public|SetTypeEscaped(value:*RoleType):void github.com/microsoftgraph/msgraph-sdk-go/.models.accessPackageResourceRole::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable github.com/microsoftgraph/msgraph-sdk-go/.models.accessPackageResourceRoleable::|public|GetDescription():*string github.com/microsoftgraph/msgraph-sdk-go/.models.accessPackageResourceRoleable::|public|GetDisplayName():*string github.com/microsoftgraph/msgraph-sdk-go/.models.accessPackageResourceRoleable::|public|GetOriginId():*string github.com/microsoftgraph/msgraph-sdk-go/.models.accessPackageResourceRoleable::|public|GetOriginSystem():*string github.com/microsoftgraph/msgraph-sdk-go/.models.accessPackageResourceRoleable::|public|GetResource():AccessPackageResourceable +github.com/microsoftgraph/msgraph-sdk-go/.models.accessPackageResourceRoleable::|public|GetTypeEscaped():*RoleType github.com/microsoftgraph/msgraph-sdk-go/.models.accessPackageResourceRoleable::|public|SetDescription(value:*string):void github.com/microsoftgraph/msgraph-sdk-go/.models.accessPackageResourceRoleable::|public|SetDisplayName(value:*string):void github.com/microsoftgraph/msgraph-sdk-go/.models.accessPackageResourceRoleable::|public|SetOriginId(value:*string):void github.com/microsoftgraph/msgraph-sdk-go/.models.accessPackageResourceRoleable::|public|SetOriginSystem(value:*string):void github.com/microsoftgraph/msgraph-sdk-go/.models.accessPackageResourceRoleable::|public|SetResource(value:AccessPackageResourceable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.accessPackageResourceRoleable::|public|SetTypeEscaped(value:*RoleType):void github.com/microsoftgraph/msgraph-sdk-go/.models.accessPackageResourceRoleable~~>Entityable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable github.com/microsoftgraph/msgraph-sdk-go/.models.accessPackageResourceRoleCollectionResponse-->*BaseCollectionPaginationCountResponse github.com/microsoftgraph/msgraph-sdk-go/.models.accessPackageResourceRoleCollectionResponse::|public|constructor():void @@ -123066,6 +124145,7 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.accessPackageSubject::|public|g github.com/microsoftgraph/msgraph-sdk-go/.models.accessPackageSubject::|public|GetObjectId():*string github.com/microsoftgraph/msgraph-sdk-go/.models.accessPackageSubject::|public|GetOnPremisesSecurityIdentifier():*string github.com/microsoftgraph/msgraph-sdk-go/.models.accessPackageSubject::|public|GetPrincipalName():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.accessPackageSubject::|public|GetSubjectLifecycle():*AccessPackageSubjectLifecycle github.com/microsoftgraph/msgraph-sdk-go/.models.accessPackageSubject::|public|GetSubjectType():*AccessPackageSubjectType github.com/microsoftgraph/msgraph-sdk-go/.models.accessPackageSubject::|public|OdataType:*string github.com/microsoftgraph/msgraph-sdk-go/.models.accessPackageSubject::|public|Serialize(writer:SerializationWriter):void @@ -123075,6 +124155,7 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.accessPackageSubject::|public|S github.com/microsoftgraph/msgraph-sdk-go/.models.accessPackageSubject::|public|SetObjectId(value:*string):void github.com/microsoftgraph/msgraph-sdk-go/.models.accessPackageSubject::|public|SetOnPremisesSecurityIdentifier(value:*string):void github.com/microsoftgraph/msgraph-sdk-go/.models.accessPackageSubject::|public|SetPrincipalName(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.accessPackageSubject::|public|SetSubjectLifecycle(value:*AccessPackageSubjectLifecycle):void github.com/microsoftgraph/msgraph-sdk-go/.models.accessPackageSubject::|public|SetSubjectType(value:*AccessPackageSubjectType):void github.com/microsoftgraph/msgraph-sdk-go/.models.accessPackageSubject::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable github.com/microsoftgraph/msgraph-sdk-go/.models.accessPackageSubjectable::|public|GetConnectedOrganization():ConnectedOrganizationable @@ -123083,6 +124164,7 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.accessPackageSubjectable::|publ github.com/microsoftgraph/msgraph-sdk-go/.models.accessPackageSubjectable::|public|GetObjectId():*string github.com/microsoftgraph/msgraph-sdk-go/.models.accessPackageSubjectable::|public|GetOnPremisesSecurityIdentifier():*string github.com/microsoftgraph/msgraph-sdk-go/.models.accessPackageSubjectable::|public|GetPrincipalName():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.accessPackageSubjectable::|public|GetSubjectLifecycle():*AccessPackageSubjectLifecycle github.com/microsoftgraph/msgraph-sdk-go/.models.accessPackageSubjectable::|public|GetSubjectType():*AccessPackageSubjectType github.com/microsoftgraph/msgraph-sdk-go/.models.accessPackageSubjectable::|public|SetConnectedOrganization(value:ConnectedOrganizationable):void github.com/microsoftgraph/msgraph-sdk-go/.models.accessPackageSubjectable::|public|SetDisplayName(value:*string):void @@ -123090,12 +124172,102 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.accessPackageSubjectable::|publ github.com/microsoftgraph/msgraph-sdk-go/.models.accessPackageSubjectable::|public|SetObjectId(value:*string):void github.com/microsoftgraph/msgraph-sdk-go/.models.accessPackageSubjectable::|public|SetOnPremisesSecurityIdentifier(value:*string):void github.com/microsoftgraph/msgraph-sdk-go/.models.accessPackageSubjectable::|public|SetPrincipalName(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.accessPackageSubjectable::|public|SetSubjectLifecycle(value:*AccessPackageSubjectLifecycle):void github.com/microsoftgraph/msgraph-sdk-go/.models.accessPackageSubjectable::|public|SetSubjectType(value:*AccessPackageSubjectType):void github.com/microsoftgraph/msgraph-sdk-go/.models.accessPackageSubjectable~~>Entityable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.accessPackageSubjectCollectionResponse-->*BaseCollectionPaginationCountResponse +github.com/microsoftgraph/msgraph-sdk-go/.models.accessPackageSubjectCollectionResponse::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.accessPackageSubjectCollectionResponse::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.accessPackageSubjectCollectionResponse::|public|GetValue():[]AccessPackageSubjectable +github.com/microsoftgraph/msgraph-sdk-go/.models.accessPackageSubjectCollectionResponse::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.accessPackageSubjectCollectionResponse::|public|SetValue(value:[]AccessPackageSubjectable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.accessPackageSubjectCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.accessPackageSubjectCollectionResponseable::|public|GetValue():[]AccessPackageSubjectable +github.com/microsoftgraph/msgraph-sdk-go/.models.accessPackageSubjectCollectionResponseable::|public|SetValue(value:[]AccessPackageSubjectable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.accessPackageSubjectCollectionResponseable~~>BaseCollectionPaginationCountResponseable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.accessPackageSubjectLifecycle::0000-notDefined +github.com/microsoftgraph/msgraph-sdk-go/.models.accessPackageSubjectLifecycle::0001-notGoverned +github.com/microsoftgraph/msgraph-sdk-go/.models.accessPackageSubjectLifecycle::0002-governed +github.com/microsoftgraph/msgraph-sdk-go/.models.accessPackageSubjectLifecycle::0003-unknownFutureValue github.com/microsoftgraph/msgraph-sdk-go/.models.accessPackageSubjectType::0000-notSpecified github.com/microsoftgraph/msgraph-sdk-go/.models.accessPackageSubjectType::0001-user github.com/microsoftgraph/msgraph-sdk-go/.models.accessPackageSubjectType::0002-servicePrincipal github.com/microsoftgraph/msgraph-sdk-go/.models.accessPackageSubjectType::0003-unknownFutureValue +github.com/microsoftgraph/msgraph-sdk-go/.models.accessPackageSuggestion-->*Entity +github.com/microsoftgraph/msgraph-sdk-go/.models.accessPackageSuggestion::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.accessPackageSuggestion::|public|GetAccessPackage():AvailableAccessPackageable +github.com/microsoftgraph/msgraph-sdk-go/.models.accessPackageSuggestion::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.accessPackageSuggestion::|public|GetReasons():[]AccessPackageSuggestionReasonable +github.com/microsoftgraph/msgraph-sdk-go/.models.accessPackageSuggestion::|public|OdataType:*string +github.com/microsoftgraph/msgraph-sdk-go/.models.accessPackageSuggestion::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.accessPackageSuggestion::|public|SetAccessPackage(value:AvailableAccessPackageable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.accessPackageSuggestion::|public|SetReasons(value:[]AccessPackageSuggestionReasonable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.accessPackageSuggestion::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.accessPackageSuggestionable::|public|GetAccessPackage():AvailableAccessPackageable +github.com/microsoftgraph/msgraph-sdk-go/.models.accessPackageSuggestionable::|public|GetReasons():[]AccessPackageSuggestionReasonable +github.com/microsoftgraph/msgraph-sdk-go/.models.accessPackageSuggestionable::|public|SetAccessPackage(value:AvailableAccessPackageable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.accessPackageSuggestionable::|public|SetReasons(value:[]AccessPackageSuggestionReasonable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.accessPackageSuggestionable~~>Entityable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.accessPackageSuggestionCollectionResponse-->*BaseCollectionPaginationCountResponse +github.com/microsoftgraph/msgraph-sdk-go/.models.accessPackageSuggestionCollectionResponse::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.accessPackageSuggestionCollectionResponse::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.accessPackageSuggestionCollectionResponse::|public|GetValue():[]AccessPackageSuggestionable +github.com/microsoftgraph/msgraph-sdk-go/.models.accessPackageSuggestionCollectionResponse::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.accessPackageSuggestionCollectionResponse::|public|SetValue(value:[]AccessPackageSuggestionable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.accessPackageSuggestionCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.accessPackageSuggestionCollectionResponseable::|public|GetValue():[]AccessPackageSuggestionable +github.com/microsoftgraph/msgraph-sdk-go/.models.accessPackageSuggestionCollectionResponseable::|public|SetValue(value:[]AccessPackageSuggestionable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.accessPackageSuggestionCollectionResponseable~~>BaseCollectionPaginationCountResponseable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.accessPackageSuggestionReason::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.accessPackageSuggestionReason::|public|GetAdditionalData():map[string]any +github.com/microsoftgraph/msgraph-sdk-go/.models.accessPackageSuggestionReason::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.models.accessPackageSuggestionReason::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.accessPackageSuggestionReason::|public|GetOdataType():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.accessPackageSuggestionReason::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.accessPackageSuggestionReason::|public|SetAdditionalData(value:map[string]any):void +github.com/microsoftgraph/msgraph-sdk-go/.models.accessPackageSuggestionReason::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.models.accessPackageSuggestionReason::|public|SetOdataType(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.accessPackageSuggestionReason::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.accessPackageSuggestionReasonable::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.models.accessPackageSuggestionReasonable::|public|GetOdataType():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.accessPackageSuggestionReasonable::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.models.accessPackageSuggestionReasonable::|public|SetOdataType(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.accessPackageSuggestionReasonable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder; *ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.accessPackageSuggestionReason~~>AccessPackageSuggestionReasonable +github.com/microsoftgraph/msgraph-sdk-go/.models.accessPackageSuggestionRelatedPeopleBased-->*AccessPackageSuggestionReason +github.com/microsoftgraph/msgraph-sdk-go/.models.accessPackageSuggestionRelatedPeopleBased::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.accessPackageSuggestionRelatedPeopleBased::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.accessPackageSuggestionRelatedPeopleBased::|public|GetRelatedPeople():[]Identityable +github.com/microsoftgraph/msgraph-sdk-go/.models.accessPackageSuggestionRelatedPeopleBased::|public|GetRelatedPeopleAssignmentCount():*int32 +github.com/microsoftgraph/msgraph-sdk-go/.models.accessPackageSuggestionRelatedPeopleBased::|public|OdataType:*string +github.com/microsoftgraph/msgraph-sdk-go/.models.accessPackageSuggestionRelatedPeopleBased::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.accessPackageSuggestionRelatedPeopleBased::|public|SetRelatedPeople(value:[]Identityable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.accessPackageSuggestionRelatedPeopleBased::|public|SetRelatedPeopleAssignmentCount(value:*int32):void +github.com/microsoftgraph/msgraph-sdk-go/.models.accessPackageSuggestionRelatedPeopleBased::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.accessPackageSuggestionRelatedPeopleBasedable::|public|GetRelatedPeople():[]Identityable +github.com/microsoftgraph/msgraph-sdk-go/.models.accessPackageSuggestionRelatedPeopleBasedable::|public|GetRelatedPeopleAssignmentCount():*int32 +github.com/microsoftgraph/msgraph-sdk-go/.models.accessPackageSuggestionRelatedPeopleBasedable::|public|SetRelatedPeople(value:[]Identityable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.accessPackageSuggestionRelatedPeopleBasedable::|public|SetRelatedPeopleAssignmentCount(value:*int32):void +github.com/microsoftgraph/msgraph-sdk-go/.models.accessPackageSuggestionRelatedPeopleBasedable~~>AccessPackageSuggestionReasonable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.accessPackageSuggestionRelatedPeopleInsightLevel::0000-disabled +github.com/microsoftgraph/msgraph-sdk-go/.models.accessPackageSuggestionRelatedPeopleInsightLevel::0001-count +github.com/microsoftgraph/msgraph-sdk-go/.models.accessPackageSuggestionRelatedPeopleInsightLevel::0002-countAndNames +github.com/microsoftgraph/msgraph-sdk-go/.models.accessPackageSuggestionRelatedPeopleInsightLevel::0003-unknownFutureValue +github.com/microsoftgraph/msgraph-sdk-go/.models.accessPackageSuggestionSelfAssignmentHistoryBased-->*AccessPackageSuggestionReason +github.com/microsoftgraph/msgraph-sdk-go/.models.accessPackageSuggestionSelfAssignmentHistoryBased::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.accessPackageSuggestionSelfAssignmentHistoryBased::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.accessPackageSuggestionSelfAssignmentHistoryBased::|public|GetLastAssignmentDateTime():*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time +github.com/microsoftgraph/msgraph-sdk-go/.models.accessPackageSuggestionSelfAssignmentHistoryBased::|public|GetPastAssignmentCount():*int32 +github.com/microsoftgraph/msgraph-sdk-go/.models.accessPackageSuggestionSelfAssignmentHistoryBased::|public|OdataType:*string +github.com/microsoftgraph/msgraph-sdk-go/.models.accessPackageSuggestionSelfAssignmentHistoryBased::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.accessPackageSuggestionSelfAssignmentHistoryBased::|public|SetLastAssignmentDateTime(value:*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time):void +github.com/microsoftgraph/msgraph-sdk-go/.models.accessPackageSuggestionSelfAssignmentHistoryBased::|public|SetPastAssignmentCount(value:*int32):void +github.com/microsoftgraph/msgraph-sdk-go/.models.accessPackageSuggestionSelfAssignmentHistoryBased::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.accessPackageSuggestionSelfAssignmentHistoryBasedable::|public|GetLastAssignmentDateTime():*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time +github.com/microsoftgraph/msgraph-sdk-go/.models.accessPackageSuggestionSelfAssignmentHistoryBasedable::|public|GetPastAssignmentCount():*int32 +github.com/microsoftgraph/msgraph-sdk-go/.models.accessPackageSuggestionSelfAssignmentHistoryBasedable::|public|SetLastAssignmentDateTime(value:*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time):void +github.com/microsoftgraph/msgraph-sdk-go/.models.accessPackageSuggestionSelfAssignmentHistoryBasedable::|public|SetPastAssignmentCount(value:*int32):void +github.com/microsoftgraph/msgraph-sdk-go/.models.accessPackageSuggestionSelfAssignmentHistoryBasedable~~>AccessPackageSuggestionReasonable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable github.com/microsoftgraph/msgraph-sdk-go/.models.accessPackageTextInputQuestion-->*AccessPackageQuestion github.com/microsoftgraph/msgraph-sdk-go/.models.accessPackageTextInputQuestion::|public|constructor():void github.com/microsoftgraph/msgraph-sdk-go/.models.accessPackageTextInputQuestion::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) @@ -125368,6 +126540,13 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.allDevicesAssignmentTarget::|pu github.com/microsoftgraph/msgraph-sdk-go/.models.allDevicesAssignmentTarget::|public|Serialize(writer:SerializationWriter):void github.com/microsoftgraph/msgraph-sdk-go/.models.allDevicesAssignmentTarget::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable github.com/microsoftgraph/msgraph-sdk-go/.models.allDevicesAssignmentTargetable~~>DeviceAndAppManagementAssignmentTargetable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.allDomains-->*ValidatingDomains +github.com/microsoftgraph/msgraph-sdk-go/.models.allDomains::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.allDomains::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.allDomains::|public|OdataType:*string +github.com/microsoftgraph/msgraph-sdk-go/.models.allDomains::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.allDomains::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.allDomainsable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable; ValidatingDomainsable github.com/microsoftgraph/msgraph-sdk-go/.models.allLicensedUsersAssignmentTarget-->*DeviceAndAppManagementAssignmentTarget github.com/microsoftgraph/msgraph-sdk-go/.models.allLicensedUsersAssignmentTarget::|public|constructor():void github.com/microsoftgraph/msgraph-sdk-go/.models.allLicensedUsersAssignmentTarget::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) @@ -126807,6 +127986,13 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.applicationContext::|static|pub github.com/microsoftgraph/msgraph-sdk-go/.models.applicationContextable::|public|GetIncludeApplications():[]string github.com/microsoftgraph/msgraph-sdk-go/.models.applicationContextable::|public|SetIncludeApplications(value:[]string):void github.com/microsoftgraph/msgraph-sdk-go/.models.applicationContextable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable; SignInContextable +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationDataType::0000-none +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationDataType::0001-codingFiles +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationDataType::0002-creditCards +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationDataType::0003-databaseFiles +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationDataType::0004-documents +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationDataType::0005-mediaFiles +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationDataType::0006-unknownFutureValue github.com/microsoftgraph/msgraph-sdk-go/.models.applicationEnforcedRestrictionsSessionControl-->*ConditionalAccessSessionControl github.com/microsoftgraph/msgraph-sdk-go/.models.applicationEnforcedRestrictionsSessionControl::|public|constructor():void github.com/microsoftgraph/msgraph-sdk-go/.models.applicationEnforcedRestrictionsSessionControl::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) @@ -126824,6 +128010,526 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.applicationGuardBlockFileTransf github.com/microsoftgraph/msgraph-sdk-go/.models.applicationGuardBlockFileTransferType::0002-blockImageFile github.com/microsoftgraph/msgraph-sdk-go/.models.applicationGuardBlockFileTransferType::0003-blockNone github.com/microsoftgraph/msgraph-sdk-go/.models.applicationGuardBlockFileTransferType::0004-blockTextFile +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationLocation::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationLocation::|public|GetAdditionalData():map[string]any +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationLocation::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationLocation::|public|GetDataCenter():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationLocation::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationLocation::|public|GetHeadquarters():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationLocation::|public|GetOdataType():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationLocation::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationLocation::|public|SetAdditionalData(value:map[string]any):void +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationLocation::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationLocation::|public|SetDataCenter(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationLocation::|public|SetHeadquarters(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationLocation::|public|SetOdataType(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationLocation::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationLocationable::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationLocationable::|public|GetDataCenter():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationLocationable::|public|GetHeadquarters():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationLocationable::|public|GetOdataType():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationLocationable::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationLocationable::|public|SetDataCenter(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationLocationable::|public|SetHeadquarters(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationLocationable::|public|SetOdataType(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationLocationable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder; *ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationLocation~~>ApplicationLocationable +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationRiskFactorCertificateInfo::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationRiskFactorCertificateInfo::|public|GetAdditionalData():map[string]any +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationRiskFactorCertificateInfo::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationRiskFactorCertificateInfo::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationRiskFactorCertificateInfo::|public|GetHasBadCommonName():*bool +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationRiskFactorCertificateInfo::|public|GetHasInsecureSignature():*bool +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationRiskFactorCertificateInfo::|public|GetHasNoChainOfTrust():*bool +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationRiskFactorCertificateInfo::|public|GetIsDenylisted():*bool +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationRiskFactorCertificateInfo::|public|GetIsHostnameMismatch():*bool +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationRiskFactorCertificateInfo::|public|GetIsNotAfter():*bool +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationRiskFactorCertificateInfo::|public|GetIsNotBefore():*bool +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationRiskFactorCertificateInfo::|public|GetIsRevoked():*bool +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationRiskFactorCertificateInfo::|public|GetIsSelfSigned():*bool +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationRiskFactorCertificateInfo::|public|GetOdataType():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationRiskFactorCertificateInfo::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationRiskFactorCertificateInfo::|public|SetAdditionalData(value:map[string]any):void +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationRiskFactorCertificateInfo::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationRiskFactorCertificateInfo::|public|SetHasBadCommonName(value:*bool):void +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationRiskFactorCertificateInfo::|public|SetHasInsecureSignature(value:*bool):void +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationRiskFactorCertificateInfo::|public|SetHasNoChainOfTrust(value:*bool):void +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationRiskFactorCertificateInfo::|public|SetIsDenylisted(value:*bool):void +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationRiskFactorCertificateInfo::|public|SetIsHostnameMismatch(value:*bool):void +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationRiskFactorCertificateInfo::|public|SetIsNotAfter(value:*bool):void +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationRiskFactorCertificateInfo::|public|SetIsNotBefore(value:*bool):void +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationRiskFactorCertificateInfo::|public|SetIsRevoked(value:*bool):void +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationRiskFactorCertificateInfo::|public|SetIsSelfSigned(value:*bool):void +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationRiskFactorCertificateInfo::|public|SetOdataType(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationRiskFactorCertificateInfo::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationRiskFactorCertificateInfoable::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationRiskFactorCertificateInfoable::|public|GetHasBadCommonName():*bool +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationRiskFactorCertificateInfoable::|public|GetHasInsecureSignature():*bool +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationRiskFactorCertificateInfoable::|public|GetHasNoChainOfTrust():*bool +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationRiskFactorCertificateInfoable::|public|GetIsDenylisted():*bool +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationRiskFactorCertificateInfoable::|public|GetIsHostnameMismatch():*bool +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationRiskFactorCertificateInfoable::|public|GetIsNotAfter():*bool +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationRiskFactorCertificateInfoable::|public|GetIsNotBefore():*bool +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationRiskFactorCertificateInfoable::|public|GetIsRevoked():*bool +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationRiskFactorCertificateInfoable::|public|GetIsSelfSigned():*bool +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationRiskFactorCertificateInfoable::|public|GetOdataType():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationRiskFactorCertificateInfoable::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationRiskFactorCertificateInfoable::|public|SetHasBadCommonName(value:*bool):void +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationRiskFactorCertificateInfoable::|public|SetHasInsecureSignature(value:*bool):void +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationRiskFactorCertificateInfoable::|public|SetHasNoChainOfTrust(value:*bool):void +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationRiskFactorCertificateInfoable::|public|SetIsDenylisted(value:*bool):void +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationRiskFactorCertificateInfoable::|public|SetIsHostnameMismatch(value:*bool):void +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationRiskFactorCertificateInfoable::|public|SetIsNotAfter(value:*bool):void +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationRiskFactorCertificateInfoable::|public|SetIsNotBefore(value:*bool):void +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationRiskFactorCertificateInfoable::|public|SetIsRevoked(value:*bool):void +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationRiskFactorCertificateInfoable::|public|SetIsSelfSigned(value:*bool):void +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationRiskFactorCertificateInfoable::|public|SetOdataType(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationRiskFactorCertificateInfoable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder; *ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationRiskFactorCertificateInfo~~>ApplicationRiskFactorCertificateInfoable +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationRiskFactorGeneralInfo::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationRiskFactorGeneralInfo::|public|GetAdditionalData():map[string]any +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationRiskFactorGeneralInfo::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationRiskFactorGeneralInfo::|public|GetConsumerPopularity():*int32 +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationRiskFactorGeneralInfo::|public|GetDomainRegistrationDate():*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.DateOnly +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationRiskFactorGeneralInfo::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationRiskFactorGeneralInfo::|public|GetFounded():*int32 +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationRiskFactorGeneralInfo::|public|GetHasDisasterRecoveryPlan():*bool +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationRiskFactorGeneralInfo::|public|GetHold():*HoldType +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationRiskFactorGeneralInfo::|public|GetHostingCompanyName():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationRiskFactorGeneralInfo::|public|GetLocation():ApplicationLocationable +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationRiskFactorGeneralInfo::|public|GetOdataType():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationRiskFactorGeneralInfo::|public|GetPrivacyPolicy():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationRiskFactorGeneralInfo::|public|GetProcessedDataTypes():*ApplicationDataType +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationRiskFactorGeneralInfo::|public|GetTermsOfService():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationRiskFactorGeneralInfo::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationRiskFactorGeneralInfo::|public|SetAdditionalData(value:map[string]any):void +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationRiskFactorGeneralInfo::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationRiskFactorGeneralInfo::|public|SetConsumerPopularity(value:*int32):void +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationRiskFactorGeneralInfo::|public|SetDomainRegistrationDate(value:*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.DateOnly):void +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationRiskFactorGeneralInfo::|public|SetFounded(value:*int32):void +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationRiskFactorGeneralInfo::|public|SetHasDisasterRecoveryPlan(value:*bool):void +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationRiskFactorGeneralInfo::|public|SetHold(value:*HoldType):void +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationRiskFactorGeneralInfo::|public|SetHostingCompanyName(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationRiskFactorGeneralInfo::|public|SetLocation(value:ApplicationLocationable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationRiskFactorGeneralInfo::|public|SetOdataType(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationRiskFactorGeneralInfo::|public|SetPrivacyPolicy(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationRiskFactorGeneralInfo::|public|SetProcessedDataTypes(value:*ApplicationDataType):void +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationRiskFactorGeneralInfo::|public|SetTermsOfService(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationRiskFactorGeneralInfo::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationRiskFactorGeneralInfoable::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationRiskFactorGeneralInfoable::|public|GetConsumerPopularity():*int32 +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationRiskFactorGeneralInfoable::|public|GetDomainRegistrationDate():*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.DateOnly +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationRiskFactorGeneralInfoable::|public|GetFounded():*int32 +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationRiskFactorGeneralInfoable::|public|GetHasDisasterRecoveryPlan():*bool +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationRiskFactorGeneralInfoable::|public|GetHold():*HoldType +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationRiskFactorGeneralInfoable::|public|GetHostingCompanyName():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationRiskFactorGeneralInfoable::|public|GetLocation():ApplicationLocationable +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationRiskFactorGeneralInfoable::|public|GetOdataType():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationRiskFactorGeneralInfoable::|public|GetPrivacyPolicy():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationRiskFactorGeneralInfoable::|public|GetProcessedDataTypes():*ApplicationDataType +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationRiskFactorGeneralInfoable::|public|GetTermsOfService():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationRiskFactorGeneralInfoable::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationRiskFactorGeneralInfoable::|public|SetConsumerPopularity(value:*int32):void +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationRiskFactorGeneralInfoable::|public|SetDomainRegistrationDate(value:*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.DateOnly):void +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationRiskFactorGeneralInfoable::|public|SetFounded(value:*int32):void +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationRiskFactorGeneralInfoable::|public|SetHasDisasterRecoveryPlan(value:*bool):void +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationRiskFactorGeneralInfoable::|public|SetHold(value:*HoldType):void +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationRiskFactorGeneralInfoable::|public|SetHostingCompanyName(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationRiskFactorGeneralInfoable::|public|SetLocation(value:ApplicationLocationable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationRiskFactorGeneralInfoable::|public|SetOdataType(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationRiskFactorGeneralInfoable::|public|SetPrivacyPolicy(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationRiskFactorGeneralInfoable::|public|SetProcessedDataTypes(value:*ApplicationDataType):void +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationRiskFactorGeneralInfoable::|public|SetTermsOfService(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationRiskFactorGeneralInfoable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder; *ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationRiskFactorGeneralInfo~~>ApplicationRiskFactorGeneralInfoable +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationRiskFactorLegalInfo::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationRiskFactorLegalInfo::|public|GetAdditionalData():map[string]any +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationRiskFactorLegalInfo::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationRiskFactorLegalInfo::|public|GetDataRetention():*DataRetentionLevel +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationRiskFactorLegalInfo::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationRiskFactorLegalInfo::|public|GetGdpr():ApplicationRiskFactorLegalInfoGdprable +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationRiskFactorLegalInfo::|public|GetHasDataOwnership():*bool +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationRiskFactorLegalInfo::|public|GetHasDmca():*bool +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationRiskFactorLegalInfo::|public|GetOdataType():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationRiskFactorLegalInfo::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationRiskFactorLegalInfo::|public|SetAdditionalData(value:map[string]any):void +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationRiskFactorLegalInfo::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationRiskFactorLegalInfo::|public|SetDataRetention(value:*DataRetentionLevel):void +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationRiskFactorLegalInfo::|public|SetGdpr(value:ApplicationRiskFactorLegalInfoGdprable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationRiskFactorLegalInfo::|public|SetHasDataOwnership(value:*bool):void +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationRiskFactorLegalInfo::|public|SetHasDmca(value:*bool):void +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationRiskFactorLegalInfo::|public|SetOdataType(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationRiskFactorLegalInfo::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationRiskFactorLegalInfoable::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationRiskFactorLegalInfoable::|public|GetDataRetention():*DataRetentionLevel +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationRiskFactorLegalInfoable::|public|GetGdpr():ApplicationRiskFactorLegalInfoGdprable +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationRiskFactorLegalInfoable::|public|GetHasDataOwnership():*bool +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationRiskFactorLegalInfoable::|public|GetHasDmca():*bool +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationRiskFactorLegalInfoable::|public|GetOdataType():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationRiskFactorLegalInfoable::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationRiskFactorLegalInfoable::|public|SetDataRetention(value:*DataRetentionLevel):void +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationRiskFactorLegalInfoable::|public|SetGdpr(value:ApplicationRiskFactorLegalInfoGdprable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationRiskFactorLegalInfoable::|public|SetHasDataOwnership(value:*bool):void +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationRiskFactorLegalInfoable::|public|SetHasDmca(value:*bool):void +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationRiskFactorLegalInfoable::|public|SetOdataType(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationRiskFactorLegalInfoable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder; *ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationRiskFactorLegalInfoGdpr::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationRiskFactorLegalInfoGdpr::|public|GetAdditionalData():map[string]any +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationRiskFactorLegalInfoGdpr::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationRiskFactorLegalInfoGdpr::|public|GetDataProtection():*DataProtection +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationRiskFactorLegalInfoGdpr::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationRiskFactorLegalInfoGdpr::|public|GetHasRightToErasure():*bool +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationRiskFactorLegalInfoGdpr::|public|GetIsReportingDataBreaches():*bool +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationRiskFactorLegalInfoGdpr::|public|GetOdataType():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationRiskFactorLegalInfoGdpr::|public|GetStatementUrl():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationRiskFactorLegalInfoGdpr::|public|GetUserOwnership():*UserOwnership +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationRiskFactorLegalInfoGdpr::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationRiskFactorLegalInfoGdpr::|public|SetAdditionalData(value:map[string]any):void +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationRiskFactorLegalInfoGdpr::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationRiskFactorLegalInfoGdpr::|public|SetDataProtection(value:*DataProtection):void +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationRiskFactorLegalInfoGdpr::|public|SetHasRightToErasure(value:*bool):void +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationRiskFactorLegalInfoGdpr::|public|SetIsReportingDataBreaches(value:*bool):void +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationRiskFactorLegalInfoGdpr::|public|SetOdataType(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationRiskFactorLegalInfoGdpr::|public|SetStatementUrl(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationRiskFactorLegalInfoGdpr::|public|SetUserOwnership(value:*UserOwnership):void +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationRiskFactorLegalInfoGdpr::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationRiskFactorLegalInfoGdprable::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationRiskFactorLegalInfoGdprable::|public|GetDataProtection():*DataProtection +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationRiskFactorLegalInfoGdprable::|public|GetHasRightToErasure():*bool +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationRiskFactorLegalInfoGdprable::|public|GetIsReportingDataBreaches():*bool +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationRiskFactorLegalInfoGdprable::|public|GetOdataType():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationRiskFactorLegalInfoGdprable::|public|GetStatementUrl():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationRiskFactorLegalInfoGdprable::|public|GetUserOwnership():*UserOwnership +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationRiskFactorLegalInfoGdprable::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationRiskFactorLegalInfoGdprable::|public|SetDataProtection(value:*DataProtection):void +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationRiskFactorLegalInfoGdprable::|public|SetHasRightToErasure(value:*bool):void +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationRiskFactorLegalInfoGdprable::|public|SetIsReportingDataBreaches(value:*bool):void +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationRiskFactorLegalInfoGdprable::|public|SetOdataType(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationRiskFactorLegalInfoGdprable::|public|SetStatementUrl(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationRiskFactorLegalInfoGdprable::|public|SetUserOwnership(value:*UserOwnership):void +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationRiskFactorLegalInfoGdprable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder; *ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationRiskFactorLegalInfoGdpr~~>ApplicationRiskFactorLegalInfoGdprable +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationRiskFactorLegalInfo~~>ApplicationRiskFactorLegalInfoable +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationRiskFactors::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationRiskFactors::|public|GetAdditionalData():map[string]any +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationRiskFactors::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationRiskFactors::|public|GetCompliance():ApplicationSecurityComplianceable +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationRiskFactors::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationRiskFactors::|public|GetGeneral():ApplicationRiskFactorGeneralInfoable +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationRiskFactors::|public|GetLegal():ApplicationRiskFactorLegalInfoable +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationRiskFactors::|public|GetOdataType():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationRiskFactors::|public|GetSecurity():ApplicationRiskFactorSecurityInfoable +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationRiskFactors::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationRiskFactors::|public|SetAdditionalData(value:map[string]any):void +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationRiskFactors::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationRiskFactors::|public|SetCompliance(value:ApplicationSecurityComplianceable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationRiskFactors::|public|SetGeneral(value:ApplicationRiskFactorGeneralInfoable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationRiskFactors::|public|SetLegal(value:ApplicationRiskFactorLegalInfoable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationRiskFactors::|public|SetOdataType(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationRiskFactors::|public|SetSecurity(value:ApplicationRiskFactorSecurityInfoable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationRiskFactors::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationRiskFactorsable::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationRiskFactorsable::|public|GetCompliance():ApplicationSecurityComplianceable +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationRiskFactorsable::|public|GetGeneral():ApplicationRiskFactorGeneralInfoable +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationRiskFactorsable::|public|GetLegal():ApplicationRiskFactorLegalInfoable +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationRiskFactorsable::|public|GetOdataType():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationRiskFactorsable::|public|GetSecurity():ApplicationRiskFactorSecurityInfoable +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationRiskFactorsable::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationRiskFactorsable::|public|SetCompliance(value:ApplicationSecurityComplianceable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationRiskFactorsable::|public|SetGeneral(value:ApplicationRiskFactorGeneralInfoable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationRiskFactorsable::|public|SetLegal(value:ApplicationRiskFactorLegalInfoable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationRiskFactorsable::|public|SetOdataType(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationRiskFactorsable::|public|SetSecurity(value:ApplicationRiskFactorSecurityInfoable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationRiskFactorsable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder; *ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationRiskFactorSecurityInfo::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationRiskFactorSecurityInfo::|public|GetAdditionalData():map[string]any +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationRiskFactorSecurityInfo::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationRiskFactorSecurityInfo::|public|GetCertificate():ApplicationRiskFactorCertificateInfoable +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationRiskFactorSecurityInfo::|public|GetDomainToCheck():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationRiskFactorSecurityInfo::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationRiskFactorSecurityInfo::|public|GetHasAdminAuditTrail():*bool +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationRiskFactorSecurityInfo::|public|GetHasAnonymousUsage():*bool +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationRiskFactorSecurityInfo::|public|GetHasDataAuditTrail():*bool +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationRiskFactorSecurityInfo::|public|GetHasDataClassification():*bool +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationRiskFactorSecurityInfo::|public|GetHasDataEncrypted():*bool +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationRiskFactorSecurityInfo::|public|GetHasEnforceTransportEnc():*bool +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationRiskFactorSecurityInfo::|public|GetHasIpRestriction():*bool +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationRiskFactorSecurityInfo::|public|GetHasMFA():*bool +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationRiskFactorSecurityInfo::|public|GetHasPenTest():*bool +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationRiskFactorSecurityInfo::|public|GetHasRememberPassword():*bool +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationRiskFactorSecurityInfo::|public|GetHasSamlSupport():*bool +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationRiskFactorSecurityInfo::|public|GetHasUserAuditLogs():*bool +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationRiskFactorSecurityInfo::|public|GetHasUserDataUpload():*bool +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationRiskFactorSecurityInfo::|public|GetHasUserRolesSupport():*bool +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationRiskFactorSecurityInfo::|public|GetHasValidCertName():*bool +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationRiskFactorSecurityInfo::|public|GetHttpsSecurityHeaders():[]string +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationRiskFactorSecurityInfo::|public|GetIsCertTrusted():*bool +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationRiskFactorSecurityInfo::|public|GetIsDrownVulnerable():*bool +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationRiskFactorSecurityInfo::|public|GetIsHeartbleedProof():*bool +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationRiskFactorSecurityInfo::|public|GetLastBreachDate():*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.DateOnly +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationRiskFactorSecurityInfo::|public|GetLatestValidSSL():*SslVersion +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationRiskFactorSecurityInfo::|public|GetOdataType():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationRiskFactorSecurityInfo::|public|GetPasswordPolicy():*PasswordPolicy +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationRiskFactorSecurityInfo::|public|GetRestEncryptionType():*RestEncryptionType +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationRiskFactorSecurityInfo::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationRiskFactorSecurityInfo::|public|SetAdditionalData(value:map[string]any):void +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationRiskFactorSecurityInfo::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationRiskFactorSecurityInfo::|public|SetCertificate(value:ApplicationRiskFactorCertificateInfoable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationRiskFactorSecurityInfo::|public|SetDomainToCheck(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationRiskFactorSecurityInfo::|public|SetHasAdminAuditTrail(value:*bool):void +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationRiskFactorSecurityInfo::|public|SetHasAnonymousUsage(value:*bool):void +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationRiskFactorSecurityInfo::|public|SetHasDataAuditTrail(value:*bool):void +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationRiskFactorSecurityInfo::|public|SetHasDataClassification(value:*bool):void +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationRiskFactorSecurityInfo::|public|SetHasDataEncrypted(value:*bool):void +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationRiskFactorSecurityInfo::|public|SetHasEnforceTransportEnc(value:*bool):void +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationRiskFactorSecurityInfo::|public|SetHasIpRestriction(value:*bool):void +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationRiskFactorSecurityInfo::|public|SetHasMFA(value:*bool):void +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationRiskFactorSecurityInfo::|public|SetHasPenTest(value:*bool):void +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationRiskFactorSecurityInfo::|public|SetHasRememberPassword(value:*bool):void +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationRiskFactorSecurityInfo::|public|SetHasSamlSupport(value:*bool):void +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationRiskFactorSecurityInfo::|public|SetHasUserAuditLogs(value:*bool):void +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationRiskFactorSecurityInfo::|public|SetHasUserDataUpload(value:*bool):void +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationRiskFactorSecurityInfo::|public|SetHasUserRolesSupport(value:*bool):void +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationRiskFactorSecurityInfo::|public|SetHasValidCertName(value:*bool):void +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationRiskFactorSecurityInfo::|public|SetHttpsSecurityHeaders(value:[]string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationRiskFactorSecurityInfo::|public|SetIsCertTrusted(value:*bool):void +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationRiskFactorSecurityInfo::|public|SetIsDrownVulnerable(value:*bool):void +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationRiskFactorSecurityInfo::|public|SetIsHeartbleedProof(value:*bool):void +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationRiskFactorSecurityInfo::|public|SetLastBreachDate(value:*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.DateOnly):void +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationRiskFactorSecurityInfo::|public|SetLatestValidSSL(value:*SslVersion):void +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationRiskFactorSecurityInfo::|public|SetOdataType(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationRiskFactorSecurityInfo::|public|SetPasswordPolicy(value:*PasswordPolicy):void +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationRiskFactorSecurityInfo::|public|SetRestEncryptionType(value:*RestEncryptionType):void +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationRiskFactorSecurityInfo::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationRiskFactorSecurityInfoable::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationRiskFactorSecurityInfoable::|public|GetCertificate():ApplicationRiskFactorCertificateInfoable +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationRiskFactorSecurityInfoable::|public|GetDomainToCheck():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationRiskFactorSecurityInfoable::|public|GetHasAdminAuditTrail():*bool +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationRiskFactorSecurityInfoable::|public|GetHasAnonymousUsage():*bool +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationRiskFactorSecurityInfoable::|public|GetHasDataAuditTrail():*bool +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationRiskFactorSecurityInfoable::|public|GetHasDataClassification():*bool +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationRiskFactorSecurityInfoable::|public|GetHasDataEncrypted():*bool +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationRiskFactorSecurityInfoable::|public|GetHasEnforceTransportEnc():*bool +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationRiskFactorSecurityInfoable::|public|GetHasIpRestriction():*bool +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationRiskFactorSecurityInfoable::|public|GetHasMFA():*bool +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationRiskFactorSecurityInfoable::|public|GetHasPenTest():*bool +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationRiskFactorSecurityInfoable::|public|GetHasRememberPassword():*bool +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationRiskFactorSecurityInfoable::|public|GetHasSamlSupport():*bool +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationRiskFactorSecurityInfoable::|public|GetHasUserAuditLogs():*bool +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationRiskFactorSecurityInfoable::|public|GetHasUserDataUpload():*bool +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationRiskFactorSecurityInfoable::|public|GetHasUserRolesSupport():*bool +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationRiskFactorSecurityInfoable::|public|GetHasValidCertName():*bool +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationRiskFactorSecurityInfoable::|public|GetHttpsSecurityHeaders():[]string +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationRiskFactorSecurityInfoable::|public|GetIsCertTrusted():*bool +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationRiskFactorSecurityInfoable::|public|GetIsDrownVulnerable():*bool +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationRiskFactorSecurityInfoable::|public|GetIsHeartbleedProof():*bool +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationRiskFactorSecurityInfoable::|public|GetLastBreachDate():*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.DateOnly +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationRiskFactorSecurityInfoable::|public|GetLatestValidSSL():*SslVersion +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationRiskFactorSecurityInfoable::|public|GetOdataType():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationRiskFactorSecurityInfoable::|public|GetPasswordPolicy():*PasswordPolicy +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationRiskFactorSecurityInfoable::|public|GetRestEncryptionType():*RestEncryptionType +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationRiskFactorSecurityInfoable::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationRiskFactorSecurityInfoable::|public|SetCertificate(value:ApplicationRiskFactorCertificateInfoable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationRiskFactorSecurityInfoable::|public|SetDomainToCheck(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationRiskFactorSecurityInfoable::|public|SetHasAdminAuditTrail(value:*bool):void +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationRiskFactorSecurityInfoable::|public|SetHasAnonymousUsage(value:*bool):void +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationRiskFactorSecurityInfoable::|public|SetHasDataAuditTrail(value:*bool):void +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationRiskFactorSecurityInfoable::|public|SetHasDataClassification(value:*bool):void +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationRiskFactorSecurityInfoable::|public|SetHasDataEncrypted(value:*bool):void +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationRiskFactorSecurityInfoable::|public|SetHasEnforceTransportEnc(value:*bool):void +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationRiskFactorSecurityInfoable::|public|SetHasIpRestriction(value:*bool):void +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationRiskFactorSecurityInfoable::|public|SetHasMFA(value:*bool):void +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationRiskFactorSecurityInfoable::|public|SetHasPenTest(value:*bool):void +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationRiskFactorSecurityInfoable::|public|SetHasRememberPassword(value:*bool):void +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationRiskFactorSecurityInfoable::|public|SetHasSamlSupport(value:*bool):void +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationRiskFactorSecurityInfoable::|public|SetHasUserAuditLogs(value:*bool):void +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationRiskFactorSecurityInfoable::|public|SetHasUserDataUpload(value:*bool):void +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationRiskFactorSecurityInfoable::|public|SetHasUserRolesSupport(value:*bool):void +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationRiskFactorSecurityInfoable::|public|SetHasValidCertName(value:*bool):void +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationRiskFactorSecurityInfoable::|public|SetHttpsSecurityHeaders(value:[]string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationRiskFactorSecurityInfoable::|public|SetIsCertTrusted(value:*bool):void +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationRiskFactorSecurityInfoable::|public|SetIsDrownVulnerable(value:*bool):void +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationRiskFactorSecurityInfoable::|public|SetIsHeartbleedProof(value:*bool):void +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationRiskFactorSecurityInfoable::|public|SetLastBreachDate(value:*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.DateOnly):void +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationRiskFactorSecurityInfoable::|public|SetLatestValidSSL(value:*SslVersion):void +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationRiskFactorSecurityInfoable::|public|SetOdataType(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationRiskFactorSecurityInfoable::|public|SetPasswordPolicy(value:*PasswordPolicy):void +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationRiskFactorSecurityInfoable::|public|SetRestEncryptionType(value:*RestEncryptionType):void +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationRiskFactorSecurityInfoable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder; *ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationRiskFactorSecurityInfo~~>ApplicationRiskFactorSecurityInfoable +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationRiskFactors~~>ApplicationRiskFactorsable +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationRiskScore::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationRiskScore::|public|GetAdditionalData():map[string]any +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationRiskScore::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationRiskScore::|public|GetCompliance():*float32 +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationRiskScore::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationRiskScore::|public|GetLegal():*float32 +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationRiskScore::|public|GetOdataType():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationRiskScore::|public|GetProvider():*float32 +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationRiskScore::|public|GetSecurity():*float32 +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationRiskScore::|public|GetTotal():*float32 +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationRiskScore::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationRiskScore::|public|SetAdditionalData(value:map[string]any):void +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationRiskScore::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationRiskScore::|public|SetCompliance(value:*float32):void +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationRiskScore::|public|SetLegal(value:*float32):void +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationRiskScore::|public|SetOdataType(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationRiskScore::|public|SetProvider(value:*float32):void +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationRiskScore::|public|SetSecurity(value:*float32):void +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationRiskScore::|public|SetTotal(value:*float32):void +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationRiskScore::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationRiskScoreable::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationRiskScoreable::|public|GetCompliance():*float32 +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationRiskScoreable::|public|GetLegal():*float32 +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationRiskScoreable::|public|GetOdataType():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationRiskScoreable::|public|GetProvider():*float32 +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationRiskScoreable::|public|GetSecurity():*float32 +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationRiskScoreable::|public|GetTotal():*float32 +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationRiskScoreable::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationRiskScoreable::|public|SetCompliance(value:*float32):void +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationRiskScoreable::|public|SetLegal(value:*float32):void +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationRiskScoreable::|public|SetOdataType(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationRiskScoreable::|public|SetProvider(value:*float32):void +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationRiskScoreable::|public|SetSecurity(value:*float32):void +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationRiskScoreable::|public|SetTotal(value:*float32):void +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationRiskScoreable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder; *ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationRiskScore~~>ApplicationRiskScoreable +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationSecurityCompliance::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationSecurityCompliance::|public|GetAdditionalData():map[string]any +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationSecurityCompliance::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationSecurityCompliance::|public|GetCobit():*bool +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationSecurityCompliance::|public|GetCoppa():*bool +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationSecurityCompliance::|public|GetCsaStar():*CsaStarLevel +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationSecurityCompliance::|public|GetFedRamp():*FedRampLevel +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationSecurityCompliance::|public|GetFerpa():*bool +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationSecurityCompliance::|public|GetFfiec():*bool +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationSecurityCompliance::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationSecurityCompliance::|public|GetFinra():*bool +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationSecurityCompliance::|public|GetFisma():*bool +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationSecurityCompliance::|public|GetGaap():*bool +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationSecurityCompliance::|public|GetGapp():*bool +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationSecurityCompliance::|public|GetGlba():*bool +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationSecurityCompliance::|public|GetHipaa():*bool +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationSecurityCompliance::|public|GetHitrust():*bool +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationSecurityCompliance::|public|GetIsae3402():*bool +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationSecurityCompliance::|public|GetIso27001():*bool +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationSecurityCompliance::|public|GetIso27002():*bool +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationSecurityCompliance::|public|GetIso27017():*bool +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationSecurityCompliance::|public|GetIso27018():*bool +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationSecurityCompliance::|public|GetItar():*bool +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationSecurityCompliance::|public|GetJerichoForumCommandments():*bool +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationSecurityCompliance::|public|GetOdataType():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationSecurityCompliance::|public|GetPci():*PciVersion +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationSecurityCompliance::|public|GetPrivacyShield():*bool +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationSecurityCompliance::|public|GetSafeHarbor():*bool +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationSecurityCompliance::|public|GetSoc1():*bool +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationSecurityCompliance::|public|GetSoc2():*bool +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationSecurityCompliance::|public|GetSoc3():*bool +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationSecurityCompliance::|public|GetSox():*bool +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationSecurityCompliance::|public|GetSp80053():*bool +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationSecurityCompliance::|public|GetSsae16():*bool +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationSecurityCompliance::|public|GetUstr():*bool +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationSecurityCompliance::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationSecurityCompliance::|public|SetAdditionalData(value:map[string]any):void +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationSecurityCompliance::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationSecurityCompliance::|public|SetCobit(value:*bool):void +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationSecurityCompliance::|public|SetCoppa(value:*bool):void +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationSecurityCompliance::|public|SetCsaStar(value:*CsaStarLevel):void +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationSecurityCompliance::|public|SetFedRamp(value:*FedRampLevel):void +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationSecurityCompliance::|public|SetFerpa(value:*bool):void +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationSecurityCompliance::|public|SetFfiec(value:*bool):void +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationSecurityCompliance::|public|SetFinra(value:*bool):void +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationSecurityCompliance::|public|SetFisma(value:*bool):void +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationSecurityCompliance::|public|SetGaap(value:*bool):void +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationSecurityCompliance::|public|SetGapp(value:*bool):void +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationSecurityCompliance::|public|SetGlba(value:*bool):void +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationSecurityCompliance::|public|SetHipaa(value:*bool):void +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationSecurityCompliance::|public|SetHitrust(value:*bool):void +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationSecurityCompliance::|public|SetIsae3402(value:*bool):void +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationSecurityCompliance::|public|SetIso27001(value:*bool):void +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationSecurityCompliance::|public|SetIso27002(value:*bool):void +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationSecurityCompliance::|public|SetIso27017(value:*bool):void +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationSecurityCompliance::|public|SetIso27018(value:*bool):void +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationSecurityCompliance::|public|SetItar(value:*bool):void +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationSecurityCompliance::|public|SetJerichoForumCommandments(value:*bool):void +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationSecurityCompliance::|public|SetOdataType(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationSecurityCompliance::|public|SetPci(value:*PciVersion):void +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationSecurityCompliance::|public|SetPrivacyShield(value:*bool):void +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationSecurityCompliance::|public|SetSafeHarbor(value:*bool):void +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationSecurityCompliance::|public|SetSoc1(value:*bool):void +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationSecurityCompliance::|public|SetSoc2(value:*bool):void +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationSecurityCompliance::|public|SetSoc3(value:*bool):void +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationSecurityCompliance::|public|SetSox(value:*bool):void +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationSecurityCompliance::|public|SetSp80053(value:*bool):void +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationSecurityCompliance::|public|SetSsae16(value:*bool):void +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationSecurityCompliance::|public|SetUstr(value:*bool):void +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationSecurityCompliance::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationSecurityComplianceable::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationSecurityComplianceable::|public|GetCobit():*bool +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationSecurityComplianceable::|public|GetCoppa():*bool +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationSecurityComplianceable::|public|GetCsaStar():*CsaStarLevel +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationSecurityComplianceable::|public|GetFedRamp():*FedRampLevel +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationSecurityComplianceable::|public|GetFerpa():*bool +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationSecurityComplianceable::|public|GetFfiec():*bool +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationSecurityComplianceable::|public|GetFinra():*bool +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationSecurityComplianceable::|public|GetFisma():*bool +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationSecurityComplianceable::|public|GetGaap():*bool +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationSecurityComplianceable::|public|GetGapp():*bool +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationSecurityComplianceable::|public|GetGlba():*bool +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationSecurityComplianceable::|public|GetHipaa():*bool +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationSecurityComplianceable::|public|GetHitrust():*bool +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationSecurityComplianceable::|public|GetIsae3402():*bool +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationSecurityComplianceable::|public|GetIso27001():*bool +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationSecurityComplianceable::|public|GetIso27002():*bool +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationSecurityComplianceable::|public|GetIso27017():*bool +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationSecurityComplianceable::|public|GetIso27018():*bool +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationSecurityComplianceable::|public|GetItar():*bool +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationSecurityComplianceable::|public|GetJerichoForumCommandments():*bool +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationSecurityComplianceable::|public|GetOdataType():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationSecurityComplianceable::|public|GetPci():*PciVersion +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationSecurityComplianceable::|public|GetPrivacyShield():*bool +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationSecurityComplianceable::|public|GetSafeHarbor():*bool +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationSecurityComplianceable::|public|GetSoc1():*bool +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationSecurityComplianceable::|public|GetSoc2():*bool +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationSecurityComplianceable::|public|GetSoc3():*bool +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationSecurityComplianceable::|public|GetSox():*bool +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationSecurityComplianceable::|public|GetSp80053():*bool +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationSecurityComplianceable::|public|GetSsae16():*bool +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationSecurityComplianceable::|public|GetUstr():*bool +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationSecurityComplianceable::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationSecurityComplianceable::|public|SetCobit(value:*bool):void +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationSecurityComplianceable::|public|SetCoppa(value:*bool):void +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationSecurityComplianceable::|public|SetCsaStar(value:*CsaStarLevel):void +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationSecurityComplianceable::|public|SetFedRamp(value:*FedRampLevel):void +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationSecurityComplianceable::|public|SetFerpa(value:*bool):void +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationSecurityComplianceable::|public|SetFfiec(value:*bool):void +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationSecurityComplianceable::|public|SetFinra(value:*bool):void +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationSecurityComplianceable::|public|SetFisma(value:*bool):void +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationSecurityComplianceable::|public|SetGaap(value:*bool):void +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationSecurityComplianceable::|public|SetGapp(value:*bool):void +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationSecurityComplianceable::|public|SetGlba(value:*bool):void +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationSecurityComplianceable::|public|SetHipaa(value:*bool):void +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationSecurityComplianceable::|public|SetHitrust(value:*bool):void +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationSecurityComplianceable::|public|SetIsae3402(value:*bool):void +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationSecurityComplianceable::|public|SetIso27001(value:*bool):void +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationSecurityComplianceable::|public|SetIso27002(value:*bool):void +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationSecurityComplianceable::|public|SetIso27017(value:*bool):void +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationSecurityComplianceable::|public|SetIso27018(value:*bool):void +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationSecurityComplianceable::|public|SetItar(value:*bool):void +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationSecurityComplianceable::|public|SetJerichoForumCommandments(value:*bool):void +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationSecurityComplianceable::|public|SetOdataType(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationSecurityComplianceable::|public|SetPci(value:*PciVersion):void +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationSecurityComplianceable::|public|SetPrivacyShield(value:*bool):void +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationSecurityComplianceable::|public|SetSafeHarbor(value:*bool):void +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationSecurityComplianceable::|public|SetSoc1(value:*bool):void +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationSecurityComplianceable::|public|SetSoc2(value:*bool):void +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationSecurityComplianceable::|public|SetSoc3(value:*bool):void +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationSecurityComplianceable::|public|SetSox(value:*bool):void +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationSecurityComplianceable::|public|SetSp80053(value:*bool):void +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationSecurityComplianceable::|public|SetSsae16(value:*bool):void +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationSecurityComplianceable::|public|SetUstr(value:*bool):void +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationSecurityComplianceable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder; *ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationSecurityCompliance~~>ApplicationSecurityComplianceable github.com/microsoftgraph/msgraph-sdk-go/.models.applicationServicePrincipal::|public|constructor():void github.com/microsoftgraph/msgraph-sdk-go/.models.applicationServicePrincipal::|public|GetAdditionalData():map[string]any github.com/microsoftgraph/msgraph-sdk-go/.models.applicationServicePrincipal::|public|GetApplication():Applicationable @@ -126851,39 +128557,63 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.applicationServicePrincipal~~>A github.com/microsoftgraph/msgraph-sdk-go/.models.applicationTemplate-->*Entity github.com/microsoftgraph/msgraph-sdk-go/.models.applicationTemplate::|public|constructor():void github.com/microsoftgraph/msgraph-sdk-go/.models.applicationTemplate::|public|GetCategories():[]string +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationTemplate::|public|GetDeprecationDate():*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.DateOnly github.com/microsoftgraph/msgraph-sdk-go/.models.applicationTemplate::|public|GetDescription():*string github.com/microsoftgraph/msgraph-sdk-go/.models.applicationTemplate::|public|GetDisplayName():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationTemplate::|public|GetEndpoints():[]string github.com/microsoftgraph/msgraph-sdk-go/.models.applicationTemplate::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) github.com/microsoftgraph/msgraph-sdk-go/.models.applicationTemplate::|public|GetHomePageUrl():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationTemplate::|public|GetIsEntraIntegrated():*bool +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationTemplate::|public|GetLastModifiedDateTime():*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time github.com/microsoftgraph/msgraph-sdk-go/.models.applicationTemplate::|public|GetLogoUrl():*string github.com/microsoftgraph/msgraph-sdk-go/.models.applicationTemplate::|public|GetPublisher():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationTemplate::|public|GetRiskFactors():ApplicationRiskFactorsable +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationTemplate::|public|GetRiskScore():ApplicationRiskScoreable github.com/microsoftgraph/msgraph-sdk-go/.models.applicationTemplate::|public|GetSupportedProvisioningTypes():[]string github.com/microsoftgraph/msgraph-sdk-go/.models.applicationTemplate::|public|GetSupportedSingleSignOnModes():[]string github.com/microsoftgraph/msgraph-sdk-go/.models.applicationTemplate::|public|OdataType:*string github.com/microsoftgraph/msgraph-sdk-go/.models.applicationTemplate::|public|Serialize(writer:SerializationWriter):void github.com/microsoftgraph/msgraph-sdk-go/.models.applicationTemplate::|public|SetCategories(value:[]string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationTemplate::|public|SetDeprecationDate(value:*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.DateOnly):void github.com/microsoftgraph/msgraph-sdk-go/.models.applicationTemplate::|public|SetDescription(value:*string):void github.com/microsoftgraph/msgraph-sdk-go/.models.applicationTemplate::|public|SetDisplayName(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationTemplate::|public|SetEndpoints(value:[]string):void github.com/microsoftgraph/msgraph-sdk-go/.models.applicationTemplate::|public|SetHomePageUrl(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationTemplate::|public|SetIsEntraIntegrated(value:*bool):void +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationTemplate::|public|SetLastModifiedDateTime(value:*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time):void github.com/microsoftgraph/msgraph-sdk-go/.models.applicationTemplate::|public|SetLogoUrl(value:*string):void github.com/microsoftgraph/msgraph-sdk-go/.models.applicationTemplate::|public|SetPublisher(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationTemplate::|public|SetRiskFactors(value:ApplicationRiskFactorsable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationTemplate::|public|SetRiskScore(value:ApplicationRiskScoreable):void github.com/microsoftgraph/msgraph-sdk-go/.models.applicationTemplate::|public|SetSupportedProvisioningTypes(value:[]string):void github.com/microsoftgraph/msgraph-sdk-go/.models.applicationTemplate::|public|SetSupportedSingleSignOnModes(value:[]string):void github.com/microsoftgraph/msgraph-sdk-go/.models.applicationTemplate::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable github.com/microsoftgraph/msgraph-sdk-go/.models.applicationTemplateable::|public|GetCategories():[]string +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationTemplateable::|public|GetDeprecationDate():*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.DateOnly github.com/microsoftgraph/msgraph-sdk-go/.models.applicationTemplateable::|public|GetDescription():*string github.com/microsoftgraph/msgraph-sdk-go/.models.applicationTemplateable::|public|GetDisplayName():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationTemplateable::|public|GetEndpoints():[]string github.com/microsoftgraph/msgraph-sdk-go/.models.applicationTemplateable::|public|GetHomePageUrl():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationTemplateable::|public|GetIsEntraIntegrated():*bool +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationTemplateable::|public|GetLastModifiedDateTime():*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time github.com/microsoftgraph/msgraph-sdk-go/.models.applicationTemplateable::|public|GetLogoUrl():*string github.com/microsoftgraph/msgraph-sdk-go/.models.applicationTemplateable::|public|GetPublisher():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationTemplateable::|public|GetRiskFactors():ApplicationRiskFactorsable +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationTemplateable::|public|GetRiskScore():ApplicationRiskScoreable github.com/microsoftgraph/msgraph-sdk-go/.models.applicationTemplateable::|public|GetSupportedProvisioningTypes():[]string github.com/microsoftgraph/msgraph-sdk-go/.models.applicationTemplateable::|public|GetSupportedSingleSignOnModes():[]string github.com/microsoftgraph/msgraph-sdk-go/.models.applicationTemplateable::|public|SetCategories(value:[]string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationTemplateable::|public|SetDeprecationDate(value:*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.DateOnly):void github.com/microsoftgraph/msgraph-sdk-go/.models.applicationTemplateable::|public|SetDescription(value:*string):void github.com/microsoftgraph/msgraph-sdk-go/.models.applicationTemplateable::|public|SetDisplayName(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationTemplateable::|public|SetEndpoints(value:[]string):void github.com/microsoftgraph/msgraph-sdk-go/.models.applicationTemplateable::|public|SetHomePageUrl(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationTemplateable::|public|SetIsEntraIntegrated(value:*bool):void +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationTemplateable::|public|SetLastModifiedDateTime(value:*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time):void github.com/microsoftgraph/msgraph-sdk-go/.models.applicationTemplateable::|public|SetLogoUrl(value:*string):void github.com/microsoftgraph/msgraph-sdk-go/.models.applicationTemplateable::|public|SetPublisher(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationTemplateable::|public|SetRiskFactors(value:ApplicationRiskFactorsable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.applicationTemplateable::|public|SetRiskScore(value:ApplicationRiskScoreable):void github.com/microsoftgraph/msgraph-sdk-go/.models.applicationTemplateable::|public|SetSupportedProvisioningTypes(value:[]string):void github.com/microsoftgraph/msgraph-sdk-go/.models.applicationTemplateable::|public|SetSupportedSingleSignOnModes(value:[]string):void github.com/microsoftgraph/msgraph-sdk-go/.models.applicationTemplateable~~>Entityable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable @@ -127358,6 +129088,10 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.approvedClientAppCollectionResp github.com/microsoftgraph/msgraph-sdk-go/.models.approvedClientAppCollectionResponseable::|public|GetValue():[]ApprovedClientAppable github.com/microsoftgraph/msgraph-sdk-go/.models.approvedClientAppCollectionResponseable::|public|SetValue(value:[]ApprovedClientAppable):void github.com/microsoftgraph/msgraph-sdk-go/.models.approvedClientAppCollectionResponseable~~>BaseCollectionPaginationCountResponseable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.approverInformationVisibility::0000-default +github.com/microsoftgraph/msgraph-sdk-go/.models.approverInformationVisibility::0001-notVisible +github.com/microsoftgraph/msgraph-sdk-go/.models.approverInformationVisibility::0002-visible +github.com/microsoftgraph/msgraph-sdk-go/.models.approverInformationVisibility::0003-unknownFutureValue github.com/microsoftgraph/msgraph-sdk-go/.models.appScope-->*Entity github.com/microsoftgraph/msgraph-sdk-go/.models.appScope::|public|constructor():void github.com/microsoftgraph/msgraph-sdk-go/.models.appScope::|public|GetDisplayName():*string @@ -129926,6 +131660,35 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.availabilityItemable::|public|S github.com/microsoftgraph/msgraph-sdk-go/.models.availabilityItemable::|public|SetStatus(value:*BookingsAvailabilityStatus):void github.com/microsoftgraph/msgraph-sdk-go/.models.availabilityItemable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder; *ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable github.com/microsoftgraph/msgraph-sdk-go/.models.availabilityItem~~>AvailabilityItemable +github.com/microsoftgraph/msgraph-sdk-go/.models.availableAccessPackage-->*Entity +github.com/microsoftgraph/msgraph-sdk-go/.models.availableAccessPackage::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.availableAccessPackage::|public|GetDescription():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.availableAccessPackage::|public|GetDisplayName():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.availableAccessPackage::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.availableAccessPackage::|public|GetResourceRoleScopes():[]AccessPackageResourceRoleScopeable +github.com/microsoftgraph/msgraph-sdk-go/.models.availableAccessPackage::|public|OdataType:*string +github.com/microsoftgraph/msgraph-sdk-go/.models.availableAccessPackage::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.availableAccessPackage::|public|SetDescription(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.availableAccessPackage::|public|SetDisplayName(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.availableAccessPackage::|public|SetResourceRoleScopes(value:[]AccessPackageResourceRoleScopeable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.availableAccessPackage::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.availableAccessPackageable::|public|GetDescription():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.availableAccessPackageable::|public|GetDisplayName():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.availableAccessPackageable::|public|GetResourceRoleScopes():[]AccessPackageResourceRoleScopeable +github.com/microsoftgraph/msgraph-sdk-go/.models.availableAccessPackageable::|public|SetDescription(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.availableAccessPackageable::|public|SetDisplayName(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.availableAccessPackageable::|public|SetResourceRoleScopes(value:[]AccessPackageResourceRoleScopeable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.availableAccessPackageable~~>Entityable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.availableAccessPackageCollectionResponse-->*BaseCollectionPaginationCountResponse +github.com/microsoftgraph/msgraph-sdk-go/.models.availableAccessPackageCollectionResponse::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.availableAccessPackageCollectionResponse::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.availableAccessPackageCollectionResponse::|public|GetValue():[]AvailableAccessPackageable +github.com/microsoftgraph/msgraph-sdk-go/.models.availableAccessPackageCollectionResponse::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.availableAccessPackageCollectionResponse::|public|SetValue(value:[]AvailableAccessPackageable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.availableAccessPackageCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.availableAccessPackageCollectionResponseable::|public|GetValue():[]AvailableAccessPackageable +github.com/microsoftgraph/msgraph-sdk-go/.models.availableAccessPackageCollectionResponseable::|public|SetValue(value:[]AvailableAccessPackageable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.availableAccessPackageCollectionResponseable~~>BaseCollectionPaginationCountResponseable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable github.com/microsoftgraph/msgraph-sdk-go/.models.averageComparativeScore::|public|constructor():void github.com/microsoftgraph/msgraph-sdk-go/.models.averageComparativeScore::|public|GetAdditionalData():map[string]any github.com/microsoftgraph/msgraph-sdk-go/.models.averageComparativeScore::|public|GetAverageScore():*float64 @@ -130107,6 +131870,7 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.backupRestoreRoot::|public|GetB github.com/microsoftgraph/msgraph-sdk-go/.models.backupRestoreRoot::|public|GetDriveInclusionRules():[]DriveProtectionRuleable github.com/microsoftgraph/msgraph-sdk-go/.models.backupRestoreRoot::|public|GetDriveProtectionUnits():[]DriveProtectionUnitable github.com/microsoftgraph/msgraph-sdk-go/.models.backupRestoreRoot::|public|GetDriveProtectionUnitsBulkAdditionJobs():[]DriveProtectionUnitsBulkAdditionJobable +github.com/microsoftgraph/msgraph-sdk-go/.models.backupRestoreRoot::|public|GetEmailNotificationsSetting():EmailNotificationsSettingable github.com/microsoftgraph/msgraph-sdk-go/.models.backupRestoreRoot::|public|GetExchangeProtectionPolicies():[]ExchangeProtectionPolicyable github.com/microsoftgraph/msgraph-sdk-go/.models.backupRestoreRoot::|public|GetExchangeRestoreSessions():[]ExchangeRestoreSessionable github.com/microsoftgraph/msgraph-sdk-go/.models.backupRestoreRoot::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) @@ -130134,6 +131898,7 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.backupRestoreRoot::|public|SetB github.com/microsoftgraph/msgraph-sdk-go/.models.backupRestoreRoot::|public|SetDriveInclusionRules(value:[]DriveProtectionRuleable):void github.com/microsoftgraph/msgraph-sdk-go/.models.backupRestoreRoot::|public|SetDriveProtectionUnits(value:[]DriveProtectionUnitable):void github.com/microsoftgraph/msgraph-sdk-go/.models.backupRestoreRoot::|public|SetDriveProtectionUnitsBulkAdditionJobs(value:[]DriveProtectionUnitsBulkAdditionJobable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.backupRestoreRoot::|public|SetEmailNotificationsSetting(value:EmailNotificationsSettingable):void github.com/microsoftgraph/msgraph-sdk-go/.models.backupRestoreRoot::|public|SetExchangeProtectionPolicies(value:[]ExchangeProtectionPolicyable):void github.com/microsoftgraph/msgraph-sdk-go/.models.backupRestoreRoot::|public|SetExchangeRestoreSessions(value:[]ExchangeRestoreSessionable):void github.com/microsoftgraph/msgraph-sdk-go/.models.backupRestoreRoot::|public|SetMailboxInclusionRules(value:[]MailboxProtectionRuleable):void @@ -130159,6 +131924,7 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.backupRestoreRootable::|public| github.com/microsoftgraph/msgraph-sdk-go/.models.backupRestoreRootable::|public|GetDriveInclusionRules():[]DriveProtectionRuleable github.com/microsoftgraph/msgraph-sdk-go/.models.backupRestoreRootable::|public|GetDriveProtectionUnits():[]DriveProtectionUnitable github.com/microsoftgraph/msgraph-sdk-go/.models.backupRestoreRootable::|public|GetDriveProtectionUnitsBulkAdditionJobs():[]DriveProtectionUnitsBulkAdditionJobable +github.com/microsoftgraph/msgraph-sdk-go/.models.backupRestoreRootable::|public|GetEmailNotificationsSetting():EmailNotificationsSettingable github.com/microsoftgraph/msgraph-sdk-go/.models.backupRestoreRootable::|public|GetExchangeProtectionPolicies():[]ExchangeProtectionPolicyable github.com/microsoftgraph/msgraph-sdk-go/.models.backupRestoreRootable::|public|GetExchangeRestoreSessions():[]ExchangeRestoreSessionable github.com/microsoftgraph/msgraph-sdk-go/.models.backupRestoreRootable::|public|GetMailboxInclusionRules():[]MailboxProtectionRuleable @@ -130183,6 +131949,7 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.backupRestoreRootable::|public| github.com/microsoftgraph/msgraph-sdk-go/.models.backupRestoreRootable::|public|SetDriveInclusionRules(value:[]DriveProtectionRuleable):void github.com/microsoftgraph/msgraph-sdk-go/.models.backupRestoreRootable::|public|SetDriveProtectionUnits(value:[]DriveProtectionUnitable):void github.com/microsoftgraph/msgraph-sdk-go/.models.backupRestoreRootable::|public|SetDriveProtectionUnitsBulkAdditionJobs(value:[]DriveProtectionUnitsBulkAdditionJobable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.backupRestoreRootable::|public|SetEmailNotificationsSetting(value:EmailNotificationsSettingable):void github.com/microsoftgraph/msgraph-sdk-go/.models.backupRestoreRootable::|public|SetExchangeProtectionPolicies(value:[]ExchangeProtectionPolicyable):void github.com/microsoftgraph/msgraph-sdk-go/.models.backupRestoreRootable::|public|SetExchangeRestoreSessions(value:[]ExchangeRestoreSessionable):void github.com/microsoftgraph/msgraph-sdk-go/.models.backupRestoreRootable::|public|SetMailboxInclusionRules(value:[]MailboxProtectionRuleable):void @@ -134759,6 +136526,7 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.chat::|public|GetOriginalCreate github.com/microsoftgraph/msgraph-sdk-go/.models.chat::|public|GetPermissionGrants():[]ResourceSpecificPermissionGrantable github.com/microsoftgraph/msgraph-sdk-go/.models.chat::|public|GetPinnedMessages():[]PinnedChatMessageInfoable github.com/microsoftgraph/msgraph-sdk-go/.models.chat::|public|GetTabs():[]TeamsTabable +github.com/microsoftgraph/msgraph-sdk-go/.models.chat::|public|GetTargetedMessages():[]TargetedChatMessageable github.com/microsoftgraph/msgraph-sdk-go/.models.chat::|public|GetTenantId():*string github.com/microsoftgraph/msgraph-sdk-go/.models.chat::|public|GetTopic():*string github.com/microsoftgraph/msgraph-sdk-go/.models.chat::|public|GetViewpoint():ChatViewpointable @@ -134779,6 +136547,7 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.chat::|public|SetOriginalCreate github.com/microsoftgraph/msgraph-sdk-go/.models.chat::|public|SetPermissionGrants(value:[]ResourceSpecificPermissionGrantable):void github.com/microsoftgraph/msgraph-sdk-go/.models.chat::|public|SetPinnedMessages(value:[]PinnedChatMessageInfoable):void github.com/microsoftgraph/msgraph-sdk-go/.models.chat::|public|SetTabs(value:[]TeamsTabable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.chat::|public|SetTargetedMessages(value:[]TargetedChatMessageable):void github.com/microsoftgraph/msgraph-sdk-go/.models.chat::|public|SetTenantId(value:*string):void github.com/microsoftgraph/msgraph-sdk-go/.models.chat::|public|SetTopic(value:*string):void github.com/microsoftgraph/msgraph-sdk-go/.models.chat::|public|SetViewpoint(value:ChatViewpointable):void @@ -134798,6 +136567,7 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.chatable::|public|GetOriginalCr github.com/microsoftgraph/msgraph-sdk-go/.models.chatable::|public|GetPermissionGrants():[]ResourceSpecificPermissionGrantable github.com/microsoftgraph/msgraph-sdk-go/.models.chatable::|public|GetPinnedMessages():[]PinnedChatMessageInfoable github.com/microsoftgraph/msgraph-sdk-go/.models.chatable::|public|GetTabs():[]TeamsTabable +github.com/microsoftgraph/msgraph-sdk-go/.models.chatable::|public|GetTargetedMessages():[]TargetedChatMessageable github.com/microsoftgraph/msgraph-sdk-go/.models.chatable::|public|GetTenantId():*string github.com/microsoftgraph/msgraph-sdk-go/.models.chatable::|public|GetTopic():*string github.com/microsoftgraph/msgraph-sdk-go/.models.chatable::|public|GetViewpoint():ChatViewpointable @@ -134816,6 +136586,7 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.chatable::|public|SetOriginalCr github.com/microsoftgraph/msgraph-sdk-go/.models.chatable::|public|SetPermissionGrants(value:[]ResourceSpecificPermissionGrantable):void github.com/microsoftgraph/msgraph-sdk-go/.models.chatable::|public|SetPinnedMessages(value:[]PinnedChatMessageInfoable):void github.com/microsoftgraph/msgraph-sdk-go/.models.chatable::|public|SetTabs(value:[]TeamsTabable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.chatable::|public|SetTargetedMessages(value:[]TargetedChatMessageable):void github.com/microsoftgraph/msgraph-sdk-go/.models.chatable::|public|SetTenantId(value:*string):void github.com/microsoftgraph/msgraph-sdk-go/.models.chatable::|public|SetTopic(value:*string):void github.com/microsoftgraph/msgraph-sdk-go/.models.chatable::|public|SetViewpoint(value:ChatViewpointable):void @@ -139230,6 +141001,43 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.contractCollectionResponse::|st github.com/microsoftgraph/msgraph-sdk-go/.models.contractCollectionResponseable::|public|GetValue():[]Contractable github.com/microsoftgraph/msgraph-sdk-go/.models.contractCollectionResponseable::|public|SetValue(value:[]Contractable):void github.com/microsoftgraph/msgraph-sdk-go/.models.contractCollectionResponseable~~>BaseCollectionPaginationCountResponseable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.controlConfiguration-->*Entity +github.com/microsoftgraph/msgraph-sdk-go/.models.controlConfiguration::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.controlConfiguration::|public|GetCreatedBy():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.controlConfiguration::|public|GetCreatedDateTime():*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time +github.com/microsoftgraph/msgraph-sdk-go/.models.controlConfiguration::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.controlConfiguration::|public|GetIsEnabled():*bool +github.com/microsoftgraph/msgraph-sdk-go/.models.controlConfiguration::|public|GetModifiedBy():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.controlConfiguration::|public|GetModifiedDateTime():*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time +github.com/microsoftgraph/msgraph-sdk-go/.models.controlConfiguration::|public|OdataType:*string +github.com/microsoftgraph/msgraph-sdk-go/.models.controlConfiguration::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.controlConfiguration::|public|SetCreatedBy(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.controlConfiguration::|public|SetCreatedDateTime(value:*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time):void +github.com/microsoftgraph/msgraph-sdk-go/.models.controlConfiguration::|public|SetIsEnabled(value:*bool):void +github.com/microsoftgraph/msgraph-sdk-go/.models.controlConfiguration::|public|SetModifiedBy(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.controlConfiguration::|public|SetModifiedDateTime(value:*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time):void +github.com/microsoftgraph/msgraph-sdk-go/.models.controlConfiguration::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.controlConfigurationable::|public|GetCreatedBy():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.controlConfigurationable::|public|GetCreatedDateTime():*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time +github.com/microsoftgraph/msgraph-sdk-go/.models.controlConfigurationable::|public|GetIsEnabled():*bool +github.com/microsoftgraph/msgraph-sdk-go/.models.controlConfigurationable::|public|GetModifiedBy():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.controlConfigurationable::|public|GetModifiedDateTime():*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time +github.com/microsoftgraph/msgraph-sdk-go/.models.controlConfigurationable::|public|SetCreatedBy(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.controlConfigurationable::|public|SetCreatedDateTime(value:*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time):void +github.com/microsoftgraph/msgraph-sdk-go/.models.controlConfigurationable::|public|SetIsEnabled(value:*bool):void +github.com/microsoftgraph/msgraph-sdk-go/.models.controlConfigurationable::|public|SetModifiedBy(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.controlConfigurationable::|public|SetModifiedDateTime(value:*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time):void +github.com/microsoftgraph/msgraph-sdk-go/.models.controlConfigurationable~~>Entityable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.controlConfigurationCollectionResponse-->*BaseCollectionPaginationCountResponse +github.com/microsoftgraph/msgraph-sdk-go/.models.controlConfigurationCollectionResponse::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.controlConfigurationCollectionResponse::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.controlConfigurationCollectionResponse::|public|GetValue():[]ControlConfigurationable +github.com/microsoftgraph/msgraph-sdk-go/.models.controlConfigurationCollectionResponse::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.controlConfigurationCollectionResponse::|public|SetValue(value:[]ControlConfigurationable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.controlConfigurationCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.controlConfigurationCollectionResponseable::|public|GetValue():[]ControlConfigurationable +github.com/microsoftgraph/msgraph-sdk-go/.models.controlConfigurationCollectionResponseable::|public|SetValue(value:[]ControlConfigurationable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.controlConfigurationCollectionResponseable~~>BaseCollectionPaginationCountResponseable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable github.com/microsoftgraph/msgraph-sdk-go/.models.controlScore::|public|constructor():void github.com/microsoftgraph/msgraph-sdk-go/.models.controlScore::|public|GetAdditionalData():map[string]any github.com/microsoftgraph/msgraph-sdk-go/.models.controlScore::|public|GetBackingStore():BackingStore @@ -139434,15 +141242,30 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.convertIdResultable~~>*i878a80d github.com/microsoftgraph/msgraph-sdk-go/.models.convertIdResult~~>ConvertIdResultable github.com/microsoftgraph/msgraph-sdk-go/.models.copilotAdmin-->*Entity github.com/microsoftgraph/msgraph-sdk-go/.models.copilotAdmin::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.copilotAdmin::|public|GetCatalog():CopilotAdminCatalogable github.com/microsoftgraph/msgraph-sdk-go/.models.copilotAdmin::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) github.com/microsoftgraph/msgraph-sdk-go/.models.copilotAdmin::|public|GetSettings():CopilotAdminSettingable github.com/microsoftgraph/msgraph-sdk-go/.models.copilotAdmin::|public|OdataType:*string github.com/microsoftgraph/msgraph-sdk-go/.models.copilotAdmin::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.copilotAdmin::|public|SetCatalog(value:CopilotAdminCatalogable):void github.com/microsoftgraph/msgraph-sdk-go/.models.copilotAdmin::|public|SetSettings(value:CopilotAdminSettingable):void github.com/microsoftgraph/msgraph-sdk-go/.models.copilotAdmin::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.copilotAdminable::|public|GetCatalog():CopilotAdminCatalogable github.com/microsoftgraph/msgraph-sdk-go/.models.copilotAdminable::|public|GetSettings():CopilotAdminSettingable +github.com/microsoftgraph/msgraph-sdk-go/.models.copilotAdminable::|public|SetCatalog(value:CopilotAdminCatalogable):void github.com/microsoftgraph/msgraph-sdk-go/.models.copilotAdminable::|public|SetSettings(value:CopilotAdminSettingable):void github.com/microsoftgraph/msgraph-sdk-go/.models.copilotAdminable~~>Entityable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.copilotAdminCatalog-->*Entity +github.com/microsoftgraph/msgraph-sdk-go/.models.copilotAdminCatalog::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.copilotAdminCatalog::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.copilotAdminCatalog::|public|GetPackages():[]CopilotPackageDetailable +github.com/microsoftgraph/msgraph-sdk-go/.models.copilotAdminCatalog::|public|OdataType:*string +github.com/microsoftgraph/msgraph-sdk-go/.models.copilotAdminCatalog::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.copilotAdminCatalog::|public|SetPackages(value:[]CopilotPackageDetailable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.copilotAdminCatalog::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.copilotAdminCatalogable::|public|GetPackages():[]CopilotPackageDetailable +github.com/microsoftgraph/msgraph-sdk-go/.models.copilotAdminCatalogable::|public|SetPackages(value:[]CopilotPackageDetailable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.copilotAdminCatalogable~~>Entityable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable github.com/microsoftgraph/msgraph-sdk-go/.models.copilotAdminLimitedMode-->*Entity github.com/microsoftgraph/msgraph-sdk-go/.models.copilotAdminLimitedMode::|public|constructor():void github.com/microsoftgraph/msgraph-sdk-go/.models.copilotAdminLimitedMode::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) @@ -139469,6 +141292,116 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.copilotAdminSetting::|static|pu github.com/microsoftgraph/msgraph-sdk-go/.models.copilotAdminSettingable::|public|GetLimitedMode():CopilotAdminLimitedModeable github.com/microsoftgraph/msgraph-sdk-go/.models.copilotAdminSettingable::|public|SetLimitedMode(value:CopilotAdminLimitedModeable):void github.com/microsoftgraph/msgraph-sdk-go/.models.copilotAdminSettingable~~>Entityable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.copilotPackage-->*Entity +github.com/microsoftgraph/msgraph-sdk-go/.models.copilotPackage::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.copilotPackage::|public|GetAppId():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.copilotPackage::|public|GetAssetId():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.copilotPackage::|public|GetAvailableTo():*PackageStatus +github.com/microsoftgraph/msgraph-sdk-go/.models.copilotPackage::|public|GetDeployedTo():*PackageStatus +github.com/microsoftgraph/msgraph-sdk-go/.models.copilotPackage::|public|GetDisplayName():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.copilotPackage::|public|GetElementTypes():[]string +github.com/microsoftgraph/msgraph-sdk-go/.models.copilotPackage::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.copilotPackage::|public|GetIsBlocked():*bool +github.com/microsoftgraph/msgraph-sdk-go/.models.copilotPackage::|public|GetLastModifiedDateTime():*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time +github.com/microsoftgraph/msgraph-sdk-go/.models.copilotPackage::|public|GetManifestId():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.copilotPackage::|public|GetManifestVersion():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.copilotPackage::|public|GetOwnerId():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.copilotPackage::|public|GetPlatform():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.copilotPackage::|public|GetPublisher():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.copilotPackage::|public|GetShortDescription():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.copilotPackage::|public|GetSupportedHosts():[]string +github.com/microsoftgraph/msgraph-sdk-go/.models.copilotPackage::|public|GetTypeEscaped():*PackageType +github.com/microsoftgraph/msgraph-sdk-go/.models.copilotPackage::|public|GetVersion():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.copilotPackage::|public|GetZipFile():[]byte +github.com/microsoftgraph/msgraph-sdk-go/.models.copilotPackage::|public|OdataType:*string +github.com/microsoftgraph/msgraph-sdk-go/.models.copilotPackage::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.copilotPackage::|public|SetAppId(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.copilotPackage::|public|SetAssetId(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.copilotPackage::|public|SetAvailableTo(value:*PackageStatus):void +github.com/microsoftgraph/msgraph-sdk-go/.models.copilotPackage::|public|SetDeployedTo(value:*PackageStatus):void +github.com/microsoftgraph/msgraph-sdk-go/.models.copilotPackage::|public|SetDisplayName(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.copilotPackage::|public|SetElementTypes(value:[]string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.copilotPackage::|public|SetIsBlocked(value:*bool):void +github.com/microsoftgraph/msgraph-sdk-go/.models.copilotPackage::|public|SetLastModifiedDateTime(value:*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time):void +github.com/microsoftgraph/msgraph-sdk-go/.models.copilotPackage::|public|SetManifestId(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.copilotPackage::|public|SetManifestVersion(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.copilotPackage::|public|SetOwnerId(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.copilotPackage::|public|SetPlatform(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.copilotPackage::|public|SetPublisher(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.copilotPackage::|public|SetShortDescription(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.copilotPackage::|public|SetSupportedHosts(value:[]string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.copilotPackage::|public|SetTypeEscaped(value:*PackageType):void +github.com/microsoftgraph/msgraph-sdk-go/.models.copilotPackage::|public|SetVersion(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.copilotPackage::|public|SetZipFile(value:[]byte):void +github.com/microsoftgraph/msgraph-sdk-go/.models.copilotPackage::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.copilotPackageable::|public|GetAppId():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.copilotPackageable::|public|GetAssetId():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.copilotPackageable::|public|GetAvailableTo():*PackageStatus +github.com/microsoftgraph/msgraph-sdk-go/.models.copilotPackageable::|public|GetDeployedTo():*PackageStatus +github.com/microsoftgraph/msgraph-sdk-go/.models.copilotPackageable::|public|GetDisplayName():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.copilotPackageable::|public|GetElementTypes():[]string +github.com/microsoftgraph/msgraph-sdk-go/.models.copilotPackageable::|public|GetIsBlocked():*bool +github.com/microsoftgraph/msgraph-sdk-go/.models.copilotPackageable::|public|GetLastModifiedDateTime():*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time +github.com/microsoftgraph/msgraph-sdk-go/.models.copilotPackageable::|public|GetManifestId():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.copilotPackageable::|public|GetManifestVersion():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.copilotPackageable::|public|GetOwnerId():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.copilotPackageable::|public|GetPlatform():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.copilotPackageable::|public|GetPublisher():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.copilotPackageable::|public|GetShortDescription():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.copilotPackageable::|public|GetSupportedHosts():[]string +github.com/microsoftgraph/msgraph-sdk-go/.models.copilotPackageable::|public|GetTypeEscaped():*PackageType +github.com/microsoftgraph/msgraph-sdk-go/.models.copilotPackageable::|public|GetVersion():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.copilotPackageable::|public|GetZipFile():[]byte +github.com/microsoftgraph/msgraph-sdk-go/.models.copilotPackageable::|public|SetAppId(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.copilotPackageable::|public|SetAssetId(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.copilotPackageable::|public|SetAvailableTo(value:*PackageStatus):void +github.com/microsoftgraph/msgraph-sdk-go/.models.copilotPackageable::|public|SetDeployedTo(value:*PackageStatus):void +github.com/microsoftgraph/msgraph-sdk-go/.models.copilotPackageable::|public|SetDisplayName(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.copilotPackageable::|public|SetElementTypes(value:[]string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.copilotPackageable::|public|SetIsBlocked(value:*bool):void +github.com/microsoftgraph/msgraph-sdk-go/.models.copilotPackageable::|public|SetLastModifiedDateTime(value:*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time):void +github.com/microsoftgraph/msgraph-sdk-go/.models.copilotPackageable::|public|SetManifestId(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.copilotPackageable::|public|SetManifestVersion(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.copilotPackageable::|public|SetOwnerId(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.copilotPackageable::|public|SetPlatform(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.copilotPackageable::|public|SetPublisher(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.copilotPackageable::|public|SetShortDescription(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.copilotPackageable::|public|SetSupportedHosts(value:[]string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.copilotPackageable::|public|SetTypeEscaped(value:*PackageType):void +github.com/microsoftgraph/msgraph-sdk-go/.models.copilotPackageable::|public|SetVersion(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.copilotPackageable::|public|SetZipFile(value:[]byte):void +github.com/microsoftgraph/msgraph-sdk-go/.models.copilotPackageable~~>Entityable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.copilotPackageDetail-->*CopilotPackage +github.com/microsoftgraph/msgraph-sdk-go/.models.copilotPackageDetail::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.copilotPackageDetail::|public|GetAcquireUsersAndGroups():[]PackageAccessEntityable +github.com/microsoftgraph/msgraph-sdk-go/.models.copilotPackageDetail::|public|GetAllowedUsersAndGroups():[]PackageAccessEntityable +github.com/microsoftgraph/msgraph-sdk-go/.models.copilotPackageDetail::|public|GetCategories():[]string +github.com/microsoftgraph/msgraph-sdk-go/.models.copilotPackageDetail::|public|GetElementDetails():[]PackageElementDetailable +github.com/microsoftgraph/msgraph-sdk-go/.models.copilotPackageDetail::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.copilotPackageDetail::|public|GetLongDescription():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.copilotPackageDetail::|public|GetSensitivity():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.copilotPackageDetail::|public|OdataType:*string +github.com/microsoftgraph/msgraph-sdk-go/.models.copilotPackageDetail::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.copilotPackageDetail::|public|SetAcquireUsersAndGroups(value:[]PackageAccessEntityable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.copilotPackageDetail::|public|SetAllowedUsersAndGroups(value:[]PackageAccessEntityable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.copilotPackageDetail::|public|SetCategories(value:[]string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.copilotPackageDetail::|public|SetElementDetails(value:[]PackageElementDetailable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.copilotPackageDetail::|public|SetLongDescription(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.copilotPackageDetail::|public|SetSensitivity(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.copilotPackageDetail::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.copilotPackageDetailable::|public|GetAcquireUsersAndGroups():[]PackageAccessEntityable +github.com/microsoftgraph/msgraph-sdk-go/.models.copilotPackageDetailable::|public|GetAllowedUsersAndGroups():[]PackageAccessEntityable +github.com/microsoftgraph/msgraph-sdk-go/.models.copilotPackageDetailable::|public|GetCategories():[]string +github.com/microsoftgraph/msgraph-sdk-go/.models.copilotPackageDetailable::|public|GetElementDetails():[]PackageElementDetailable +github.com/microsoftgraph/msgraph-sdk-go/.models.copilotPackageDetailable::|public|GetLongDescription():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.copilotPackageDetailable::|public|GetSensitivity():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.copilotPackageDetailable::|public|SetAcquireUsersAndGroups(value:[]PackageAccessEntityable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.copilotPackageDetailable::|public|SetAllowedUsersAndGroups(value:[]PackageAccessEntityable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.copilotPackageDetailable::|public|SetCategories(value:[]string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.copilotPackageDetailable::|public|SetElementDetails(value:[]PackageElementDetailable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.copilotPackageDetailable::|public|SetLongDescription(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.copilotPackageDetailable::|public|SetSensitivity(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.copilotPackageDetailable~~>CopilotPackageable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable github.com/microsoftgraph/msgraph-sdk-go/.models.copilotReportRoot-->*Entity github.com/microsoftgraph/msgraph-sdk-go/.models.copilotReportRoot::|public|constructor():void github.com/microsoftgraph/msgraph-sdk-go/.models.copilotReportRoot::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) @@ -139983,6 +141916,14 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.crossTenantUserSyncInboundable: github.com/microsoftgraph/msgraph-sdk-go/.models.crossTenantUserSyncInboundable::|public|SetOdataType(value:*string):void github.com/microsoftgraph/msgraph-sdk-go/.models.crossTenantUserSyncInboundable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder; *ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable github.com/microsoftgraph/msgraph-sdk-go/.models.crossTenantUserSyncInbound~~>CrossTenantUserSyncInboundable +github.com/microsoftgraph/msgraph-sdk-go/.models.csaStarLevel::0000-none +github.com/microsoftgraph/msgraph-sdk-go/.models.csaStarLevel::0001-attestation +github.com/microsoftgraph/msgraph-sdk-go/.models.csaStarLevel::0002-certification +github.com/microsoftgraph/msgraph-sdk-go/.models.csaStarLevel::0003-continuousMonitoring +github.com/microsoftgraph/msgraph-sdk-go/.models.csaStarLevel::0004-cStarAssessment +github.com/microsoftgraph/msgraph-sdk-go/.models.csaStarLevel::0005-selfAssessment +github.com/microsoftgraph/msgraph-sdk-go/.models.csaStarLevel::0006-notSupported +github.com/microsoftgraph/msgraph-sdk-go/.models.csaStarLevel::0007-unknownFutureValue github.com/microsoftgraph/msgraph-sdk-go/.models.currencyColumn::|public|constructor():void github.com/microsoftgraph/msgraph-sdk-go/.models.currencyColumn::|public|GetAdditionalData():map[string]any github.com/microsoftgraph/msgraph-sdk-go/.models.currencyColumn::|public|GetBackingStore():BackingStore @@ -140484,6 +142425,19 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.dataPolicyOperationStatus::0001 github.com/microsoftgraph/msgraph-sdk-go/.models.dataPolicyOperationStatus::0002-complete github.com/microsoftgraph/msgraph-sdk-go/.models.dataPolicyOperationStatus::0003-failed github.com/microsoftgraph/msgraph-sdk-go/.models.dataPolicyOperationStatus::0004-unknownFutureValue +github.com/microsoftgraph/msgraph-sdk-go/.models.dataProtection::0000-none +github.com/microsoftgraph/msgraph-sdk-go/.models.dataProtection::0001-impactAssessments +github.com/microsoftgraph/msgraph-sdk-go/.models.dataProtection::0002-officers +github.com/microsoftgraph/msgraph-sdk-go/.models.dataProtection::0003-secureCrossBorderDataTransfer +github.com/microsoftgraph/msgraph-sdk-go/.models.dataProtection::0004-unknownFutureValue +github.com/microsoftgraph/msgraph-sdk-go/.models.dataRetentionLevel::0000-none +github.com/microsoftgraph/msgraph-sdk-go/.models.dataRetentionLevel::0001-dataRetained +github.com/microsoftgraph/msgraph-sdk-go/.models.dataRetentionLevel::0002-deletedImmediately +github.com/microsoftgraph/msgraph-sdk-go/.models.dataRetentionLevel::0003-deletedWithin1Month +github.com/microsoftgraph/msgraph-sdk-go/.models.dataRetentionLevel::0004-deletedWithin2Weeks +github.com/microsoftgraph/msgraph-sdk-go/.models.dataRetentionLevel::0005-deletedWithin3Months +github.com/microsoftgraph/msgraph-sdk-go/.models.dataRetentionLevel::0006-deletedWithinMoreThan3Months +github.com/microsoftgraph/msgraph-sdk-go/.models.dataRetentionLevel::0007-unknownFutureValue github.com/microsoftgraph/msgraph-sdk-go/.models.dataSecurityAndGovernance-->*Entity github.com/microsoftgraph/msgraph-sdk-go/.models.dataSecurityAndGovernance::|public|constructor():void github.com/microsoftgraph/msgraph-sdk-go/.models.dataSecurityAndGovernance::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) @@ -147638,6 +149592,25 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.emailIdentity::|static|public|C github.com/microsoftgraph/msgraph-sdk-go/.models.emailIdentityable::|public|GetEmail():*string github.com/microsoftgraph/msgraph-sdk-go/.models.emailIdentityable::|public|SetEmail(value:*string):void github.com/microsoftgraph/msgraph-sdk-go/.models.emailIdentityable~~>Identityable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.emailNotificationsSetting-->*Entity +github.com/microsoftgraph/msgraph-sdk-go/.models.emailNotificationsSetting::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.emailNotificationsSetting::|public|GetAdditionalEvents():*NotificationEventsType +github.com/microsoftgraph/msgraph-sdk-go/.models.emailNotificationsSetting::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.emailNotificationsSetting::|public|GetIsEnabled():*bool +github.com/microsoftgraph/msgraph-sdk-go/.models.emailNotificationsSetting::|public|GetRecipients():NotificationRecipientsable +github.com/microsoftgraph/msgraph-sdk-go/.models.emailNotificationsSetting::|public|OdataType:*string +github.com/microsoftgraph/msgraph-sdk-go/.models.emailNotificationsSetting::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.emailNotificationsSetting::|public|SetAdditionalEvents(value:*NotificationEventsType):void +github.com/microsoftgraph/msgraph-sdk-go/.models.emailNotificationsSetting::|public|SetIsEnabled(value:*bool):void +github.com/microsoftgraph/msgraph-sdk-go/.models.emailNotificationsSetting::|public|SetRecipients(value:NotificationRecipientsable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.emailNotificationsSetting::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.emailNotificationsSettingable::|public|GetAdditionalEvents():*NotificationEventsType +github.com/microsoftgraph/msgraph-sdk-go/.models.emailNotificationsSettingable::|public|GetIsEnabled():*bool +github.com/microsoftgraph/msgraph-sdk-go/.models.emailNotificationsSettingable::|public|GetRecipients():NotificationRecipientsable +github.com/microsoftgraph/msgraph-sdk-go/.models.emailNotificationsSettingable::|public|SetAdditionalEvents(value:*NotificationEventsType):void +github.com/microsoftgraph/msgraph-sdk-go/.models.emailNotificationsSettingable::|public|SetIsEnabled(value:*bool):void +github.com/microsoftgraph/msgraph-sdk-go/.models.emailNotificationsSettingable::|public|SetRecipients(value:NotificationRecipientsable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.emailNotificationsSettingable~~>Entityable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable github.com/microsoftgraph/msgraph-sdk-go/.models.emailPayloadDetail-->*PayloadDetail github.com/microsoftgraph/msgraph-sdk-go/.models.emailPayloadDetail::|public|constructor():void github.com/microsoftgraph/msgraph-sdk-go/.models.emailPayloadDetail::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) @@ -148009,6 +149982,21 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.endUserNotificationType::0002-n github.com/microsoftgraph/msgraph-sdk-go/.models.endUserNotificationType::0003-trainingAssignment github.com/microsoftgraph/msgraph-sdk-go/.models.endUserNotificationType::0004-trainingReminder github.com/microsoftgraph/msgraph-sdk-go/.models.endUserNotificationType::0005-unknownFutureValue +github.com/microsoftgraph/msgraph-sdk-go/.models.endUserSettings-->*ControlConfiguration +github.com/microsoftgraph/msgraph-sdk-go/.models.endUserSettings::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.endUserSettings::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.endUserSettings::|public|GetRelatedPeopleInsightLevel():*AccessPackageSuggestionRelatedPeopleInsightLevel +github.com/microsoftgraph/msgraph-sdk-go/.models.endUserSettings::|public|GetShowApproverDetailsToMembers():*bool +github.com/microsoftgraph/msgraph-sdk-go/.models.endUserSettings::|public|OdataType:*string +github.com/microsoftgraph/msgraph-sdk-go/.models.endUserSettings::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.endUserSettings::|public|SetRelatedPeopleInsightLevel(value:*AccessPackageSuggestionRelatedPeopleInsightLevel):void +github.com/microsoftgraph/msgraph-sdk-go/.models.endUserSettings::|public|SetShowApproverDetailsToMembers(value:*bool):void +github.com/microsoftgraph/msgraph-sdk-go/.models.endUserSettings::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.endUserSettingsable::|public|GetRelatedPeopleInsightLevel():*AccessPackageSuggestionRelatedPeopleInsightLevel +github.com/microsoftgraph/msgraph-sdk-go/.models.endUserSettingsable::|public|GetShowApproverDetailsToMembers():*bool +github.com/microsoftgraph/msgraph-sdk-go/.models.endUserSettingsable::|public|SetRelatedPeopleInsightLevel(value:*AccessPackageSuggestionRelatedPeopleInsightLevel):void +github.com/microsoftgraph/msgraph-sdk-go/.models.endUserSettingsable::|public|SetShowApproverDetailsToMembers(value:*bool):void +github.com/microsoftgraph/msgraph-sdk-go/.models.endUserSettingsable~~>ControlConfigurationable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable github.com/microsoftgraph/msgraph-sdk-go/.models.engagementAsyncOperation-->*LongRunningOperation github.com/microsoftgraph/msgraph-sdk-go/.models.engagementAsyncOperation::|public|constructor():void github.com/microsoftgraph/msgraph-sdk-go/.models.engagementAsyncOperation::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) @@ -148385,56 +150373,72 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.entitlementManagement-->*Entity github.com/microsoftgraph/msgraph-sdk-go/.models.entitlementManagement::|public|constructor():void github.com/microsoftgraph/msgraph-sdk-go/.models.entitlementManagement::|public|GetAccessPackageAssignmentApprovals():[]Approvalable github.com/microsoftgraph/msgraph-sdk-go/.models.entitlementManagement::|public|GetAccessPackages():[]AccessPackageable +github.com/microsoftgraph/msgraph-sdk-go/.models.entitlementManagement::|public|GetAccessPackageSuggestions():[]AccessPackageSuggestionable github.com/microsoftgraph/msgraph-sdk-go/.models.entitlementManagement::|public|GetAssignmentPolicies():[]AccessPackageAssignmentPolicyable github.com/microsoftgraph/msgraph-sdk-go/.models.entitlementManagement::|public|GetAssignmentRequests():[]AccessPackageAssignmentRequestable github.com/microsoftgraph/msgraph-sdk-go/.models.entitlementManagement::|public|GetAssignments():[]AccessPackageAssignmentable +github.com/microsoftgraph/msgraph-sdk-go/.models.entitlementManagement::|public|GetAvailableAccessPackages():[]AvailableAccessPackageable github.com/microsoftgraph/msgraph-sdk-go/.models.entitlementManagement::|public|GetCatalogs():[]AccessPackageCatalogable github.com/microsoftgraph/msgraph-sdk-go/.models.entitlementManagement::|public|GetConnectedOrganizations():[]ConnectedOrganizationable +github.com/microsoftgraph/msgraph-sdk-go/.models.entitlementManagement::|public|GetControlConfigurations():[]ControlConfigurationable github.com/microsoftgraph/msgraph-sdk-go/.models.entitlementManagement::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) github.com/microsoftgraph/msgraph-sdk-go/.models.entitlementManagement::|public|GetResourceEnvironments():[]AccessPackageResourceEnvironmentable github.com/microsoftgraph/msgraph-sdk-go/.models.entitlementManagement::|public|GetResourceRequests():[]AccessPackageResourceRequestable github.com/microsoftgraph/msgraph-sdk-go/.models.entitlementManagement::|public|GetResourceRoleScopes():[]AccessPackageResourceRoleScopeable github.com/microsoftgraph/msgraph-sdk-go/.models.entitlementManagement::|public|GetResources():[]AccessPackageResourceable github.com/microsoftgraph/msgraph-sdk-go/.models.entitlementManagement::|public|GetSettings():EntitlementManagementSettingsable +github.com/microsoftgraph/msgraph-sdk-go/.models.entitlementManagement::|public|GetSubjects():[]AccessPackageSubjectable github.com/microsoftgraph/msgraph-sdk-go/.models.entitlementManagement::|public|OdataType:*string github.com/microsoftgraph/msgraph-sdk-go/.models.entitlementManagement::|public|Serialize(writer:SerializationWriter):void github.com/microsoftgraph/msgraph-sdk-go/.models.entitlementManagement::|public|SetAccessPackageAssignmentApprovals(value:[]Approvalable):void github.com/microsoftgraph/msgraph-sdk-go/.models.entitlementManagement::|public|SetAccessPackages(value:[]AccessPackageable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.entitlementManagement::|public|SetAccessPackageSuggestions(value:[]AccessPackageSuggestionable):void github.com/microsoftgraph/msgraph-sdk-go/.models.entitlementManagement::|public|SetAssignmentPolicies(value:[]AccessPackageAssignmentPolicyable):void github.com/microsoftgraph/msgraph-sdk-go/.models.entitlementManagement::|public|SetAssignmentRequests(value:[]AccessPackageAssignmentRequestable):void github.com/microsoftgraph/msgraph-sdk-go/.models.entitlementManagement::|public|SetAssignments(value:[]AccessPackageAssignmentable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.entitlementManagement::|public|SetAvailableAccessPackages(value:[]AvailableAccessPackageable):void github.com/microsoftgraph/msgraph-sdk-go/.models.entitlementManagement::|public|SetCatalogs(value:[]AccessPackageCatalogable):void github.com/microsoftgraph/msgraph-sdk-go/.models.entitlementManagement::|public|SetConnectedOrganizations(value:[]ConnectedOrganizationable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.entitlementManagement::|public|SetControlConfigurations(value:[]ControlConfigurationable):void github.com/microsoftgraph/msgraph-sdk-go/.models.entitlementManagement::|public|SetResourceEnvironments(value:[]AccessPackageResourceEnvironmentable):void github.com/microsoftgraph/msgraph-sdk-go/.models.entitlementManagement::|public|SetResourceRequests(value:[]AccessPackageResourceRequestable):void github.com/microsoftgraph/msgraph-sdk-go/.models.entitlementManagement::|public|SetResourceRoleScopes(value:[]AccessPackageResourceRoleScopeable):void github.com/microsoftgraph/msgraph-sdk-go/.models.entitlementManagement::|public|SetResources(value:[]AccessPackageResourceable):void github.com/microsoftgraph/msgraph-sdk-go/.models.entitlementManagement::|public|SetSettings(value:EntitlementManagementSettingsable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.entitlementManagement::|public|SetSubjects(value:[]AccessPackageSubjectable):void github.com/microsoftgraph/msgraph-sdk-go/.models.entitlementManagement::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable github.com/microsoftgraph/msgraph-sdk-go/.models.entitlementManagementable::|public|GetAccessPackageAssignmentApprovals():[]Approvalable github.com/microsoftgraph/msgraph-sdk-go/.models.entitlementManagementable::|public|GetAccessPackages():[]AccessPackageable +github.com/microsoftgraph/msgraph-sdk-go/.models.entitlementManagementable::|public|GetAccessPackageSuggestions():[]AccessPackageSuggestionable github.com/microsoftgraph/msgraph-sdk-go/.models.entitlementManagementable::|public|GetAssignmentPolicies():[]AccessPackageAssignmentPolicyable github.com/microsoftgraph/msgraph-sdk-go/.models.entitlementManagementable::|public|GetAssignmentRequests():[]AccessPackageAssignmentRequestable github.com/microsoftgraph/msgraph-sdk-go/.models.entitlementManagementable::|public|GetAssignments():[]AccessPackageAssignmentable +github.com/microsoftgraph/msgraph-sdk-go/.models.entitlementManagementable::|public|GetAvailableAccessPackages():[]AvailableAccessPackageable github.com/microsoftgraph/msgraph-sdk-go/.models.entitlementManagementable::|public|GetCatalogs():[]AccessPackageCatalogable github.com/microsoftgraph/msgraph-sdk-go/.models.entitlementManagementable::|public|GetConnectedOrganizations():[]ConnectedOrganizationable +github.com/microsoftgraph/msgraph-sdk-go/.models.entitlementManagementable::|public|GetControlConfigurations():[]ControlConfigurationable github.com/microsoftgraph/msgraph-sdk-go/.models.entitlementManagementable::|public|GetResourceEnvironments():[]AccessPackageResourceEnvironmentable github.com/microsoftgraph/msgraph-sdk-go/.models.entitlementManagementable::|public|GetResourceRequests():[]AccessPackageResourceRequestable github.com/microsoftgraph/msgraph-sdk-go/.models.entitlementManagementable::|public|GetResourceRoleScopes():[]AccessPackageResourceRoleScopeable github.com/microsoftgraph/msgraph-sdk-go/.models.entitlementManagementable::|public|GetResources():[]AccessPackageResourceable github.com/microsoftgraph/msgraph-sdk-go/.models.entitlementManagementable::|public|GetSettings():EntitlementManagementSettingsable +github.com/microsoftgraph/msgraph-sdk-go/.models.entitlementManagementable::|public|GetSubjects():[]AccessPackageSubjectable github.com/microsoftgraph/msgraph-sdk-go/.models.entitlementManagementable::|public|SetAccessPackageAssignmentApprovals(value:[]Approvalable):void github.com/microsoftgraph/msgraph-sdk-go/.models.entitlementManagementable::|public|SetAccessPackages(value:[]AccessPackageable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.entitlementManagementable::|public|SetAccessPackageSuggestions(value:[]AccessPackageSuggestionable):void github.com/microsoftgraph/msgraph-sdk-go/.models.entitlementManagementable::|public|SetAssignmentPolicies(value:[]AccessPackageAssignmentPolicyable):void github.com/microsoftgraph/msgraph-sdk-go/.models.entitlementManagementable::|public|SetAssignmentRequests(value:[]AccessPackageAssignmentRequestable):void github.com/microsoftgraph/msgraph-sdk-go/.models.entitlementManagementable::|public|SetAssignments(value:[]AccessPackageAssignmentable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.entitlementManagementable::|public|SetAvailableAccessPackages(value:[]AvailableAccessPackageable):void github.com/microsoftgraph/msgraph-sdk-go/.models.entitlementManagementable::|public|SetCatalogs(value:[]AccessPackageCatalogable):void github.com/microsoftgraph/msgraph-sdk-go/.models.entitlementManagementable::|public|SetConnectedOrganizations(value:[]ConnectedOrganizationable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.entitlementManagementable::|public|SetControlConfigurations(value:[]ControlConfigurationable):void github.com/microsoftgraph/msgraph-sdk-go/.models.entitlementManagementable::|public|SetResourceEnvironments(value:[]AccessPackageResourceEnvironmentable):void github.com/microsoftgraph/msgraph-sdk-go/.models.entitlementManagementable::|public|SetResourceRequests(value:[]AccessPackageResourceRequestable):void github.com/microsoftgraph/msgraph-sdk-go/.models.entitlementManagementable::|public|SetResourceRoleScopes(value:[]AccessPackageResourceRoleScopeable):void github.com/microsoftgraph/msgraph-sdk-go/.models.entitlementManagementable::|public|SetResources(value:[]AccessPackageResourceable):void github.com/microsoftgraph/msgraph-sdk-go/.models.entitlementManagementable::|public|SetSettings(value:EntitlementManagementSettingsable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.entitlementManagementable::|public|SetSubjects(value:[]AccessPackageSubjectable):void github.com/microsoftgraph/msgraph-sdk-go/.models.entitlementManagementable~~>Entityable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable github.com/microsoftgraph/msgraph-sdk-go/.models.entitlementManagementSchedule::|public|constructor():void github.com/microsoftgraph/msgraph-sdk-go/.models.entitlementManagementSchedule::|public|GetAdditionalData():map[string]any @@ -148527,6 +150531,17 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.enumeratedDeviceRegistrationMem github.com/microsoftgraph/msgraph-sdk-go/.models.enumeratedDeviceRegistrationMembershipable::|public|SetGroups(value:[]string):void github.com/microsoftgraph/msgraph-sdk-go/.models.enumeratedDeviceRegistrationMembershipable::|public|SetUsers(value:[]string):void github.com/microsoftgraph/msgraph-sdk-go/.models.enumeratedDeviceRegistrationMembershipable~~>DeviceRegistrationMembershipable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.enumeratedDomains-->*ValidatingDomains +github.com/microsoftgraph/msgraph-sdk-go/.models.enumeratedDomains::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.enumeratedDomains::|public|GetDomainNames():[]string +github.com/microsoftgraph/msgraph-sdk-go/.models.enumeratedDomains::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.enumeratedDomains::|public|OdataType:*string +github.com/microsoftgraph/msgraph-sdk-go/.models.enumeratedDomains::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.enumeratedDomains::|public|SetDomainNames(value:[]string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.enumeratedDomains::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.enumeratedDomainsable::|public|GetDomainNames():[]string +github.com/microsoftgraph/msgraph-sdk-go/.models.enumeratedDomainsable::|public|SetDomainNames(value:[]string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.enumeratedDomainsable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable; ValidatingDomainsable github.com/microsoftgraph/msgraph-sdk-go/.models.enumeratedScopes-->*InheritableScopes github.com/microsoftgraph/msgraph-sdk-go/.models.enumeratedScopes::|public|constructor():void github.com/microsoftgraph/msgraph-sdk-go/.models.enumeratedScopes::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) @@ -149785,6 +151800,7 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.externalconnectors.label::0050- github.com/microsoftgraph/msgraph-sdk-go/.models.externalconnectors.label::0051-personLanguages github.com/microsoftgraph/msgraph-sdk-go/.models.externalconnectors.label::0052-personPublications github.com/microsoftgraph/msgraph-sdk-go/.models.externalconnectors.label::0053-personPatents +github.com/microsoftgraph/msgraph-sdk-go/.models.externalconnectors.label::0054-personWorkPositions github.com/microsoftgraph/msgraph-sdk-go/.models.externalconnectors.properties::|public|constructor():void github.com/microsoftgraph/msgraph-sdk-go/.models.externalconnectors.properties::|public|GetAdditionalData():map[string]any github.com/microsoftgraph/msgraph-sdk-go/.models.externalconnectors.properties::|public|GetBackingStore():BackingStore @@ -150244,6 +152260,24 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.federatedIdpMfaBehavior::0000-a github.com/microsoftgraph/msgraph-sdk-go/.models.federatedIdpMfaBehavior::0001-enforceMfaByFederatedIdp github.com/microsoftgraph/msgraph-sdk-go/.models.federatedIdpMfaBehavior::0002-rejectMfaByFederatedIdp github.com/microsoftgraph/msgraph-sdk-go/.models.federatedIdpMfaBehavior::0003-unknownFutureValue +github.com/microsoftgraph/msgraph-sdk-go/.models.federatedTokenValidationPolicy-->*DirectoryObject +github.com/microsoftgraph/msgraph-sdk-go/.models.federatedTokenValidationPolicy::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.federatedTokenValidationPolicy::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.federatedTokenValidationPolicy::|public|GetValidatingDomains():ValidatingDomainsable +github.com/microsoftgraph/msgraph-sdk-go/.models.federatedTokenValidationPolicy::|public|OdataType:*string +github.com/microsoftgraph/msgraph-sdk-go/.models.federatedTokenValidationPolicy::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.federatedTokenValidationPolicy::|public|SetValidatingDomains(value:ValidatingDomainsable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.federatedTokenValidationPolicy::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.federatedTokenValidationPolicyable::|public|GetValidatingDomains():ValidatingDomainsable +github.com/microsoftgraph/msgraph-sdk-go/.models.federatedTokenValidationPolicyable::|public|SetValidatingDomains(value:ValidatingDomainsable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.federatedTokenValidationPolicyable~~>DirectoryObjectable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.fedRampLevel::0000-none +github.com/microsoftgraph/msgraph-sdk-go/.models.fedRampLevel::0001-high +github.com/microsoftgraph/msgraph-sdk-go/.models.fedRampLevel::0002-liSaas +github.com/microsoftgraph/msgraph-sdk-go/.models.fedRampLevel::0003-low +github.com/microsoftgraph/msgraph-sdk-go/.models.fedRampLevel::0004-moderate +github.com/microsoftgraph/msgraph-sdk-go/.models.fedRampLevel::0005-notSupported +github.com/microsoftgraph/msgraph-sdk-go/.models.fedRampLevel::0006-unknownFutureValue github.com/microsoftgraph/msgraph-sdk-go/.models.fido2AuthenticationMethod-->*AuthenticationMethod github.com/microsoftgraph/msgraph-sdk-go/.models.fido2AuthenticationMethod::|public|constructor():void github.com/microsoftgraph/msgraph-sdk-go/.models.fido2AuthenticationMethod::|public|GetAaGuid():*string @@ -151571,6 +153605,7 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.granularSiteRestoreArtifactColl github.com/microsoftgraph/msgraph-sdk-go/.models.group-->*DirectoryObject github.com/microsoftgraph/msgraph-sdk-go/.models.group::|public|constructor():void github.com/microsoftgraph/msgraph-sdk-go/.models.group::|public|GetAcceptedSenders():[]DirectoryObjectable +github.com/microsoftgraph/msgraph-sdk-go/.models.group::|public|GetAccessType():*GroupAccessType github.com/microsoftgraph/msgraph-sdk-go/.models.group::|public|GetAllowExternalSenders():*bool github.com/microsoftgraph/msgraph-sdk-go/.models.group::|public|GetAppRoleAssignments():[]AppRoleAssignmentable github.com/microsoftgraph/msgraph-sdk-go/.models.group::|public|GetAssignedLabels():[]AssignedLabelable @@ -151598,6 +153633,7 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.group::|public|GetHideFromOutlo github.com/microsoftgraph/msgraph-sdk-go/.models.group::|public|GetInfoCatalogs():[]string github.com/microsoftgraph/msgraph-sdk-go/.models.group::|public|GetIsArchived():*bool github.com/microsoftgraph/msgraph-sdk-go/.models.group::|public|GetIsAssignableToRole():*bool +github.com/microsoftgraph/msgraph-sdk-go/.models.group::|public|GetIsFavorite():*bool github.com/microsoftgraph/msgraph-sdk-go/.models.group::|public|GetIsManagementRestricted():*bool github.com/microsoftgraph/msgraph-sdk-go/.models.group::|public|GetIsSubscribedByMail():*bool github.com/microsoftgraph/msgraph-sdk-go/.models.group::|public|GetLicenseProcessingState():LicenseProcessingStateable @@ -151611,6 +153647,7 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.group::|public|GetMembershipRul github.com/microsoftgraph/msgraph-sdk-go/.models.group::|public|GetMembersWithLicenseErrors():[]DirectoryObjectable github.com/microsoftgraph/msgraph-sdk-go/.models.group::|public|GetOnenote():Onenoteable github.com/microsoftgraph/msgraph-sdk-go/.models.group::|public|GetOnPremisesDomainName():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.group::|public|GetOnPremisesExtensionAttributes():OnPremisesExtensionAttributesable github.com/microsoftgraph/msgraph-sdk-go/.models.group::|public|GetOnPremisesLastSyncDateTime():*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time github.com/microsoftgraph/msgraph-sdk-go/.models.group::|public|GetOnPremisesNetBiosName():*string github.com/microsoftgraph/msgraph-sdk-go/.models.group::|public|GetOnPremisesProvisioningErrors():[]OnPremisesProvisioningErrorable @@ -151641,12 +153678,15 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.group::|public|GetThreads():[]C github.com/microsoftgraph/msgraph-sdk-go/.models.group::|public|GetTransitiveMemberOf():[]DirectoryObjectable github.com/microsoftgraph/msgraph-sdk-go/.models.group::|public|GetTransitiveMembers():[]DirectoryObjectable github.com/microsoftgraph/msgraph-sdk-go/.models.group::|public|GetUniqueName():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.group::|public|GetUnseenConversationsCount():*int32 github.com/microsoftgraph/msgraph-sdk-go/.models.group::|public|GetUnseenCount():*int32 +github.com/microsoftgraph/msgraph-sdk-go/.models.group::|public|GetUnseenMessagesCount():*int32 github.com/microsoftgraph/msgraph-sdk-go/.models.group::|public|GetVisibility():*string github.com/microsoftgraph/msgraph-sdk-go/.models.group::|public|GetWelcomeMessageEnabled():*bool github.com/microsoftgraph/msgraph-sdk-go/.models.group::|public|OdataType:*string github.com/microsoftgraph/msgraph-sdk-go/.models.group::|public|Serialize(writer:SerializationWriter):void github.com/microsoftgraph/msgraph-sdk-go/.models.group::|public|SetAcceptedSenders(value:[]DirectoryObjectable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.group::|public|SetAccessType(value:*GroupAccessType):void github.com/microsoftgraph/msgraph-sdk-go/.models.group::|public|SetAllowExternalSenders(value:*bool):void github.com/microsoftgraph/msgraph-sdk-go/.models.group::|public|SetAppRoleAssignments(value:[]AppRoleAssignmentable):void github.com/microsoftgraph/msgraph-sdk-go/.models.group::|public|SetAssignedLabels(value:[]AssignedLabelable):void @@ -151673,6 +153713,7 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.group::|public|SetHideFromOutlo github.com/microsoftgraph/msgraph-sdk-go/.models.group::|public|SetInfoCatalogs(value:[]string):void github.com/microsoftgraph/msgraph-sdk-go/.models.group::|public|SetIsArchived(value:*bool):void github.com/microsoftgraph/msgraph-sdk-go/.models.group::|public|SetIsAssignableToRole(value:*bool):void +github.com/microsoftgraph/msgraph-sdk-go/.models.group::|public|SetIsFavorite(value:*bool):void github.com/microsoftgraph/msgraph-sdk-go/.models.group::|public|SetIsManagementRestricted(value:*bool):void github.com/microsoftgraph/msgraph-sdk-go/.models.group::|public|SetIsSubscribedByMail(value:*bool):void github.com/microsoftgraph/msgraph-sdk-go/.models.group::|public|SetLicenseProcessingState(value:LicenseProcessingStateable):void @@ -151686,6 +153727,7 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.group::|public|SetMembershipRul github.com/microsoftgraph/msgraph-sdk-go/.models.group::|public|SetMembersWithLicenseErrors(value:[]DirectoryObjectable):void github.com/microsoftgraph/msgraph-sdk-go/.models.group::|public|SetOnenote(value:Onenoteable):void github.com/microsoftgraph/msgraph-sdk-go/.models.group::|public|SetOnPremisesDomainName(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.group::|public|SetOnPremisesExtensionAttributes(value:OnPremisesExtensionAttributesable):void github.com/microsoftgraph/msgraph-sdk-go/.models.group::|public|SetOnPremisesLastSyncDateTime(value:*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time):void github.com/microsoftgraph/msgraph-sdk-go/.models.group::|public|SetOnPremisesNetBiosName(value:*string):void github.com/microsoftgraph/msgraph-sdk-go/.models.group::|public|SetOnPremisesProvisioningErrors(value:[]OnPremisesProvisioningErrorable):void @@ -151716,11 +153758,14 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.group::|public|SetThreads(value github.com/microsoftgraph/msgraph-sdk-go/.models.group::|public|SetTransitiveMemberOf(value:[]DirectoryObjectable):void github.com/microsoftgraph/msgraph-sdk-go/.models.group::|public|SetTransitiveMembers(value:[]DirectoryObjectable):void github.com/microsoftgraph/msgraph-sdk-go/.models.group::|public|SetUniqueName(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.group::|public|SetUnseenConversationsCount(value:*int32):void github.com/microsoftgraph/msgraph-sdk-go/.models.group::|public|SetUnseenCount(value:*int32):void +github.com/microsoftgraph/msgraph-sdk-go/.models.group::|public|SetUnseenMessagesCount(value:*int32):void github.com/microsoftgraph/msgraph-sdk-go/.models.group::|public|SetVisibility(value:*string):void github.com/microsoftgraph/msgraph-sdk-go/.models.group::|public|SetWelcomeMessageEnabled(value:*bool):void github.com/microsoftgraph/msgraph-sdk-go/.models.group::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable github.com/microsoftgraph/msgraph-sdk-go/.models.groupable::|public|GetAcceptedSenders():[]DirectoryObjectable +github.com/microsoftgraph/msgraph-sdk-go/.models.groupable::|public|GetAccessType():*GroupAccessType github.com/microsoftgraph/msgraph-sdk-go/.models.groupable::|public|GetAllowExternalSenders():*bool github.com/microsoftgraph/msgraph-sdk-go/.models.groupable::|public|GetAppRoleAssignments():[]AppRoleAssignmentable github.com/microsoftgraph/msgraph-sdk-go/.models.groupable::|public|GetAssignedLabels():[]AssignedLabelable @@ -151747,6 +153792,7 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.groupable::|public|GetHideFromO github.com/microsoftgraph/msgraph-sdk-go/.models.groupable::|public|GetInfoCatalogs():[]string github.com/microsoftgraph/msgraph-sdk-go/.models.groupable::|public|GetIsArchived():*bool github.com/microsoftgraph/msgraph-sdk-go/.models.groupable::|public|GetIsAssignableToRole():*bool +github.com/microsoftgraph/msgraph-sdk-go/.models.groupable::|public|GetIsFavorite():*bool github.com/microsoftgraph/msgraph-sdk-go/.models.groupable::|public|GetIsManagementRestricted():*bool github.com/microsoftgraph/msgraph-sdk-go/.models.groupable::|public|GetIsSubscribedByMail():*bool github.com/microsoftgraph/msgraph-sdk-go/.models.groupable::|public|GetLicenseProcessingState():LicenseProcessingStateable @@ -151760,6 +153806,7 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.groupable::|public|GetMembershi github.com/microsoftgraph/msgraph-sdk-go/.models.groupable::|public|GetMembersWithLicenseErrors():[]DirectoryObjectable github.com/microsoftgraph/msgraph-sdk-go/.models.groupable::|public|GetOnenote():Onenoteable github.com/microsoftgraph/msgraph-sdk-go/.models.groupable::|public|GetOnPremisesDomainName():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.groupable::|public|GetOnPremisesExtensionAttributes():OnPremisesExtensionAttributesable github.com/microsoftgraph/msgraph-sdk-go/.models.groupable::|public|GetOnPremisesLastSyncDateTime():*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time github.com/microsoftgraph/msgraph-sdk-go/.models.groupable::|public|GetOnPremisesNetBiosName():*string github.com/microsoftgraph/msgraph-sdk-go/.models.groupable::|public|GetOnPremisesProvisioningErrors():[]OnPremisesProvisioningErrorable @@ -151790,10 +153837,13 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.groupable::|public|GetThreads() github.com/microsoftgraph/msgraph-sdk-go/.models.groupable::|public|GetTransitiveMemberOf():[]DirectoryObjectable github.com/microsoftgraph/msgraph-sdk-go/.models.groupable::|public|GetTransitiveMembers():[]DirectoryObjectable github.com/microsoftgraph/msgraph-sdk-go/.models.groupable::|public|GetUniqueName():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.groupable::|public|GetUnseenConversationsCount():*int32 github.com/microsoftgraph/msgraph-sdk-go/.models.groupable::|public|GetUnseenCount():*int32 +github.com/microsoftgraph/msgraph-sdk-go/.models.groupable::|public|GetUnseenMessagesCount():*int32 github.com/microsoftgraph/msgraph-sdk-go/.models.groupable::|public|GetVisibility():*string github.com/microsoftgraph/msgraph-sdk-go/.models.groupable::|public|GetWelcomeMessageEnabled():*bool github.com/microsoftgraph/msgraph-sdk-go/.models.groupable::|public|SetAcceptedSenders(value:[]DirectoryObjectable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.groupable::|public|SetAccessType(value:*GroupAccessType):void github.com/microsoftgraph/msgraph-sdk-go/.models.groupable::|public|SetAllowExternalSenders(value:*bool):void github.com/microsoftgraph/msgraph-sdk-go/.models.groupable::|public|SetAppRoleAssignments(value:[]AppRoleAssignmentable):void github.com/microsoftgraph/msgraph-sdk-go/.models.groupable::|public|SetAssignedLabels(value:[]AssignedLabelable):void @@ -151820,6 +153870,7 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.groupable::|public|SetHideFromO github.com/microsoftgraph/msgraph-sdk-go/.models.groupable::|public|SetInfoCatalogs(value:[]string):void github.com/microsoftgraph/msgraph-sdk-go/.models.groupable::|public|SetIsArchived(value:*bool):void github.com/microsoftgraph/msgraph-sdk-go/.models.groupable::|public|SetIsAssignableToRole(value:*bool):void +github.com/microsoftgraph/msgraph-sdk-go/.models.groupable::|public|SetIsFavorite(value:*bool):void github.com/microsoftgraph/msgraph-sdk-go/.models.groupable::|public|SetIsManagementRestricted(value:*bool):void github.com/microsoftgraph/msgraph-sdk-go/.models.groupable::|public|SetIsSubscribedByMail(value:*bool):void github.com/microsoftgraph/msgraph-sdk-go/.models.groupable::|public|SetLicenseProcessingState(value:LicenseProcessingStateable):void @@ -151833,6 +153884,7 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.groupable::|public|SetMembershi github.com/microsoftgraph/msgraph-sdk-go/.models.groupable::|public|SetMembersWithLicenseErrors(value:[]DirectoryObjectable):void github.com/microsoftgraph/msgraph-sdk-go/.models.groupable::|public|SetOnenote(value:Onenoteable):void github.com/microsoftgraph/msgraph-sdk-go/.models.groupable::|public|SetOnPremisesDomainName(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.groupable::|public|SetOnPremisesExtensionAttributes(value:OnPremisesExtensionAttributesable):void github.com/microsoftgraph/msgraph-sdk-go/.models.groupable::|public|SetOnPremisesLastSyncDateTime(value:*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time):void github.com/microsoftgraph/msgraph-sdk-go/.models.groupable::|public|SetOnPremisesNetBiosName(value:*string):void github.com/microsoftgraph/msgraph-sdk-go/.models.groupable::|public|SetOnPremisesProvisioningErrors(value:[]OnPremisesProvisioningErrorable):void @@ -151863,10 +153915,17 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.groupable::|public|SetThreads(v github.com/microsoftgraph/msgraph-sdk-go/.models.groupable::|public|SetTransitiveMemberOf(value:[]DirectoryObjectable):void github.com/microsoftgraph/msgraph-sdk-go/.models.groupable::|public|SetTransitiveMembers(value:[]DirectoryObjectable):void github.com/microsoftgraph/msgraph-sdk-go/.models.groupable::|public|SetUniqueName(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.groupable::|public|SetUnseenConversationsCount(value:*int32):void github.com/microsoftgraph/msgraph-sdk-go/.models.groupable::|public|SetUnseenCount(value:*int32):void +github.com/microsoftgraph/msgraph-sdk-go/.models.groupable::|public|SetUnseenMessagesCount(value:*int32):void github.com/microsoftgraph/msgraph-sdk-go/.models.groupable::|public|SetVisibility(value:*string):void github.com/microsoftgraph/msgraph-sdk-go/.models.groupable::|public|SetWelcomeMessageEnabled(value:*bool):void github.com/microsoftgraph/msgraph-sdk-go/.models.groupable~~>DirectoryObjectable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.groupAccessType::0000-none +github.com/microsoftgraph/msgraph-sdk-go/.models.groupAccessType::0001-private +github.com/microsoftgraph/msgraph-sdk-go/.models.groupAccessType::0002-secret +github.com/microsoftgraph/msgraph-sdk-go/.models.groupAccessType::0003-public +github.com/microsoftgraph/msgraph-sdk-go/.models.groupAccessType::0004-unknownFutureValue github.com/microsoftgraph/msgraph-sdk-go/.models.groupAssignmentTarget-->*DeviceAndAppManagementAssignmentTarget github.com/microsoftgraph/msgraph-sdk-go/.models.groupAssignmentTarget::|public|constructor():void github.com/microsoftgraph/msgraph-sdk-go/.models.groupAssignmentTarget::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) @@ -152059,6 +154118,10 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.hashesable::|public|SetSha1Hash github.com/microsoftgraph/msgraph-sdk-go/.models.hashesable::|public|SetSha256Hash(value:*string):void github.com/microsoftgraph/msgraph-sdk-go/.models.hashesable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder; *ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable github.com/microsoftgraph/msgraph-sdk-go/.models.hashes~~>Hashesable +github.com/microsoftgraph/msgraph-sdk-go/.models.holdType::0000-none +github.com/microsoftgraph/msgraph-sdk-go/.models.holdType::0001-private +github.com/microsoftgraph/msgraph-sdk-go/.models.holdType::0002-public +github.com/microsoftgraph/msgraph-sdk-go/.models.holdType::0003-unknownFutureValue github.com/microsoftgraph/msgraph-sdk-go/.models.homeRealmDiscoveryPolicy-->*StsPolicy github.com/microsoftgraph/msgraph-sdk-go/.models.homeRealmDiscoveryPolicy::|public|constructor():void github.com/microsoftgraph/msgraph-sdk-go/.models.homeRealmDiscoveryPolicy::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) @@ -152502,6 +154565,17 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.attributeCha github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.attributeChangeTriggerable::|public|GetTriggerAttributes():[]TriggerAttributeable github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.attributeChangeTriggerable::|public|SetTriggerAttributes(value:[]TriggerAttributeable):void github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.attributeChangeTriggerable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable; WorkflowExecutionTriggerable +github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.countBasedQuarantineCondition-->*QuarantineCondition +github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.countBasedQuarantineCondition::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.countBasedQuarantineCondition::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.countBasedQuarantineCondition::|public|GetThreshold():*int64 +github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.countBasedQuarantineCondition::|public|OdataType:*string +github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.countBasedQuarantineCondition::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.countBasedQuarantineCondition::|public|SetThreshold(value:*int64):void +github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.countBasedQuarantineCondition::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.countBasedQuarantineConditionable::|public|GetThreshold():*int64 +github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.countBasedQuarantineConditionable::|public|SetThreshold(value:*int64):void +github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.countBasedQuarantineConditionable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable; QuarantineConditionable github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.customTaskExtension-->*iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CustomCalloutExtension github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.customTaskExtension::|public|constructor():void github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.customTaskExtension::|public|GetCallbackConfiguration():iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CustomExtensionCallbackConfigurationable @@ -152609,15 +154683,19 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.lifecycleMan github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.lifecycleManagementSettings::|public|constructor():void github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.lifecycleManagementSettings::|public|GetEmailSettings():iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EmailSettingsable github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.lifecycleManagementSettings::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.lifecycleManagementSettings::|public|GetQuarantineConfiguration():QuarantineConfigurationable github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.lifecycleManagementSettings::|public|GetWorkflowScheduleIntervalInHours():*int32 github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.lifecycleManagementSettings::|public|OdataType:*string github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.lifecycleManagementSettings::|public|Serialize(writer:SerializationWriter):void github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.lifecycleManagementSettings::|public|SetEmailSettings(value:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EmailSettingsable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.lifecycleManagementSettings::|public|SetQuarantineConfiguration(value:QuarantineConfigurationable):void github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.lifecycleManagementSettings::|public|SetWorkflowScheduleIntervalInHours(value:*int32):void github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.lifecycleManagementSettings::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.lifecycleManagementSettingsable::|public|GetEmailSettings():iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EmailSettingsable +github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.lifecycleManagementSettingsable::|public|GetQuarantineConfiguration():QuarantineConfigurationable github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.lifecycleManagementSettingsable::|public|GetWorkflowScheduleIntervalInHours():*int32 github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.lifecycleManagementSettingsable::|public|SetEmailSettings(value:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EmailSettingsable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.lifecycleManagementSettingsable::|public|SetQuarantineConfiguration(value:QuarantineConfigurationable):void github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.lifecycleManagementSettingsable::|public|SetWorkflowScheduleIntervalInHours(value:*int32):void github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.lifecycleManagementSettingsable~~>iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Entityable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.lifecycleTaskCategory::0000-joiner @@ -152635,6 +154713,7 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.lifecycleWor github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.lifecycleWorkflowProcessingStatus::0004-canceled github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.lifecycleWorkflowProcessingStatus::0005-failed github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.lifecycleWorkflowProcessingStatus::0006-unknownFutureValue +github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.lifecycleWorkflowProcessingStatus::0007-quarantined github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.lifecycleWorkflowsContainer-->*iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Entity github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.lifecycleWorkflowsContainer::|public|constructor():void github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.lifecycleWorkflowsContainer::|public|GetCustomTaskExtensions():[]CustomTaskExtensionable @@ -152670,6 +154749,9 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.lifecycleWor github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.lifecycleWorkflowsContainerable::|public|SetWorkflows(value:[]Workflowable):void github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.lifecycleWorkflowsContainerable::|public|SetWorkflowTemplates(value:[]WorkflowTemplateable):void github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.lifecycleWorkflowsContainerable~~>iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Entityable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.matchMode::0000-any +github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.matchMode::0001-all +github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.matchMode::0002-unknownFutureValue github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.membershipChangeTrigger-->*WorkflowExecutionTrigger github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.membershipChangeTrigger::|public|constructor():void github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.membershipChangeTrigger::|public|GetChangeType():*MembershipChangeType @@ -152719,6 +154801,122 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.parameterabl github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.parameterable::|public|SetValueType(value:*ValueType):void github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.parameterable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder; *ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.parameter~~>Parameterable +github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.percentageBasedQuarantineCondition-->*QuarantineCondition +github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.percentageBasedQuarantineCondition::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.percentageBasedQuarantineCondition::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.percentageBasedQuarantineCondition::|public|GetPercentage():*int32 +github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.percentageBasedQuarantineCondition::|public|OdataType:*string +github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.percentageBasedQuarantineCondition::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.percentageBasedQuarantineCondition::|public|SetPercentage(value:*int32):void +github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.percentageBasedQuarantineCondition::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.percentageBasedQuarantineConditionable::|public|GetPercentage():*int32 +github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.percentageBasedQuarantineConditionable::|public|SetPercentage(value:*int32):void +github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.percentageBasedQuarantineConditionable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable; QuarantineConditionable +github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.previewFailedTask::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.previewFailedTask::|public|GetAdditionalData():map[string]any +github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.previewFailedTask::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.previewFailedTask::|public|GetDefinitionId():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.previewFailedTask::|public|GetFailureReason():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.previewFailedTask::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.previewFailedTask::|public|GetName():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.previewFailedTask::|public|GetOdataType():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.previewFailedTask::|public|GetTaskId():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.previewFailedTask::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.previewFailedTask::|public|SetAdditionalData(value:map[string]any):void +github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.previewFailedTask::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.previewFailedTask::|public|SetDefinitionId(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.previewFailedTask::|public|SetFailureReason(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.previewFailedTask::|public|SetName(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.previewFailedTask::|public|SetOdataType(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.previewFailedTask::|public|SetTaskId(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.previewFailedTask::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.previewFailedTaskable::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.previewFailedTaskable::|public|GetDefinitionId():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.previewFailedTaskable::|public|GetFailureReason():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.previewFailedTaskable::|public|GetName():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.previewFailedTaskable::|public|GetOdataType():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.previewFailedTaskable::|public|GetTaskId():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.previewFailedTaskable::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.previewFailedTaskable::|public|SetDefinitionId(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.previewFailedTaskable::|public|SetFailureReason(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.previewFailedTaskable::|public|SetName(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.previewFailedTaskable::|public|SetOdataType(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.previewFailedTaskable::|public|SetTaskId(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.previewFailedTaskable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder; *ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.previewFailedTask~~>PreviewFailedTaskable +github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.quarantineCondition::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.quarantineCondition::|public|GetAdditionalData():map[string]any +github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.quarantineCondition::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.quarantineCondition::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.quarantineCondition::|public|GetOdataType():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.quarantineCondition::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.quarantineCondition::|public|SetAdditionalData(value:map[string]any):void +github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.quarantineCondition::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.quarantineCondition::|public|SetOdataType(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.quarantineCondition::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.quarantineConditionable::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.quarantineConditionable::|public|GetOdataType():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.quarantineConditionable::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.quarantineConditionable::|public|SetOdataType(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.quarantineConditionable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder; *ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.quarantineCondition~~>QuarantineConditionable +github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.quarantineConfiguration::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.quarantineConfiguration::|public|GetAdditionalData():map[string]any +github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.quarantineConfiguration::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.quarantineConfiguration::|public|GetConditions():[]QuarantineConditionable +github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.quarantineConfiguration::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.quarantineConfiguration::|public|GetMatchMode():*MatchMode +github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.quarantineConfiguration::|public|GetOdataType():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.quarantineConfiguration::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.quarantineConfiguration::|public|SetAdditionalData(value:map[string]any):void +github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.quarantineConfiguration::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.quarantineConfiguration::|public|SetConditions(value:[]QuarantineConditionable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.quarantineConfiguration::|public|SetMatchMode(value:*MatchMode):void +github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.quarantineConfiguration::|public|SetOdataType(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.quarantineConfiguration::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.quarantineConfigurationable::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.quarantineConfigurationable::|public|GetConditions():[]QuarantineConditionable +github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.quarantineConfigurationable::|public|GetMatchMode():*MatchMode +github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.quarantineConfigurationable::|public|GetOdataType():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.quarantineConfigurationable::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.quarantineConfigurationable::|public|SetConditions(value:[]QuarantineConditionable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.quarantineConfigurationable::|public|SetMatchMode(value:*MatchMode):void +github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.quarantineConfigurationable::|public|SetOdataType(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.quarantineConfigurationable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder; *ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.quarantineConfiguration~~>QuarantineConfigurationable +github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.quarantineDetails::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.quarantineDetails::|public|GetAdditionalData():map[string]any +github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.quarantineDetails::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.quarantineDetails::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.quarantineDetails::|public|GetOdataType():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.quarantineDetails::|public|GetQuarantinedDateTime():*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time +github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.quarantineDetails::|public|GetQuarantineReason():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.quarantineDetails::|public|GetQuarantineType():*QuarantineType +github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.quarantineDetails::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.quarantineDetails::|public|SetAdditionalData(value:map[string]any):void +github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.quarantineDetails::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.quarantineDetails::|public|SetOdataType(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.quarantineDetails::|public|SetQuarantinedDateTime(value:*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time):void +github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.quarantineDetails::|public|SetQuarantineReason(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.quarantineDetails::|public|SetQuarantineType(value:*QuarantineType):void +github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.quarantineDetails::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.quarantineDetailsable::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.quarantineDetailsable::|public|GetOdataType():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.quarantineDetailsable::|public|GetQuarantinedDateTime():*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time +github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.quarantineDetailsable::|public|GetQuarantineReason():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.quarantineDetailsable::|public|GetQuarantineType():*QuarantineType +github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.quarantineDetailsable::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.quarantineDetailsable::|public|SetOdataType(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.quarantineDetailsable::|public|SetQuarantinedDateTime(value:*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time):void +github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.quarantineDetailsable::|public|SetQuarantineReason(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.quarantineDetailsable::|public|SetQuarantineType(value:*QuarantineType):void +github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.quarantineDetailsable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder; *ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.quarantineDetails~~>QuarantineDetailsable +github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.quarantineType::0000-notQuarantined +github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.quarantineType::0001-countBasedThresholdExceeded +github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.quarantineType::0002-percentageBasedThresholdExceeded +github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.quarantineType::0003-multipleConditionsExceeded +github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.quarantineType::0004-unknownFutureValue github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.ruleBasedSubjectSet-->*iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SubjectSet github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.ruleBasedSubjectSet::|public|constructor():void github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.ruleBasedSubjectSet::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) @@ -153369,7 +155567,10 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.workflow::|p github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.workflow::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.workflow::|public|GetId():*string github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.workflow::|public|GetNextScheduleRunDateTime():*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time +github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.workflow::|public|GetPreviewScope():[]iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DirectoryObjectable +github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.workflow::|public|GetQuarantineDetails():QuarantineDetailsable github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.workflow::|public|GetRuns():[]Runable +github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.workflow::|public|GetSettings():WorkflowSettingable github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.workflow::|public|GetTaskReports():[]TaskReportable github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.workflow::|public|GetUserProcessingResults():[]UserProcessingResultable github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.workflow::|public|GetVersion():*int32 @@ -153380,7 +155581,10 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.workflow::|p github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.workflow::|public|SetExecutionScope(value:[]UserProcessingResultable):void github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.workflow::|public|SetId(value:*string):void github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.workflow::|public|SetNextScheduleRunDateTime(value:*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time):void +github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.workflow::|public|SetPreviewScope(value:[]iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DirectoryObjectable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.workflow::|public|SetQuarantineDetails(value:QuarantineDetailsable):void github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.workflow::|public|SetRuns(value:[]Runable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.workflow::|public|SetSettings(value:WorkflowSettingable):void github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.workflow::|public|SetTaskReports(value:[]TaskReportable):void github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.workflow::|public|SetUserProcessingResults(value:[]UserProcessingResultable):void github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.workflow::|public|SetVersion(value:*int32):void @@ -153390,7 +155594,10 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.workflowable github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.workflowable::|public|GetExecutionScope():[]UserProcessingResultable github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.workflowable::|public|GetId():*string github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.workflowable::|public|GetNextScheduleRunDateTime():*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time +github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.workflowable::|public|GetPreviewScope():[]iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DirectoryObjectable +github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.workflowable::|public|GetQuarantineDetails():QuarantineDetailsable github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.workflowable::|public|GetRuns():[]Runable +github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.workflowable::|public|GetSettings():WorkflowSettingable github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.workflowable::|public|GetTaskReports():[]TaskReportable github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.workflowable::|public|GetUserProcessingResults():[]UserProcessingResultable github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.workflowable::|public|GetVersion():*int32 @@ -153399,7 +155606,10 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.workflowable github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.workflowable::|public|SetExecutionScope(value:[]UserProcessingResultable):void github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.workflowable::|public|SetId(value:*string):void github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.workflowable::|public|SetNextScheduleRunDateTime(value:*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time):void +github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.workflowable::|public|SetPreviewScope(value:[]iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DirectoryObjectable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.workflowable::|public|SetQuarantineDetails(value:QuarantineDetailsable):void github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.workflowable::|public|SetRuns(value:[]Runable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.workflowable::|public|SetSettings(value:WorkflowSettingable):void github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.workflowable::|public|SetTaskReports(value:[]TaskReportable):void github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.workflowable::|public|SetUserProcessingResults(value:[]UserProcessingResultable):void github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.workflowable::|public|SetVersion(value:*int32):void @@ -153515,6 +155725,27 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.workflowExec github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.workflowExecutionType::0001-onDemand github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.workflowExecutionType::0002-unknownFutureValue github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.workflowExecutionType::0003-activatedWithScope +github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.workflowExecutionType::0004-preview +github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.workflowSetting::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.workflowSetting::|public|GetAdditionalData():map[string]any +github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.workflowSetting::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.workflowSetting::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.workflowSetting::|public|GetOdataType():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.workflowSetting::|public|GetQuarantineConfiguration():QuarantineConfigurationable +github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.workflowSetting::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.workflowSetting::|public|SetAdditionalData(value:map[string]any):void +github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.workflowSetting::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.workflowSetting::|public|SetOdataType(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.workflowSetting::|public|SetQuarantineConfiguration(value:QuarantineConfigurationable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.workflowSetting::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.workflowSettingable::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.workflowSettingable::|public|GetOdataType():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.workflowSettingable::|public|GetQuarantineConfiguration():QuarantineConfigurationable +github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.workflowSettingable::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.workflowSettingable::|public|SetOdataType(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.workflowSettingable::|public|SetQuarantineConfiguration(value:QuarantineConfigurationable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.workflowSettingable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder; *ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.workflowSetting~~>WorkflowSettingable github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.workflowsInsightsByCategory::|public|constructor():void github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.workflowsInsightsByCategory::|public|GetAdditionalData():map[string]any github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.workflowsInsightsByCategory::|public|GetBackingStore():BackingStore @@ -153663,12 +155894,16 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.workflowTrig github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.workflowVersion-->*WorkflowBase github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.workflowVersion::|public|constructor():void github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.workflowVersion::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.workflowVersion::|public|GetSettings():WorkflowSettingable github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.workflowVersion::|public|GetVersionNumber():*int32 github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.workflowVersion::|public|OdataType:*string github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.workflowVersion::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.workflowVersion::|public|SetSettings(value:WorkflowSettingable):void github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.workflowVersion::|public|SetVersionNumber(value:*int32):void github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.workflowVersion::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.workflowVersionable::|public|GetSettings():WorkflowSettingable github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.workflowVersionable::|public|GetVersionNumber():*int32 +github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.workflowVersionable::|public|SetSettings(value:WorkflowSettingable):void github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.workflowVersionable::|public|SetVersionNumber(value:*int32):void github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.workflowVersionable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable; WorkflowBaseable github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.workflowVersionCollectionResponse-->*iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.BaseCollectionPaginationCountResponse @@ -162899,6 +165134,9 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.notificationDeliveryPreference: github.com/microsoftgraph/msgraph-sdk-go/.models.notificationDeliveryPreference::0001-deliverImmedietly github.com/microsoftgraph/msgraph-sdk-go/.models.notificationDeliveryPreference::0002-deliverAfterCampaignEnd github.com/microsoftgraph/msgraph-sdk-go/.models.notificationDeliveryPreference::0003-unknownFutureValue +github.com/microsoftgraph/msgraph-sdk-go/.models.notificationEventsType::0000-none +github.com/microsoftgraph/msgraph-sdk-go/.models.notificationEventsType::0001-restoreAndPolicyUpdates +github.com/microsoftgraph/msgraph-sdk-go/.models.notificationEventsType::0002-unknownFutureValue github.com/microsoftgraph/msgraph-sdk-go/.models.notificationMessageTemplate-->*Entity github.com/microsoftgraph/msgraph-sdk-go/.models.notificationMessageTemplate::|public|constructor():void github.com/microsoftgraph/msgraph-sdk-go/.models.notificationMessageTemplate::|public|GetBrandingOptions():*NotificationTemplateBrandingOptions @@ -162940,6 +165178,36 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.notificationMessageTemplateColl github.com/microsoftgraph/msgraph-sdk-go/.models.notificationMessageTemplateCollectionResponseable::|public|GetValue():[]NotificationMessageTemplateable github.com/microsoftgraph/msgraph-sdk-go/.models.notificationMessageTemplateCollectionResponseable::|public|SetValue(value:[]NotificationMessageTemplateable):void github.com/microsoftgraph/msgraph-sdk-go/.models.notificationMessageTemplateCollectionResponseable~~>BaseCollectionPaginationCountResponseable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.notificationRecipients::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.notificationRecipients::|public|GetAdditionalData():map[string]any +github.com/microsoftgraph/msgraph-sdk-go/.models.notificationRecipients::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.models.notificationRecipients::|public|GetCustomRecipients():[]EmailIdentityable +github.com/microsoftgraph/msgraph-sdk-go/.models.notificationRecipients::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.notificationRecipients::|public|GetOdataType():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.notificationRecipients::|public|GetRole():*NotificationRecipientsType +github.com/microsoftgraph/msgraph-sdk-go/.models.notificationRecipients::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.notificationRecipients::|public|SetAdditionalData(value:map[string]any):void +github.com/microsoftgraph/msgraph-sdk-go/.models.notificationRecipients::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.models.notificationRecipients::|public|SetCustomRecipients(value:[]EmailIdentityable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.notificationRecipients::|public|SetOdataType(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.notificationRecipients::|public|SetRole(value:*NotificationRecipientsType):void +github.com/microsoftgraph/msgraph-sdk-go/.models.notificationRecipients::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.notificationRecipientsable::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.models.notificationRecipientsable::|public|GetCustomRecipients():[]EmailIdentityable +github.com/microsoftgraph/msgraph-sdk-go/.models.notificationRecipientsable::|public|GetOdataType():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.notificationRecipientsable::|public|GetRole():*NotificationRecipientsType +github.com/microsoftgraph/msgraph-sdk-go/.models.notificationRecipientsable::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.models.notificationRecipientsable::|public|SetCustomRecipients(value:[]EmailIdentityable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.notificationRecipientsable::|public|SetOdataType(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.notificationRecipientsable::|public|SetRole(value:*NotificationRecipientsType):void +github.com/microsoftgraph/msgraph-sdk-go/.models.notificationRecipientsable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder; *ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.notificationRecipientsType::0000-none +github.com/microsoftgraph/msgraph-sdk-go/.models.notificationRecipientsType::0001-globalAdmins +github.com/microsoftgraph/msgraph-sdk-go/.models.notificationRecipientsType::0002-backupAdmins +github.com/microsoftgraph/msgraph-sdk-go/.models.notificationRecipientsType::0003-custom +github.com/microsoftgraph/msgraph-sdk-go/.models.notificationRecipientsType::0004-allAdmins +github.com/microsoftgraph/msgraph-sdk-go/.models.notificationRecipientsType::0005-unknownFutureValue +github.com/microsoftgraph/msgraph-sdk-go/.models.notificationRecipients~~>NotificationRecipientsable github.com/microsoftgraph/msgraph-sdk-go/.models.notificationTemplateBrandingOptions::0000-none github.com/microsoftgraph/msgraph-sdk-go/.models.notificationTemplateBrandingOptions::0001-includeCompanyLogo github.com/microsoftgraph/msgraph-sdk-go/.models.notificationTemplateBrandingOptions::0002-includeCompanyName @@ -166144,6 +168412,78 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.ownerlessGroupPolicyable::|publ github.com/microsoftgraph/msgraph-sdk-go/.models.ownerlessGroupPolicyable::|public|SetPolicyWebUrl(value:*string):void github.com/microsoftgraph/msgraph-sdk-go/.models.ownerlessGroupPolicyable::|public|SetTargetOwners(value:TargetOwnersable):void github.com/microsoftgraph/msgraph-sdk-go/.models.ownerlessGroupPolicyable~~>Entityable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.packageAccessEntity::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.packageAccessEntity::|public|GetAdditionalData():map[string]any +github.com/microsoftgraph/msgraph-sdk-go/.models.packageAccessEntity::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.models.packageAccessEntity::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.packageAccessEntity::|public|GetOdataType():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.packageAccessEntity::|public|GetResourceId():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.packageAccessEntity::|public|GetResourceType():*AccessEntityType +github.com/microsoftgraph/msgraph-sdk-go/.models.packageAccessEntity::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.packageAccessEntity::|public|SetAdditionalData(value:map[string]any):void +github.com/microsoftgraph/msgraph-sdk-go/.models.packageAccessEntity::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.models.packageAccessEntity::|public|SetOdataType(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.packageAccessEntity::|public|SetResourceId(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.packageAccessEntity::|public|SetResourceType(value:*AccessEntityType):void +github.com/microsoftgraph/msgraph-sdk-go/.models.packageAccessEntity::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.packageAccessEntityable::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.models.packageAccessEntityable::|public|GetOdataType():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.packageAccessEntityable::|public|GetResourceId():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.packageAccessEntityable::|public|GetResourceType():*AccessEntityType +github.com/microsoftgraph/msgraph-sdk-go/.models.packageAccessEntityable::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.models.packageAccessEntityable::|public|SetOdataType(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.packageAccessEntityable::|public|SetResourceId(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.packageAccessEntityable::|public|SetResourceType(value:*AccessEntityType):void +github.com/microsoftgraph/msgraph-sdk-go/.models.packageAccessEntityable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder; *ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.packageAccessEntity~~>PackageAccessEntityable +github.com/microsoftgraph/msgraph-sdk-go/.models.packageElement::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.packageElement::|public|GetAdditionalData():map[string]any +github.com/microsoftgraph/msgraph-sdk-go/.models.packageElement::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.models.packageElement::|public|GetDefinition():UntypedNodeable +github.com/microsoftgraph/msgraph-sdk-go/.models.packageElement::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.packageElement::|public|GetId():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.packageElement::|public|GetOdataType():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.packageElement::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.packageElement::|public|SetAdditionalData(value:map[string]any):void +github.com/microsoftgraph/msgraph-sdk-go/.models.packageElement::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.models.packageElement::|public|SetDefinition(value:UntypedNodeable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.packageElement::|public|SetId(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.packageElement::|public|SetOdataType(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.packageElement::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.packageElementable::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.models.packageElementable::|public|GetDefinition():UntypedNodeable +github.com/microsoftgraph/msgraph-sdk-go/.models.packageElementable::|public|GetId():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.packageElementable::|public|GetOdataType():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.packageElementable::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.models.packageElementable::|public|SetDefinition(value:UntypedNodeable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.packageElementable::|public|SetId(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.packageElementable::|public|SetOdataType(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.packageElementable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder; *ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.packageElementDetail::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.packageElementDetail::|public|GetAdditionalData():map[string]any +github.com/microsoftgraph/msgraph-sdk-go/.models.packageElementDetail::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.models.packageElementDetail::|public|GetElements():[]PackageElementable +github.com/microsoftgraph/msgraph-sdk-go/.models.packageElementDetail::|public|GetElementType():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.packageElementDetail::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.packageElementDetail::|public|GetOdataType():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.packageElementDetail::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.packageElementDetail::|public|SetAdditionalData(value:map[string]any):void +github.com/microsoftgraph/msgraph-sdk-go/.models.packageElementDetail::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.models.packageElementDetail::|public|SetElements(value:[]PackageElementable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.packageElementDetail::|public|SetElementType(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.packageElementDetail::|public|SetOdataType(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.packageElementDetail::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.packageElementDetailable::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.models.packageElementDetailable::|public|GetElements():[]PackageElementable +github.com/microsoftgraph/msgraph-sdk-go/.models.packageElementDetailable::|public|GetElementType():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.packageElementDetailable::|public|GetOdataType():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.packageElementDetailable::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.models.packageElementDetailable::|public|SetElements(value:[]PackageElementable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.packageElementDetailable::|public|SetElementType(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.packageElementDetailable::|public|SetOdataType(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.packageElementDetailable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder; *ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.packageElementDetail~~>PackageElementDetailable +github.com/microsoftgraph/msgraph-sdk-go/.models.packageElement~~>PackageElementable github.com/microsoftgraph/msgraph-sdk-go/.models.packageEscaped::|public|constructor():void github.com/microsoftgraph/msgraph-sdk-go/.models.packageEscaped::|public|GetAdditionalData():map[string]any github.com/microsoftgraph/msgraph-sdk-go/.models.packageEscaped::|public|GetBackingStore():BackingStore @@ -166164,6 +168504,15 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.packageEscapedable::|public|Set github.com/microsoftgraph/msgraph-sdk-go/.models.packageEscapedable::|public|SetTypeEscaped(value:*string):void github.com/microsoftgraph/msgraph-sdk-go/.models.packageEscapedable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder; *ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable github.com/microsoftgraph/msgraph-sdk-go/.models.packageEscaped~~>PackageEscapedable +github.com/microsoftgraph/msgraph-sdk-go/.models.packageStatus::0000-none +github.com/microsoftgraph/msgraph-sdk-go/.models.packageStatus::0001-some +github.com/microsoftgraph/msgraph-sdk-go/.models.packageStatus::0002-all +github.com/microsoftgraph/msgraph-sdk-go/.models.packageStatus::0003-unknownFutureValue +github.com/microsoftgraph/msgraph-sdk-go/.models.packageType::0000-microsoft +github.com/microsoftgraph/msgraph-sdk-go/.models.packageType::0001-external +github.com/microsoftgraph/msgraph-sdk-go/.models.packageType::0002-shared +github.com/microsoftgraph/msgraph-sdk-go/.models.packageType::0003-custom +github.com/microsoftgraph/msgraph-sdk-go/.models.packageType::0004-unknownFutureValue github.com/microsoftgraph/msgraph-sdk-go/.models.pageLayoutType::0000-microsoftReserved github.com/microsoftgraph/msgraph-sdk-go/.models.pageLayoutType::0001-article github.com/microsoftgraph/msgraph-sdk-go/.models.pageLayoutType::0002-home @@ -166756,6 +169105,13 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.passwordCredentialConfiguration github.com/microsoftgraph/msgraph-sdk-go/.models.passwordCredentialConfigurationable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder; *ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable github.com/microsoftgraph/msgraph-sdk-go/.models.passwordCredentialConfiguration~~>PasswordCredentialConfigurationable github.com/microsoftgraph/msgraph-sdk-go/.models.passwordCredential~~>PasswordCredentialable +github.com/microsoftgraph/msgraph-sdk-go/.models.passwordPolicy::0000-none +github.com/microsoftgraph/msgraph-sdk-go/.models.passwordPolicy::0001-changePasswordPeriod +github.com/microsoftgraph/msgraph-sdk-go/.models.passwordPolicy::0002-charactersCombination +github.com/microsoftgraph/msgraph-sdk-go/.models.passwordPolicy::0003-passwordHistoryAndReuse +github.com/microsoftgraph/msgraph-sdk-go/.models.passwordPolicy::0004-passwordLengthLimit +github.com/microsoftgraph/msgraph-sdk-go/.models.passwordPolicy::0005-personalInformationUse +github.com/microsoftgraph/msgraph-sdk-go/.models.passwordPolicy::0006-unknownFutureValue github.com/microsoftgraph/msgraph-sdk-go/.models.passwordProfile::|public|constructor():void github.com/microsoftgraph/msgraph-sdk-go/.models.passwordProfile::|public|GetAdditionalData():map[string]any github.com/microsoftgraph/msgraph-sdk-go/.models.passwordProfile::|public|GetBackingStore():BackingStore @@ -167086,6 +169442,11 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.payloadTheme::0028-voicemail github.com/microsoftgraph/msgraph-sdk-go/.models.payloadTheme::0029-advertisement github.com/microsoftgraph/msgraph-sdk-go/.models.payloadTheme::0030-employeeEngagement github.com/microsoftgraph/msgraph-sdk-go/.models.payloadTheme::0031-unknownFutureValue +github.com/microsoftgraph/msgraph-sdk-go/.models.pciVersion::0000-none +github.com/microsoftgraph/msgraph-sdk-go/.models.pciVersion::0001-v3_2_1 +github.com/microsoftgraph/msgraph-sdk-go/.models.pciVersion::0002-v4 +github.com/microsoftgraph/msgraph-sdk-go/.models.pciVersion::0003-notSupported +github.com/microsoftgraph/msgraph-sdk-go/.models.pciVersion::0004-unknownFutureValue github.com/microsoftgraph/msgraph-sdk-go/.models.pendingContentUpdate::|public|constructor():void github.com/microsoftgraph/msgraph-sdk-go/.models.pendingContentUpdate::|public|GetAdditionalData():map[string]any github.com/microsoftgraph/msgraph-sdk-go/.models.pendingContentUpdate::|public|GetBackingStore():BackingStore @@ -168580,6 +170941,7 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.policyRoot::|public|GetCrossTen github.com/microsoftgraph/msgraph-sdk-go/.models.policyRoot::|public|GetDefaultAppManagementPolicy():TenantAppManagementPolicyable github.com/microsoftgraph/msgraph-sdk-go/.models.policyRoot::|public|GetDeviceRegistrationPolicy():DeviceRegistrationPolicyable github.com/microsoftgraph/msgraph-sdk-go/.models.policyRoot::|public|GetFeatureRolloutPolicies():[]FeatureRolloutPolicyable +github.com/microsoftgraph/msgraph-sdk-go/.models.policyRoot::|public|GetFederatedTokenValidationPolicy():FederatedTokenValidationPolicyable github.com/microsoftgraph/msgraph-sdk-go/.models.policyRoot::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) github.com/microsoftgraph/msgraph-sdk-go/.models.policyRoot::|public|GetHomeRealmDiscoveryPolicies():[]HomeRealmDiscoveryPolicyable github.com/microsoftgraph/msgraph-sdk-go/.models.policyRoot::|public|GetIdentitySecurityDefaultsEnforcementPolicy():IdentitySecurityDefaultsEnforcementPolicyable @@ -168604,6 +170966,7 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.policyRoot::|public|SetCrossTen github.com/microsoftgraph/msgraph-sdk-go/.models.policyRoot::|public|SetDefaultAppManagementPolicy(value:TenantAppManagementPolicyable):void github.com/microsoftgraph/msgraph-sdk-go/.models.policyRoot::|public|SetDeviceRegistrationPolicy(value:DeviceRegistrationPolicyable):void github.com/microsoftgraph/msgraph-sdk-go/.models.policyRoot::|public|SetFeatureRolloutPolicies(value:[]FeatureRolloutPolicyable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.policyRoot::|public|SetFederatedTokenValidationPolicy(value:FederatedTokenValidationPolicyable):void github.com/microsoftgraph/msgraph-sdk-go/.models.policyRoot::|public|SetHomeRealmDiscoveryPolicies(value:[]HomeRealmDiscoveryPolicyable):void github.com/microsoftgraph/msgraph-sdk-go/.models.policyRoot::|public|SetIdentitySecurityDefaultsEnforcementPolicy(value:IdentitySecurityDefaultsEnforcementPolicyable):void github.com/microsoftgraph/msgraph-sdk-go/.models.policyRoot::|public|SetOwnerlessGroupPolicy(value:OwnerlessGroupPolicyable):void @@ -168626,6 +170989,7 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.policyRootable::|public|GetCros github.com/microsoftgraph/msgraph-sdk-go/.models.policyRootable::|public|GetDefaultAppManagementPolicy():TenantAppManagementPolicyable github.com/microsoftgraph/msgraph-sdk-go/.models.policyRootable::|public|GetDeviceRegistrationPolicy():DeviceRegistrationPolicyable github.com/microsoftgraph/msgraph-sdk-go/.models.policyRootable::|public|GetFeatureRolloutPolicies():[]FeatureRolloutPolicyable +github.com/microsoftgraph/msgraph-sdk-go/.models.policyRootable::|public|GetFederatedTokenValidationPolicy():FederatedTokenValidationPolicyable github.com/microsoftgraph/msgraph-sdk-go/.models.policyRootable::|public|GetHomeRealmDiscoveryPolicies():[]HomeRealmDiscoveryPolicyable github.com/microsoftgraph/msgraph-sdk-go/.models.policyRootable::|public|GetIdentitySecurityDefaultsEnforcementPolicy():IdentitySecurityDefaultsEnforcementPolicyable github.com/microsoftgraph/msgraph-sdk-go/.models.policyRootable::|public|GetOwnerlessGroupPolicy():OwnerlessGroupPolicyable @@ -168647,6 +171011,7 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.policyRootable::|public|SetCros github.com/microsoftgraph/msgraph-sdk-go/.models.policyRootable::|public|SetDefaultAppManagementPolicy(value:TenantAppManagementPolicyable):void github.com/microsoftgraph/msgraph-sdk-go/.models.policyRootable::|public|SetDeviceRegistrationPolicy(value:DeviceRegistrationPolicyable):void github.com/microsoftgraph/msgraph-sdk-go/.models.policyRootable::|public|SetFeatureRolloutPolicies(value:[]FeatureRolloutPolicyable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.policyRootable::|public|SetFederatedTokenValidationPolicy(value:FederatedTokenValidationPolicyable):void github.com/microsoftgraph/msgraph-sdk-go/.models.policyRootable::|public|SetHomeRealmDiscoveryPolicies(value:[]HomeRealmDiscoveryPolicyable):void github.com/microsoftgraph/msgraph-sdk-go/.models.policyRootable::|public|SetIdentitySecurityDefaultsEnforcementPolicy(value:IdentitySecurityDefaultsEnforcementPolicyable):void github.com/microsoftgraph/msgraph-sdk-go/.models.policyRootable::|public|SetOwnerlessGroupPolicy(value:OwnerlessGroupPolicyable):void @@ -171864,15 +174229,19 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.profileCardProperty::|public|co github.com/microsoftgraph/msgraph-sdk-go/.models.profileCardProperty::|public|GetAnnotations():[]ProfileCardAnnotationable github.com/microsoftgraph/msgraph-sdk-go/.models.profileCardProperty::|public|GetDirectoryPropertyName():*string github.com/microsoftgraph/msgraph-sdk-go/.models.profileCardProperty::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.profileCardProperty::|public|GetIsVisible():*bool github.com/microsoftgraph/msgraph-sdk-go/.models.profileCardProperty::|public|OdataType:*string github.com/microsoftgraph/msgraph-sdk-go/.models.profileCardProperty::|public|Serialize(writer:SerializationWriter):void github.com/microsoftgraph/msgraph-sdk-go/.models.profileCardProperty::|public|SetAnnotations(value:[]ProfileCardAnnotationable):void github.com/microsoftgraph/msgraph-sdk-go/.models.profileCardProperty::|public|SetDirectoryPropertyName(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.profileCardProperty::|public|SetIsVisible(value:*bool):void github.com/microsoftgraph/msgraph-sdk-go/.models.profileCardProperty::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable github.com/microsoftgraph/msgraph-sdk-go/.models.profileCardPropertyable::|public|GetAnnotations():[]ProfileCardAnnotationable github.com/microsoftgraph/msgraph-sdk-go/.models.profileCardPropertyable::|public|GetDirectoryPropertyName():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.profileCardPropertyable::|public|GetIsVisible():*bool github.com/microsoftgraph/msgraph-sdk-go/.models.profileCardPropertyable::|public|SetAnnotations(value:[]ProfileCardAnnotationable):void github.com/microsoftgraph/msgraph-sdk-go/.models.profileCardPropertyable::|public|SetDirectoryPropertyName(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.profileCardPropertyable::|public|SetIsVisible(value:*bool):void github.com/microsoftgraph/msgraph-sdk-go/.models.profileCardPropertyable~~>Entityable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable github.com/microsoftgraph/msgraph-sdk-go/.models.profileCardPropertyCollectionResponse-->*BaseCollectionPaginationCountResponse github.com/microsoftgraph/msgraph-sdk-go/.models.profileCardPropertyCollectionResponse::|public|constructor():void @@ -174838,6 +177207,15 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.responseType::0002-tentativelyA github.com/microsoftgraph/msgraph-sdk-go/.models.responseType::0003-accepted github.com/microsoftgraph/msgraph-sdk-go/.models.responseType::0004-declined github.com/microsoftgraph/msgraph-sdk-go/.models.responseType::0005-notResponded +github.com/microsoftgraph/msgraph-sdk-go/.models.restEncryptionType::0000-none +github.com/microsoftgraph/msgraph-sdk-go/.models.restEncryptionType::0001-aes +github.com/microsoftgraph/msgraph-sdk-go/.models.restEncryptionType::0002-bitlocker +github.com/microsoftgraph/msgraph-sdk-go/.models.restEncryptionType::0003-blowfish +github.com/microsoftgraph/msgraph-sdk-go/.models.restEncryptionType::0004-des +github.com/microsoftgraph/msgraph-sdk-go/.models.restEncryptionType::0005-rc4 +github.com/microsoftgraph/msgraph-sdk-go/.models.restEncryptionType::0006-rsa +github.com/microsoftgraph/msgraph-sdk-go/.models.restEncryptionType::0007-notSupported +github.com/microsoftgraph/msgraph-sdk-go/.models.restEncryptionType::0008-unknownFutureValue github.com/microsoftgraph/msgraph-sdk-go/.models.restorableArtifact::0000-message github.com/microsoftgraph/msgraph-sdk-go/.models.restorableArtifact::0001-unknownFutureValue github.com/microsoftgraph/msgraph-sdk-go/.models.restoreArtifactBase-->*Entity @@ -175814,6 +178192,11 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.rolePermissionable::|public|Set github.com/microsoftgraph/msgraph-sdk-go/.models.rolePermissionable::|public|SetResourceActions(value:[]ResourceActionable):void github.com/microsoftgraph/msgraph-sdk-go/.models.rolePermissionable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder; *ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable github.com/microsoftgraph/msgraph-sdk-go/.models.rolePermission~~>RolePermissionable +github.com/microsoftgraph/msgraph-sdk-go/.models.roleType::0000-active +github.com/microsoftgraph/msgraph-sdk-go/.models.roleType::0001-eligible +github.com/microsoftgraph/msgraph-sdk-go/.models.roleType::0002-application +github.com/microsoftgraph/msgraph-sdk-go/.models.roleType::0003-delegated +github.com/microsoftgraph/msgraph-sdk-go/.models.roleType::0004-unknownFutureValue github.com/microsoftgraph/msgraph-sdk-go/.models.room-->*Place github.com/microsoftgraph/msgraph-sdk-go/.models.room::|public|constructor():void github.com/microsoftgraph/msgraph-sdk-go/.models.room::|public|GetAudioDeviceName():*string @@ -175923,6 +178306,13 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.rootable::|public|GetOdataType( github.com/microsoftgraph/msgraph-sdk-go/.models.rootable::|public|SetBackingStore(value:BackingStore):void github.com/microsoftgraph/msgraph-sdk-go/.models.rootable::|public|SetOdataType(value:*string):void github.com/microsoftgraph/msgraph-sdk-go/.models.rootable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder; *ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.rootDomains::0000-none +github.com/microsoftgraph/msgraph-sdk-go/.models.rootDomains::0001-all +github.com/microsoftgraph/msgraph-sdk-go/.models.rootDomains::0002-allFederated +github.com/microsoftgraph/msgraph-sdk-go/.models.rootDomains::0003-allManaged +github.com/microsoftgraph/msgraph-sdk-go/.models.rootDomains::0004-enumerated +github.com/microsoftgraph/msgraph-sdk-go/.models.rootDomains::0005-allManagedAndEnumeratedFederated +github.com/microsoftgraph/msgraph-sdk-go/.models.rootDomains::0006-unknownFutureValue github.com/microsoftgraph/msgraph-sdk-go/.models.root~~>Rootable github.com/microsoftgraph/msgraph-sdk-go/.models.rotateBitLockerKeysDeviceActionResult-->*DeviceActionResult github.com/microsoftgraph/msgraph-sdk-go/.models.rotateBitLockerKeysDeviceActionResult::|public|constructor():void @@ -177601,6 +179991,7 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.security.additionalDataOptions: github.com/microsoftgraph/msgraph-sdk-go/.models.security.additionalDataOptions::0006-messageConversationExpansion github.com/microsoftgraph/msgraph-sdk-go/.models.security.additionalDataOptions::0007-locationsWithoutHits github.com/microsoftgraph/msgraph-sdk-go/.models.security.additionalDataOptions::0008-allItemsInFolder +github.com/microsoftgraph/msgraph-sdk-go/.models.security.additionalDataOptions::0009-cloudNativeHtmlConversion github.com/microsoftgraph/msgraph-sdk-go/.models.security.additionalOptions::0000-none github.com/microsoftgraph/msgraph-sdk-go/.models.security.additionalOptions::0001-teamsAndYammerConversations github.com/microsoftgraph/msgraph-sdk-go/.models.security.additionalOptions::0002-cloudAttachments @@ -177928,6 +180319,447 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.security.amazonResourceEvidence github.com/microsoftgraph/msgraph-sdk-go/.models.security.amazonResourceEvidenceable::|public|SetResourceName(value:*string):void github.com/microsoftgraph/msgraph-sdk-go/.models.security.amazonResourceEvidenceable::|public|SetResourceType(value:*string):void github.com/microsoftgraph/msgraph-sdk-go/.models.security.amazonResourceEvidenceable~~>AlertEvidenceable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmail-->*iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Entity +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmail::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmail::|public|GetAlertIds():[]string +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmail::|public|GetAttachments():[]AnalyzedEmailAttachmentable +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmail::|public|GetAuthenticationDetails():AnalyzedEmailAuthenticationDetailable +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmail::|public|GetBulkComplaintLevel():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmail::|public|GetClientType():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmail::|public|GetContexts():[]string +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmail::|public|GetDetectionMethods():[]string +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmail::|public|GetDirectionality():*AntispamDirectionality +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmail::|public|GetDistributionList():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmail::|public|GetDlpRules():[]AnalyzedEmailDlpRuleInfoable +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmail::|public|GetEmailClusterId():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmail::|public|GetExchangeTransportRules():[]AnalyzedEmailExchangeTransportRuleInfoable +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmail::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmail::|public|GetForwardingDetail():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmail::|public|GetInboundConnectorFormattedName():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmail::|public|GetInternetMessageId():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmail::|public|GetLanguage():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmail::|public|GetLatestDelivery():AnalyzedEmailDeliveryDetailable +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmail::|public|GetLoggedDateTime():*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmail::|public|GetNetworkMessageId():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmail::|public|GetOriginalDelivery():AnalyzedEmailDeliveryDetailable +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmail::|public|GetOverrideSources():[]string +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmail::|public|GetPhishConfidenceLevel():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmail::|public|GetPolicy():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmail::|public|GetPolicyAction():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmail::|public|GetPolicyType():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmail::|public|GetPrimaryOverrideSource():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmail::|public|GetRecipientDetail():AnalyzedEmailRecipientDetailable +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmail::|public|GetRecipientEmailAddress():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmail::|public|GetReturnPath():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmail::|public|GetSenderDetail():AnalyzedEmailSenderDetailable +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmail::|public|GetSizeInBytes():*int32 +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmail::|public|GetSpamConfidenceLevel():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmail::|public|GetSubject():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmail::|public|GetThreatDetectionDetails():[]ThreatDetectionDetailable +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmail::|public|GetThreatTypes():[]ThreatType +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmail::|public|GetTimelineEvents():[]TimelineEventable +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmail::|public|GetUrls():[]AnalyzedEmailUrlable +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmail::|public|OdataType:*string +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmail::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmail::|public|SetAlertIds(value:[]string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmail::|public|SetAttachments(value:[]AnalyzedEmailAttachmentable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmail::|public|SetAuthenticationDetails(value:AnalyzedEmailAuthenticationDetailable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmail::|public|SetBulkComplaintLevel(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmail::|public|SetClientType(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmail::|public|SetContexts(value:[]string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmail::|public|SetDetectionMethods(value:[]string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmail::|public|SetDirectionality(value:*AntispamDirectionality):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmail::|public|SetDistributionList(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmail::|public|SetDlpRules(value:[]AnalyzedEmailDlpRuleInfoable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmail::|public|SetEmailClusterId(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmail::|public|SetExchangeTransportRules(value:[]AnalyzedEmailExchangeTransportRuleInfoable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmail::|public|SetForwardingDetail(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmail::|public|SetInboundConnectorFormattedName(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmail::|public|SetInternetMessageId(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmail::|public|SetLanguage(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmail::|public|SetLatestDelivery(value:AnalyzedEmailDeliveryDetailable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmail::|public|SetLoggedDateTime(value:*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmail::|public|SetNetworkMessageId(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmail::|public|SetOriginalDelivery(value:AnalyzedEmailDeliveryDetailable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmail::|public|SetOverrideSources(value:[]string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmail::|public|SetPhishConfidenceLevel(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmail::|public|SetPolicy(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmail::|public|SetPolicyAction(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmail::|public|SetPolicyType(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmail::|public|SetPrimaryOverrideSource(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmail::|public|SetRecipientDetail(value:AnalyzedEmailRecipientDetailable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmail::|public|SetRecipientEmailAddress(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmail::|public|SetReturnPath(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmail::|public|SetSenderDetail(value:AnalyzedEmailSenderDetailable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmail::|public|SetSizeInBytes(value:*int32):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmail::|public|SetSpamConfidenceLevel(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmail::|public|SetSubject(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmail::|public|SetThreatDetectionDetails(value:[]ThreatDetectionDetailable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmail::|public|SetThreatTypes(value:[]ThreatType):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmail::|public|SetTimelineEvents(value:[]TimelineEventable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmail::|public|SetUrls(value:[]AnalyzedEmailUrlable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmail::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmailable::|public|GetAlertIds():[]string +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmailable::|public|GetAttachments():[]AnalyzedEmailAttachmentable +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmailable::|public|GetAuthenticationDetails():AnalyzedEmailAuthenticationDetailable +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmailable::|public|GetBulkComplaintLevel():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmailable::|public|GetClientType():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmailable::|public|GetContexts():[]string +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmailable::|public|GetDetectionMethods():[]string +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmailable::|public|GetDirectionality():*AntispamDirectionality +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmailable::|public|GetDistributionList():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmailable::|public|GetDlpRules():[]AnalyzedEmailDlpRuleInfoable +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmailable::|public|GetEmailClusterId():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmailable::|public|GetExchangeTransportRules():[]AnalyzedEmailExchangeTransportRuleInfoable +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmailable::|public|GetForwardingDetail():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmailable::|public|GetInboundConnectorFormattedName():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmailable::|public|GetInternetMessageId():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmailable::|public|GetLanguage():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmailable::|public|GetLatestDelivery():AnalyzedEmailDeliveryDetailable +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmailable::|public|GetLoggedDateTime():*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmailable::|public|GetNetworkMessageId():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmailable::|public|GetOriginalDelivery():AnalyzedEmailDeliveryDetailable +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmailable::|public|GetOverrideSources():[]string +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmailable::|public|GetPhishConfidenceLevel():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmailable::|public|GetPolicy():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmailable::|public|GetPolicyAction():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmailable::|public|GetPolicyType():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmailable::|public|GetPrimaryOverrideSource():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmailable::|public|GetRecipientDetail():AnalyzedEmailRecipientDetailable +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmailable::|public|GetRecipientEmailAddress():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmailable::|public|GetReturnPath():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmailable::|public|GetSenderDetail():AnalyzedEmailSenderDetailable +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmailable::|public|GetSizeInBytes():*int32 +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmailable::|public|GetSpamConfidenceLevel():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmailable::|public|GetSubject():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmailable::|public|GetThreatDetectionDetails():[]ThreatDetectionDetailable +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmailable::|public|GetThreatTypes():[]ThreatType +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmailable::|public|GetTimelineEvents():[]TimelineEventable +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmailable::|public|GetUrls():[]AnalyzedEmailUrlable +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmailable::|public|SetAlertIds(value:[]string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmailable::|public|SetAttachments(value:[]AnalyzedEmailAttachmentable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmailable::|public|SetAuthenticationDetails(value:AnalyzedEmailAuthenticationDetailable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmailable::|public|SetBulkComplaintLevel(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmailable::|public|SetClientType(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmailable::|public|SetContexts(value:[]string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmailable::|public|SetDetectionMethods(value:[]string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmailable::|public|SetDirectionality(value:*AntispamDirectionality):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmailable::|public|SetDistributionList(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmailable::|public|SetDlpRules(value:[]AnalyzedEmailDlpRuleInfoable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmailable::|public|SetEmailClusterId(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmailable::|public|SetExchangeTransportRules(value:[]AnalyzedEmailExchangeTransportRuleInfoable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmailable::|public|SetForwardingDetail(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmailable::|public|SetInboundConnectorFormattedName(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmailable::|public|SetInternetMessageId(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmailable::|public|SetLanguage(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmailable::|public|SetLatestDelivery(value:AnalyzedEmailDeliveryDetailable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmailable::|public|SetLoggedDateTime(value:*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmailable::|public|SetNetworkMessageId(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmailable::|public|SetOriginalDelivery(value:AnalyzedEmailDeliveryDetailable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmailable::|public|SetOverrideSources(value:[]string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmailable::|public|SetPhishConfidenceLevel(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmailable::|public|SetPolicy(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmailable::|public|SetPolicyAction(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmailable::|public|SetPolicyType(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmailable::|public|SetPrimaryOverrideSource(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmailable::|public|SetRecipientDetail(value:AnalyzedEmailRecipientDetailable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmailable::|public|SetRecipientEmailAddress(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmailable::|public|SetReturnPath(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmailable::|public|SetSenderDetail(value:AnalyzedEmailSenderDetailable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmailable::|public|SetSizeInBytes(value:*int32):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmailable::|public|SetSpamConfidenceLevel(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmailable::|public|SetSubject(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmailable::|public|SetThreatDetectionDetails(value:[]ThreatDetectionDetailable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmailable::|public|SetThreatTypes(value:[]ThreatType):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmailable::|public|SetTimelineEvents(value:[]TimelineEventable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmailable::|public|SetUrls(value:[]AnalyzedEmailUrlable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmailable~~>iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Entityable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmailAttachment::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmailAttachment::|public|GetAdditionalData():map[string]any +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmailAttachment::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmailAttachment::|public|GetDetonationDetails():DetonationDetailsable +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmailAttachment::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmailAttachment::|public|GetFileExtension():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmailAttachment::|public|GetFileName():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmailAttachment::|public|GetFileSize():*int32 +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmailAttachment::|public|GetFileType():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmailAttachment::|public|GetMalwareFamily():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmailAttachment::|public|GetOdataType():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmailAttachment::|public|GetSha256():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmailAttachment::|public|GetTenantAllowBlockListDetailInfo():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmailAttachment::|public|GetThreatType():*ThreatType +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmailAttachment::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmailAttachment::|public|SetAdditionalData(value:map[string]any):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmailAttachment::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmailAttachment::|public|SetDetonationDetails(value:DetonationDetailsable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmailAttachment::|public|SetFileExtension(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmailAttachment::|public|SetFileName(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmailAttachment::|public|SetFileSize(value:*int32):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmailAttachment::|public|SetFileType(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmailAttachment::|public|SetMalwareFamily(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmailAttachment::|public|SetOdataType(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmailAttachment::|public|SetSha256(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmailAttachment::|public|SetTenantAllowBlockListDetailInfo(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmailAttachment::|public|SetThreatType(value:*ThreatType):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmailAttachment::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmailAttachmentable::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmailAttachmentable::|public|GetDetonationDetails():DetonationDetailsable +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmailAttachmentable::|public|GetFileExtension():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmailAttachmentable::|public|GetFileName():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmailAttachmentable::|public|GetFileSize():*int32 +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmailAttachmentable::|public|GetFileType():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmailAttachmentable::|public|GetMalwareFamily():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmailAttachmentable::|public|GetOdataType():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmailAttachmentable::|public|GetSha256():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmailAttachmentable::|public|GetTenantAllowBlockListDetailInfo():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmailAttachmentable::|public|GetThreatType():*ThreatType +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmailAttachmentable::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmailAttachmentable::|public|SetDetonationDetails(value:DetonationDetailsable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmailAttachmentable::|public|SetFileExtension(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmailAttachmentable::|public|SetFileName(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmailAttachmentable::|public|SetFileSize(value:*int32):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmailAttachmentable::|public|SetFileType(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmailAttachmentable::|public|SetMalwareFamily(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmailAttachmentable::|public|SetOdataType(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmailAttachmentable::|public|SetSha256(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmailAttachmentable::|public|SetTenantAllowBlockListDetailInfo(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmailAttachmentable::|public|SetThreatType(value:*ThreatType):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmailAttachmentable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder; *ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmailAttachment~~>AnalyzedEmailAttachmentable +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmailAuthenticationDetail::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmailAuthenticationDetail::|public|GetAdditionalData():map[string]any +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmailAuthenticationDetail::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmailAuthenticationDetail::|public|GetCompositeAuthentication():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmailAuthenticationDetail::|public|GetDkim():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmailAuthenticationDetail::|public|GetDmarc():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmailAuthenticationDetail::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmailAuthenticationDetail::|public|GetOdataType():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmailAuthenticationDetail::|public|GetSenderPolicyFramework():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmailAuthenticationDetail::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmailAuthenticationDetail::|public|SetAdditionalData(value:map[string]any):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmailAuthenticationDetail::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmailAuthenticationDetail::|public|SetCompositeAuthentication(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmailAuthenticationDetail::|public|SetDkim(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmailAuthenticationDetail::|public|SetDmarc(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmailAuthenticationDetail::|public|SetOdataType(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmailAuthenticationDetail::|public|SetSenderPolicyFramework(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmailAuthenticationDetail::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmailAuthenticationDetailable::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmailAuthenticationDetailable::|public|GetCompositeAuthentication():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmailAuthenticationDetailable::|public|GetDkim():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmailAuthenticationDetailable::|public|GetDmarc():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmailAuthenticationDetailable::|public|GetOdataType():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmailAuthenticationDetailable::|public|GetSenderPolicyFramework():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmailAuthenticationDetailable::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmailAuthenticationDetailable::|public|SetCompositeAuthentication(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmailAuthenticationDetailable::|public|SetDkim(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmailAuthenticationDetailable::|public|SetDmarc(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmailAuthenticationDetailable::|public|SetOdataType(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmailAuthenticationDetailable::|public|SetSenderPolicyFramework(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmailAuthenticationDetailable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder; *ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmailAuthenticationDetail~~>AnalyzedEmailAuthenticationDetailable +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmailCollectionResponse-->*iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.BaseCollectionPaginationCountResponse +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmailCollectionResponse::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmailCollectionResponse::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmailCollectionResponse::|public|GetValue():[]AnalyzedEmailable +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmailCollectionResponse::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmailCollectionResponse::|public|SetValue(value:[]AnalyzedEmailable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmailCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmailCollectionResponseable::|public|GetValue():[]AnalyzedEmailable +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmailCollectionResponseable::|public|SetValue(value:[]AnalyzedEmailable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmailCollectionResponseable~~>iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.BaseCollectionPaginationCountResponseable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmailDeliveryDetail::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmailDeliveryDetail::|public|GetAction():*DeliveryAction +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmailDeliveryDetail::|public|GetAdditionalData():map[string]any +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmailDeliveryDetail::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmailDeliveryDetail::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmailDeliveryDetail::|public|GetLatestThreats():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmailDeliveryDetail::|public|GetLocation():*DeliveryLocation +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmailDeliveryDetail::|public|GetOdataType():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmailDeliveryDetail::|public|GetOriginalThreats():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmailDeliveryDetail::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmailDeliveryDetail::|public|SetAction(value:*DeliveryAction):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmailDeliveryDetail::|public|SetAdditionalData(value:map[string]any):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmailDeliveryDetail::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmailDeliveryDetail::|public|SetLatestThreats(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmailDeliveryDetail::|public|SetLocation(value:*DeliveryLocation):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmailDeliveryDetail::|public|SetOdataType(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmailDeliveryDetail::|public|SetOriginalThreats(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmailDeliveryDetail::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmailDeliveryDetailable::|public|GetAction():*DeliveryAction +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmailDeliveryDetailable::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmailDeliveryDetailable::|public|GetLatestThreats():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmailDeliveryDetailable::|public|GetLocation():*DeliveryLocation +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmailDeliveryDetailable::|public|GetOdataType():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmailDeliveryDetailable::|public|GetOriginalThreats():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmailDeliveryDetailable::|public|SetAction(value:*DeliveryAction):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmailDeliveryDetailable::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmailDeliveryDetailable::|public|SetLatestThreats(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmailDeliveryDetailable::|public|SetLocation(value:*DeliveryLocation):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmailDeliveryDetailable::|public|SetOdataType(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmailDeliveryDetailable::|public|SetOriginalThreats(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmailDeliveryDetailable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder; *ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmailDeliveryDetail~~>AnalyzedEmailDeliveryDetailable +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmailDlpRuleInfo::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmailDlpRuleInfo::|public|GetAdditionalData():map[string]any +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmailDlpRuleInfo::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmailDlpRuleInfo::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmailDlpRuleInfo::|public|GetName():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmailDlpRuleInfo::|public|GetOdataType():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmailDlpRuleInfo::|public|GetRuleId():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmailDlpRuleInfo::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmailDlpRuleInfo::|public|SetAdditionalData(value:map[string]any):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmailDlpRuleInfo::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmailDlpRuleInfo::|public|SetName(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmailDlpRuleInfo::|public|SetOdataType(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmailDlpRuleInfo::|public|SetRuleId(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmailDlpRuleInfo::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmailDlpRuleInfoable::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmailDlpRuleInfoable::|public|GetName():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmailDlpRuleInfoable::|public|GetOdataType():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmailDlpRuleInfoable::|public|GetRuleId():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmailDlpRuleInfoable::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmailDlpRuleInfoable::|public|SetName(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmailDlpRuleInfoable::|public|SetOdataType(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmailDlpRuleInfoable::|public|SetRuleId(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmailDlpRuleInfoable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder; *ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmailDlpRuleInfo~~>AnalyzedEmailDlpRuleInfoable +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmailExchangeTransportRuleInfo::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmailExchangeTransportRuleInfo::|public|GetAdditionalData():map[string]any +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmailExchangeTransportRuleInfo::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmailExchangeTransportRuleInfo::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmailExchangeTransportRuleInfo::|public|GetName():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmailExchangeTransportRuleInfo::|public|GetOdataType():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmailExchangeTransportRuleInfo::|public|GetRuleId():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmailExchangeTransportRuleInfo::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmailExchangeTransportRuleInfo::|public|SetAdditionalData(value:map[string]any):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmailExchangeTransportRuleInfo::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmailExchangeTransportRuleInfo::|public|SetName(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmailExchangeTransportRuleInfo::|public|SetOdataType(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmailExchangeTransportRuleInfo::|public|SetRuleId(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmailExchangeTransportRuleInfo::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmailExchangeTransportRuleInfoable::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmailExchangeTransportRuleInfoable::|public|GetName():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmailExchangeTransportRuleInfoable::|public|GetOdataType():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmailExchangeTransportRuleInfoable::|public|GetRuleId():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmailExchangeTransportRuleInfoable::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmailExchangeTransportRuleInfoable::|public|SetName(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmailExchangeTransportRuleInfoable::|public|SetOdataType(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmailExchangeTransportRuleInfoable::|public|SetRuleId(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmailExchangeTransportRuleInfoable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder; *ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmailExchangeTransportRuleInfo~~>AnalyzedEmailExchangeTransportRuleInfoable +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmailRecipientDetail::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmailRecipientDetail::|public|GetAdditionalData():map[string]any +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmailRecipientDetail::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmailRecipientDetail::|public|GetCcRecipients():[]string +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmailRecipientDetail::|public|GetDomainName():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmailRecipientDetail::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmailRecipientDetail::|public|GetOdataType():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmailRecipientDetail::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmailRecipientDetail::|public|SetAdditionalData(value:map[string]any):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmailRecipientDetail::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmailRecipientDetail::|public|SetCcRecipients(value:[]string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmailRecipientDetail::|public|SetDomainName(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmailRecipientDetail::|public|SetOdataType(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmailRecipientDetail::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmailRecipientDetailable::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmailRecipientDetailable::|public|GetCcRecipients():[]string +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmailRecipientDetailable::|public|GetDomainName():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmailRecipientDetailable::|public|GetOdataType():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmailRecipientDetailable::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmailRecipientDetailable::|public|SetCcRecipients(value:[]string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmailRecipientDetailable::|public|SetDomainName(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmailRecipientDetailable::|public|SetOdataType(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmailRecipientDetailable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder; *ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmailRecipientDetail~~>AnalyzedEmailRecipientDetailable +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmailSenderDetail::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmailSenderDetail::|public|GetAdditionalData():map[string]any +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmailSenderDetail::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmailSenderDetail::|public|GetDisplayName():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmailSenderDetail::|public|GetDomainCreationDateTime():*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmailSenderDetail::|public|GetDomainName():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmailSenderDetail::|public|GetDomainOwner():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmailSenderDetail::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmailSenderDetail::|public|GetFromAddress():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmailSenderDetail::|public|GetIpv4():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmailSenderDetail::|public|GetLocation():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmailSenderDetail::|public|GetMailFromAddress():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmailSenderDetail::|public|GetMailFromDomainName():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmailSenderDetail::|public|GetOdataType():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmailSenderDetail::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmailSenderDetail::|public|SetAdditionalData(value:map[string]any):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmailSenderDetail::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmailSenderDetail::|public|SetDisplayName(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmailSenderDetail::|public|SetDomainCreationDateTime(value:*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmailSenderDetail::|public|SetDomainName(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmailSenderDetail::|public|SetDomainOwner(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmailSenderDetail::|public|SetFromAddress(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmailSenderDetail::|public|SetIpv4(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmailSenderDetail::|public|SetLocation(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmailSenderDetail::|public|SetMailFromAddress(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmailSenderDetail::|public|SetMailFromDomainName(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmailSenderDetail::|public|SetOdataType(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmailSenderDetail::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmailSenderDetailable::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmailSenderDetailable::|public|GetDisplayName():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmailSenderDetailable::|public|GetDomainCreationDateTime():*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmailSenderDetailable::|public|GetDomainName():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmailSenderDetailable::|public|GetDomainOwner():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmailSenderDetailable::|public|GetFromAddress():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmailSenderDetailable::|public|GetIpv4():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmailSenderDetailable::|public|GetLocation():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmailSenderDetailable::|public|GetMailFromAddress():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmailSenderDetailable::|public|GetMailFromDomainName():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmailSenderDetailable::|public|GetOdataType():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmailSenderDetailable::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmailSenderDetailable::|public|SetDisplayName(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmailSenderDetailable::|public|SetDomainCreationDateTime(value:*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmailSenderDetailable::|public|SetDomainName(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmailSenderDetailable::|public|SetDomainOwner(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmailSenderDetailable::|public|SetFromAddress(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmailSenderDetailable::|public|SetIpv4(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmailSenderDetailable::|public|SetLocation(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmailSenderDetailable::|public|SetMailFromAddress(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmailSenderDetailable::|public|SetMailFromDomainName(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmailSenderDetailable::|public|SetOdataType(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmailSenderDetailable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder; *ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmailSenderDetail~~>AnalyzedEmailSenderDetailable +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmailUrl::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmailUrl::|public|GetAdditionalData():map[string]any +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmailUrl::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmailUrl::|public|GetDetectionMethod():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmailUrl::|public|GetDetonationDetails():DetonationDetailsable +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmailUrl::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmailUrl::|public|GetOdataType():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmailUrl::|public|GetTenantAllowBlockListDetailInfo():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmailUrl::|public|GetThreatType():*ThreatType +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmailUrl::|public|GetUrl():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmailUrl::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmailUrl::|public|SetAdditionalData(value:map[string]any):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmailUrl::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmailUrl::|public|SetDetectionMethod(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmailUrl::|public|SetDetonationDetails(value:DetonationDetailsable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmailUrl::|public|SetOdataType(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmailUrl::|public|SetTenantAllowBlockListDetailInfo(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmailUrl::|public|SetThreatType(value:*ThreatType):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmailUrl::|public|SetUrl(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmailUrl::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmailUrlable::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmailUrlable::|public|GetDetectionMethod():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmailUrlable::|public|GetDetonationDetails():DetonationDetailsable +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmailUrlable::|public|GetOdataType():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmailUrlable::|public|GetTenantAllowBlockListDetailInfo():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmailUrlable::|public|GetThreatType():*ThreatType +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmailUrlable::|public|GetUrl():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmailUrlable::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmailUrlable::|public|SetDetectionMethod(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmailUrlable::|public|SetDetonationDetails(value:DetonationDetailsable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmailUrlable::|public|SetOdataType(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmailUrlable::|public|SetTenantAllowBlockListDetailInfo(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmailUrlable::|public|SetThreatType(value:*ThreatType):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmailUrlable::|public|SetUrl(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmailUrlable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder; *ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedEmailUrl~~>AnalyzedEmailUrlable github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedMessageEvidence-->*AlertEvidence github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedMessageEvidence::|public|constructor():void github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedMessageEvidence::|public|GetAntiSpamDirection():*string @@ -178007,6 +180839,11 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedMessageEvidenc github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedMessageEvidenceable::|public|SetUrls(value:[]string):void github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedMessageEvidenceable::|public|SetUrn(value:*string):void github.com/microsoftgraph/msgraph-sdk-go/.models.security.analyzedMessageEvidenceable~~>AlertEvidenceable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.security.antispamDirectionality::0000-unknown +github.com/microsoftgraph/msgraph-sdk-go/.models.security.antispamDirectionality::0001-inbound +github.com/microsoftgraph/msgraph-sdk-go/.models.security.antispamDirectionality::0002-outbound +github.com/microsoftgraph/msgraph-sdk-go/.models.security.antispamDirectionality::0003-intraOrg +github.com/microsoftgraph/msgraph-sdk-go/.models.security.antispamDirectionality::0004-unknownFutureValue github.com/microsoftgraph/msgraph-sdk-go/.models.security.antispamTeamsDirection::0000-unknown github.com/microsoftgraph/msgraph-sdk-go/.models.security.antispamTeamsDirection::0001-inbound github.com/microsoftgraph/msgraph-sdk-go/.models.security.antispamTeamsDirection::0002-outbound @@ -178474,6 +181311,41 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.security.cloudLogonSessionEvide github.com/microsoftgraph/msgraph-sdk-go/.models.security.cloudLogonSessionEvidenceable::|public|SetStartUtcDateTime(value:*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time):void github.com/microsoftgraph/msgraph-sdk-go/.models.security.cloudLogonSessionEvidenceable::|public|SetUserAgent(value:*string):void github.com/microsoftgraph/msgraph-sdk-go/.models.security.cloudLogonSessionEvidenceable~~>AlertEvidenceable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.security.collaborationRoot-->*iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Entity +github.com/microsoftgraph/msgraph-sdk-go/.models.security.collaborationRoot::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.collaborationRoot::|public|GetAnalyzedEmails():[]AnalyzedEmailable +github.com/microsoftgraph/msgraph-sdk-go/.models.security.collaborationRoot::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.security.collaborationRoot::|public|OdataType:*string +github.com/microsoftgraph/msgraph-sdk-go/.models.security.collaborationRoot::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.collaborationRoot::|public|SetAnalyzedEmails(value:[]AnalyzedEmailable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.collaborationRoot::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.security.collaborationRootable::|public|GetAnalyzedEmails():[]AnalyzedEmailable +github.com/microsoftgraph/msgraph-sdk-go/.models.security.collaborationRootable::|public|SetAnalyzedEmails(value:[]AnalyzedEmailable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.collaborationRootable~~>iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Entityable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.security.compromiseIndicator::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.compromiseIndicator::|public|GetAdditionalData():map[string]any +github.com/microsoftgraph/msgraph-sdk-go/.models.security.compromiseIndicator::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.models.security.compromiseIndicator::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.security.compromiseIndicator::|public|GetOdataType():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.security.compromiseIndicator::|public|GetValue():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.security.compromiseIndicator::|public|GetVerdict():*VerdictCategory +github.com/microsoftgraph/msgraph-sdk-go/.models.security.compromiseIndicator::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.compromiseIndicator::|public|SetAdditionalData(value:map[string]any):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.compromiseIndicator::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.compromiseIndicator::|public|SetOdataType(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.compromiseIndicator::|public|SetValue(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.compromiseIndicator::|public|SetVerdict(value:*VerdictCategory):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.compromiseIndicator::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.security.compromiseIndicatorable::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.models.security.compromiseIndicatorable::|public|GetOdataType():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.security.compromiseIndicatorable::|public|GetValue():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.security.compromiseIndicatorable::|public|GetVerdict():*VerdictCategory +github.com/microsoftgraph/msgraph-sdk-go/.models.security.compromiseIndicatorable::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.compromiseIndicatorable::|public|SetOdataType(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.compromiseIndicatorable::|public|SetValue(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.compromiseIndicatorable::|public|SetVerdict(value:*VerdictCategory):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.compromiseIndicatorable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder; *ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.security.compromiseIndicator~~>CompromiseIndicatorable github.com/microsoftgraph/msgraph-sdk-go/.models.security.containerEvidence-->*AlertEvidence github.com/microsoftgraph/msgraph-sdk-go/.models.security.containerEvidence::|public|constructor():void github.com/microsoftgraph/msgraph-sdk-go/.models.security.containerEvidence::|public|GetArgs():[]string @@ -178547,6 +181419,24 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.security.contentFormat::0000-te github.com/microsoftgraph/msgraph-sdk-go/.models.security.contentFormat::0001-html github.com/microsoftgraph/msgraph-sdk-go/.models.security.contentFormat::0002-markdown github.com/microsoftgraph/msgraph-sdk-go/.models.security.contentFormat::0003-unknownFutureValue +github.com/microsoftgraph/msgraph-sdk-go/.models.security.correlationReason::0000-repeatedAlertOccurrence +github.com/microsoftgraph/msgraph-sdk-go/.models.security.correlationReason::0001-sameGeography +github.com/microsoftgraph/msgraph-sdk-go/.models.security.correlationReason::0002-similarArtifacts +github.com/microsoftgraph/msgraph-sdk-go/.models.security.correlationReason::0003-sameTargetedAsset +github.com/microsoftgraph/msgraph-sdk-go/.models.security.correlationReason::0004-sameNetworkSegment +github.com/microsoftgraph/msgraph-sdk-go/.models.security.correlationReason::0005-eventSequence +github.com/microsoftgraph/msgraph-sdk-go/.models.security.correlationReason::0006-timeFrame +github.com/microsoftgraph/msgraph-sdk-go/.models.security.correlationReason::0007-sameThreatSource +github.com/microsoftgraph/msgraph-sdk-go/.models.security.correlationReason::0008-similarTTPsOrBehavior +github.com/microsoftgraph/msgraph-sdk-go/.models.security.correlationReason::0009-sameActor +github.com/microsoftgraph/msgraph-sdk-go/.models.security.correlationReason::0010-sameCampaign +github.com/microsoftgraph/msgraph-sdk-go/.models.security.correlationReason::0011-sharedIndicators +github.com/microsoftgraph/msgraph-sdk-go/.models.security.correlationReason::0012-sameAsset +github.com/microsoftgraph/msgraph-sdk-go/.models.security.correlationReason::0013-networkProximity +github.com/microsoftgraph/msgraph-sdk-go/.models.security.correlationReason::0014-eventCasualSequence +github.com/microsoftgraph/msgraph-sdk-go/.models.security.correlationReason::0015-temporalProximity +github.com/microsoftgraph/msgraph-sdk-go/.models.security.correlationReason::0016-lateralMovementPath +github.com/microsoftgraph/msgraph-sdk-go/.models.security.correlationReason::0017-unknownFutureValue github.com/microsoftgraph/msgraph-sdk-go/.models.security.cvssSummary::|public|constructor():void github.com/microsoftgraph/msgraph-sdk-go/.models.security.cvssSummary::|public|GetAdditionalData():map[string]any github.com/microsoftgraph/msgraph-sdk-go/.models.security.cvssSummary::|public|GetBackingStore():BackingStore @@ -178687,6 +181577,22 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.security.defenderAvStatus::0003 github.com/microsoftgraph/msgraph-sdk-go/.models.security.defenderAvStatus::0004-unknown github.com/microsoftgraph/msgraph-sdk-go/.models.security.defenderAvStatus::0005-notSupported github.com/microsoftgraph/msgraph-sdk-go/.models.security.defenderAvStatus::0006-unknownFutureValue +github.com/microsoftgraph/msgraph-sdk-go/.models.security.deliveryAction::0000-unknown +github.com/microsoftgraph/msgraph-sdk-go/.models.security.deliveryAction::0001-deliveredToJunk +github.com/microsoftgraph/msgraph-sdk-go/.models.security.deliveryAction::0002-delivered +github.com/microsoftgraph/msgraph-sdk-go/.models.security.deliveryAction::0003-blocked +github.com/microsoftgraph/msgraph-sdk-go/.models.security.deliveryAction::0004-replaced +github.com/microsoftgraph/msgraph-sdk-go/.models.security.deliveryAction::0005-unknownFutureValue +github.com/microsoftgraph/msgraph-sdk-go/.models.security.deliveryLocation::0000-unknown +github.com/microsoftgraph/msgraph-sdk-go/.models.security.deliveryLocation::0001-inbox_folder +github.com/microsoftgraph/msgraph-sdk-go/.models.security.deliveryLocation::0002-junkFolder +github.com/microsoftgraph/msgraph-sdk-go/.models.security.deliveryLocation::0003-deletedFolder +github.com/microsoftgraph/msgraph-sdk-go/.models.security.deliveryLocation::0004-quarantine +github.com/microsoftgraph/msgraph-sdk-go/.models.security.deliveryLocation::0005-onprem_external +github.com/microsoftgraph/msgraph-sdk-go/.models.security.deliveryLocation::0006-failed +github.com/microsoftgraph/msgraph-sdk-go/.models.security.deliveryLocation::0007-dropped +github.com/microsoftgraph/msgraph-sdk-go/.models.security.deliveryLocation::0008-others +github.com/microsoftgraph/msgraph-sdk-go/.models.security.deliveryLocation::0009-unknownFutureValue github.com/microsoftgraph/msgraph-sdk-go/.models.security.departmentTemplate-->*FilePlanDescriptorTemplate github.com/microsoftgraph/msgraph-sdk-go/.models.security.departmentTemplate::|public|constructor():void github.com/microsoftgraph/msgraph-sdk-go/.models.security.departmentTemplate::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) @@ -178777,6 +181683,178 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.security.detectionStatus::0000- github.com/microsoftgraph/msgraph-sdk-go/.models.security.detectionStatus::0001-blocked github.com/microsoftgraph/msgraph-sdk-go/.models.security.detectionStatus::0002-prevented github.com/microsoftgraph/msgraph-sdk-go/.models.security.detectionStatus::0003-unknownFutureValue +github.com/microsoftgraph/msgraph-sdk-go/.models.security.detonationBehaviourDetails::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.detonationBehaviourDetails::|public|GetActionStatus():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.security.detonationBehaviourDetails::|public|GetAdditionalData():map[string]any +github.com/microsoftgraph/msgraph-sdk-go/.models.security.detonationBehaviourDetails::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.models.security.detonationBehaviourDetails::|public|GetBehaviourCapability():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.security.detonationBehaviourDetails::|public|GetBehaviourGroup():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.security.detonationBehaviourDetails::|public|GetDetails():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.security.detonationBehaviourDetails::|public|GetEventDateTime():*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time +github.com/microsoftgraph/msgraph-sdk-go/.models.security.detonationBehaviourDetails::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.security.detonationBehaviourDetails::|public|GetOdataType():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.security.detonationBehaviourDetails::|public|GetOperation():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.security.detonationBehaviourDetails::|public|GetProcessId():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.security.detonationBehaviourDetails::|public|GetProcessName():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.security.detonationBehaviourDetails::|public|GetTarget():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.security.detonationBehaviourDetails::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.detonationBehaviourDetails::|public|SetActionStatus(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.detonationBehaviourDetails::|public|SetAdditionalData(value:map[string]any):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.detonationBehaviourDetails::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.detonationBehaviourDetails::|public|SetBehaviourCapability(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.detonationBehaviourDetails::|public|SetBehaviourGroup(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.detonationBehaviourDetails::|public|SetDetails(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.detonationBehaviourDetails::|public|SetEventDateTime(value:*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.detonationBehaviourDetails::|public|SetOdataType(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.detonationBehaviourDetails::|public|SetOperation(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.detonationBehaviourDetails::|public|SetProcessId(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.detonationBehaviourDetails::|public|SetProcessName(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.detonationBehaviourDetails::|public|SetTarget(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.detonationBehaviourDetails::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.security.detonationBehaviourDetailsable::|public|GetActionStatus():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.security.detonationBehaviourDetailsable::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.models.security.detonationBehaviourDetailsable::|public|GetBehaviourCapability():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.security.detonationBehaviourDetailsable::|public|GetBehaviourGroup():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.security.detonationBehaviourDetailsable::|public|GetDetails():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.security.detonationBehaviourDetailsable::|public|GetEventDateTime():*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time +github.com/microsoftgraph/msgraph-sdk-go/.models.security.detonationBehaviourDetailsable::|public|GetOdataType():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.security.detonationBehaviourDetailsable::|public|GetOperation():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.security.detonationBehaviourDetailsable::|public|GetProcessId():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.security.detonationBehaviourDetailsable::|public|GetProcessName():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.security.detonationBehaviourDetailsable::|public|GetTarget():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.security.detonationBehaviourDetailsable::|public|SetActionStatus(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.detonationBehaviourDetailsable::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.detonationBehaviourDetailsable::|public|SetBehaviourCapability(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.detonationBehaviourDetailsable::|public|SetBehaviourGroup(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.detonationBehaviourDetailsable::|public|SetDetails(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.detonationBehaviourDetailsable::|public|SetEventDateTime(value:*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.detonationBehaviourDetailsable::|public|SetOdataType(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.detonationBehaviourDetailsable::|public|SetOperation(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.detonationBehaviourDetailsable::|public|SetProcessId(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.detonationBehaviourDetailsable::|public|SetProcessName(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.detonationBehaviourDetailsable::|public|SetTarget(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.detonationBehaviourDetailsable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder; *ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.security.detonationBehaviourDetails~~>DetonationBehaviourDetailsable +github.com/microsoftgraph/msgraph-sdk-go/.models.security.detonationChain::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.detonationChain::|public|GetAdditionalData():map[string]any +github.com/microsoftgraph/msgraph-sdk-go/.models.security.detonationChain::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.models.security.detonationChain::|public|GetChildNodes():[]DetonationChainable +github.com/microsoftgraph/msgraph-sdk-go/.models.security.detonationChain::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.security.detonationChain::|public|GetOdataType():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.security.detonationChain::|public|GetValue():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.security.detonationChain::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.detonationChain::|public|SetAdditionalData(value:map[string]any):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.detonationChain::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.detonationChain::|public|SetChildNodes(value:[]DetonationChainable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.detonationChain::|public|SetOdataType(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.detonationChain::|public|SetValue(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.detonationChain::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.security.detonationChainable::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.models.security.detonationChainable::|public|GetChildNodes():[]DetonationChainable +github.com/microsoftgraph/msgraph-sdk-go/.models.security.detonationChainable::|public|GetOdataType():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.security.detonationChainable::|public|GetValue():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.security.detonationChainable::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.detonationChainable::|public|SetChildNodes(value:[]DetonationChainable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.detonationChainable::|public|SetOdataType(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.detonationChainable::|public|SetValue(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.detonationChainable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder; *ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.security.detonationChain~~>DetonationChainable +github.com/microsoftgraph/msgraph-sdk-go/.models.security.detonationDetails::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.detonationDetails::|public|GetAdditionalData():map[string]any +github.com/microsoftgraph/msgraph-sdk-go/.models.security.detonationDetails::|public|GetAnalysisDateTime():*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time +github.com/microsoftgraph/msgraph-sdk-go/.models.security.detonationDetails::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.models.security.detonationDetails::|public|GetCompromiseIndicators():[]CompromiseIndicatorable +github.com/microsoftgraph/msgraph-sdk-go/.models.security.detonationDetails::|public|GetDetonationBehaviourDetails():DetonationBehaviourDetailsable +github.com/microsoftgraph/msgraph-sdk-go/.models.security.detonationDetails::|public|GetDetonationBehaviourDetailsV2():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.security.detonationDetails::|public|GetDetonationChain():DetonationChainable +github.com/microsoftgraph/msgraph-sdk-go/.models.security.detonationDetails::|public|GetDetonationObservables():DetonationObservablesable +github.com/microsoftgraph/msgraph-sdk-go/.models.security.detonationDetails::|public|GetDetonationScreenshotUri():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.security.detonationDetails::|public|GetDetonationVerdict():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.security.detonationDetails::|public|GetDetonationVerdictReason():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.security.detonationDetails::|public|GetEntityMetadata():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.security.detonationDetails::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.security.detonationDetails::|public|GetMitreTechniques():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.security.detonationDetails::|public|GetOdataType():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.security.detonationDetails::|public|GetStaticAnalysis():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.security.detonationDetails::|public|GetSubmissionSource():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.security.detonationDetails::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.detonationDetails::|public|SetAdditionalData(value:map[string]any):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.detonationDetails::|public|SetAnalysisDateTime(value:*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.detonationDetails::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.detonationDetails::|public|SetCompromiseIndicators(value:[]CompromiseIndicatorable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.detonationDetails::|public|SetDetonationBehaviourDetails(value:DetonationBehaviourDetailsable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.detonationDetails::|public|SetDetonationBehaviourDetailsV2(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.detonationDetails::|public|SetDetonationChain(value:DetonationChainable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.detonationDetails::|public|SetDetonationObservables(value:DetonationObservablesable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.detonationDetails::|public|SetDetonationScreenshotUri(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.detonationDetails::|public|SetDetonationVerdict(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.detonationDetails::|public|SetDetonationVerdictReason(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.detonationDetails::|public|SetEntityMetadata(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.detonationDetails::|public|SetMitreTechniques(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.detonationDetails::|public|SetOdataType(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.detonationDetails::|public|SetStaticAnalysis(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.detonationDetails::|public|SetSubmissionSource(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.detonationDetails::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.security.detonationDetailsable::|public|GetAnalysisDateTime():*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time +github.com/microsoftgraph/msgraph-sdk-go/.models.security.detonationDetailsable::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.models.security.detonationDetailsable::|public|GetCompromiseIndicators():[]CompromiseIndicatorable +github.com/microsoftgraph/msgraph-sdk-go/.models.security.detonationDetailsable::|public|GetDetonationBehaviourDetails():DetonationBehaviourDetailsable +github.com/microsoftgraph/msgraph-sdk-go/.models.security.detonationDetailsable::|public|GetDetonationBehaviourDetailsV2():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.security.detonationDetailsable::|public|GetDetonationChain():DetonationChainable +github.com/microsoftgraph/msgraph-sdk-go/.models.security.detonationDetailsable::|public|GetDetonationObservables():DetonationObservablesable +github.com/microsoftgraph/msgraph-sdk-go/.models.security.detonationDetailsable::|public|GetDetonationScreenshotUri():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.security.detonationDetailsable::|public|GetDetonationVerdict():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.security.detonationDetailsable::|public|GetDetonationVerdictReason():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.security.detonationDetailsable::|public|GetEntityMetadata():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.security.detonationDetailsable::|public|GetMitreTechniques():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.security.detonationDetailsable::|public|GetOdataType():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.security.detonationDetailsable::|public|GetStaticAnalysis():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.security.detonationDetailsable::|public|GetSubmissionSource():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.security.detonationDetailsable::|public|SetAnalysisDateTime(value:*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.detonationDetailsable::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.detonationDetailsable::|public|SetCompromiseIndicators(value:[]CompromiseIndicatorable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.detonationDetailsable::|public|SetDetonationBehaviourDetails(value:DetonationBehaviourDetailsable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.detonationDetailsable::|public|SetDetonationBehaviourDetailsV2(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.detonationDetailsable::|public|SetDetonationChain(value:DetonationChainable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.detonationDetailsable::|public|SetDetonationObservables(value:DetonationObservablesable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.detonationDetailsable::|public|SetDetonationScreenshotUri(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.detonationDetailsable::|public|SetDetonationVerdict(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.detonationDetailsable::|public|SetDetonationVerdictReason(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.detonationDetailsable::|public|SetEntityMetadata(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.detonationDetailsable::|public|SetMitreTechniques(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.detonationDetailsable::|public|SetOdataType(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.detonationDetailsable::|public|SetStaticAnalysis(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.detonationDetailsable::|public|SetSubmissionSource(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.detonationDetailsable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder; *ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.security.detonationDetails~~>DetonationDetailsable +github.com/microsoftgraph/msgraph-sdk-go/.models.security.detonationObservables::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.detonationObservables::|public|GetAdditionalData():map[string]any +github.com/microsoftgraph/msgraph-sdk-go/.models.security.detonationObservables::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.models.security.detonationObservables::|public|GetContactedIps():[]string +github.com/microsoftgraph/msgraph-sdk-go/.models.security.detonationObservables::|public|GetContactedUrls():[]string +github.com/microsoftgraph/msgraph-sdk-go/.models.security.detonationObservables::|public|GetDroppedfiles():[]string +github.com/microsoftgraph/msgraph-sdk-go/.models.security.detonationObservables::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.security.detonationObservables::|public|GetOdataType():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.security.detonationObservables::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.detonationObservables::|public|SetAdditionalData(value:map[string]any):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.detonationObservables::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.detonationObservables::|public|SetContactedIps(value:[]string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.detonationObservables::|public|SetContactedUrls(value:[]string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.detonationObservables::|public|SetDroppedfiles(value:[]string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.detonationObservables::|public|SetOdataType(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.detonationObservables::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.security.detonationObservablesable::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.models.security.detonationObservablesable::|public|GetContactedIps():[]string +github.com/microsoftgraph/msgraph-sdk-go/.models.security.detonationObservablesable::|public|GetContactedUrls():[]string +github.com/microsoftgraph/msgraph-sdk-go/.models.security.detonationObservablesable::|public|GetDroppedfiles():[]string +github.com/microsoftgraph/msgraph-sdk-go/.models.security.detonationObservablesable::|public|GetOdataType():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.security.detonationObservablesable::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.detonationObservablesable::|public|SetContactedIps(value:[]string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.detonationObservablesable::|public|SetContactedUrls(value:[]string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.detonationObservablesable::|public|SetDroppedfiles(value:[]string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.detonationObservablesable::|public|SetOdataType(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.detonationObservablesable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder; *ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.security.detonationObservables~~>DetonationObservablesable github.com/microsoftgraph/msgraph-sdk-go/.models.security.deviceEvidence-->*AlertEvidence github.com/microsoftgraph/msgraph-sdk-go/.models.security.deviceEvidence::|public|constructor():void github.com/microsoftgraph/msgraph-sdk-go/.models.security.deviceEvidence::|public|GetAzureAdDeviceId():*string @@ -179545,6 +182623,10 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.security.eventQueryable::|publi github.com/microsoftgraph/msgraph-sdk-go/.models.security.eventQueryable::|public|SetQueryType(value:*QueryType):void github.com/microsoftgraph/msgraph-sdk-go/.models.security.eventQueryable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder; *ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable github.com/microsoftgraph/msgraph-sdk-go/.models.security.eventQuery~~>EventQueryable +github.com/microsoftgraph/msgraph-sdk-go/.models.security.eventSource::0000-system +github.com/microsoftgraph/msgraph-sdk-go/.models.security.eventSource::0001-admin +github.com/microsoftgraph/msgraph-sdk-go/.models.security.eventSource::0002-user +github.com/microsoftgraph/msgraph-sdk-go/.models.security.eventSource::0003-unknownFutureValue github.com/microsoftgraph/msgraph-sdk-go/.models.security.eventStatusType::0000-pending github.com/microsoftgraph/msgraph-sdk-go/.models.security.eventStatusType::0001-error github.com/microsoftgraph/msgraph-sdk-go/.models.security.eventStatusType::0002-success @@ -181703,6 +184785,26 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.security.malwareEvidenceable::| github.com/microsoftgraph/msgraph-sdk-go/.models.security.malwareEvidenceable::|public|SetName(value:*string):void github.com/microsoftgraph/msgraph-sdk-go/.models.security.malwareEvidenceable::|public|SetProcesses(value:[]ProcessEvidenceable):void github.com/microsoftgraph/msgraph-sdk-go/.models.security.malwareEvidenceable~~>AlertEvidenceable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.security.mergeResponse::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.mergeResponse::|public|GetAdditionalData():map[string]any +github.com/microsoftgraph/msgraph-sdk-go/.models.security.mergeResponse::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.models.security.mergeResponse::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.security.mergeResponse::|public|GetOdataType():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.security.mergeResponse::|public|GetTargetIncidentId():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.security.mergeResponse::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.mergeResponse::|public|SetAdditionalData(value:map[string]any):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.mergeResponse::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.mergeResponse::|public|SetOdataType(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.mergeResponse::|public|SetTargetIncidentId(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.mergeResponse::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.security.mergeResponseable::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.models.security.mergeResponseable::|public|GetOdataType():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.security.mergeResponseable::|public|GetTargetIncidentId():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.security.mergeResponseable::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.mergeResponseable::|public|SetOdataType(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.mergeResponseable::|public|SetTargetIncidentId(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.mergeResponseable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder; *ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.security.mergeResponse~~>MergeResponseable github.com/microsoftgraph/msgraph-sdk-go/.models.security.networkAdapter-->*iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Entity github.com/microsoftgraph/msgraph-sdk-go/.models.security.networkAdapter::|public|constructor():void github.com/microsoftgraph/msgraph-sdk-go/.models.security.networkAdapter::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) @@ -182001,6 +185103,17 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.security.registryValueEvidencea github.com/microsoftgraph/msgraph-sdk-go/.models.security.registryValueEvidenceable::|public|SetRegistryValueName(value:*string):void github.com/microsoftgraph/msgraph-sdk-go/.models.security.registryValueEvidenceable::|public|SetRegistryValueType(value:*string):void github.com/microsoftgraph/msgraph-sdk-go/.models.security.registryValueEvidenceable~~>AlertEvidenceable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.security.remediationAction::0000-moveToJunk +github.com/microsoftgraph/msgraph-sdk-go/.models.security.remediationAction::0001-moveToInbox +github.com/microsoftgraph/msgraph-sdk-go/.models.security.remediationAction::0002-hardDelete +github.com/microsoftgraph/msgraph-sdk-go/.models.security.remediationAction::0003-softDelete +github.com/microsoftgraph/msgraph-sdk-go/.models.security.remediationAction::0004-moveToDeletedItems +github.com/microsoftgraph/msgraph-sdk-go/.models.security.remediationAction::0005-unknownFutureValue +github.com/microsoftgraph/msgraph-sdk-go/.models.security.remediationAction::0006-moveToQuarantine +github.com/microsoftgraph/msgraph-sdk-go/.models.security.remediationSeverity::0000-low +github.com/microsoftgraph/msgraph-sdk-go/.models.security.remediationSeverity::0001-medium +github.com/microsoftgraph/msgraph-sdk-go/.models.security.remediationSeverity::0002-high +github.com/microsoftgraph/msgraph-sdk-go/.models.security.remediationSeverity::0003-unknownFutureValue github.com/microsoftgraph/msgraph-sdk-go/.models.security.reportFileMetadata::|public|constructor():void github.com/microsoftgraph/msgraph-sdk-go/.models.security.reportFileMetadata::|public|GetAdditionalData():map[string]any github.com/microsoftgraph/msgraph-sdk-go/.models.security.reportFileMetadata::|public|GetBackingStore():BackingStore @@ -182656,6 +185769,7 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.security.serviceSource::0010-mi github.com/microsoftgraph/msgraph-sdk-go/.models.security.serviceSource::0011-microsoftSentinel github.com/microsoftgraph/msgraph-sdk-go/.models.security.serviceSource::0012-microsoftInsiderRiskManagement github.com/microsoftgraph/msgraph-sdk-go/.models.security.serviceSource::0013-microsoftThreatIntelligence +github.com/microsoftgraph/msgraph-sdk-go/.models.security.serviceSource::0014-microsoftSecurityForAI github.com/microsoftgraph/msgraph-sdk-go/.models.security.serviceStatus::0000-stopped github.com/microsoftgraph/msgraph-sdk-go/.models.security.serviceStatus::0001-starting github.com/microsoftgraph/msgraph-sdk-go/.models.security.serviceStatus::0002-running @@ -183079,6 +186193,34 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.security.teamsMessageEvidenceab github.com/microsoftgraph/msgraph-sdk-go/.models.security.teamsMessageEvidenceable::|public|SetThreadType(value:*string):void github.com/microsoftgraph/msgraph-sdk-go/.models.security.teamsMessageEvidenceable::|public|SetUrls(value:[]UrlEvidenceable):void github.com/microsoftgraph/msgraph-sdk-go/.models.security.teamsMessageEvidenceable~~>AlertEvidenceable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.security.threatDetectionDetail::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.threatDetectionDetail::|public|GetAdditionalData():map[string]any +github.com/microsoftgraph/msgraph-sdk-go/.models.security.threatDetectionDetail::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.models.security.threatDetectionDetail::|public|GetConfidenceLevel():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.security.threatDetectionDetail::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.security.threatDetectionDetail::|public|GetOdataType():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.security.threatDetectionDetail::|public|GetPriorityAccountProtection():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.security.threatDetectionDetail::|public|GetThreats():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.security.threatDetectionDetail::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.threatDetectionDetail::|public|SetAdditionalData(value:map[string]any):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.threatDetectionDetail::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.threatDetectionDetail::|public|SetConfidenceLevel(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.threatDetectionDetail::|public|SetOdataType(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.threatDetectionDetail::|public|SetPriorityAccountProtection(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.threatDetectionDetail::|public|SetThreats(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.threatDetectionDetail::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.security.threatDetectionDetailable::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.models.security.threatDetectionDetailable::|public|GetConfidenceLevel():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.security.threatDetectionDetailable::|public|GetOdataType():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.security.threatDetectionDetailable::|public|GetPriorityAccountProtection():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.security.threatDetectionDetailable::|public|GetThreats():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.security.threatDetectionDetailable::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.threatDetectionDetailable::|public|SetConfidenceLevel(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.threatDetectionDetailable::|public|SetOdataType(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.threatDetectionDetailable::|public|SetPriorityAccountProtection(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.threatDetectionDetailable::|public|SetThreats(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.threatDetectionDetailable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder; *ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.security.threatDetectionDetail~~>ThreatDetectionDetailable github.com/microsoftgraph/msgraph-sdk-go/.models.security.threatIntelligence-->*iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Entity github.com/microsoftgraph/msgraph-sdk-go/.models.security.threatIntelligence::|public|constructor():void github.com/microsoftgraph/msgraph-sdk-go/.models.security.threatIntelligence::|public|GetArticleIndicators():[]ArticleIndicatorable @@ -183154,6 +186296,62 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.security.threatIntelligenceable github.com/microsoftgraph/msgraph-sdk-go/.models.security.threatIntelligenceable::|public|SetWhoisHistoryRecords(value:[]WhoisHistoryRecordable):void github.com/microsoftgraph/msgraph-sdk-go/.models.security.threatIntelligenceable::|public|SetWhoisRecords(value:[]WhoisRecordable):void github.com/microsoftgraph/msgraph-sdk-go/.models.security.threatIntelligenceable~~>iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Entityable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.security.threatType::0000-unknown +github.com/microsoftgraph/msgraph-sdk-go/.models.security.threatType::0001-spam +github.com/microsoftgraph/msgraph-sdk-go/.models.security.threatType::0002-malware +github.com/microsoftgraph/msgraph-sdk-go/.models.security.threatType::0003-phish +github.com/microsoftgraph/msgraph-sdk-go/.models.security.threatType::0004-none +github.com/microsoftgraph/msgraph-sdk-go/.models.security.threatType::0005-unknownFutureValue +github.com/microsoftgraph/msgraph-sdk-go/.models.security.timelineEvent::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.timelineEvent::|public|GetAdditionalData():map[string]any +github.com/microsoftgraph/msgraph-sdk-go/.models.security.timelineEvent::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.models.security.timelineEvent::|public|GetEventDateTime():*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time +github.com/microsoftgraph/msgraph-sdk-go/.models.security.timelineEvent::|public|GetEventDetails():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.security.timelineEvent::|public|GetEventResult():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.security.timelineEvent::|public|GetEventSource():*EventSource +github.com/microsoftgraph/msgraph-sdk-go/.models.security.timelineEvent::|public|GetEventThreats():[]string +github.com/microsoftgraph/msgraph-sdk-go/.models.security.timelineEvent::|public|GetEventType():*TimelineEventType +github.com/microsoftgraph/msgraph-sdk-go/.models.security.timelineEvent::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.security.timelineEvent::|public|GetOdataType():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.security.timelineEvent::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.timelineEvent::|public|SetAdditionalData(value:map[string]any):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.timelineEvent::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.timelineEvent::|public|SetEventDateTime(value:*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.timelineEvent::|public|SetEventDetails(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.timelineEvent::|public|SetEventResult(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.timelineEvent::|public|SetEventSource(value:*EventSource):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.timelineEvent::|public|SetEventThreats(value:[]string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.timelineEvent::|public|SetEventType(value:*TimelineEventType):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.timelineEvent::|public|SetOdataType(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.timelineEvent::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.security.timelineEventable::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.models.security.timelineEventable::|public|GetEventDateTime():*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time +github.com/microsoftgraph/msgraph-sdk-go/.models.security.timelineEventable::|public|GetEventDetails():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.security.timelineEventable::|public|GetEventResult():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.security.timelineEventable::|public|GetEventSource():*EventSource +github.com/microsoftgraph/msgraph-sdk-go/.models.security.timelineEventable::|public|GetEventThreats():[]string +github.com/microsoftgraph/msgraph-sdk-go/.models.security.timelineEventable::|public|GetEventType():*TimelineEventType +github.com/microsoftgraph/msgraph-sdk-go/.models.security.timelineEventable::|public|GetOdataType():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.security.timelineEventable::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.timelineEventable::|public|SetEventDateTime(value:*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.timelineEventable::|public|SetEventDetails(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.timelineEventable::|public|SetEventResult(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.timelineEventable::|public|SetEventSource(value:*EventSource):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.timelineEventable::|public|SetEventThreats(value:[]string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.timelineEventable::|public|SetEventType(value:*TimelineEventType):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.timelineEventable::|public|SetOdataType(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.timelineEventable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder; *ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.security.timelineEventType::0000-originalDelivery +github.com/microsoftgraph/msgraph-sdk-go/.models.security.timelineEventType::0001-systemTimeTravel +github.com/microsoftgraph/msgraph-sdk-go/.models.security.timelineEventType::0002-dynamicDelivery +github.com/microsoftgraph/msgraph-sdk-go/.models.security.timelineEventType::0003-userUrlClick +github.com/microsoftgraph/msgraph-sdk-go/.models.security.timelineEventType::0004-reprocessed +github.com/microsoftgraph/msgraph-sdk-go/.models.security.timelineEventType::0005-zap +github.com/microsoftgraph/msgraph-sdk-go/.models.security.timelineEventType::0006-quarantineRelease +github.com/microsoftgraph/msgraph-sdk-go/.models.security.timelineEventType::0007-air +github.com/microsoftgraph/msgraph-sdk-go/.models.security.timelineEventType::0008-unknown +github.com/microsoftgraph/msgraph-sdk-go/.models.security.timelineEventType::0009-unknownFutureValue +github.com/microsoftgraph/msgraph-sdk-go/.models.security.timelineEvent~~>TimelineEventable github.com/microsoftgraph/msgraph-sdk-go/.models.security.topicModelingSettings::|public|constructor():void github.com/microsoftgraph/msgraph-sdk-go/.models.security.topicModelingSettings::|public|GetAdditionalData():map[string]any github.com/microsoftgraph/msgraph-sdk-go/.models.security.topicModelingSettings::|public|GetBackingStore():BackingStore @@ -183285,6 +186483,7 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.security.userAccount::|public|G github.com/microsoftgraph/msgraph-sdk-go/.models.security.userAccount::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) github.com/microsoftgraph/msgraph-sdk-go/.models.security.userAccount::|public|GetOdataType():*string github.com/microsoftgraph/msgraph-sdk-go/.models.security.userAccount::|public|GetResourceAccessEvents():[]ResourceAccessEventable +github.com/microsoftgraph/msgraph-sdk-go/.models.security.userAccount::|public|GetTenantId():*string github.com/microsoftgraph/msgraph-sdk-go/.models.security.userAccount::|public|GetUserPrincipalName():*string github.com/microsoftgraph/msgraph-sdk-go/.models.security.userAccount::|public|GetUserSid():*string github.com/microsoftgraph/msgraph-sdk-go/.models.security.userAccount::|public|Serialize(writer:SerializationWriter):void @@ -183297,6 +186496,7 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.security.userAccount::|public|S github.com/microsoftgraph/msgraph-sdk-go/.models.security.userAccount::|public|SetDomainName(value:*string):void github.com/microsoftgraph/msgraph-sdk-go/.models.security.userAccount::|public|SetOdataType(value:*string):void github.com/microsoftgraph/msgraph-sdk-go/.models.security.userAccount::|public|SetResourceAccessEvents(value:[]ResourceAccessEventable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.userAccount::|public|SetTenantId(value:*string):void github.com/microsoftgraph/msgraph-sdk-go/.models.security.userAccount::|public|SetUserPrincipalName(value:*string):void github.com/microsoftgraph/msgraph-sdk-go/.models.security.userAccount::|public|SetUserSid(value:*string):void github.com/microsoftgraph/msgraph-sdk-go/.models.security.userAccount::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable @@ -183308,6 +186508,7 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.security.userAccountable::|publ github.com/microsoftgraph/msgraph-sdk-go/.models.security.userAccountable::|public|GetDomainName():*string github.com/microsoftgraph/msgraph-sdk-go/.models.security.userAccountable::|public|GetOdataType():*string github.com/microsoftgraph/msgraph-sdk-go/.models.security.userAccountable::|public|GetResourceAccessEvents():[]ResourceAccessEventable +github.com/microsoftgraph/msgraph-sdk-go/.models.security.userAccountable::|public|GetTenantId():*string github.com/microsoftgraph/msgraph-sdk-go/.models.security.userAccountable::|public|GetUserPrincipalName():*string github.com/microsoftgraph/msgraph-sdk-go/.models.security.userAccountable::|public|GetUserSid():*string github.com/microsoftgraph/msgraph-sdk-go/.models.security.userAccountable::|public|SetAccountName(value:*string):void @@ -183318,6 +186519,7 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.security.userAccountable::|publ github.com/microsoftgraph/msgraph-sdk-go/.models.security.userAccountable::|public|SetDomainName(value:*string):void github.com/microsoftgraph/msgraph-sdk-go/.models.security.userAccountable::|public|SetOdataType(value:*string):void github.com/microsoftgraph/msgraph-sdk-go/.models.security.userAccountable::|public|SetResourceAccessEvents(value:[]ResourceAccessEventable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.userAccountable::|public|SetTenantId(value:*string):void github.com/microsoftgraph/msgraph-sdk-go/.models.security.userAccountable::|public|SetUserPrincipalName(value:*string):void github.com/microsoftgraph/msgraph-sdk-go/.models.security.userAccountable::|public|SetUserSid(value:*string):void github.com/microsoftgraph/msgraph-sdk-go/.models.security.userAccountable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder; *ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable @@ -183366,6 +186568,16 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.security.userSourceCollectionRe github.com/microsoftgraph/msgraph-sdk-go/.models.security.userSourceCollectionResponseable::|public|GetValue():[]UserSourceable github.com/microsoftgraph/msgraph-sdk-go/.models.security.userSourceCollectionResponseable::|public|SetValue(value:[]UserSourceable):void github.com/microsoftgraph/msgraph-sdk-go/.models.security.userSourceCollectionResponseable~~>iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.BaseCollectionPaginationCountResponseable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.security.verdictCategory::0000-none +github.com/microsoftgraph/msgraph-sdk-go/.models.security.verdictCategory::0001-malware +github.com/microsoftgraph/msgraph-sdk-go/.models.security.verdictCategory::0002-phish +github.com/microsoftgraph/msgraph-sdk-go/.models.security.verdictCategory::0003-siteUnavailable +github.com/microsoftgraph/msgraph-sdk-go/.models.security.verdictCategory::0004-spam +github.com/microsoftgraph/msgraph-sdk-go/.models.security.verdictCategory::0005-decryptionFailed +github.com/microsoftgraph/msgraph-sdk-go/.models.security.verdictCategory::0006-unsupportedUriScheme +github.com/microsoftgraph/msgraph-sdk-go/.models.security.verdictCategory::0007-unsupportedFileType +github.com/microsoftgraph/msgraph-sdk-go/.models.security.verdictCategory::0008-undefined +github.com/microsoftgraph/msgraph-sdk-go/.models.security.verdictCategory::0009-unknownFutureValue github.com/microsoftgraph/msgraph-sdk-go/.models.security.vmCloudProvider::0000-unknown github.com/microsoftgraph/msgraph-sdk-go/.models.security.vmCloudProvider::0001-azure github.com/microsoftgraph/msgraph-sdk-go/.models.security.vmCloudProvider::0002-unknownFutureValue @@ -187739,6 +190951,14 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.specialFolderable::|public|SetN github.com/microsoftgraph/msgraph-sdk-go/.models.specialFolderable::|public|SetOdataType(value:*string):void github.com/microsoftgraph/msgraph-sdk-go/.models.specialFolderable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder; *ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable github.com/microsoftgraph/msgraph-sdk-go/.models.specialFolder~~>SpecialFolderable +github.com/microsoftgraph/msgraph-sdk-go/.models.sslVersion::0000-none +github.com/microsoftgraph/msgraph-sdk-go/.models.sslVersion::0001-ssl3_0 +github.com/microsoftgraph/msgraph-sdk-go/.models.sslVersion::0002-tls1_0 +github.com/microsoftgraph/msgraph-sdk-go/.models.sslVersion::0003-tls1_1 +github.com/microsoftgraph/msgraph-sdk-go/.models.sslVersion::0004-tls1_2 +github.com/microsoftgraph/msgraph-sdk-go/.models.sslVersion::0005-tls1_3 +github.com/microsoftgraph/msgraph-sdk-go/.models.sslVersion::0006-notSupported +github.com/microsoftgraph/msgraph-sdk-go/.models.sslVersion::0007-unknownFutureValue github.com/microsoftgraph/msgraph-sdk-go/.models.staffAvailabilityItem::|public|constructor():void github.com/microsoftgraph/msgraph-sdk-go/.models.staffAvailabilityItem::|public|GetAdditionalData():map[string]any github.com/microsoftgraph/msgraph-sdk-go/.models.staffAvailabilityItem::|public|GetAvailabilityItems():[]AvailabilityItemable @@ -189272,6 +192492,27 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.targetDeviceGroupCollectionResp github.com/microsoftgraph/msgraph-sdk-go/.models.targetDeviceGroupCollectionResponseable::|public|GetValue():[]TargetDeviceGroupable github.com/microsoftgraph/msgraph-sdk-go/.models.targetDeviceGroupCollectionResponseable::|public|SetValue(value:[]TargetDeviceGroupable):void github.com/microsoftgraph/msgraph-sdk-go/.models.targetDeviceGroupCollectionResponseable~~>BaseCollectionPaginationCountResponseable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.targetedChatMessage-->*ChatMessage +github.com/microsoftgraph/msgraph-sdk-go/.models.targetedChatMessage::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.targetedChatMessage::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.targetedChatMessage::|public|GetRecipient():Identityable +github.com/microsoftgraph/msgraph-sdk-go/.models.targetedChatMessage::|public|OdataType:*string +github.com/microsoftgraph/msgraph-sdk-go/.models.targetedChatMessage::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.targetedChatMessage::|public|SetRecipient(value:Identityable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.targetedChatMessage::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.targetedChatMessageable::|public|GetRecipient():Identityable +github.com/microsoftgraph/msgraph-sdk-go/.models.targetedChatMessageable::|public|SetRecipient(value:Identityable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.targetedChatMessageable~~>ChatMessageable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.targetedChatMessageCollectionResponse-->*BaseCollectionPaginationCountResponse +github.com/microsoftgraph/msgraph-sdk-go/.models.targetedChatMessageCollectionResponse::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.targetedChatMessageCollectionResponse::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.targetedChatMessageCollectionResponse::|public|GetValue():[]TargetedChatMessageable +github.com/microsoftgraph/msgraph-sdk-go/.models.targetedChatMessageCollectionResponse::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.targetedChatMessageCollectionResponse::|public|SetValue(value:[]TargetedChatMessageable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.targetedChatMessageCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.targetedChatMessageCollectionResponseable::|public|GetValue():[]TargetedChatMessageable +github.com/microsoftgraph/msgraph-sdk-go/.models.targetedChatMessageCollectionResponseable::|public|SetValue(value:[]TargetedChatMessageable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.targetedChatMessageCollectionResponseable~~>BaseCollectionPaginationCountResponseable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable github.com/microsoftgraph/msgraph-sdk-go/.models.targetedManagedAppConfiguration-->*ManagedAppConfiguration github.com/microsoftgraph/msgraph-sdk-go/.models.targetedManagedAppConfiguration::|public|constructor():void github.com/microsoftgraph/msgraph-sdk-go/.models.targetedManagedAppConfiguration::|public|GetApps():[]ManagedMobileAppable @@ -196717,6 +199958,16 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.userLastSignInRecommendationIns github.com/microsoftgraph/msgraph-sdk-go/.models.userLastSignInRecommendationInsightSettingable::|public|SetRecommendationLookBackDuration(value:*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ISODuration):void github.com/microsoftgraph/msgraph-sdk-go/.models.userLastSignInRecommendationInsightSettingable::|public|SetSignInScope(value:*UserSignInRecommendationScope):void github.com/microsoftgraph/msgraph-sdk-go/.models.userLastSignInRecommendationInsightSettingable~~>AccessReviewRecommendationInsightSettingable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.userOwnership::0000-none +github.com/microsoftgraph/msgraph-sdk-go/.models.userOwnership::0001-lawfulBasisForProcessing +github.com/microsoftgraph/msgraph-sdk-go/.models.userOwnership::0002-rightToAccess +github.com/microsoftgraph/msgraph-sdk-go/.models.userOwnership::0003-rightToBeInformed +github.com/microsoftgraph/msgraph-sdk-go/.models.userOwnership::0004-rightToDataPortability +github.com/microsoftgraph/msgraph-sdk-go/.models.userOwnership::0005-rightToObject +github.com/microsoftgraph/msgraph-sdk-go/.models.userOwnership::0006-rightToRectification +github.com/microsoftgraph/msgraph-sdk-go/.models.userOwnership::0007-rightToRestrictionOfProcessing +github.com/microsoftgraph/msgraph-sdk-go/.models.userOwnership::0008-rightsRelatedToAutomatedDecisionMaking +github.com/microsoftgraph/msgraph-sdk-go/.models.userOwnership::0009-unknownFutureValue github.com/microsoftgraph/msgraph-sdk-go/.models.userPrint::|public|constructor():void github.com/microsoftgraph/msgraph-sdk-go/.models.userPrint::|public|GetAdditionalData():map[string]any github.com/microsoftgraph/msgraph-sdk-go/.models.userPrint::|public|GetBackingStore():BackingStore @@ -197384,6 +200635,26 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.userWorkLocationable::|public|S github.com/microsoftgraph/msgraph-sdk-go/.models.userWorkLocationable::|public|SetWorkLocationType(value:*WorkLocationType):void github.com/microsoftgraph/msgraph-sdk-go/.models.userWorkLocationable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder; *ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable github.com/microsoftgraph/msgraph-sdk-go/.models.userWorkLocation~~>UserWorkLocationable +github.com/microsoftgraph/msgraph-sdk-go/.models.validatingDomains::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.validatingDomains::|public|GetAdditionalData():map[string]any +github.com/microsoftgraph/msgraph-sdk-go/.models.validatingDomains::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.models.validatingDomains::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.validatingDomains::|public|GetOdataType():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.validatingDomains::|public|GetRootDomains():*RootDomains +github.com/microsoftgraph/msgraph-sdk-go/.models.validatingDomains::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.validatingDomains::|public|SetAdditionalData(value:map[string]any):void +github.com/microsoftgraph/msgraph-sdk-go/.models.validatingDomains::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.models.validatingDomains::|public|SetOdataType(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.validatingDomains::|public|SetRootDomains(value:*RootDomains):void +github.com/microsoftgraph/msgraph-sdk-go/.models.validatingDomains::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.validatingDomainsable::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.models.validatingDomainsable::|public|GetOdataType():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.validatingDomainsable::|public|GetRootDomains():*RootDomains +github.com/microsoftgraph/msgraph-sdk-go/.models.validatingDomainsable::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.models.validatingDomainsable::|public|SetOdataType(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.validatingDomainsable::|public|SetRootDomains(value:*RootDomains):void +github.com/microsoftgraph/msgraph-sdk-go/.models.validatingDomainsable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder; *ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.validatingDomains~~>ValidatingDomainsable github.com/microsoftgraph/msgraph-sdk-go/.models.verifiableCredentialAuthenticationMethodTarget-->*AuthenticationMethodTarget github.com/microsoftgraph/msgraph-sdk-go/.models.verifiableCredentialAuthenticationMethodTarget::|public|constructor():void github.com/microsoftgraph/msgraph-sdk-go/.models.verifiableCredentialAuthenticationMethodTarget::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) @@ -209918,6 +213189,28 @@ github.com/microsoftgraph/msgraph-sdk-go/.policies.FeatureRolloutPoliciesRequest github.com/microsoftgraph/msgraph-sdk-go/.policies.FeatureRolloutPoliciesRequestBuilder::|public|ToPostRequestInformation(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.FeatureRolloutPolicyable; ctx:context.Context; requestConfiguration?:*FeatureRolloutPoliciesRequestBuilderPostRequestConfiguration):*RequestInformation github.com/microsoftgraph/msgraph-sdk-go/.policies.FeatureRolloutPoliciesRequestBuilder::|public|urlTemplate:string github.com/microsoftgraph/msgraph-sdk-go/.policies.FeatureRolloutPoliciesRequestBuilder::|public|WithUrl(rawUrl:string):*FeatureRolloutPoliciesRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.policies.FederatedTokenValidationPolicyRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.policies.FederatedTokenValidationPolicyRequestBuilder.FederatedTokenValidationPolicyRequestBuilderDeleteRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.policies.FederatedTokenValidationPolicyRequestBuilder.FederatedTokenValidationPolicyRequestBuilderDeleteRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.policies.FederatedTokenValidationPolicyRequestBuilder.FederatedTokenValidationPolicyRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-sdk-go/.policies.FederatedTokenValidationPolicyRequestBuilder.FederatedTokenValidationPolicyRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-sdk-go/.policies.FederatedTokenValidationPolicyRequestBuilder.FederatedTokenValidationPolicyRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.policies.FederatedTokenValidationPolicyRequestBuilder.FederatedTokenValidationPolicyRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.policies.FederatedTokenValidationPolicyRequestBuilder.FederatedTokenValidationPolicyRequestBuilderGetRequestConfiguration::|public|queryParameters:*FederatedTokenValidationPolicyRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.policies.FederatedTokenValidationPolicyRequestBuilder.FederatedTokenValidationPolicyRequestBuilderPatchRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.policies.FederatedTokenValidationPolicyRequestBuilder.FederatedTokenValidationPolicyRequestBuilderPatchRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.policies.FederatedTokenValidationPolicyRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.policies.FederatedTokenValidationPolicyRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.policies.FederatedTokenValidationPolicyRequestBuilder::|public|Delete(ctx:context.Context; requestConfiguration?:*FederatedTokenValidationPolicyRequestBuilderDeleteRequestConfiguration):void +github.com/microsoftgraph/msgraph-sdk-go/.policies.FederatedTokenValidationPolicyRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*FederatedTokenValidationPolicyRequestBuilderGetRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.FederatedTokenValidationPolicyable +github.com/microsoftgraph/msgraph-sdk-go/.policies.FederatedTokenValidationPolicyRequestBuilder::|public|Patch(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.FederatedTokenValidationPolicyable; ctx:context.Context; requestConfiguration?:*FederatedTokenValidationPolicyRequestBuilderPatchRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.FederatedTokenValidationPolicyable +github.com/microsoftgraph/msgraph-sdk-go/.policies.FederatedTokenValidationPolicyRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.policies.FederatedTokenValidationPolicyRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.policies.FederatedTokenValidationPolicyRequestBuilder::|public|ToDeleteRequestInformation(ctx:context.Context; requestConfiguration?:*FederatedTokenValidationPolicyRequestBuilderDeleteRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.policies.FederatedTokenValidationPolicyRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*FederatedTokenValidationPolicyRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.policies.FederatedTokenValidationPolicyRequestBuilder::|public|ToPatchRequestInformation(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.FederatedTokenValidationPolicyable; ctx:context.Context; requestConfiguration?:*FederatedTokenValidationPolicyRequestBuilderPatchRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.policies.FederatedTokenValidationPolicyRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.policies.FederatedTokenValidationPolicyRequestBuilder::|public|WithUrl(rawUrl:string):*FederatedTokenValidationPolicyRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.policies.HomeRealmDiscoveryPoliciesCountRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.policies.HomeRealmDiscoveryPoliciesCountRequestBuilder.HomeRealmDiscoveryPoliciesCountRequestBuilderGetQueryParameters::|public|Filter:*string github.com/microsoftgraph/msgraph-sdk-go/.policies.HomeRealmDiscoveryPoliciesCountRequestBuilder.HomeRealmDiscoveryPoliciesCountRequestBuilderGetQueryParameters::|public|Search:*string @@ -210282,6 +213575,7 @@ github.com/microsoftgraph/msgraph-sdk-go/.policies.policiesRequestBuilder::|publ github.com/microsoftgraph/msgraph-sdk-go/.policies.policiesRequestBuilder::|public|defaultAppManagementPolicy():*DefaultAppManagementPolicyRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.policies.policiesRequestBuilder::|public|deviceRegistrationPolicy():*DeviceRegistrationPolicyRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.policies.policiesRequestBuilder::|public|featureRolloutPolicies():*FeatureRolloutPoliciesRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.policies.policiesRequestBuilder::|public|federatedTokenValidationPolicy():*FederatedTokenValidationPolicyRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.policies.policiesRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*PoliciesRequestBuilderGetRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.PolicyRootable github.com/microsoftgraph/msgraph-sdk-go/.policies.policiesRequestBuilder::|public|homeRealmDiscoveryPolicies():*HomeRealmDiscoveryPoliciesRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.policies.policiesRequestBuilder::|public|identitySecurityDefaultsEnforcementPolicy():*IdentitySecurityDefaultsEnforcementPolicyRequestBuilder @@ -218700,6 +221994,45 @@ github.com/microsoftgraph/msgraph-sdk-go/.security.Alerts_v2ItemCommentsRequestB github.com/microsoftgraph/msgraph-sdk-go/.security.Alerts_v2ItemCommentsRequestBuilder::|public|ToPostRequestInformation(body:[]idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.AlertCommentable; ctx:context.Context; requestConfiguration?:*Alerts_v2ItemCommentsRequestBuilderPostRequestConfiguration):*RequestInformation github.com/microsoftgraph/msgraph-sdk-go/.security.Alerts_v2ItemCommentsRequestBuilder::|public|urlTemplate:string github.com/microsoftgraph/msgraph-sdk-go/.security.Alerts_v2ItemCommentsRequestBuilder::|public|WithUrl(rawUrl:string):*Alerts_v2ItemCommentsRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.security.Alerts_v2MicrosoftGraphSecurityMoveAlertsMoveAlertsPostRequestBody::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.security.Alerts_v2MicrosoftGraphSecurityMoveAlertsMoveAlertsPostRequestBody::|public|GetAdditionalData():map[string]any +github.com/microsoftgraph/msgraph-sdk-go/.security.Alerts_v2MicrosoftGraphSecurityMoveAlertsMoveAlertsPostRequestBody::|public|GetAlertComment():*string +github.com/microsoftgraph/msgraph-sdk-go/.security.Alerts_v2MicrosoftGraphSecurityMoveAlertsMoveAlertsPostRequestBody::|public|GetAlertIds():[]string +github.com/microsoftgraph/msgraph-sdk-go/.security.Alerts_v2MicrosoftGraphSecurityMoveAlertsMoveAlertsPostRequestBody::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.security.Alerts_v2MicrosoftGraphSecurityMoveAlertsMoveAlertsPostRequestBody::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.security.Alerts_v2MicrosoftGraphSecurityMoveAlertsMoveAlertsPostRequestBody::|public|GetIncidentId():*string +github.com/microsoftgraph/msgraph-sdk-go/.security.Alerts_v2MicrosoftGraphSecurityMoveAlertsMoveAlertsPostRequestBody::|public|GetNewCorrelationReasons():*idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.CorrelationReason +github.com/microsoftgraph/msgraph-sdk-go/.security.Alerts_v2MicrosoftGraphSecurityMoveAlertsMoveAlertsPostRequestBody::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.security.Alerts_v2MicrosoftGraphSecurityMoveAlertsMoveAlertsPostRequestBody::|public|SetAdditionalData(value:map[string]any):void +github.com/microsoftgraph/msgraph-sdk-go/.security.Alerts_v2MicrosoftGraphSecurityMoveAlertsMoveAlertsPostRequestBody::|public|SetAlertComment(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.security.Alerts_v2MicrosoftGraphSecurityMoveAlertsMoveAlertsPostRequestBody::|public|SetAlertIds(value:[]string):void +github.com/microsoftgraph/msgraph-sdk-go/.security.Alerts_v2MicrosoftGraphSecurityMoveAlertsMoveAlertsPostRequestBody::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.security.Alerts_v2MicrosoftGraphSecurityMoveAlertsMoveAlertsPostRequestBody::|public|SetIncidentId(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.security.Alerts_v2MicrosoftGraphSecurityMoveAlertsMoveAlertsPostRequestBody::|public|SetNewCorrelationReasons(value:*idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.CorrelationReason):void +github.com/microsoftgraph/msgraph-sdk-go/.security.Alerts_v2MicrosoftGraphSecurityMoveAlertsMoveAlertsPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.security.Alerts_v2MicrosoftGraphSecurityMoveAlertsMoveAlertsPostRequestBodyable::|public|GetAlertComment():*string +github.com/microsoftgraph/msgraph-sdk-go/.security.Alerts_v2MicrosoftGraphSecurityMoveAlertsMoveAlertsPostRequestBodyable::|public|GetAlertIds():[]string +github.com/microsoftgraph/msgraph-sdk-go/.security.Alerts_v2MicrosoftGraphSecurityMoveAlertsMoveAlertsPostRequestBodyable::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.security.Alerts_v2MicrosoftGraphSecurityMoveAlertsMoveAlertsPostRequestBodyable::|public|GetIncidentId():*string +github.com/microsoftgraph/msgraph-sdk-go/.security.Alerts_v2MicrosoftGraphSecurityMoveAlertsMoveAlertsPostRequestBodyable::|public|GetNewCorrelationReasons():*idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.CorrelationReason +github.com/microsoftgraph/msgraph-sdk-go/.security.Alerts_v2MicrosoftGraphSecurityMoveAlertsMoveAlertsPostRequestBodyable::|public|SetAlertComment(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.security.Alerts_v2MicrosoftGraphSecurityMoveAlertsMoveAlertsPostRequestBodyable::|public|SetAlertIds(value:[]string):void +github.com/microsoftgraph/msgraph-sdk-go/.security.Alerts_v2MicrosoftGraphSecurityMoveAlertsMoveAlertsPostRequestBodyable::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.security.Alerts_v2MicrosoftGraphSecurityMoveAlertsMoveAlertsPostRequestBodyable::|public|SetIncidentId(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.security.Alerts_v2MicrosoftGraphSecurityMoveAlertsMoveAlertsPostRequestBodyable::|public|SetNewCorrelationReasons(value:*idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.CorrelationReason):void +github.com/microsoftgraph/msgraph-sdk-go/.security.Alerts_v2MicrosoftGraphSecurityMoveAlertsMoveAlertsPostRequestBodyable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder; *ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.security.Alerts_v2MicrosoftGraphSecurityMoveAlertsMoveAlertsPostRequestBody~~>Alerts_v2MicrosoftGraphSecurityMoveAlertsMoveAlertsPostRequestBodyable +github.com/microsoftgraph/msgraph-sdk-go/.security.Alerts_v2MicrosoftGraphSecurityMoveAlertsRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.security.Alerts_v2MicrosoftGraphSecurityMoveAlertsRequestBuilder.Alerts_v2MicrosoftGraphSecurityMoveAlertsRequestBuilderPostRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.security.Alerts_v2MicrosoftGraphSecurityMoveAlertsRequestBuilder.Alerts_v2MicrosoftGraphSecurityMoveAlertsRequestBuilderPostRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.security.Alerts_v2MicrosoftGraphSecurityMoveAlertsRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.security.Alerts_v2MicrosoftGraphSecurityMoveAlertsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.security.Alerts_v2MicrosoftGraphSecurityMoveAlertsRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.security.Alerts_v2MicrosoftGraphSecurityMoveAlertsRequestBuilder::|public|Post(body:Alerts_v2MicrosoftGraphSecurityMoveAlertsMoveAlertsPostRequestBodyable; ctx:context.Context; requestConfiguration?:*Alerts_v2MicrosoftGraphSecurityMoveAlertsRequestBuilderPostRequestConfiguration):idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.MergeResponseable +github.com/microsoftgraph/msgraph-sdk-go/.security.Alerts_v2MicrosoftGraphSecurityMoveAlertsRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.security.Alerts_v2MicrosoftGraphSecurityMoveAlertsRequestBuilder::|public|ToPostRequestInformation(body:Alerts_v2MicrosoftGraphSecurityMoveAlertsMoveAlertsPostRequestBodyable; ctx:context.Context; requestConfiguration?:*Alerts_v2MicrosoftGraphSecurityMoveAlertsRequestBuilderPostRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.security.Alerts_v2MicrosoftGraphSecurityMoveAlertsRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.security.Alerts_v2MicrosoftGraphSecurityMoveAlertsRequestBuilder::|public|WithUrl(rawUrl:string):*Alerts_v2MicrosoftGraphSecurityMoveAlertsRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.security.Alerts_v2RequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.security.Alerts_v2RequestBuilder.Alerts_v2RequestBuilderGetQueryParameters::|public|Count:*bool github.com/microsoftgraph/msgraph-sdk-go/.security.Alerts_v2RequestBuilder.Alerts_v2RequestBuilderGetQueryParameters::|public|Expand:[]string @@ -218719,6 +222052,7 @@ github.com/microsoftgraph/msgraph-sdk-go/.security.Alerts_v2RequestBuilder::|pub github.com/microsoftgraph/msgraph-sdk-go/.security.Alerts_v2RequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void github.com/microsoftgraph/msgraph-sdk-go/.security.Alerts_v2RequestBuilder::|public|Count():*Alerts_v2CountRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.security.Alerts_v2RequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*Alerts_v2RequestBuilderGetRequestConfiguration):idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.AlertCollectionResponseable +github.com/microsoftgraph/msgraph-sdk-go/.security.Alerts_v2RequestBuilder::|public|microsoftGraphSecurityMoveAlerts():*Alerts_v2MicrosoftGraphSecurityMoveAlertsRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.security.Alerts_v2RequestBuilder::|public|pathParameters:map[string]string github.com/microsoftgraph/msgraph-sdk-go/.security.Alerts_v2RequestBuilder::|public|Post(body:idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.Alertable; ctx:context.Context; requestConfiguration?:*Alerts_v2RequestBuilderPostRequestConfiguration):idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.Alertable github.com/microsoftgraph/msgraph-sdk-go/.security.Alerts_v2RequestBuilder::|public|requestAdapter:RequestAdapter @@ -221334,6 +224668,139 @@ github.com/microsoftgraph/msgraph-sdk-go/.security.CasesRequestBuilder::|public| github.com/microsoftgraph/msgraph-sdk-go/.security.CasesRequestBuilder::|public|ToPatchRequestInformation(body:idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.CasesRootable; ctx:context.Context; requestConfiguration?:*CasesRequestBuilderPatchRequestConfiguration):*RequestInformation github.com/microsoftgraph/msgraph-sdk-go/.security.CasesRequestBuilder::|public|urlTemplate:string github.com/microsoftgraph/msgraph-sdk-go/.security.CasesRequestBuilder::|public|WithUrl(rawUrl:string):*CasesRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.security.CollaborationAnalyzedEmailsAnalyzedEmailItemRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.security.CollaborationAnalyzedEmailsAnalyzedEmailItemRequestBuilder.CollaborationAnalyzedEmailsAnalyzedEmailItemRequestBuilderDeleteRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.security.CollaborationAnalyzedEmailsAnalyzedEmailItemRequestBuilder.CollaborationAnalyzedEmailsAnalyzedEmailItemRequestBuilderDeleteRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.security.CollaborationAnalyzedEmailsAnalyzedEmailItemRequestBuilder.CollaborationAnalyzedEmailsAnalyzedEmailItemRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-sdk-go/.security.CollaborationAnalyzedEmailsAnalyzedEmailItemRequestBuilder.CollaborationAnalyzedEmailsAnalyzedEmailItemRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-sdk-go/.security.CollaborationAnalyzedEmailsAnalyzedEmailItemRequestBuilder.CollaborationAnalyzedEmailsAnalyzedEmailItemRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.security.CollaborationAnalyzedEmailsAnalyzedEmailItemRequestBuilder.CollaborationAnalyzedEmailsAnalyzedEmailItemRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.security.CollaborationAnalyzedEmailsAnalyzedEmailItemRequestBuilder.CollaborationAnalyzedEmailsAnalyzedEmailItemRequestBuilderGetRequestConfiguration::|public|queryParameters:*CollaborationAnalyzedEmailsAnalyzedEmailItemRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.security.CollaborationAnalyzedEmailsAnalyzedEmailItemRequestBuilder.CollaborationAnalyzedEmailsAnalyzedEmailItemRequestBuilderPatchRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.security.CollaborationAnalyzedEmailsAnalyzedEmailItemRequestBuilder.CollaborationAnalyzedEmailsAnalyzedEmailItemRequestBuilderPatchRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.security.CollaborationAnalyzedEmailsAnalyzedEmailItemRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.security.CollaborationAnalyzedEmailsAnalyzedEmailItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.security.CollaborationAnalyzedEmailsAnalyzedEmailItemRequestBuilder::|public|Delete(ctx:context.Context; requestConfiguration?:*CollaborationAnalyzedEmailsAnalyzedEmailItemRequestBuilderDeleteRequestConfiguration):void +github.com/microsoftgraph/msgraph-sdk-go/.security.CollaborationAnalyzedEmailsAnalyzedEmailItemRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*CollaborationAnalyzedEmailsAnalyzedEmailItemRequestBuilderGetRequestConfiguration):idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.AnalyzedEmailable +github.com/microsoftgraph/msgraph-sdk-go/.security.CollaborationAnalyzedEmailsAnalyzedEmailItemRequestBuilder::|public|Patch(body:idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.AnalyzedEmailable; ctx:context.Context; requestConfiguration?:*CollaborationAnalyzedEmailsAnalyzedEmailItemRequestBuilderPatchRequestConfiguration):idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.AnalyzedEmailable +github.com/microsoftgraph/msgraph-sdk-go/.security.CollaborationAnalyzedEmailsAnalyzedEmailItemRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.security.CollaborationAnalyzedEmailsAnalyzedEmailItemRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.security.CollaborationAnalyzedEmailsAnalyzedEmailItemRequestBuilder::|public|ToDeleteRequestInformation(ctx:context.Context; requestConfiguration?:*CollaborationAnalyzedEmailsAnalyzedEmailItemRequestBuilderDeleteRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.security.CollaborationAnalyzedEmailsAnalyzedEmailItemRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*CollaborationAnalyzedEmailsAnalyzedEmailItemRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.security.CollaborationAnalyzedEmailsAnalyzedEmailItemRequestBuilder::|public|ToPatchRequestInformation(body:idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.AnalyzedEmailable; ctx:context.Context; requestConfiguration?:*CollaborationAnalyzedEmailsAnalyzedEmailItemRequestBuilderPatchRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.security.CollaborationAnalyzedEmailsAnalyzedEmailItemRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.security.CollaborationAnalyzedEmailsAnalyzedEmailItemRequestBuilder::|public|WithUrl(rawUrl:string):*CollaborationAnalyzedEmailsAnalyzedEmailItemRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.security.CollaborationAnalyzedEmailsCountRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.security.CollaborationAnalyzedEmailsCountRequestBuilder.CollaborationAnalyzedEmailsCountRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-sdk-go/.security.CollaborationAnalyzedEmailsCountRequestBuilder.CollaborationAnalyzedEmailsCountRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-sdk-go/.security.CollaborationAnalyzedEmailsCountRequestBuilder.CollaborationAnalyzedEmailsCountRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.security.CollaborationAnalyzedEmailsCountRequestBuilder.CollaborationAnalyzedEmailsCountRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.security.CollaborationAnalyzedEmailsCountRequestBuilder.CollaborationAnalyzedEmailsCountRequestBuilderGetRequestConfiguration::|public|queryParameters:*CollaborationAnalyzedEmailsCountRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.security.CollaborationAnalyzedEmailsCountRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.security.CollaborationAnalyzedEmailsCountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.security.CollaborationAnalyzedEmailsCountRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*CollaborationAnalyzedEmailsCountRequestBuilderGetRequestConfiguration):*int32 +github.com/microsoftgraph/msgraph-sdk-go/.security.CollaborationAnalyzedEmailsCountRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.security.CollaborationAnalyzedEmailsCountRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.security.CollaborationAnalyzedEmailsCountRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*CollaborationAnalyzedEmailsCountRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.security.CollaborationAnalyzedEmailsCountRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.security.CollaborationAnalyzedEmailsCountRequestBuilder::|public|WithUrl(rawUrl:string):*CollaborationAnalyzedEmailsCountRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.security.CollaborationAnalyzedEmailsMicrosoftGraphSecurityRemediateRemediatePostRequestBody::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.security.CollaborationAnalyzedEmailsMicrosoftGraphSecurityRemediateRemediatePostRequestBody::|public|GetAction():*idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.RemediationAction +github.com/microsoftgraph/msgraph-sdk-go/.security.CollaborationAnalyzedEmailsMicrosoftGraphSecurityRemediateRemediatePostRequestBody::|public|GetAdditionalData():map[string]any +github.com/microsoftgraph/msgraph-sdk-go/.security.CollaborationAnalyzedEmailsMicrosoftGraphSecurityRemediateRemediatePostRequestBody::|public|GetAnalyzedEmails():[]idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.AnalyzedEmailable +github.com/microsoftgraph/msgraph-sdk-go/.security.CollaborationAnalyzedEmailsMicrosoftGraphSecurityRemediateRemediatePostRequestBody::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.security.CollaborationAnalyzedEmailsMicrosoftGraphSecurityRemediateRemediatePostRequestBody::|public|GetDescription():*string +github.com/microsoftgraph/msgraph-sdk-go/.security.CollaborationAnalyzedEmailsMicrosoftGraphSecurityRemediateRemediatePostRequestBody::|public|GetDisplayName():*string +github.com/microsoftgraph/msgraph-sdk-go/.security.CollaborationAnalyzedEmailsMicrosoftGraphSecurityRemediateRemediatePostRequestBody::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.security.CollaborationAnalyzedEmailsMicrosoftGraphSecurityRemediateRemediatePostRequestBody::|public|GetRemediateSendersCopy():*bool +github.com/microsoftgraph/msgraph-sdk-go/.security.CollaborationAnalyzedEmailsMicrosoftGraphSecurityRemediateRemediatePostRequestBody::|public|GetSeverity():*idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.RemediationSeverity +github.com/microsoftgraph/msgraph-sdk-go/.security.CollaborationAnalyzedEmailsMicrosoftGraphSecurityRemediateRemediatePostRequestBody::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.security.CollaborationAnalyzedEmailsMicrosoftGraphSecurityRemediateRemediatePostRequestBody::|public|SetAction(value:*idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.RemediationAction):void +github.com/microsoftgraph/msgraph-sdk-go/.security.CollaborationAnalyzedEmailsMicrosoftGraphSecurityRemediateRemediatePostRequestBody::|public|SetAdditionalData(value:map[string]any):void +github.com/microsoftgraph/msgraph-sdk-go/.security.CollaborationAnalyzedEmailsMicrosoftGraphSecurityRemediateRemediatePostRequestBody::|public|SetAnalyzedEmails(value:[]idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.AnalyzedEmailable):void +github.com/microsoftgraph/msgraph-sdk-go/.security.CollaborationAnalyzedEmailsMicrosoftGraphSecurityRemediateRemediatePostRequestBody::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.security.CollaborationAnalyzedEmailsMicrosoftGraphSecurityRemediateRemediatePostRequestBody::|public|SetDescription(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.security.CollaborationAnalyzedEmailsMicrosoftGraphSecurityRemediateRemediatePostRequestBody::|public|SetDisplayName(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.security.CollaborationAnalyzedEmailsMicrosoftGraphSecurityRemediateRemediatePostRequestBody::|public|SetRemediateSendersCopy(value:*bool):void +github.com/microsoftgraph/msgraph-sdk-go/.security.CollaborationAnalyzedEmailsMicrosoftGraphSecurityRemediateRemediatePostRequestBody::|public|SetSeverity(value:*idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.RemediationSeverity):void +github.com/microsoftgraph/msgraph-sdk-go/.security.CollaborationAnalyzedEmailsMicrosoftGraphSecurityRemediateRemediatePostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.security.CollaborationAnalyzedEmailsMicrosoftGraphSecurityRemediateRemediatePostRequestBodyable::|public|GetAction():*idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.RemediationAction +github.com/microsoftgraph/msgraph-sdk-go/.security.CollaborationAnalyzedEmailsMicrosoftGraphSecurityRemediateRemediatePostRequestBodyable::|public|GetAnalyzedEmails():[]idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.AnalyzedEmailable +github.com/microsoftgraph/msgraph-sdk-go/.security.CollaborationAnalyzedEmailsMicrosoftGraphSecurityRemediateRemediatePostRequestBodyable::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.security.CollaborationAnalyzedEmailsMicrosoftGraphSecurityRemediateRemediatePostRequestBodyable::|public|GetDescription():*string +github.com/microsoftgraph/msgraph-sdk-go/.security.CollaborationAnalyzedEmailsMicrosoftGraphSecurityRemediateRemediatePostRequestBodyable::|public|GetDisplayName():*string +github.com/microsoftgraph/msgraph-sdk-go/.security.CollaborationAnalyzedEmailsMicrosoftGraphSecurityRemediateRemediatePostRequestBodyable::|public|GetRemediateSendersCopy():*bool +github.com/microsoftgraph/msgraph-sdk-go/.security.CollaborationAnalyzedEmailsMicrosoftGraphSecurityRemediateRemediatePostRequestBodyable::|public|GetSeverity():*idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.RemediationSeverity +github.com/microsoftgraph/msgraph-sdk-go/.security.CollaborationAnalyzedEmailsMicrosoftGraphSecurityRemediateRemediatePostRequestBodyable::|public|SetAction(value:*idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.RemediationAction):void +github.com/microsoftgraph/msgraph-sdk-go/.security.CollaborationAnalyzedEmailsMicrosoftGraphSecurityRemediateRemediatePostRequestBodyable::|public|SetAnalyzedEmails(value:[]idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.AnalyzedEmailable):void +github.com/microsoftgraph/msgraph-sdk-go/.security.CollaborationAnalyzedEmailsMicrosoftGraphSecurityRemediateRemediatePostRequestBodyable::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.security.CollaborationAnalyzedEmailsMicrosoftGraphSecurityRemediateRemediatePostRequestBodyable::|public|SetDescription(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.security.CollaborationAnalyzedEmailsMicrosoftGraphSecurityRemediateRemediatePostRequestBodyable::|public|SetDisplayName(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.security.CollaborationAnalyzedEmailsMicrosoftGraphSecurityRemediateRemediatePostRequestBodyable::|public|SetRemediateSendersCopy(value:*bool):void +github.com/microsoftgraph/msgraph-sdk-go/.security.CollaborationAnalyzedEmailsMicrosoftGraphSecurityRemediateRemediatePostRequestBodyable::|public|SetSeverity(value:*idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.RemediationSeverity):void +github.com/microsoftgraph/msgraph-sdk-go/.security.CollaborationAnalyzedEmailsMicrosoftGraphSecurityRemediateRemediatePostRequestBodyable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder; *ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.security.CollaborationAnalyzedEmailsMicrosoftGraphSecurityRemediateRemediatePostRequestBody~~>CollaborationAnalyzedEmailsMicrosoftGraphSecurityRemediateRemediatePostRequestBodyable +github.com/microsoftgraph/msgraph-sdk-go/.security.CollaborationAnalyzedEmailsMicrosoftGraphSecurityRemediateRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.security.CollaborationAnalyzedEmailsMicrosoftGraphSecurityRemediateRequestBuilder.CollaborationAnalyzedEmailsMicrosoftGraphSecurityRemediateRequestBuilderPostRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.security.CollaborationAnalyzedEmailsMicrosoftGraphSecurityRemediateRequestBuilder.CollaborationAnalyzedEmailsMicrosoftGraphSecurityRemediateRequestBuilderPostRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.security.CollaborationAnalyzedEmailsMicrosoftGraphSecurityRemediateRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.security.CollaborationAnalyzedEmailsMicrosoftGraphSecurityRemediateRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.security.CollaborationAnalyzedEmailsMicrosoftGraphSecurityRemediateRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.security.CollaborationAnalyzedEmailsMicrosoftGraphSecurityRemediateRequestBuilder::|public|Post(body:CollaborationAnalyzedEmailsMicrosoftGraphSecurityRemediateRemediatePostRequestBodyable; ctx:context.Context; requestConfiguration?:*CollaborationAnalyzedEmailsMicrosoftGraphSecurityRemediateRequestBuilderPostRequestConfiguration):void +github.com/microsoftgraph/msgraph-sdk-go/.security.CollaborationAnalyzedEmailsMicrosoftGraphSecurityRemediateRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.security.CollaborationAnalyzedEmailsMicrosoftGraphSecurityRemediateRequestBuilder::|public|ToPostRequestInformation(body:CollaborationAnalyzedEmailsMicrosoftGraphSecurityRemediateRemediatePostRequestBodyable; ctx:context.Context; requestConfiguration?:*CollaborationAnalyzedEmailsMicrosoftGraphSecurityRemediateRequestBuilderPostRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.security.CollaborationAnalyzedEmailsMicrosoftGraphSecurityRemediateRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.security.CollaborationAnalyzedEmailsMicrosoftGraphSecurityRemediateRequestBuilder::|public|WithUrl(rawUrl:string):*CollaborationAnalyzedEmailsMicrosoftGraphSecurityRemediateRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.security.CollaborationAnalyzedEmailsRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.security.CollaborationAnalyzedEmailsRequestBuilder.CollaborationAnalyzedEmailsRequestBuilderGetQueryParameters::|public|Count:*bool +github.com/microsoftgraph/msgraph-sdk-go/.security.CollaborationAnalyzedEmailsRequestBuilder.CollaborationAnalyzedEmailsRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-sdk-go/.security.CollaborationAnalyzedEmailsRequestBuilder.CollaborationAnalyzedEmailsRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-sdk-go/.security.CollaborationAnalyzedEmailsRequestBuilder.CollaborationAnalyzedEmailsRequestBuilderGetQueryParameters::|public|Orderby:[]string +github.com/microsoftgraph/msgraph-sdk-go/.security.CollaborationAnalyzedEmailsRequestBuilder.CollaborationAnalyzedEmailsRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-sdk-go/.security.CollaborationAnalyzedEmailsRequestBuilder.CollaborationAnalyzedEmailsRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-sdk-go/.security.CollaborationAnalyzedEmailsRequestBuilder.CollaborationAnalyzedEmailsRequestBuilderGetQueryParameters::|public|Skip:*int32 +github.com/microsoftgraph/msgraph-sdk-go/.security.CollaborationAnalyzedEmailsRequestBuilder.CollaborationAnalyzedEmailsRequestBuilderGetQueryParameters::|public|Top:*int32 +github.com/microsoftgraph/msgraph-sdk-go/.security.CollaborationAnalyzedEmailsRequestBuilder.CollaborationAnalyzedEmailsRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.security.CollaborationAnalyzedEmailsRequestBuilder.CollaborationAnalyzedEmailsRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.security.CollaborationAnalyzedEmailsRequestBuilder.CollaborationAnalyzedEmailsRequestBuilderGetRequestConfiguration::|public|queryParameters:*CollaborationAnalyzedEmailsRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.security.CollaborationAnalyzedEmailsRequestBuilder.CollaborationAnalyzedEmailsRequestBuilderPostRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.security.CollaborationAnalyzedEmailsRequestBuilder.CollaborationAnalyzedEmailsRequestBuilderPostRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.security.CollaborationAnalyzedEmailsRequestBuilder::|public|ByAnalyzedEmailId(analyzedEmailId:string):*CollaborationAnalyzedEmailsAnalyzedEmailItemRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.security.CollaborationAnalyzedEmailsRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.security.CollaborationAnalyzedEmailsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.security.CollaborationAnalyzedEmailsRequestBuilder::|public|Count():*CollaborationAnalyzedEmailsCountRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.security.CollaborationAnalyzedEmailsRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*CollaborationAnalyzedEmailsRequestBuilderGetRequestConfiguration):idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.AnalyzedEmailCollectionResponseable +github.com/microsoftgraph/msgraph-sdk-go/.security.CollaborationAnalyzedEmailsRequestBuilder::|public|microsoftGraphSecurityRemediate():*CollaborationAnalyzedEmailsMicrosoftGraphSecurityRemediateRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.security.CollaborationAnalyzedEmailsRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.security.CollaborationAnalyzedEmailsRequestBuilder::|public|Post(body:idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.AnalyzedEmailable; ctx:context.Context; requestConfiguration?:*CollaborationAnalyzedEmailsRequestBuilderPostRequestConfiguration):idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.AnalyzedEmailable +github.com/microsoftgraph/msgraph-sdk-go/.security.CollaborationAnalyzedEmailsRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.security.CollaborationAnalyzedEmailsRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*CollaborationAnalyzedEmailsRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.security.CollaborationAnalyzedEmailsRequestBuilder::|public|ToPostRequestInformation(body:idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.AnalyzedEmailable; ctx:context.Context; requestConfiguration?:*CollaborationAnalyzedEmailsRequestBuilderPostRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.security.CollaborationAnalyzedEmailsRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.security.CollaborationAnalyzedEmailsRequestBuilder::|public|WithUrl(rawUrl:string):*CollaborationAnalyzedEmailsRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.security.CollaborationRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.security.CollaborationRequestBuilder.CollaborationRequestBuilderDeleteRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.security.CollaborationRequestBuilder.CollaborationRequestBuilderDeleteRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.security.CollaborationRequestBuilder.CollaborationRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-sdk-go/.security.CollaborationRequestBuilder.CollaborationRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-sdk-go/.security.CollaborationRequestBuilder.CollaborationRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.security.CollaborationRequestBuilder.CollaborationRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.security.CollaborationRequestBuilder.CollaborationRequestBuilderGetRequestConfiguration::|public|queryParameters:*CollaborationRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.security.CollaborationRequestBuilder.CollaborationRequestBuilderPatchRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.security.CollaborationRequestBuilder.CollaborationRequestBuilderPatchRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.security.CollaborationRequestBuilder::|public|analyzedEmails():*CollaborationAnalyzedEmailsRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.security.CollaborationRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.security.CollaborationRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.security.CollaborationRequestBuilder::|public|Delete(ctx:context.Context; requestConfiguration?:*CollaborationRequestBuilderDeleteRequestConfiguration):void +github.com/microsoftgraph/msgraph-sdk-go/.security.CollaborationRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*CollaborationRequestBuilderGetRequestConfiguration):idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.CollaborationRootable +github.com/microsoftgraph/msgraph-sdk-go/.security.CollaborationRequestBuilder::|public|Patch(body:idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.CollaborationRootable; ctx:context.Context; requestConfiguration?:*CollaborationRequestBuilderPatchRequestConfiguration):idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.CollaborationRootable +github.com/microsoftgraph/msgraph-sdk-go/.security.CollaborationRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.security.CollaborationRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.security.CollaborationRequestBuilder::|public|ToDeleteRequestInformation(ctx:context.Context; requestConfiguration?:*CollaborationRequestBuilderDeleteRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.security.CollaborationRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*CollaborationRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.security.CollaborationRequestBuilder::|public|ToPatchRequestInformation(body:idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.CollaborationRootable; ctx:context.Context; requestConfiguration?:*CollaborationRequestBuilderPatchRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.security.CollaborationRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.security.CollaborationRequestBuilder::|public|WithUrl(rawUrl:string):*CollaborationRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.security.DataSecurityAndGovernanceProcessContentAsyncPostRequestBody::|public|constructor():void github.com/microsoftgraph/msgraph-sdk-go/.security.DataSecurityAndGovernanceProcessContentAsyncPostRequestBody::|public|GetAdditionalData():map[string]any github.com/microsoftgraph/msgraph-sdk-go/.security.DataSecurityAndGovernanceProcessContentAsyncPostRequestBody::|public|GetBackingStore():BackingStore @@ -222349,6 +225816,41 @@ github.com/microsoftgraph/msgraph-sdk-go/.security.IncidentsItemAlertsRequestBui github.com/microsoftgraph/msgraph-sdk-go/.security.IncidentsItemAlertsRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*IncidentsItemAlertsRequestBuilderGetRequestConfiguration):*RequestInformation github.com/microsoftgraph/msgraph-sdk-go/.security.IncidentsItemAlertsRequestBuilder::|public|urlTemplate:string github.com/microsoftgraph/msgraph-sdk-go/.security.IncidentsItemAlertsRequestBuilder::|public|WithUrl(rawUrl:string):*IncidentsItemAlertsRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.security.IncidentsMicrosoftGraphSecurityMergeIncidentsMergeIncidentsPostRequestBody::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.security.IncidentsMicrosoftGraphSecurityMergeIncidentsMergeIncidentsPostRequestBody::|public|GetAdditionalData():map[string]any +github.com/microsoftgraph/msgraph-sdk-go/.security.IncidentsMicrosoftGraphSecurityMergeIncidentsMergeIncidentsPostRequestBody::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.security.IncidentsMicrosoftGraphSecurityMergeIncidentsMergeIncidentsPostRequestBody::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.security.IncidentsMicrosoftGraphSecurityMergeIncidentsMergeIncidentsPostRequestBody::|public|GetIncidentComment():*string +github.com/microsoftgraph/msgraph-sdk-go/.security.IncidentsMicrosoftGraphSecurityMergeIncidentsMergeIncidentsPostRequestBody::|public|GetIncidentIds():[]string +github.com/microsoftgraph/msgraph-sdk-go/.security.IncidentsMicrosoftGraphSecurityMergeIncidentsMergeIncidentsPostRequestBody::|public|GetMergeReasons():*idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.CorrelationReason +github.com/microsoftgraph/msgraph-sdk-go/.security.IncidentsMicrosoftGraphSecurityMergeIncidentsMergeIncidentsPostRequestBody::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.security.IncidentsMicrosoftGraphSecurityMergeIncidentsMergeIncidentsPostRequestBody::|public|SetAdditionalData(value:map[string]any):void +github.com/microsoftgraph/msgraph-sdk-go/.security.IncidentsMicrosoftGraphSecurityMergeIncidentsMergeIncidentsPostRequestBody::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.security.IncidentsMicrosoftGraphSecurityMergeIncidentsMergeIncidentsPostRequestBody::|public|SetIncidentComment(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.security.IncidentsMicrosoftGraphSecurityMergeIncidentsMergeIncidentsPostRequestBody::|public|SetIncidentIds(value:[]string):void +github.com/microsoftgraph/msgraph-sdk-go/.security.IncidentsMicrosoftGraphSecurityMergeIncidentsMergeIncidentsPostRequestBody::|public|SetMergeReasons(value:*idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.CorrelationReason):void +github.com/microsoftgraph/msgraph-sdk-go/.security.IncidentsMicrosoftGraphSecurityMergeIncidentsMergeIncidentsPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.security.IncidentsMicrosoftGraphSecurityMergeIncidentsMergeIncidentsPostRequestBodyable::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.security.IncidentsMicrosoftGraphSecurityMergeIncidentsMergeIncidentsPostRequestBodyable::|public|GetIncidentComment():*string +github.com/microsoftgraph/msgraph-sdk-go/.security.IncidentsMicrosoftGraphSecurityMergeIncidentsMergeIncidentsPostRequestBodyable::|public|GetIncidentIds():[]string +github.com/microsoftgraph/msgraph-sdk-go/.security.IncidentsMicrosoftGraphSecurityMergeIncidentsMergeIncidentsPostRequestBodyable::|public|GetMergeReasons():*idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.CorrelationReason +github.com/microsoftgraph/msgraph-sdk-go/.security.IncidentsMicrosoftGraphSecurityMergeIncidentsMergeIncidentsPostRequestBodyable::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.security.IncidentsMicrosoftGraphSecurityMergeIncidentsMergeIncidentsPostRequestBodyable::|public|SetIncidentComment(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.security.IncidentsMicrosoftGraphSecurityMergeIncidentsMergeIncidentsPostRequestBodyable::|public|SetIncidentIds(value:[]string):void +github.com/microsoftgraph/msgraph-sdk-go/.security.IncidentsMicrosoftGraphSecurityMergeIncidentsMergeIncidentsPostRequestBodyable::|public|SetMergeReasons(value:*idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.CorrelationReason):void +github.com/microsoftgraph/msgraph-sdk-go/.security.IncidentsMicrosoftGraphSecurityMergeIncidentsMergeIncidentsPostRequestBodyable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder; *ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.security.IncidentsMicrosoftGraphSecurityMergeIncidentsMergeIncidentsPostRequestBody~~>IncidentsMicrosoftGraphSecurityMergeIncidentsMergeIncidentsPostRequestBodyable +github.com/microsoftgraph/msgraph-sdk-go/.security.IncidentsMicrosoftGraphSecurityMergeIncidentsRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.security.IncidentsMicrosoftGraphSecurityMergeIncidentsRequestBuilder.IncidentsMicrosoftGraphSecurityMergeIncidentsRequestBuilderPostRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.security.IncidentsMicrosoftGraphSecurityMergeIncidentsRequestBuilder.IncidentsMicrosoftGraphSecurityMergeIncidentsRequestBuilderPostRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.security.IncidentsMicrosoftGraphSecurityMergeIncidentsRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.security.IncidentsMicrosoftGraphSecurityMergeIncidentsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.security.IncidentsMicrosoftGraphSecurityMergeIncidentsRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.security.IncidentsMicrosoftGraphSecurityMergeIncidentsRequestBuilder::|public|Post(body:IncidentsMicrosoftGraphSecurityMergeIncidentsMergeIncidentsPostRequestBodyable; ctx:context.Context; requestConfiguration?:*IncidentsMicrosoftGraphSecurityMergeIncidentsRequestBuilderPostRequestConfiguration):idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.MergeResponseable +github.com/microsoftgraph/msgraph-sdk-go/.security.IncidentsMicrosoftGraphSecurityMergeIncidentsRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.security.IncidentsMicrosoftGraphSecurityMergeIncidentsRequestBuilder::|public|ToPostRequestInformation(body:IncidentsMicrosoftGraphSecurityMergeIncidentsMergeIncidentsPostRequestBodyable; ctx:context.Context; requestConfiguration?:*IncidentsMicrosoftGraphSecurityMergeIncidentsRequestBuilderPostRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.security.IncidentsMicrosoftGraphSecurityMergeIncidentsRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.security.IncidentsMicrosoftGraphSecurityMergeIncidentsRequestBuilder::|public|WithUrl(rawUrl:string):*IncidentsMicrosoftGraphSecurityMergeIncidentsRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.security.IncidentsRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.security.IncidentsRequestBuilder.IncidentsRequestBuilderGetQueryParameters::|public|Count:*bool github.com/microsoftgraph/msgraph-sdk-go/.security.IncidentsRequestBuilder.IncidentsRequestBuilderGetQueryParameters::|public|Expand:[]string @@ -222368,6 +225870,7 @@ github.com/microsoftgraph/msgraph-sdk-go/.security.IncidentsRequestBuilder::|pub github.com/microsoftgraph/msgraph-sdk-go/.security.IncidentsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void github.com/microsoftgraph/msgraph-sdk-go/.security.IncidentsRequestBuilder::|public|Count():*IncidentsCountRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.security.IncidentsRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*IncidentsRequestBuilderGetRequestConfiguration):idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.IncidentCollectionResponseable +github.com/microsoftgraph/msgraph-sdk-go/.security.IncidentsRequestBuilder::|public|microsoftGraphSecurityMergeIncidents():*IncidentsMicrosoftGraphSecurityMergeIncidentsRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.security.IncidentsRequestBuilder::|public|pathParameters:map[string]string github.com/microsoftgraph/msgraph-sdk-go/.security.IncidentsRequestBuilder::|public|Post(body:idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.Incidentable; ctx:context.Context; requestConfiguration?:*IncidentsRequestBuilderPostRequestConfiguration):idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.Incidentable github.com/microsoftgraph/msgraph-sdk-go/.security.IncidentsRequestBuilder::|public|requestAdapter:RequestAdapter @@ -223181,6 +226684,7 @@ github.com/microsoftgraph/msgraph-sdk-go/.security.securityRequestBuilder::|publ github.com/microsoftgraph/msgraph-sdk-go/.security.securityRequestBuilder::|public|alerts_v2():*Alerts_v2RequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.security.securityRequestBuilder::|public|attackSimulation():*AttackSimulationRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.security.securityRequestBuilder::|public|cases():*CasesRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.security.securityRequestBuilder::|public|collaboration():*CollaborationRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.security.securityRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void github.com/microsoftgraph/msgraph-sdk-go/.security.securityRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void github.com/microsoftgraph/msgraph-sdk-go/.security.securityRequestBuilder::|public|dataSecurityAndGovernance():*DataSecurityAndGovernanceRequestBuilder @@ -244557,6 +248061,28 @@ github.com/microsoftgraph/msgraph-sdk-go/.solutions.BackupRestoreDriveProtection github.com/microsoftgraph/msgraph-sdk-go/.solutions.BackupRestoreDriveProtectionUnitsRequestBuilder::|public|ToPostRequestInformation(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DriveProtectionUnitable; ctx:context.Context; requestConfiguration?:*BackupRestoreDriveProtectionUnitsRequestBuilderPostRequestConfiguration):*RequestInformation github.com/microsoftgraph/msgraph-sdk-go/.solutions.BackupRestoreDriveProtectionUnitsRequestBuilder::|public|urlTemplate:string github.com/microsoftgraph/msgraph-sdk-go/.solutions.BackupRestoreDriveProtectionUnitsRequestBuilder::|public|WithUrl(rawUrl:string):*BackupRestoreDriveProtectionUnitsRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.solutions.BackupRestoreEmailNotificationsSettingRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.solutions.BackupRestoreEmailNotificationsSettingRequestBuilder.BackupRestoreEmailNotificationsSettingRequestBuilderDeleteRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.solutions.BackupRestoreEmailNotificationsSettingRequestBuilder.BackupRestoreEmailNotificationsSettingRequestBuilderDeleteRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.solutions.BackupRestoreEmailNotificationsSettingRequestBuilder.BackupRestoreEmailNotificationsSettingRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-sdk-go/.solutions.BackupRestoreEmailNotificationsSettingRequestBuilder.BackupRestoreEmailNotificationsSettingRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-sdk-go/.solutions.BackupRestoreEmailNotificationsSettingRequestBuilder.BackupRestoreEmailNotificationsSettingRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.solutions.BackupRestoreEmailNotificationsSettingRequestBuilder.BackupRestoreEmailNotificationsSettingRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.solutions.BackupRestoreEmailNotificationsSettingRequestBuilder.BackupRestoreEmailNotificationsSettingRequestBuilderGetRequestConfiguration::|public|queryParameters:*BackupRestoreEmailNotificationsSettingRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.solutions.BackupRestoreEmailNotificationsSettingRequestBuilder.BackupRestoreEmailNotificationsSettingRequestBuilderPatchRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.solutions.BackupRestoreEmailNotificationsSettingRequestBuilder.BackupRestoreEmailNotificationsSettingRequestBuilderPatchRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.solutions.BackupRestoreEmailNotificationsSettingRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.solutions.BackupRestoreEmailNotificationsSettingRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.solutions.BackupRestoreEmailNotificationsSettingRequestBuilder::|public|Delete(ctx:context.Context; requestConfiguration?:*BackupRestoreEmailNotificationsSettingRequestBuilderDeleteRequestConfiguration):void +github.com/microsoftgraph/msgraph-sdk-go/.solutions.BackupRestoreEmailNotificationsSettingRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*BackupRestoreEmailNotificationsSettingRequestBuilderGetRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EmailNotificationsSettingable +github.com/microsoftgraph/msgraph-sdk-go/.solutions.BackupRestoreEmailNotificationsSettingRequestBuilder::|public|Patch(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EmailNotificationsSettingable; ctx:context.Context; requestConfiguration?:*BackupRestoreEmailNotificationsSettingRequestBuilderPatchRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EmailNotificationsSettingable +github.com/microsoftgraph/msgraph-sdk-go/.solutions.BackupRestoreEmailNotificationsSettingRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.solutions.BackupRestoreEmailNotificationsSettingRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.solutions.BackupRestoreEmailNotificationsSettingRequestBuilder::|public|ToDeleteRequestInformation(ctx:context.Context; requestConfiguration?:*BackupRestoreEmailNotificationsSettingRequestBuilderDeleteRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.solutions.BackupRestoreEmailNotificationsSettingRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*BackupRestoreEmailNotificationsSettingRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.solutions.BackupRestoreEmailNotificationsSettingRequestBuilder::|public|ToPatchRequestInformation(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EmailNotificationsSettingable; ctx:context.Context; requestConfiguration?:*BackupRestoreEmailNotificationsSettingRequestBuilderPatchRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.solutions.BackupRestoreEmailNotificationsSettingRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.solutions.BackupRestoreEmailNotificationsSettingRequestBuilder::|public|WithUrl(rawUrl:string):*BackupRestoreEmailNotificationsSettingRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.solutions.BackupRestoreEnablePostRequestBody::|public|constructor():void github.com/microsoftgraph/msgraph-sdk-go/.solutions.BackupRestoreEnablePostRequestBody::|public|GetAdditionalData():map[string]any github.com/microsoftgraph/msgraph-sdk-go/.solutions.BackupRestoreEnablePostRequestBody::|public|GetAppOwnerTenantId():*string @@ -246139,6 +249665,7 @@ github.com/microsoftgraph/msgraph-sdk-go/.solutions.BackupRestoreRequestBuilder: github.com/microsoftgraph/msgraph-sdk-go/.solutions.BackupRestoreRequestBuilder::|public|driveInclusionRules():*BackupRestoreDriveInclusionRulesRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.solutions.BackupRestoreRequestBuilder::|public|driveProtectionUnits():*BackupRestoreDriveProtectionUnitsRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.solutions.BackupRestoreRequestBuilder::|public|driveProtectionUnitsBulkAdditionJobs():*BackupRestoreDriveProtectionUnitsBulkAdditionJobsRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.solutions.BackupRestoreRequestBuilder::|public|emailNotificationsSetting():*BackupRestoreEmailNotificationsSettingRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.solutions.BackupRestoreRequestBuilder::|public|enable():*BackupRestoreEnableRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.solutions.BackupRestoreRequestBuilder::|public|exchangeProtectionPolicies():*BackupRestoreExchangeProtectionPoliciesRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.solutions.BackupRestoreRequestBuilder::|public|exchangeRestoreSessions():*BackupRestoreExchangeRestoreSessionsRequestBuilder @@ -263059,6 +266586,7 @@ github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsChatItemRequestBuilder: github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsChatItemRequestBuilder::|public|sendActivityNotification():*ItemChatsItemSendActivityNotificationRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsChatItemRequestBuilder::|public|startMigration():*ItemChatsItemStartMigrationRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsChatItemRequestBuilder::|public|tabs():*ItemChatsItemTabsRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsChatItemRequestBuilder::|public|targetedMessages():*ItemChatsItemTargetedMessagesRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsChatItemRequestBuilder::|public|ToDeleteRequestInformation(ctx:context.Context; requestConfiguration?:*ItemChatsChatItemRequestBuilderDeleteRequestConfiguration):*RequestInformation github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsChatItemRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*ItemChatsChatItemRequestBuilderGetRequestConfiguration):*RequestInformation github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsChatItemRequestBuilder::|public|ToPatchRequestInformation(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Chatable; ctx:context.Context; requestConfiguration?:*ItemChatsChatItemRequestBuilderPatchRequestConfiguration):*RequestInformation @@ -264448,6 +267976,445 @@ github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTabsTeamsTabItemReq github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTabsTeamsTabItemRequestBuilder::|public|ToPatchRequestInformation(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.TeamsTabable; ctx:context.Context; requestConfiguration?:*ItemChatsItemTabsTeamsTabItemRequestBuilderPatchRequestConfiguration):*RequestInformation github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTabsTeamsTabItemRequestBuilder::|public|urlTemplate:string github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTabsTeamsTabItemRequestBuilder::|public|WithUrl(rawUrl:string):*ItemChatsItemTabsTeamsTabItemRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesCountRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesCountRequestBuilder.ItemChatsItemTargetedMessagesCountRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesCountRequestBuilder.ItemChatsItemTargetedMessagesCountRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesCountRequestBuilder.ItemChatsItemTargetedMessagesCountRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesCountRequestBuilder.ItemChatsItemTargetedMessagesCountRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesCountRequestBuilder.ItemChatsItemTargetedMessagesCountRequestBuilderGetRequestConfiguration::|public|queryParameters:*ItemChatsItemTargetedMessagesCountRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesCountRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesCountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesCountRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*ItemChatsItemTargetedMessagesCountRequestBuilderGetRequestConfiguration):*int32 +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesCountRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesCountRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesCountRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*ItemChatsItemTargetedMessagesCountRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesCountRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesCountRequestBuilder::|public|WithUrl(rawUrl:string):*ItemChatsItemTargetedMessagesCountRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesItemHostedContentsChatMessageHostedContentItemRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesItemHostedContentsChatMessageHostedContentItemRequestBuilder.ItemChatsItemTargetedMessagesItemHostedContentsChatMessageHostedContentItemRequestBuilderDeleteRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesItemHostedContentsChatMessageHostedContentItemRequestBuilder.ItemChatsItemTargetedMessagesItemHostedContentsChatMessageHostedContentItemRequestBuilderDeleteRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesItemHostedContentsChatMessageHostedContentItemRequestBuilder.ItemChatsItemTargetedMessagesItemHostedContentsChatMessageHostedContentItemRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesItemHostedContentsChatMessageHostedContentItemRequestBuilder.ItemChatsItemTargetedMessagesItemHostedContentsChatMessageHostedContentItemRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesItemHostedContentsChatMessageHostedContentItemRequestBuilder.ItemChatsItemTargetedMessagesItemHostedContentsChatMessageHostedContentItemRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesItemHostedContentsChatMessageHostedContentItemRequestBuilder.ItemChatsItemTargetedMessagesItemHostedContentsChatMessageHostedContentItemRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesItemHostedContentsChatMessageHostedContentItemRequestBuilder.ItemChatsItemTargetedMessagesItemHostedContentsChatMessageHostedContentItemRequestBuilderGetRequestConfiguration::|public|queryParameters:*ItemChatsItemTargetedMessagesItemHostedContentsChatMessageHostedContentItemRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesItemHostedContentsChatMessageHostedContentItemRequestBuilder.ItemChatsItemTargetedMessagesItemHostedContentsChatMessageHostedContentItemRequestBuilderPatchRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesItemHostedContentsChatMessageHostedContentItemRequestBuilder.ItemChatsItemTargetedMessagesItemHostedContentsChatMessageHostedContentItemRequestBuilderPatchRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesItemHostedContentsChatMessageHostedContentItemRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesItemHostedContentsChatMessageHostedContentItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesItemHostedContentsChatMessageHostedContentItemRequestBuilder::|public|Content():*ItemChatsItemTargetedMessagesItemHostedContentsItemValueContentRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesItemHostedContentsChatMessageHostedContentItemRequestBuilder::|public|Delete(ctx:context.Context; requestConfiguration?:*ItemChatsItemTargetedMessagesItemHostedContentsChatMessageHostedContentItemRequestBuilderDeleteRequestConfiguration):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesItemHostedContentsChatMessageHostedContentItemRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*ItemChatsItemTargetedMessagesItemHostedContentsChatMessageHostedContentItemRequestBuilderGetRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageHostedContentable +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesItemHostedContentsChatMessageHostedContentItemRequestBuilder::|public|Patch(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageHostedContentable; ctx:context.Context; requestConfiguration?:*ItemChatsItemTargetedMessagesItemHostedContentsChatMessageHostedContentItemRequestBuilderPatchRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageHostedContentable +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesItemHostedContentsChatMessageHostedContentItemRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesItemHostedContentsChatMessageHostedContentItemRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesItemHostedContentsChatMessageHostedContentItemRequestBuilder::|public|ToDeleteRequestInformation(ctx:context.Context; requestConfiguration?:*ItemChatsItemTargetedMessagesItemHostedContentsChatMessageHostedContentItemRequestBuilderDeleteRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesItemHostedContentsChatMessageHostedContentItemRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*ItemChatsItemTargetedMessagesItemHostedContentsChatMessageHostedContentItemRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesItemHostedContentsChatMessageHostedContentItemRequestBuilder::|public|ToPatchRequestInformation(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageHostedContentable; ctx:context.Context; requestConfiguration?:*ItemChatsItemTargetedMessagesItemHostedContentsChatMessageHostedContentItemRequestBuilderPatchRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesItemHostedContentsChatMessageHostedContentItemRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesItemHostedContentsChatMessageHostedContentItemRequestBuilder::|public|WithUrl(rawUrl:string):*ItemChatsItemTargetedMessagesItemHostedContentsChatMessageHostedContentItemRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesItemHostedContentsCountRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesItemHostedContentsCountRequestBuilder.ItemChatsItemTargetedMessagesItemHostedContentsCountRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesItemHostedContentsCountRequestBuilder.ItemChatsItemTargetedMessagesItemHostedContentsCountRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesItemHostedContentsCountRequestBuilder.ItemChatsItemTargetedMessagesItemHostedContentsCountRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesItemHostedContentsCountRequestBuilder.ItemChatsItemTargetedMessagesItemHostedContentsCountRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesItemHostedContentsCountRequestBuilder.ItemChatsItemTargetedMessagesItemHostedContentsCountRequestBuilderGetRequestConfiguration::|public|queryParameters:*ItemChatsItemTargetedMessagesItemHostedContentsCountRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesItemHostedContentsCountRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesItemHostedContentsCountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesItemHostedContentsCountRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*ItemChatsItemTargetedMessagesItemHostedContentsCountRequestBuilderGetRequestConfiguration):*int32 +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesItemHostedContentsCountRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesItemHostedContentsCountRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesItemHostedContentsCountRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*ItemChatsItemTargetedMessagesItemHostedContentsCountRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesItemHostedContentsCountRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesItemHostedContentsCountRequestBuilder::|public|WithUrl(rawUrl:string):*ItemChatsItemTargetedMessagesItemHostedContentsCountRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesItemHostedContentsItemValueContentRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesItemHostedContentsItemValueContentRequestBuilder.ItemChatsItemTargetedMessagesItemHostedContentsItemValueContentRequestBuilderDeleteRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesItemHostedContentsItemValueContentRequestBuilder.ItemChatsItemTargetedMessagesItemHostedContentsItemValueContentRequestBuilderDeleteRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesItemHostedContentsItemValueContentRequestBuilder.ItemChatsItemTargetedMessagesItemHostedContentsItemValueContentRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesItemHostedContentsItemValueContentRequestBuilder.ItemChatsItemTargetedMessagesItemHostedContentsItemValueContentRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesItemHostedContentsItemValueContentRequestBuilder.ItemChatsItemTargetedMessagesItemHostedContentsItemValueContentRequestBuilderPutRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesItemHostedContentsItemValueContentRequestBuilder.ItemChatsItemTargetedMessagesItemHostedContentsItemValueContentRequestBuilderPutRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesItemHostedContentsItemValueContentRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesItemHostedContentsItemValueContentRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesItemHostedContentsItemValueContentRequestBuilder::|public|Delete(ctx:context.Context; requestConfiguration?:*ItemChatsItemTargetedMessagesItemHostedContentsItemValueContentRequestBuilderDeleteRequestConfiguration):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesItemHostedContentsItemValueContentRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*ItemChatsItemTargetedMessagesItemHostedContentsItemValueContentRequestBuilderGetRequestConfiguration):[]byte +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesItemHostedContentsItemValueContentRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesItemHostedContentsItemValueContentRequestBuilder::|public|Put(body:[]byte; ctx:context.Context; requestConfiguration?:*ItemChatsItemTargetedMessagesItemHostedContentsItemValueContentRequestBuilderPutRequestConfiguration):[]byte +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesItemHostedContentsItemValueContentRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesItemHostedContentsItemValueContentRequestBuilder::|public|ToDeleteRequestInformation(ctx:context.Context; requestConfiguration?:*ItemChatsItemTargetedMessagesItemHostedContentsItemValueContentRequestBuilderDeleteRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesItemHostedContentsItemValueContentRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*ItemChatsItemTargetedMessagesItemHostedContentsItemValueContentRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesItemHostedContentsItemValueContentRequestBuilder::|public|ToPutRequestInformation(body:[]byte; ctx:context.Context; requestConfiguration?:*ItemChatsItemTargetedMessagesItemHostedContentsItemValueContentRequestBuilderPutRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesItemHostedContentsItemValueContentRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesItemHostedContentsItemValueContentRequestBuilder::|public|WithUrl(rawUrl:string):*ItemChatsItemTargetedMessagesItemHostedContentsItemValueContentRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesItemHostedContentsRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesItemHostedContentsRequestBuilder.ItemChatsItemTargetedMessagesItemHostedContentsRequestBuilderGetQueryParameters::|public|Count:*bool +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesItemHostedContentsRequestBuilder.ItemChatsItemTargetedMessagesItemHostedContentsRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesItemHostedContentsRequestBuilder.ItemChatsItemTargetedMessagesItemHostedContentsRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesItemHostedContentsRequestBuilder.ItemChatsItemTargetedMessagesItemHostedContentsRequestBuilderGetQueryParameters::|public|Orderby:[]string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesItemHostedContentsRequestBuilder.ItemChatsItemTargetedMessagesItemHostedContentsRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesItemHostedContentsRequestBuilder.ItemChatsItemTargetedMessagesItemHostedContentsRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesItemHostedContentsRequestBuilder.ItemChatsItemTargetedMessagesItemHostedContentsRequestBuilderGetQueryParameters::|public|Skip:*int32 +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesItemHostedContentsRequestBuilder.ItemChatsItemTargetedMessagesItemHostedContentsRequestBuilderGetQueryParameters::|public|Top:*int32 +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesItemHostedContentsRequestBuilder.ItemChatsItemTargetedMessagesItemHostedContentsRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesItemHostedContentsRequestBuilder.ItemChatsItemTargetedMessagesItemHostedContentsRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesItemHostedContentsRequestBuilder.ItemChatsItemTargetedMessagesItemHostedContentsRequestBuilderGetRequestConfiguration::|public|queryParameters:*ItemChatsItemTargetedMessagesItemHostedContentsRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesItemHostedContentsRequestBuilder.ItemChatsItemTargetedMessagesItemHostedContentsRequestBuilderPostRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesItemHostedContentsRequestBuilder.ItemChatsItemTargetedMessagesItemHostedContentsRequestBuilderPostRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesItemHostedContentsRequestBuilder::|public|ByChatMessageHostedContentId(chatMessageHostedContentId:string):*ItemChatsItemTargetedMessagesItemHostedContentsChatMessageHostedContentItemRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesItemHostedContentsRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesItemHostedContentsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesItemHostedContentsRequestBuilder::|public|Count():*ItemChatsItemTargetedMessagesItemHostedContentsCountRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesItemHostedContentsRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*ItemChatsItemTargetedMessagesItemHostedContentsRequestBuilderGetRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageHostedContentCollectionResponseable +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesItemHostedContentsRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesItemHostedContentsRequestBuilder::|public|Post(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageHostedContentable; ctx:context.Context; requestConfiguration?:*ItemChatsItemTargetedMessagesItemHostedContentsRequestBuilderPostRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageHostedContentable +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesItemHostedContentsRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesItemHostedContentsRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*ItemChatsItemTargetedMessagesItemHostedContentsRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesItemHostedContentsRequestBuilder::|public|ToPostRequestInformation(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageHostedContentable; ctx:context.Context; requestConfiguration?:*ItemChatsItemTargetedMessagesItemHostedContentsRequestBuilderPostRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesItemHostedContentsRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesItemHostedContentsRequestBuilder::|public|WithUrl(rawUrl:string):*ItemChatsItemTargetedMessagesItemHostedContentsRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesItemRepliesChatMessageItemRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesItemRepliesChatMessageItemRequestBuilder.ItemChatsItemTargetedMessagesItemRepliesChatMessageItemRequestBuilderDeleteRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesItemRepliesChatMessageItemRequestBuilder.ItemChatsItemTargetedMessagesItemRepliesChatMessageItemRequestBuilderDeleteRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesItemRepliesChatMessageItemRequestBuilder.ItemChatsItemTargetedMessagesItemRepliesChatMessageItemRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesItemRepliesChatMessageItemRequestBuilder.ItemChatsItemTargetedMessagesItemRepliesChatMessageItemRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesItemRepliesChatMessageItemRequestBuilder.ItemChatsItemTargetedMessagesItemRepliesChatMessageItemRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesItemRepliesChatMessageItemRequestBuilder.ItemChatsItemTargetedMessagesItemRepliesChatMessageItemRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesItemRepliesChatMessageItemRequestBuilder.ItemChatsItemTargetedMessagesItemRepliesChatMessageItemRequestBuilderGetRequestConfiguration::|public|queryParameters:*ItemChatsItemTargetedMessagesItemRepliesChatMessageItemRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesItemRepliesChatMessageItemRequestBuilder.ItemChatsItemTargetedMessagesItemRepliesChatMessageItemRequestBuilderPatchRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesItemRepliesChatMessageItemRequestBuilder.ItemChatsItemTargetedMessagesItemRepliesChatMessageItemRequestBuilderPatchRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesItemRepliesChatMessageItemRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesItemRepliesChatMessageItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesItemRepliesChatMessageItemRequestBuilder::|public|Delete(ctx:context.Context; requestConfiguration?:*ItemChatsItemTargetedMessagesItemRepliesChatMessageItemRequestBuilderDeleteRequestConfiguration):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesItemRepliesChatMessageItemRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*ItemChatsItemTargetedMessagesItemRepliesChatMessageItemRequestBuilderGetRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesItemRepliesChatMessageItemRequestBuilder::|public|hostedContents():*ItemChatsItemTargetedMessagesItemRepliesItemHostedContentsRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesItemRepliesChatMessageItemRequestBuilder::|public|Patch(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable; ctx:context.Context; requestConfiguration?:*ItemChatsItemTargetedMessagesItemRepliesChatMessageItemRequestBuilderPatchRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesItemRepliesChatMessageItemRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesItemRepliesChatMessageItemRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesItemRepliesChatMessageItemRequestBuilder::|public|setReaction():*ItemChatsItemTargetedMessagesItemRepliesItemSetReactionRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesItemRepliesChatMessageItemRequestBuilder::|public|softDelete():*ItemChatsItemTargetedMessagesItemRepliesItemSoftDeleteRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesItemRepliesChatMessageItemRequestBuilder::|public|ToDeleteRequestInformation(ctx:context.Context; requestConfiguration?:*ItemChatsItemTargetedMessagesItemRepliesChatMessageItemRequestBuilderDeleteRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesItemRepliesChatMessageItemRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*ItemChatsItemTargetedMessagesItemRepliesChatMessageItemRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesItemRepliesChatMessageItemRequestBuilder::|public|ToPatchRequestInformation(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable; ctx:context.Context; requestConfiguration?:*ItemChatsItemTargetedMessagesItemRepliesChatMessageItemRequestBuilderPatchRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesItemRepliesChatMessageItemRequestBuilder::|public|undoSoftDelete():*ItemChatsItemTargetedMessagesItemRepliesItemUndoSoftDeleteRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesItemRepliesChatMessageItemRequestBuilder::|public|unsetReaction():*ItemChatsItemTargetedMessagesItemRepliesItemUnsetReactionRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesItemRepliesChatMessageItemRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesItemRepliesChatMessageItemRequestBuilder::|public|WithUrl(rawUrl:string):*ItemChatsItemTargetedMessagesItemRepliesChatMessageItemRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesItemRepliesCountRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesItemRepliesCountRequestBuilder.ItemChatsItemTargetedMessagesItemRepliesCountRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesItemRepliesCountRequestBuilder.ItemChatsItemTargetedMessagesItemRepliesCountRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesItemRepliesCountRequestBuilder.ItemChatsItemTargetedMessagesItemRepliesCountRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesItemRepliesCountRequestBuilder.ItemChatsItemTargetedMessagesItemRepliesCountRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesItemRepliesCountRequestBuilder.ItemChatsItemTargetedMessagesItemRepliesCountRequestBuilderGetRequestConfiguration::|public|queryParameters:*ItemChatsItemTargetedMessagesItemRepliesCountRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesItemRepliesCountRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesItemRepliesCountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesItemRepliesCountRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*ItemChatsItemTargetedMessagesItemRepliesCountRequestBuilderGetRequestConfiguration):*int32 +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesItemRepliesCountRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesItemRepliesCountRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesItemRepliesCountRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*ItemChatsItemTargetedMessagesItemRepliesCountRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesItemRepliesCountRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesItemRepliesCountRequestBuilder::|public|WithUrl(rawUrl:string):*ItemChatsItemTargetedMessagesItemRepliesCountRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesItemRepliesDeltaGetResponse-->*iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.BaseDeltaFunctionResponse +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesItemRepliesDeltaGetResponse::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesItemRepliesDeltaGetResponse::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesItemRepliesDeltaGetResponse::|public|GetValue():[]iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesItemRepliesDeltaGetResponse::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesItemRepliesDeltaGetResponse::|public|SetValue(value:[]iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesItemRepliesDeltaGetResponse::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesItemRepliesDeltaGetResponseable::|public|GetValue():[]iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesItemRepliesDeltaGetResponseable::|public|SetValue(value:[]iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesItemRepliesDeltaGetResponseable~~>iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.BaseDeltaFunctionResponseable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesItemRepliesDeltaRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesItemRepliesDeltaRequestBuilder.ItemChatsItemTargetedMessagesItemRepliesDeltaRequestBuilderGetQueryParameters::|public|Count:*bool +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesItemRepliesDeltaRequestBuilder.ItemChatsItemTargetedMessagesItemRepliesDeltaRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesItemRepliesDeltaRequestBuilder.ItemChatsItemTargetedMessagesItemRepliesDeltaRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesItemRepliesDeltaRequestBuilder.ItemChatsItemTargetedMessagesItemRepliesDeltaRequestBuilderGetQueryParameters::|public|Orderby:[]string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesItemRepliesDeltaRequestBuilder.ItemChatsItemTargetedMessagesItemRepliesDeltaRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesItemRepliesDeltaRequestBuilder.ItemChatsItemTargetedMessagesItemRepliesDeltaRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesItemRepliesDeltaRequestBuilder.ItemChatsItemTargetedMessagesItemRepliesDeltaRequestBuilderGetQueryParameters::|public|Skip:*int32 +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesItemRepliesDeltaRequestBuilder.ItemChatsItemTargetedMessagesItemRepliesDeltaRequestBuilderGetQueryParameters::|public|Top:*int32 +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesItemRepliesDeltaRequestBuilder.ItemChatsItemTargetedMessagesItemRepliesDeltaRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesItemRepliesDeltaRequestBuilder.ItemChatsItemTargetedMessagesItemRepliesDeltaRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesItemRepliesDeltaRequestBuilder.ItemChatsItemTargetedMessagesItemRepliesDeltaRequestBuilderGetRequestConfiguration::|public|queryParameters:*ItemChatsItemTargetedMessagesItemRepliesDeltaRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesItemRepliesDeltaRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesItemRepliesDeltaRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesItemRepliesDeltaRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*ItemChatsItemTargetedMessagesItemRepliesDeltaRequestBuilderGetRequestConfiguration):ItemChatsItemTargetedMessagesItemRepliesDeltaResponseable +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesItemRepliesDeltaRequestBuilder::|public|GetAsDeltaGetResponse(ctx:context.Context; requestConfiguration?:*ItemChatsItemTargetedMessagesItemRepliesDeltaRequestBuilderGetRequestConfiguration):ItemChatsItemTargetedMessagesItemRepliesDeltaGetResponseable +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesItemRepliesDeltaRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesItemRepliesDeltaRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesItemRepliesDeltaRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*ItemChatsItemTargetedMessagesItemRepliesDeltaRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesItemRepliesDeltaRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesItemRepliesDeltaRequestBuilder::|public|WithUrl(rawUrl:string):*ItemChatsItemTargetedMessagesItemRepliesDeltaRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesItemRepliesDeltaResponse-->*ItemChatsItemTargetedMessagesItemRepliesDeltaGetResponse +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesItemRepliesDeltaResponse::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesItemRepliesDeltaResponse::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesItemRepliesDeltaResponseable~~>ItemChatsItemTargetedMessagesItemRepliesDeltaGetResponseable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesItemRepliesItemHostedContentsChatMessageHostedContentItemRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesItemRepliesItemHostedContentsChatMessageHostedContentItemRequestBuilder.ItemChatsItemTargetedMessagesItemRepliesItemHostedContentsChatMessageHostedContentItemRequestBuilderDeleteRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesItemRepliesItemHostedContentsChatMessageHostedContentItemRequestBuilder.ItemChatsItemTargetedMessagesItemRepliesItemHostedContentsChatMessageHostedContentItemRequestBuilderDeleteRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesItemRepliesItemHostedContentsChatMessageHostedContentItemRequestBuilder.ItemChatsItemTargetedMessagesItemRepliesItemHostedContentsChatMessageHostedContentItemRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesItemRepliesItemHostedContentsChatMessageHostedContentItemRequestBuilder.ItemChatsItemTargetedMessagesItemRepliesItemHostedContentsChatMessageHostedContentItemRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesItemRepliesItemHostedContentsChatMessageHostedContentItemRequestBuilder.ItemChatsItemTargetedMessagesItemRepliesItemHostedContentsChatMessageHostedContentItemRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesItemRepliesItemHostedContentsChatMessageHostedContentItemRequestBuilder.ItemChatsItemTargetedMessagesItemRepliesItemHostedContentsChatMessageHostedContentItemRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesItemRepliesItemHostedContentsChatMessageHostedContentItemRequestBuilder.ItemChatsItemTargetedMessagesItemRepliesItemHostedContentsChatMessageHostedContentItemRequestBuilderGetRequestConfiguration::|public|queryParameters:*ItemChatsItemTargetedMessagesItemRepliesItemHostedContentsChatMessageHostedContentItemRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesItemRepliesItemHostedContentsChatMessageHostedContentItemRequestBuilder.ItemChatsItemTargetedMessagesItemRepliesItemHostedContentsChatMessageHostedContentItemRequestBuilderPatchRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesItemRepliesItemHostedContentsChatMessageHostedContentItemRequestBuilder.ItemChatsItemTargetedMessagesItemRepliesItemHostedContentsChatMessageHostedContentItemRequestBuilderPatchRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesItemRepliesItemHostedContentsChatMessageHostedContentItemRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesItemRepliesItemHostedContentsChatMessageHostedContentItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesItemRepliesItemHostedContentsChatMessageHostedContentItemRequestBuilder::|public|Content():*ItemChatsItemTargetedMessagesItemRepliesItemHostedContentsItemValueContentRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesItemRepliesItemHostedContentsChatMessageHostedContentItemRequestBuilder::|public|Delete(ctx:context.Context; requestConfiguration?:*ItemChatsItemTargetedMessagesItemRepliesItemHostedContentsChatMessageHostedContentItemRequestBuilderDeleteRequestConfiguration):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesItemRepliesItemHostedContentsChatMessageHostedContentItemRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*ItemChatsItemTargetedMessagesItemRepliesItemHostedContentsChatMessageHostedContentItemRequestBuilderGetRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageHostedContentable +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesItemRepliesItemHostedContentsChatMessageHostedContentItemRequestBuilder::|public|Patch(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageHostedContentable; ctx:context.Context; requestConfiguration?:*ItemChatsItemTargetedMessagesItemRepliesItemHostedContentsChatMessageHostedContentItemRequestBuilderPatchRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageHostedContentable +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesItemRepliesItemHostedContentsChatMessageHostedContentItemRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesItemRepliesItemHostedContentsChatMessageHostedContentItemRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesItemRepliesItemHostedContentsChatMessageHostedContentItemRequestBuilder::|public|ToDeleteRequestInformation(ctx:context.Context; requestConfiguration?:*ItemChatsItemTargetedMessagesItemRepliesItemHostedContentsChatMessageHostedContentItemRequestBuilderDeleteRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesItemRepliesItemHostedContentsChatMessageHostedContentItemRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*ItemChatsItemTargetedMessagesItemRepliesItemHostedContentsChatMessageHostedContentItemRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesItemRepliesItemHostedContentsChatMessageHostedContentItemRequestBuilder::|public|ToPatchRequestInformation(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageHostedContentable; ctx:context.Context; requestConfiguration?:*ItemChatsItemTargetedMessagesItemRepliesItemHostedContentsChatMessageHostedContentItemRequestBuilderPatchRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesItemRepliesItemHostedContentsChatMessageHostedContentItemRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesItemRepliesItemHostedContentsChatMessageHostedContentItemRequestBuilder::|public|WithUrl(rawUrl:string):*ItemChatsItemTargetedMessagesItemRepliesItemHostedContentsChatMessageHostedContentItemRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesItemRepliesItemHostedContentsCountRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesItemRepliesItemHostedContentsCountRequestBuilder.ItemChatsItemTargetedMessagesItemRepliesItemHostedContentsCountRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesItemRepliesItemHostedContentsCountRequestBuilder.ItemChatsItemTargetedMessagesItemRepliesItemHostedContentsCountRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesItemRepliesItemHostedContentsCountRequestBuilder.ItemChatsItemTargetedMessagesItemRepliesItemHostedContentsCountRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesItemRepliesItemHostedContentsCountRequestBuilder.ItemChatsItemTargetedMessagesItemRepliesItemHostedContentsCountRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesItemRepliesItemHostedContentsCountRequestBuilder.ItemChatsItemTargetedMessagesItemRepliesItemHostedContentsCountRequestBuilderGetRequestConfiguration::|public|queryParameters:*ItemChatsItemTargetedMessagesItemRepliesItemHostedContentsCountRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesItemRepliesItemHostedContentsCountRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesItemRepliesItemHostedContentsCountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesItemRepliesItemHostedContentsCountRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*ItemChatsItemTargetedMessagesItemRepliesItemHostedContentsCountRequestBuilderGetRequestConfiguration):*int32 +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesItemRepliesItemHostedContentsCountRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesItemRepliesItemHostedContentsCountRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesItemRepliesItemHostedContentsCountRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*ItemChatsItemTargetedMessagesItemRepliesItemHostedContentsCountRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesItemRepliesItemHostedContentsCountRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesItemRepliesItemHostedContentsCountRequestBuilder::|public|WithUrl(rawUrl:string):*ItemChatsItemTargetedMessagesItemRepliesItemHostedContentsCountRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesItemRepliesItemHostedContentsItemValueContentRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesItemRepliesItemHostedContentsItemValueContentRequestBuilder.ItemChatsItemTargetedMessagesItemRepliesItemHostedContentsItemValueContentRequestBuilderDeleteRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesItemRepliesItemHostedContentsItemValueContentRequestBuilder.ItemChatsItemTargetedMessagesItemRepliesItemHostedContentsItemValueContentRequestBuilderDeleteRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesItemRepliesItemHostedContentsItemValueContentRequestBuilder.ItemChatsItemTargetedMessagesItemRepliesItemHostedContentsItemValueContentRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesItemRepliesItemHostedContentsItemValueContentRequestBuilder.ItemChatsItemTargetedMessagesItemRepliesItemHostedContentsItemValueContentRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesItemRepliesItemHostedContentsItemValueContentRequestBuilder.ItemChatsItemTargetedMessagesItemRepliesItemHostedContentsItemValueContentRequestBuilderPutRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesItemRepliesItemHostedContentsItemValueContentRequestBuilder.ItemChatsItemTargetedMessagesItemRepliesItemHostedContentsItemValueContentRequestBuilderPutRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesItemRepliesItemHostedContentsItemValueContentRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesItemRepliesItemHostedContentsItemValueContentRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesItemRepliesItemHostedContentsItemValueContentRequestBuilder::|public|Delete(ctx:context.Context; requestConfiguration?:*ItemChatsItemTargetedMessagesItemRepliesItemHostedContentsItemValueContentRequestBuilderDeleteRequestConfiguration):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesItemRepliesItemHostedContentsItemValueContentRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*ItemChatsItemTargetedMessagesItemRepliesItemHostedContentsItemValueContentRequestBuilderGetRequestConfiguration):[]byte +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesItemRepliesItemHostedContentsItemValueContentRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesItemRepliesItemHostedContentsItemValueContentRequestBuilder::|public|Put(body:[]byte; ctx:context.Context; requestConfiguration?:*ItemChatsItemTargetedMessagesItemRepliesItemHostedContentsItemValueContentRequestBuilderPutRequestConfiguration):[]byte +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesItemRepliesItemHostedContentsItemValueContentRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesItemRepliesItemHostedContentsItemValueContentRequestBuilder::|public|ToDeleteRequestInformation(ctx:context.Context; requestConfiguration?:*ItemChatsItemTargetedMessagesItemRepliesItemHostedContentsItemValueContentRequestBuilderDeleteRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesItemRepliesItemHostedContentsItemValueContentRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*ItemChatsItemTargetedMessagesItemRepliesItemHostedContentsItemValueContentRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesItemRepliesItemHostedContentsItemValueContentRequestBuilder::|public|ToPutRequestInformation(body:[]byte; ctx:context.Context; requestConfiguration?:*ItemChatsItemTargetedMessagesItemRepliesItemHostedContentsItemValueContentRequestBuilderPutRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesItemRepliesItemHostedContentsItemValueContentRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesItemRepliesItemHostedContentsItemValueContentRequestBuilder::|public|WithUrl(rawUrl:string):*ItemChatsItemTargetedMessagesItemRepliesItemHostedContentsItemValueContentRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesItemRepliesItemHostedContentsRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesItemRepliesItemHostedContentsRequestBuilder.ItemChatsItemTargetedMessagesItemRepliesItemHostedContentsRequestBuilderGetQueryParameters::|public|Count:*bool +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesItemRepliesItemHostedContentsRequestBuilder.ItemChatsItemTargetedMessagesItemRepliesItemHostedContentsRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesItemRepliesItemHostedContentsRequestBuilder.ItemChatsItemTargetedMessagesItemRepliesItemHostedContentsRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesItemRepliesItemHostedContentsRequestBuilder.ItemChatsItemTargetedMessagesItemRepliesItemHostedContentsRequestBuilderGetQueryParameters::|public|Orderby:[]string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesItemRepliesItemHostedContentsRequestBuilder.ItemChatsItemTargetedMessagesItemRepliesItemHostedContentsRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesItemRepliesItemHostedContentsRequestBuilder.ItemChatsItemTargetedMessagesItemRepliesItemHostedContentsRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesItemRepliesItemHostedContentsRequestBuilder.ItemChatsItemTargetedMessagesItemRepliesItemHostedContentsRequestBuilderGetQueryParameters::|public|Skip:*int32 +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesItemRepliesItemHostedContentsRequestBuilder.ItemChatsItemTargetedMessagesItemRepliesItemHostedContentsRequestBuilderGetQueryParameters::|public|Top:*int32 +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesItemRepliesItemHostedContentsRequestBuilder.ItemChatsItemTargetedMessagesItemRepliesItemHostedContentsRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesItemRepliesItemHostedContentsRequestBuilder.ItemChatsItemTargetedMessagesItemRepliesItemHostedContentsRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesItemRepliesItemHostedContentsRequestBuilder.ItemChatsItemTargetedMessagesItemRepliesItemHostedContentsRequestBuilderGetRequestConfiguration::|public|queryParameters:*ItemChatsItemTargetedMessagesItemRepliesItemHostedContentsRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesItemRepliesItemHostedContentsRequestBuilder.ItemChatsItemTargetedMessagesItemRepliesItemHostedContentsRequestBuilderPostRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesItemRepliesItemHostedContentsRequestBuilder.ItemChatsItemTargetedMessagesItemRepliesItemHostedContentsRequestBuilderPostRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesItemRepliesItemHostedContentsRequestBuilder::|public|ByChatMessageHostedContentId(chatMessageHostedContentId:string):*ItemChatsItemTargetedMessagesItemRepliesItemHostedContentsChatMessageHostedContentItemRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesItemRepliesItemHostedContentsRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesItemRepliesItemHostedContentsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesItemRepliesItemHostedContentsRequestBuilder::|public|Count():*ItemChatsItemTargetedMessagesItemRepliesItemHostedContentsCountRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesItemRepliesItemHostedContentsRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*ItemChatsItemTargetedMessagesItemRepliesItemHostedContentsRequestBuilderGetRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageHostedContentCollectionResponseable +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesItemRepliesItemHostedContentsRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesItemRepliesItemHostedContentsRequestBuilder::|public|Post(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageHostedContentable; ctx:context.Context; requestConfiguration?:*ItemChatsItemTargetedMessagesItemRepliesItemHostedContentsRequestBuilderPostRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageHostedContentable +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesItemRepliesItemHostedContentsRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesItemRepliesItemHostedContentsRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*ItemChatsItemTargetedMessagesItemRepliesItemHostedContentsRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesItemRepliesItemHostedContentsRequestBuilder::|public|ToPostRequestInformation(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageHostedContentable; ctx:context.Context; requestConfiguration?:*ItemChatsItemTargetedMessagesItemRepliesItemHostedContentsRequestBuilderPostRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesItemRepliesItemHostedContentsRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesItemRepliesItemHostedContentsRequestBuilder::|public|WithUrl(rawUrl:string):*ItemChatsItemTargetedMessagesItemRepliesItemHostedContentsRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesItemRepliesItemSetReactionPostRequestBody::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesItemRepliesItemSetReactionPostRequestBody::|public|GetAdditionalData():map[string]any +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesItemRepliesItemSetReactionPostRequestBody::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesItemRepliesItemSetReactionPostRequestBody::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesItemRepliesItemSetReactionPostRequestBody::|public|GetReactionType():*string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesItemRepliesItemSetReactionPostRequestBody::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesItemRepliesItemSetReactionPostRequestBody::|public|SetAdditionalData(value:map[string]any):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesItemRepliesItemSetReactionPostRequestBody::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesItemRepliesItemSetReactionPostRequestBody::|public|SetReactionType(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesItemRepliesItemSetReactionPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesItemRepliesItemSetReactionPostRequestBodyable::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesItemRepliesItemSetReactionPostRequestBodyable::|public|GetReactionType():*string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesItemRepliesItemSetReactionPostRequestBodyable::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesItemRepliesItemSetReactionPostRequestBodyable::|public|SetReactionType(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesItemRepliesItemSetReactionPostRequestBodyable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder; *ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesItemRepliesItemSetReactionPostRequestBody~~>ItemChatsItemTargetedMessagesItemRepliesItemSetReactionPostRequestBodyable +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesItemRepliesItemSetReactionRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesItemRepliesItemSetReactionRequestBuilder.ItemChatsItemTargetedMessagesItemRepliesItemSetReactionRequestBuilderPostRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesItemRepliesItemSetReactionRequestBuilder.ItemChatsItemTargetedMessagesItemRepliesItemSetReactionRequestBuilderPostRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesItemRepliesItemSetReactionRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesItemRepliesItemSetReactionRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesItemRepliesItemSetReactionRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesItemRepliesItemSetReactionRequestBuilder::|public|Post(body:ItemChatsItemTargetedMessagesItemRepliesItemSetReactionPostRequestBodyable; ctx:context.Context; requestConfiguration?:*ItemChatsItemTargetedMessagesItemRepliesItemSetReactionRequestBuilderPostRequestConfiguration):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesItemRepliesItemSetReactionRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesItemRepliesItemSetReactionRequestBuilder::|public|ToPostRequestInformation(body:ItemChatsItemTargetedMessagesItemRepliesItemSetReactionPostRequestBodyable; ctx:context.Context; requestConfiguration?:*ItemChatsItemTargetedMessagesItemRepliesItemSetReactionRequestBuilderPostRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesItemRepliesItemSetReactionRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesItemRepliesItemSetReactionRequestBuilder::|public|WithUrl(rawUrl:string):*ItemChatsItemTargetedMessagesItemRepliesItemSetReactionRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesItemRepliesItemSoftDeleteRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesItemRepliesItemSoftDeleteRequestBuilder.ItemChatsItemTargetedMessagesItemRepliesItemSoftDeleteRequestBuilderPostRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesItemRepliesItemSoftDeleteRequestBuilder.ItemChatsItemTargetedMessagesItemRepliesItemSoftDeleteRequestBuilderPostRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesItemRepliesItemSoftDeleteRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesItemRepliesItemSoftDeleteRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesItemRepliesItemSoftDeleteRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesItemRepliesItemSoftDeleteRequestBuilder::|public|Post(ctx:context.Context; requestConfiguration?:*ItemChatsItemTargetedMessagesItemRepliesItemSoftDeleteRequestBuilderPostRequestConfiguration):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesItemRepliesItemSoftDeleteRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesItemRepliesItemSoftDeleteRequestBuilder::|public|ToPostRequestInformation(ctx:context.Context; requestConfiguration?:*ItemChatsItemTargetedMessagesItemRepliesItemSoftDeleteRequestBuilderPostRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesItemRepliesItemSoftDeleteRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesItemRepliesItemSoftDeleteRequestBuilder::|public|WithUrl(rawUrl:string):*ItemChatsItemTargetedMessagesItemRepliesItemSoftDeleteRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesItemRepliesItemUndoSoftDeleteRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesItemRepliesItemUndoSoftDeleteRequestBuilder.ItemChatsItemTargetedMessagesItemRepliesItemUndoSoftDeleteRequestBuilderPostRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesItemRepliesItemUndoSoftDeleteRequestBuilder.ItemChatsItemTargetedMessagesItemRepliesItemUndoSoftDeleteRequestBuilderPostRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesItemRepliesItemUndoSoftDeleteRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesItemRepliesItemUndoSoftDeleteRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesItemRepliesItemUndoSoftDeleteRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesItemRepliesItemUndoSoftDeleteRequestBuilder::|public|Post(ctx:context.Context; requestConfiguration?:*ItemChatsItemTargetedMessagesItemRepliesItemUndoSoftDeleteRequestBuilderPostRequestConfiguration):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesItemRepliesItemUndoSoftDeleteRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesItemRepliesItemUndoSoftDeleteRequestBuilder::|public|ToPostRequestInformation(ctx:context.Context; requestConfiguration?:*ItemChatsItemTargetedMessagesItemRepliesItemUndoSoftDeleteRequestBuilderPostRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesItemRepliesItemUndoSoftDeleteRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesItemRepliesItemUndoSoftDeleteRequestBuilder::|public|WithUrl(rawUrl:string):*ItemChatsItemTargetedMessagesItemRepliesItemUndoSoftDeleteRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesItemRepliesItemUnsetReactionPostRequestBody::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesItemRepliesItemUnsetReactionPostRequestBody::|public|GetAdditionalData():map[string]any +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesItemRepliesItemUnsetReactionPostRequestBody::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesItemRepliesItemUnsetReactionPostRequestBody::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesItemRepliesItemUnsetReactionPostRequestBody::|public|GetReactionType():*string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesItemRepliesItemUnsetReactionPostRequestBody::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesItemRepliesItemUnsetReactionPostRequestBody::|public|SetAdditionalData(value:map[string]any):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesItemRepliesItemUnsetReactionPostRequestBody::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesItemRepliesItemUnsetReactionPostRequestBody::|public|SetReactionType(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesItemRepliesItemUnsetReactionPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesItemRepliesItemUnsetReactionPostRequestBodyable::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesItemRepliesItemUnsetReactionPostRequestBodyable::|public|GetReactionType():*string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesItemRepliesItemUnsetReactionPostRequestBodyable::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesItemRepliesItemUnsetReactionPostRequestBodyable::|public|SetReactionType(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesItemRepliesItemUnsetReactionPostRequestBodyable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder; *ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesItemRepliesItemUnsetReactionPostRequestBody~~>ItemChatsItemTargetedMessagesItemRepliesItemUnsetReactionPostRequestBodyable +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesItemRepliesItemUnsetReactionRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesItemRepliesItemUnsetReactionRequestBuilder.ItemChatsItemTargetedMessagesItemRepliesItemUnsetReactionRequestBuilderPostRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesItemRepliesItemUnsetReactionRequestBuilder.ItemChatsItemTargetedMessagesItemRepliesItemUnsetReactionRequestBuilderPostRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesItemRepliesItemUnsetReactionRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesItemRepliesItemUnsetReactionRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesItemRepliesItemUnsetReactionRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesItemRepliesItemUnsetReactionRequestBuilder::|public|Post(body:ItemChatsItemTargetedMessagesItemRepliesItemUnsetReactionPostRequestBodyable; ctx:context.Context; requestConfiguration?:*ItemChatsItemTargetedMessagesItemRepliesItemUnsetReactionRequestBuilderPostRequestConfiguration):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesItemRepliesItemUnsetReactionRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesItemRepliesItemUnsetReactionRequestBuilder::|public|ToPostRequestInformation(body:ItemChatsItemTargetedMessagesItemRepliesItemUnsetReactionPostRequestBodyable; ctx:context.Context; requestConfiguration?:*ItemChatsItemTargetedMessagesItemRepliesItemUnsetReactionRequestBuilderPostRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesItemRepliesItemUnsetReactionRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesItemRepliesItemUnsetReactionRequestBuilder::|public|WithUrl(rawUrl:string):*ItemChatsItemTargetedMessagesItemRepliesItemUnsetReactionRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesItemRepliesReplyWithQuotePostRequestBody::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesItemRepliesReplyWithQuotePostRequestBody::|public|GetAdditionalData():map[string]any +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesItemRepliesReplyWithQuotePostRequestBody::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesItemRepliesReplyWithQuotePostRequestBody::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesItemRepliesReplyWithQuotePostRequestBody::|public|GetMessageIds():[]string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesItemRepliesReplyWithQuotePostRequestBody::|public|GetReplyMessage():iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesItemRepliesReplyWithQuotePostRequestBody::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesItemRepliesReplyWithQuotePostRequestBody::|public|SetAdditionalData(value:map[string]any):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesItemRepliesReplyWithQuotePostRequestBody::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesItemRepliesReplyWithQuotePostRequestBody::|public|SetMessageIds(value:[]string):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesItemRepliesReplyWithQuotePostRequestBody::|public|SetReplyMessage(value:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesItemRepliesReplyWithQuotePostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesItemRepliesReplyWithQuotePostRequestBodyable::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesItemRepliesReplyWithQuotePostRequestBodyable::|public|GetMessageIds():[]string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesItemRepliesReplyWithQuotePostRequestBodyable::|public|GetReplyMessage():iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesItemRepliesReplyWithQuotePostRequestBodyable::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesItemRepliesReplyWithQuotePostRequestBodyable::|public|SetMessageIds(value:[]string):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesItemRepliesReplyWithQuotePostRequestBodyable::|public|SetReplyMessage(value:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesItemRepliesReplyWithQuotePostRequestBodyable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder; *ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesItemRepliesReplyWithQuotePostRequestBody~~>ItemChatsItemTargetedMessagesItemRepliesReplyWithQuotePostRequestBodyable +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesItemRepliesReplyWithQuoteRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesItemRepliesReplyWithQuoteRequestBuilder.ItemChatsItemTargetedMessagesItemRepliesReplyWithQuoteRequestBuilderPostRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesItemRepliesReplyWithQuoteRequestBuilder.ItemChatsItemTargetedMessagesItemRepliesReplyWithQuoteRequestBuilderPostRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesItemRepliesReplyWithQuoteRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesItemRepliesReplyWithQuoteRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesItemRepliesReplyWithQuoteRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesItemRepliesReplyWithQuoteRequestBuilder::|public|Post(body:ItemChatsItemTargetedMessagesItemRepliesReplyWithQuotePostRequestBodyable; ctx:context.Context; requestConfiguration?:*ItemChatsItemTargetedMessagesItemRepliesReplyWithQuoteRequestBuilderPostRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesItemRepliesReplyWithQuoteRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesItemRepliesReplyWithQuoteRequestBuilder::|public|ToPostRequestInformation(body:ItemChatsItemTargetedMessagesItemRepliesReplyWithQuotePostRequestBodyable; ctx:context.Context; requestConfiguration?:*ItemChatsItemTargetedMessagesItemRepliesReplyWithQuoteRequestBuilderPostRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesItemRepliesReplyWithQuoteRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesItemRepliesReplyWithQuoteRequestBuilder::|public|WithUrl(rawUrl:string):*ItemChatsItemTargetedMessagesItemRepliesReplyWithQuoteRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesItemRepliesRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesItemRepliesRequestBuilder.ItemChatsItemTargetedMessagesItemRepliesRequestBuilderGetQueryParameters::|public|Count:*bool +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesItemRepliesRequestBuilder.ItemChatsItemTargetedMessagesItemRepliesRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesItemRepliesRequestBuilder.ItemChatsItemTargetedMessagesItemRepliesRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesItemRepliesRequestBuilder.ItemChatsItemTargetedMessagesItemRepliesRequestBuilderGetQueryParameters::|public|Orderby:[]string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesItemRepliesRequestBuilder.ItemChatsItemTargetedMessagesItemRepliesRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesItemRepliesRequestBuilder.ItemChatsItemTargetedMessagesItemRepliesRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesItemRepliesRequestBuilder.ItemChatsItemTargetedMessagesItemRepliesRequestBuilderGetQueryParameters::|public|Skip:*int32 +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesItemRepliesRequestBuilder.ItemChatsItemTargetedMessagesItemRepliesRequestBuilderGetQueryParameters::|public|Top:*int32 +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesItemRepliesRequestBuilder.ItemChatsItemTargetedMessagesItemRepliesRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesItemRepliesRequestBuilder.ItemChatsItemTargetedMessagesItemRepliesRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesItemRepliesRequestBuilder.ItemChatsItemTargetedMessagesItemRepliesRequestBuilderGetRequestConfiguration::|public|queryParameters:*ItemChatsItemTargetedMessagesItemRepliesRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesItemRepliesRequestBuilder.ItemChatsItemTargetedMessagesItemRepliesRequestBuilderPostRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesItemRepliesRequestBuilder.ItemChatsItemTargetedMessagesItemRepliesRequestBuilderPostRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesItemRepliesRequestBuilder::|public|ByChatMessageId(chatMessageId:string):*ItemChatsItemTargetedMessagesItemRepliesChatMessageItemRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesItemRepliesRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesItemRepliesRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesItemRepliesRequestBuilder::|public|Count():*ItemChatsItemTargetedMessagesItemRepliesCountRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesItemRepliesRequestBuilder::|public|delta():*ItemChatsItemTargetedMessagesItemRepliesDeltaRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesItemRepliesRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*ItemChatsItemTargetedMessagesItemRepliesRequestBuilderGetRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageCollectionResponseable +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesItemRepliesRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesItemRepliesRequestBuilder::|public|Post(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable; ctx:context.Context; requestConfiguration?:*ItemChatsItemTargetedMessagesItemRepliesRequestBuilderPostRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesItemRepliesRequestBuilder::|public|replyWithQuote():*ItemChatsItemTargetedMessagesItemRepliesReplyWithQuoteRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesItemRepliesRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesItemRepliesRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*ItemChatsItemTargetedMessagesItemRepliesRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesItemRepliesRequestBuilder::|public|ToPostRequestInformation(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable; ctx:context.Context; requestConfiguration?:*ItemChatsItemTargetedMessagesItemRepliesRequestBuilderPostRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesItemRepliesRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesItemRepliesRequestBuilder::|public|WithUrl(rawUrl:string):*ItemChatsItemTargetedMessagesItemRepliesRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesRequestBuilder.ItemChatsItemTargetedMessagesRequestBuilderGetQueryParameters::|public|Count:*bool +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesRequestBuilder.ItemChatsItemTargetedMessagesRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesRequestBuilder.ItemChatsItemTargetedMessagesRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesRequestBuilder.ItemChatsItemTargetedMessagesRequestBuilderGetQueryParameters::|public|Orderby:[]string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesRequestBuilder.ItemChatsItemTargetedMessagesRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesRequestBuilder.ItemChatsItemTargetedMessagesRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesRequestBuilder.ItemChatsItemTargetedMessagesRequestBuilderGetQueryParameters::|public|Skip:*int32 +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesRequestBuilder.ItemChatsItemTargetedMessagesRequestBuilderGetQueryParameters::|public|Top:*int32 +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesRequestBuilder.ItemChatsItemTargetedMessagesRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesRequestBuilder.ItemChatsItemTargetedMessagesRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesRequestBuilder.ItemChatsItemTargetedMessagesRequestBuilderGetRequestConfiguration::|public|queryParameters:*ItemChatsItemTargetedMessagesRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesRequestBuilder.ItemChatsItemTargetedMessagesRequestBuilderPostRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesRequestBuilder.ItemChatsItemTargetedMessagesRequestBuilderPostRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesRequestBuilder::|public|ByTargetedChatMessageId(targetedChatMessageId:string):*ItemChatsItemTargetedMessagesTargetedChatMessageItemRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesRequestBuilder::|public|Count():*ItemChatsItemTargetedMessagesCountRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*ItemChatsItemTargetedMessagesRequestBuilderGetRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.TargetedChatMessageCollectionResponseable +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesRequestBuilder::|public|Post(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.TargetedChatMessageable; ctx:context.Context; requestConfiguration?:*ItemChatsItemTargetedMessagesRequestBuilderPostRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.TargetedChatMessageable +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*ItemChatsItemTargetedMessagesRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesRequestBuilder::|public|ToPostRequestInformation(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.TargetedChatMessageable; ctx:context.Context; requestConfiguration?:*ItemChatsItemTargetedMessagesRequestBuilderPostRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesRequestBuilder::|public|WithUrl(rawUrl:string):*ItemChatsItemTargetedMessagesRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesTargetedChatMessageItemRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesTargetedChatMessageItemRequestBuilder.ItemChatsItemTargetedMessagesTargetedChatMessageItemRequestBuilderDeleteRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesTargetedChatMessageItemRequestBuilder.ItemChatsItemTargetedMessagesTargetedChatMessageItemRequestBuilderDeleteRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesTargetedChatMessageItemRequestBuilder.ItemChatsItemTargetedMessagesTargetedChatMessageItemRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesTargetedChatMessageItemRequestBuilder.ItemChatsItemTargetedMessagesTargetedChatMessageItemRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesTargetedChatMessageItemRequestBuilder.ItemChatsItemTargetedMessagesTargetedChatMessageItemRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesTargetedChatMessageItemRequestBuilder.ItemChatsItemTargetedMessagesTargetedChatMessageItemRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesTargetedChatMessageItemRequestBuilder.ItemChatsItemTargetedMessagesTargetedChatMessageItemRequestBuilderGetRequestConfiguration::|public|queryParameters:*ItemChatsItemTargetedMessagesTargetedChatMessageItemRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesTargetedChatMessageItemRequestBuilder.ItemChatsItemTargetedMessagesTargetedChatMessageItemRequestBuilderPatchRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesTargetedChatMessageItemRequestBuilder.ItemChatsItemTargetedMessagesTargetedChatMessageItemRequestBuilderPatchRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesTargetedChatMessageItemRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesTargetedChatMessageItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesTargetedChatMessageItemRequestBuilder::|public|Delete(ctx:context.Context; requestConfiguration?:*ItemChatsItemTargetedMessagesTargetedChatMessageItemRequestBuilderDeleteRequestConfiguration):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesTargetedChatMessageItemRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*ItemChatsItemTargetedMessagesTargetedChatMessageItemRequestBuilderGetRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.TargetedChatMessageable +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesTargetedChatMessageItemRequestBuilder::|public|hostedContents():*ItemChatsItemTargetedMessagesItemHostedContentsRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesTargetedChatMessageItemRequestBuilder::|public|Patch(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.TargetedChatMessageable; ctx:context.Context; requestConfiguration?:*ItemChatsItemTargetedMessagesTargetedChatMessageItemRequestBuilderPatchRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.TargetedChatMessageable +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesTargetedChatMessageItemRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesTargetedChatMessageItemRequestBuilder::|public|replies():*ItemChatsItemTargetedMessagesItemRepliesRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesTargetedChatMessageItemRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesTargetedChatMessageItemRequestBuilder::|public|ToDeleteRequestInformation(ctx:context.Context; requestConfiguration?:*ItemChatsItemTargetedMessagesTargetedChatMessageItemRequestBuilderDeleteRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesTargetedChatMessageItemRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*ItemChatsItemTargetedMessagesTargetedChatMessageItemRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesTargetedChatMessageItemRequestBuilder::|public|ToPatchRequestInformation(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.TargetedChatMessageable; ctx:context.Context; requestConfiguration?:*ItemChatsItemTargetedMessagesTargetedChatMessageItemRequestBuilderPatchRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesTargetedChatMessageItemRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemTargetedMessagesTargetedChatMessageItemRequestBuilder::|public|WithUrl(rawUrl:string):*ItemChatsItemTargetedMessagesTargetedChatMessageItemRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemUnhideForUserPostRequestBody::|public|constructor():void github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemUnhideForUserPostRequestBody::|public|GetAdditionalData():map[string]any github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemUnhideForUserPostRequestBody::|public|GetBackingStore():BackingStore @@ -282199,6 +286166,111 @@ github.com/microsoftgraph/msgraph-sdk-go/.users.ItemTeamworkAssociatedTeamsReque github.com/microsoftgraph/msgraph-sdk-go/.users.ItemTeamworkAssociatedTeamsRequestBuilder::|public|ToPostRequestInformation(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.AssociatedTeamInfoable; ctx:context.Context; requestConfiguration?:*ItemTeamworkAssociatedTeamsRequestBuilderPostRequestConfiguration):*RequestInformation github.com/microsoftgraph/msgraph-sdk-go/.users.ItemTeamworkAssociatedTeamsRequestBuilder::|public|urlTemplate:string github.com/microsoftgraph/msgraph-sdk-go/.users.ItemTeamworkAssociatedTeamsRequestBuilder::|public|WithUrl(rawUrl:string):*ItemTeamworkAssociatedTeamsRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemTeamworkDeleteTargetedMessagePostRequestBody::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemTeamworkDeleteTargetedMessagePostRequestBody::|public|GetAdditionalData():map[string]any +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemTeamworkDeleteTargetedMessagePostRequestBody::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemTeamworkDeleteTargetedMessagePostRequestBody::|public|GetChannelId():*string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemTeamworkDeleteTargetedMessagePostRequestBody::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemTeamworkDeleteTargetedMessagePostRequestBody::|public|GetMessageId():*string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemTeamworkDeleteTargetedMessagePostRequestBody::|public|GetTeamId():*string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemTeamworkDeleteTargetedMessagePostRequestBody::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemTeamworkDeleteTargetedMessagePostRequestBody::|public|SetAdditionalData(value:map[string]any):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemTeamworkDeleteTargetedMessagePostRequestBody::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemTeamworkDeleteTargetedMessagePostRequestBody::|public|SetChannelId(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemTeamworkDeleteTargetedMessagePostRequestBody::|public|SetMessageId(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemTeamworkDeleteTargetedMessagePostRequestBody::|public|SetTeamId(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemTeamworkDeleteTargetedMessagePostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemTeamworkDeleteTargetedMessagePostRequestBodyable::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemTeamworkDeleteTargetedMessagePostRequestBodyable::|public|GetChannelId():*string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemTeamworkDeleteTargetedMessagePostRequestBodyable::|public|GetMessageId():*string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemTeamworkDeleteTargetedMessagePostRequestBodyable::|public|GetTeamId():*string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemTeamworkDeleteTargetedMessagePostRequestBodyable::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemTeamworkDeleteTargetedMessagePostRequestBodyable::|public|SetChannelId(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemTeamworkDeleteTargetedMessagePostRequestBodyable::|public|SetMessageId(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemTeamworkDeleteTargetedMessagePostRequestBodyable::|public|SetTeamId(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemTeamworkDeleteTargetedMessagePostRequestBodyable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder; *ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemTeamworkDeleteTargetedMessagePostRequestBody~~>ItemTeamworkDeleteTargetedMessagePostRequestBodyable +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemTeamworkDeleteTargetedMessageRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemTeamworkDeleteTargetedMessageRequestBuilder.ItemTeamworkDeleteTargetedMessageRequestBuilderPostRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemTeamworkDeleteTargetedMessageRequestBuilder.ItemTeamworkDeleteTargetedMessageRequestBuilderPostRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemTeamworkDeleteTargetedMessageRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemTeamworkDeleteTargetedMessageRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemTeamworkDeleteTargetedMessageRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemTeamworkDeleteTargetedMessageRequestBuilder::|public|Post(body:ItemTeamworkDeleteTargetedMessagePostRequestBodyable; ctx:context.Context; requestConfiguration?:*ItemTeamworkDeleteTargetedMessageRequestBuilderPostRequestConfiguration):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemTeamworkDeleteTargetedMessageRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemTeamworkDeleteTargetedMessageRequestBuilder::|public|ToPostRequestInformation(body:ItemTeamworkDeleteTargetedMessagePostRequestBodyable; ctx:context.Context; requestConfiguration?:*ItemTeamworkDeleteTargetedMessageRequestBuilderPostRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemTeamworkDeleteTargetedMessageRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemTeamworkDeleteTargetedMessageRequestBuilder::|public|WithUrl(rawUrl:string):*ItemTeamworkDeleteTargetedMessageRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemTeamworkGetAllRetainedTargetedMessagesGetResponse-->*iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.BaseCollectionPaginationCountResponse +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemTeamworkGetAllRetainedTargetedMessagesGetResponse::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemTeamworkGetAllRetainedTargetedMessagesGetResponse::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemTeamworkGetAllRetainedTargetedMessagesGetResponse::|public|GetValue():[]iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.TargetedChatMessageable +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemTeamworkGetAllRetainedTargetedMessagesGetResponse::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemTeamworkGetAllRetainedTargetedMessagesGetResponse::|public|SetValue(value:[]iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.TargetedChatMessageable):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemTeamworkGetAllRetainedTargetedMessagesGetResponse::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemTeamworkGetAllRetainedTargetedMessagesGetResponseable::|public|GetValue():[]iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.TargetedChatMessageable +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemTeamworkGetAllRetainedTargetedMessagesGetResponseable::|public|SetValue(value:[]iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.TargetedChatMessageable):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemTeamworkGetAllRetainedTargetedMessagesGetResponseable~~>iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.BaseCollectionPaginationCountResponseable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemTeamworkGetAllRetainedTargetedMessagesRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemTeamworkGetAllRetainedTargetedMessagesRequestBuilder.ItemTeamworkGetAllRetainedTargetedMessagesRequestBuilderGetQueryParameters::|public|Count:*bool +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemTeamworkGetAllRetainedTargetedMessagesRequestBuilder.ItemTeamworkGetAllRetainedTargetedMessagesRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemTeamworkGetAllRetainedTargetedMessagesRequestBuilder.ItemTeamworkGetAllRetainedTargetedMessagesRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemTeamworkGetAllRetainedTargetedMessagesRequestBuilder.ItemTeamworkGetAllRetainedTargetedMessagesRequestBuilderGetQueryParameters::|public|Orderby:[]string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemTeamworkGetAllRetainedTargetedMessagesRequestBuilder.ItemTeamworkGetAllRetainedTargetedMessagesRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemTeamworkGetAllRetainedTargetedMessagesRequestBuilder.ItemTeamworkGetAllRetainedTargetedMessagesRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemTeamworkGetAllRetainedTargetedMessagesRequestBuilder.ItemTeamworkGetAllRetainedTargetedMessagesRequestBuilderGetQueryParameters::|public|Skip:*int32 +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemTeamworkGetAllRetainedTargetedMessagesRequestBuilder.ItemTeamworkGetAllRetainedTargetedMessagesRequestBuilderGetQueryParameters::|public|Top:*int32 +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemTeamworkGetAllRetainedTargetedMessagesRequestBuilder.ItemTeamworkGetAllRetainedTargetedMessagesRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemTeamworkGetAllRetainedTargetedMessagesRequestBuilder.ItemTeamworkGetAllRetainedTargetedMessagesRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemTeamworkGetAllRetainedTargetedMessagesRequestBuilder.ItemTeamworkGetAllRetainedTargetedMessagesRequestBuilderGetRequestConfiguration::|public|queryParameters:*ItemTeamworkGetAllRetainedTargetedMessagesRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemTeamworkGetAllRetainedTargetedMessagesRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemTeamworkGetAllRetainedTargetedMessagesRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemTeamworkGetAllRetainedTargetedMessagesRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*ItemTeamworkGetAllRetainedTargetedMessagesRequestBuilderGetRequestConfiguration):ItemTeamworkGetAllRetainedTargetedMessagesResponseable +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemTeamworkGetAllRetainedTargetedMessagesRequestBuilder::|public|GetAsGetAllRetainedTargetedMessagesGetResponse(ctx:context.Context; requestConfiguration?:*ItemTeamworkGetAllRetainedTargetedMessagesRequestBuilderGetRequestConfiguration):ItemTeamworkGetAllRetainedTargetedMessagesGetResponseable +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemTeamworkGetAllRetainedTargetedMessagesRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemTeamworkGetAllRetainedTargetedMessagesRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemTeamworkGetAllRetainedTargetedMessagesRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*ItemTeamworkGetAllRetainedTargetedMessagesRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemTeamworkGetAllRetainedTargetedMessagesRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemTeamworkGetAllRetainedTargetedMessagesRequestBuilder::|public|WithUrl(rawUrl:string):*ItemTeamworkGetAllRetainedTargetedMessagesRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemTeamworkGetAllRetainedTargetedMessagesResponse-->*ItemTeamworkGetAllRetainedTargetedMessagesGetResponse +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemTeamworkGetAllRetainedTargetedMessagesResponse::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemTeamworkGetAllRetainedTargetedMessagesResponse::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemTeamworkGetAllRetainedTargetedMessagesResponseable~~>ItemTeamworkGetAllRetainedTargetedMessagesGetResponseable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemTeamworkGetAllTargetedMessagesGetResponse-->*iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.BaseCollectionPaginationCountResponse +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemTeamworkGetAllTargetedMessagesGetResponse::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemTeamworkGetAllTargetedMessagesGetResponse::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemTeamworkGetAllTargetedMessagesGetResponse::|public|GetValue():[]iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.TargetedChatMessageable +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemTeamworkGetAllTargetedMessagesGetResponse::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemTeamworkGetAllTargetedMessagesGetResponse::|public|SetValue(value:[]iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.TargetedChatMessageable):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemTeamworkGetAllTargetedMessagesGetResponse::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemTeamworkGetAllTargetedMessagesGetResponseable::|public|GetValue():[]iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.TargetedChatMessageable +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemTeamworkGetAllTargetedMessagesGetResponseable::|public|SetValue(value:[]iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.TargetedChatMessageable):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemTeamworkGetAllTargetedMessagesGetResponseable~~>iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.BaseCollectionPaginationCountResponseable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemTeamworkGetAllTargetedMessagesRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemTeamworkGetAllTargetedMessagesRequestBuilder.ItemTeamworkGetAllTargetedMessagesRequestBuilderGetQueryParameters::|public|Count:*bool +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemTeamworkGetAllTargetedMessagesRequestBuilder.ItemTeamworkGetAllTargetedMessagesRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemTeamworkGetAllTargetedMessagesRequestBuilder.ItemTeamworkGetAllTargetedMessagesRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemTeamworkGetAllTargetedMessagesRequestBuilder.ItemTeamworkGetAllTargetedMessagesRequestBuilderGetQueryParameters::|public|Orderby:[]string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemTeamworkGetAllTargetedMessagesRequestBuilder.ItemTeamworkGetAllTargetedMessagesRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemTeamworkGetAllTargetedMessagesRequestBuilder.ItemTeamworkGetAllTargetedMessagesRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemTeamworkGetAllTargetedMessagesRequestBuilder.ItemTeamworkGetAllTargetedMessagesRequestBuilderGetQueryParameters::|public|Skip:*int32 +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemTeamworkGetAllTargetedMessagesRequestBuilder.ItemTeamworkGetAllTargetedMessagesRequestBuilderGetQueryParameters::|public|Top:*int32 +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemTeamworkGetAllTargetedMessagesRequestBuilder.ItemTeamworkGetAllTargetedMessagesRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemTeamworkGetAllTargetedMessagesRequestBuilder.ItemTeamworkGetAllTargetedMessagesRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemTeamworkGetAllTargetedMessagesRequestBuilder.ItemTeamworkGetAllTargetedMessagesRequestBuilderGetRequestConfiguration::|public|queryParameters:*ItemTeamworkGetAllTargetedMessagesRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemTeamworkGetAllTargetedMessagesRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemTeamworkGetAllTargetedMessagesRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemTeamworkGetAllTargetedMessagesRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*ItemTeamworkGetAllTargetedMessagesRequestBuilderGetRequestConfiguration):ItemTeamworkGetAllTargetedMessagesResponseable +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemTeamworkGetAllTargetedMessagesRequestBuilder::|public|GetAsGetAllTargetedMessagesGetResponse(ctx:context.Context; requestConfiguration?:*ItemTeamworkGetAllTargetedMessagesRequestBuilderGetRequestConfiguration):ItemTeamworkGetAllTargetedMessagesGetResponseable +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemTeamworkGetAllTargetedMessagesRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemTeamworkGetAllTargetedMessagesRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemTeamworkGetAllTargetedMessagesRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*ItemTeamworkGetAllTargetedMessagesRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemTeamworkGetAllTargetedMessagesRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemTeamworkGetAllTargetedMessagesRequestBuilder::|public|WithUrl(rawUrl:string):*ItemTeamworkGetAllTargetedMessagesRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemTeamworkGetAllTargetedMessagesResponse-->*ItemTeamworkGetAllTargetedMessagesGetResponse +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemTeamworkGetAllTargetedMessagesResponse::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemTeamworkGetAllTargetedMessagesResponse::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemTeamworkGetAllTargetedMessagesResponseable~~>ItemTeamworkGetAllTargetedMessagesGetResponseable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable github.com/microsoftgraph/msgraph-sdk-go/.users.ItemTeamworkInstalledAppsCountRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.users.ItemTeamworkInstalledAppsCountRequestBuilder.ItemTeamworkInstalledAppsCountRequestBuilderGetQueryParameters::|public|Filter:*string github.com/microsoftgraph/msgraph-sdk-go/.users.ItemTeamworkInstalledAppsCountRequestBuilder.ItemTeamworkInstalledAppsCountRequestBuilderGetQueryParameters::|public|Search:*string @@ -282320,7 +286392,10 @@ github.com/microsoftgraph/msgraph-sdk-go/.users.ItemTeamworkRequestBuilder::|pub github.com/microsoftgraph/msgraph-sdk-go/.users.ItemTeamworkRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void github.com/microsoftgraph/msgraph-sdk-go/.users.ItemTeamworkRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void github.com/microsoftgraph/msgraph-sdk-go/.users.ItemTeamworkRequestBuilder::|public|Delete(ctx:context.Context; requestConfiguration?:*ItemTeamworkRequestBuilderDeleteRequestConfiguration):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemTeamworkRequestBuilder::|public|deleteTargetedMessage():*ItemTeamworkDeleteTargetedMessageRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.users.ItemTeamworkRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*ItemTeamworkRequestBuilderGetRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.UserTeamworkable +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemTeamworkRequestBuilder::|public|getAllRetainedTargetedMessages():*ItemTeamworkGetAllRetainedTargetedMessagesRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemTeamworkRequestBuilder::|public|getAllTargetedMessages():*ItemTeamworkGetAllTargetedMessagesRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.users.ItemTeamworkRequestBuilder::|public|installedApps():*ItemTeamworkInstalledAppsRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.users.ItemTeamworkRequestBuilder::|public|Patch(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.UserTeamworkable; ctx:context.Context; requestConfiguration?:*ItemTeamworkRequestBuilderPatchRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.UserTeamworkable github.com/microsoftgraph/msgraph-sdk-go/.users.ItemTeamworkRequestBuilder::|public|pathParameters:map[string]string diff --git a/kiota-lock.json b/kiota-lock.json index 83cf8b65ca..82e6fa5ec4 100644 --- a/kiota-lock.json +++ b/kiota-lock.json @@ -1,8 +1,8 @@ { - "descriptionHash": "48D4568E795524402BA925BE4278BDF4BE0E64BE4060901024C3C949958FDD2992656314200D8B82B6E6406BD2E032C187F3FA9E0C48D513C527F1942ABA66F1", + "descriptionHash": "81A3F2CEF8AD7E8B0DC8DAF4A7C4E07672D69D094EE849AE7B05813CD52A6CC56906953EBF167E4C25F51F229DD26B6D5ABF233FB4DAF3FBD152C61389DBF10A", "descriptionLocation": "../../msgraph-metadata/clean_v10_openapi/openapi.yaml", "lockFileVersion": "1.0.0", - "kiotaVersion": "1.31.1", + "kiotaVersion": "1.32.4", "clientClassName": "GraphBaseServiceClient", "typeAccessModifier": "Public", "clientNamespaceName": "github.com/microsoftgraph/msgraph-sdk-go/", diff --git a/models/access_entity_type.go b/models/access_entity_type.go new file mode 100644 index 0000000000..26b18adfe0 --- /dev/null +++ b/models/access_entity_type.go @@ -0,0 +1,39 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package models +type AccessEntityType int + +const ( + USER_ACCESSENTITYTYPE AccessEntityType = iota + GROUP_ACCESSENTITYTYPE + UNKNOWNFUTUREVALUE_ACCESSENTITYTYPE +) + +func (i AccessEntityType) String() string { + return []string{"user", "group", "unknownFutureValue"}[i] +} +func ParseAccessEntityType(v string) (any, error) { + result := USER_ACCESSENTITYTYPE + switch v { + case "user": + result = USER_ACCESSENTITYTYPE + case "group": + result = GROUP_ACCESSENTITYTYPE + case "unknownFutureValue": + result = UNKNOWNFUTUREVALUE_ACCESSENTITYTYPE + default: + return nil, nil + } + return &result, nil +} +func SerializeAccessEntityType(values []AccessEntityType) []string { + result := make([]string, len(values)) + for i, v := range values { + result[i] = v.String() + } + return result +} +func (i AccessEntityType) isMultiValue() bool { + return false +} diff --git a/models/access_package_approval_stage.go b/models/access_package_approval_stage.go index 51bd665034..0d6683a130 100644 --- a/models/access_package_approval_stage.go +++ b/models/access_package_approval_stage.go @@ -56,6 +56,18 @@ func (m *AccessPackageApprovalStage) GetAdditionalData()(map[string]any) { } return val.(map[string]any) } +// GetApproverInformationVisibility gets the approverInformationVisibility property value. The approverInformationVisibility property +// returns a *ApproverInformationVisibility when successful +func (m *AccessPackageApprovalStage) GetApproverInformationVisibility()(*ApproverInformationVisibility) { + val, err := m.GetBackingStore().Get("approverInformationVisibility") + if err != nil { + panic(err) + } + if val != nil { + return val.(*ApproverInformationVisibility) + } + return nil +} // GetBackingStore gets the BackingStore property value. Stores model information. // returns a BackingStore when successful func (m *AccessPackageApprovalStage) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) { @@ -85,7 +97,7 @@ func (m *AccessPackageApprovalStage) GetDurationBeforeEscalation()(*i878a80d2330 } return nil } -// GetEscalationApprovers gets the escalationApprovers property value. If escalation is enabled and the primary approvers do not respond before the escalation time, the escalationApprovers are the users who will be asked to approve requests. +// GetEscalationApprovers gets the escalationApprovers property value. If escalation is enabled and the primary approvers do not respond before the escalation time, the escalationApprovers are the users who are asked to approve requests. // returns a []SubjectSetable when successful func (m *AccessPackageApprovalStage) GetEscalationApprovers()([]SubjectSetable) { val, err := m.GetBackingStore().Get("escalationApprovers") @@ -125,6 +137,16 @@ func (m *AccessPackageApprovalStage) GetFallbackPrimaryApprovers()([]SubjectSeta // returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful func (m *AccessPackageApprovalStage) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) + res["approverInformationVisibility"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetEnumValue(ParseApproverInformationVisibility) + if err != nil { + return err + } + if val != nil { + m.SetApproverInformationVisibility(val.(*ApproverInformationVisibility)) + } + return nil + } res["durationBeforeAutomaticDenial"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { val, err := n.GetISODurationValue() if err != nil { @@ -277,7 +299,7 @@ func (m *AccessPackageApprovalStage) GetOdataType()(*string) { } return nil } -// GetPrimaryApprovers gets the primaryApprovers property value. The subjects, typically users, who will be asked to approve requests. A collection of singleUser, groupMembers, requestorManager, internalSponsors, externalSponsors, or targetUserSponsors. +// GetPrimaryApprovers gets the primaryApprovers property value. The subjects, typically users, who are asked to approve requests. A collection of singleUser, groupMembers, requestorManager, internalSponsors, externalSponsors, or targetUserSponsors. // returns a []SubjectSetable when successful func (m *AccessPackageApprovalStage) GetPrimaryApprovers()([]SubjectSetable) { val, err := m.GetBackingStore().Get("primaryApprovers") @@ -291,6 +313,13 @@ func (m *AccessPackageApprovalStage) GetPrimaryApprovers()([]SubjectSetable) { } // Serialize serializes information the current object func (m *AccessPackageApprovalStage) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + if m.GetApproverInformationVisibility() != nil { + cast := (*m.GetApproverInformationVisibility()).String() + err := writer.WriteStringValue("approverInformationVisibility", &cast) + if err != nil { + return err + } + } { err := writer.WriteISODurationValue("durationBeforeAutomaticDenial", m.GetDurationBeforeAutomaticDenial()) if err != nil { @@ -384,6 +413,13 @@ func (m *AccessPackageApprovalStage) SetAdditionalData(value map[string]any)() { panic(err) } } +// SetApproverInformationVisibility sets the approverInformationVisibility property value. The approverInformationVisibility property +func (m *AccessPackageApprovalStage) SetApproverInformationVisibility(value *ApproverInformationVisibility)() { + err := m.GetBackingStore().Set("approverInformationVisibility", value) + if err != nil { + panic(err) + } +} // SetBackingStore sets the BackingStore property value. Stores model information. func (m *AccessPackageApprovalStage) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { m.backingStore = value @@ -402,7 +438,7 @@ func (m *AccessPackageApprovalStage) SetDurationBeforeEscalation(value *i878a80d panic(err) } } -// SetEscalationApprovers sets the escalationApprovers property value. If escalation is enabled and the primary approvers do not respond before the escalation time, the escalationApprovers are the users who will be asked to approve requests. +// SetEscalationApprovers sets the escalationApprovers property value. If escalation is enabled and the primary approvers do not respond before the escalation time, the escalationApprovers are the users who are asked to approve requests. func (m *AccessPackageApprovalStage) SetEscalationApprovers(value []SubjectSetable)() { err := m.GetBackingStore().Set("escalationApprovers", value) if err != nil { @@ -444,7 +480,7 @@ func (m *AccessPackageApprovalStage) SetOdataType(value *string)() { panic(err) } } -// SetPrimaryApprovers sets the primaryApprovers property value. The subjects, typically users, who will be asked to approve requests. A collection of singleUser, groupMembers, requestorManager, internalSponsors, externalSponsors, or targetUserSponsors. +// SetPrimaryApprovers sets the primaryApprovers property value. The subjects, typically users, who are asked to approve requests. A collection of singleUser, groupMembers, requestorManager, internalSponsors, externalSponsors, or targetUserSponsors. func (m *AccessPackageApprovalStage) SetPrimaryApprovers(value []SubjectSetable)() { err := m.GetBackingStore().Set("primaryApprovers", value) if err != nil { @@ -455,6 +491,7 @@ type AccessPackageApprovalStageable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetApproverInformationVisibility()(*ApproverInformationVisibility) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) GetDurationBeforeAutomaticDenial()(*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ISODuration) GetDurationBeforeEscalation()(*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ISODuration) @@ -465,6 +502,7 @@ type AccessPackageApprovalStageable interface { GetIsEscalationEnabled()(*bool) GetOdataType()(*string) GetPrimaryApprovers()([]SubjectSetable) + SetApproverInformationVisibility(value *ApproverInformationVisibility)() SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() SetDurationBeforeAutomaticDenial(value *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ISODuration)() SetDurationBeforeEscalation(value *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ISODuration)() diff --git a/models/access_package_resource_role.go b/models/access_package_resource_role.go index aa5da10851..8eb42f8bd1 100644 --- a/models/access_package_resource_role.go +++ b/models/access_package_resource_role.go @@ -100,6 +100,16 @@ func (m *AccessPackageResourceRole) GetFieldDeserializers()(map[string]func(i878 } return nil } + res["type"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetEnumValue(ParseRoleType) + if err != nil { + return err + } + if val != nil { + m.SetTypeEscaped(val.(*RoleType)) + } + return nil + } return res } // GetOriginId gets the originId property value. The unique identifier of the resource role in the origin system. For a SharePoint Online site, the originId is the sequence number of the role in the site. @@ -114,7 +124,7 @@ func (m *AccessPackageResourceRole) GetOriginId()(*string) { } return nil } -// GetOriginSystem gets the originSystem property value. The type of the resource in the origin system, such as SharePointOnline, AadApplication, or AadGroup. +// GetOriginSystem gets the originSystem property value. The type of the resource in the origin system, such as SharePointOnline, AadApplication, AzureResources, or AadGroup. // returns a *string when successful func (m *AccessPackageResourceRole) GetOriginSystem()(*string) { val, err := m.GetBackingStore().Get("originSystem") @@ -138,6 +148,18 @@ func (m *AccessPackageResourceRole) GetResource()(AccessPackageResourceable) { } return nil } +// GetTypeEscaped gets the type property value. The role type for the Azure resource role. The possible values are: active, eligible, application, delegated, unknownFutureValue. The values active and eligible are only supported where originSystem is AzureResources while application and delegated aren't currently implemented. +// returns a *RoleType when successful +func (m *AccessPackageResourceRole) GetTypeEscaped()(*RoleType) { + val, err := m.GetBackingStore().Get("typeEscaped") + if err != nil { + panic(err) + } + if val != nil { + return val.(*RoleType) + } + return nil +} // Serialize serializes information the current object func (m *AccessPackageResourceRole) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { err := m.Entity.Serialize(writer) @@ -174,6 +196,13 @@ func (m *AccessPackageResourceRole) Serialize(writer i878a80d2330e89d26896388a3f return err } } + if m.GetTypeEscaped() != nil { + cast := (*m.GetTypeEscaped()).String() + err = writer.WriteStringValue("type", &cast) + if err != nil { + return err + } + } return nil } // SetDescription sets the description property value. A description for the resource role. @@ -197,7 +226,7 @@ func (m *AccessPackageResourceRole) SetOriginId(value *string)() { panic(err) } } -// SetOriginSystem sets the originSystem property value. The type of the resource in the origin system, such as SharePointOnline, AadApplication, or AadGroup. +// SetOriginSystem sets the originSystem property value. The type of the resource in the origin system, such as SharePointOnline, AadApplication, AzureResources, or AadGroup. func (m *AccessPackageResourceRole) SetOriginSystem(value *string)() { err := m.GetBackingStore().Set("originSystem", value) if err != nil { @@ -211,6 +240,13 @@ func (m *AccessPackageResourceRole) SetResource(value AccessPackageResourceable) panic(err) } } +// SetTypeEscaped sets the type property value. The role type for the Azure resource role. The possible values are: active, eligible, application, delegated, unknownFutureValue. The values active and eligible are only supported where originSystem is AzureResources while application and delegated aren't currently implemented. +func (m *AccessPackageResourceRole) SetTypeEscaped(value *RoleType)() { + err := m.GetBackingStore().Set("typeEscaped", value) + if err != nil { + panic(err) + } +} type AccessPackageResourceRoleable interface { Entityable i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable @@ -219,9 +255,11 @@ type AccessPackageResourceRoleable interface { GetOriginId()(*string) GetOriginSystem()(*string) GetResource()(AccessPackageResourceable) + GetTypeEscaped()(*RoleType) SetDescription(value *string)() SetDisplayName(value *string)() SetOriginId(value *string)() SetOriginSystem(value *string)() SetResource(value AccessPackageResourceable)() + SetTypeEscaped(value *RoleType)() } diff --git a/models/access_package_resource_scope.go b/models/access_package_resource_scope.go index 120493539d..1359d24b5f 100644 --- a/models/access_package_resource_scope.go +++ b/models/access_package_resource_scope.go @@ -124,7 +124,7 @@ func (m *AccessPackageResourceScope) GetIsRootScope()(*bool) { } return nil } -// GetOriginId gets the originId property value. The unique identifier for the scope in the resource as defined in the origin system. +// GetOriginId gets the originId property value. The unique identifier of the resource in the origin system. If a Microsoft Entra group, originId is the identifier of the group. Supports $filter (eq). // returns a *string when successful func (m *AccessPackageResourceScope) GetOriginId()(*string) { val, err := m.GetBackingStore().Get("originId") @@ -136,7 +136,7 @@ func (m *AccessPackageResourceScope) GetOriginId()(*string) { } return nil } -// GetOriginSystem gets the originSystem property value. The origin system for the scope. +// GetOriginSystem gets the originSystem property value. The type of the resource in the origin system, such as SharePointOnline, AadApplication, AadGroup, AzureResources, or CustomDataProvidedResource. Supports $filter (eq). // returns a *string when successful func (m *AccessPackageResourceScope) GetOriginSystem()(*string) { val, err := m.GetBackingStore().Get("originSystem") @@ -225,14 +225,14 @@ func (m *AccessPackageResourceScope) SetIsRootScope(value *bool)() { panic(err) } } -// SetOriginId sets the originId property value. The unique identifier for the scope in the resource as defined in the origin system. +// SetOriginId sets the originId property value. The unique identifier of the resource in the origin system. If a Microsoft Entra group, originId is the identifier of the group. Supports $filter (eq). func (m *AccessPackageResourceScope) SetOriginId(value *string)() { err := m.GetBackingStore().Set("originId", value) if err != nil { panic(err) } } -// SetOriginSystem sets the originSystem property value. The origin system for the scope. +// SetOriginSystem sets the originSystem property value. The type of the resource in the origin system, such as SharePointOnline, AadApplication, AadGroup, AzureResources, or CustomDataProvidedResource. Supports $filter (eq). func (m *AccessPackageResourceScope) SetOriginSystem(value *string)() { err := m.GetBackingStore().Set("originSystem", value) if err != nil { diff --git a/models/access_package_subject.go b/models/access_package_subject.go index 64f282c4e1..ba1da99026 100644 --- a/models/access_package_subject.go +++ b/models/access_package_subject.go @@ -122,6 +122,16 @@ func (m *AccessPackageSubject) GetFieldDeserializers()(map[string]func(i878a80d2 } return nil } + res["subjectLifecycle"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetEnumValue(ParseAccessPackageSubjectLifecycle) + if err != nil { + return err + } + if val != nil { + m.SetSubjectLifecycle(val.(*AccessPackageSubjectLifecycle)) + } + return nil + } res["subjectType"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { val, err := n.GetEnumValue(ParseAccessPackageSubjectType) if err != nil { @@ -170,6 +180,18 @@ func (m *AccessPackageSubject) GetPrincipalName()(*string) { } return nil } +// GetSubjectLifecycle gets the subjectLifecycle property value. The subjectLifecycle property +// returns a *AccessPackageSubjectLifecycle when successful +func (m *AccessPackageSubject) GetSubjectLifecycle()(*AccessPackageSubjectLifecycle) { + val, err := m.GetBackingStore().Get("subjectLifecycle") + if err != nil { + panic(err) + } + if val != nil { + return val.(*AccessPackageSubjectLifecycle) + } + return nil +} // GetSubjectType gets the subjectType property value. The resource type of the subject. The possible values are: notSpecified, user, servicePrincipal, unknownFutureValue. // returns a *AccessPackageSubjectType when successful func (m *AccessPackageSubject) GetSubjectType()(*AccessPackageSubjectType) { @@ -224,6 +246,13 @@ func (m *AccessPackageSubject) Serialize(writer i878a80d2330e89d26896388a3f487ee return err } } + if m.GetSubjectLifecycle() != nil { + cast := (*m.GetSubjectLifecycle()).String() + err = writer.WriteStringValue("subjectLifecycle", &cast) + if err != nil { + return err + } + } if m.GetSubjectType() != nil { cast := (*m.GetSubjectType()).String() err = writer.WriteStringValue("subjectType", &cast) @@ -275,6 +304,13 @@ func (m *AccessPackageSubject) SetPrincipalName(value *string)() { panic(err) } } +// SetSubjectLifecycle sets the subjectLifecycle property value. The subjectLifecycle property +func (m *AccessPackageSubject) SetSubjectLifecycle(value *AccessPackageSubjectLifecycle)() { + err := m.GetBackingStore().Set("subjectLifecycle", value) + if err != nil { + panic(err) + } +} // SetSubjectType sets the subjectType property value. The resource type of the subject. The possible values are: notSpecified, user, servicePrincipal, unknownFutureValue. func (m *AccessPackageSubject) SetSubjectType(value *AccessPackageSubjectType)() { err := m.GetBackingStore().Set("subjectType", value) @@ -291,6 +327,7 @@ type AccessPackageSubjectable interface { GetObjectId()(*string) GetOnPremisesSecurityIdentifier()(*string) GetPrincipalName()(*string) + GetSubjectLifecycle()(*AccessPackageSubjectLifecycle) GetSubjectType()(*AccessPackageSubjectType) SetConnectedOrganization(value ConnectedOrganizationable)() SetDisplayName(value *string)() @@ -298,5 +335,6 @@ type AccessPackageSubjectable interface { SetObjectId(value *string)() SetOnPremisesSecurityIdentifier(value *string)() SetPrincipalName(value *string)() + SetSubjectLifecycle(value *AccessPackageSubjectLifecycle)() SetSubjectType(value *AccessPackageSubjectType)() } diff --git a/models/access_package_subject_collection_response.go b/models/access_package_subject_collection_response.go new file mode 100644 index 0000000000..0fa75ead4d --- /dev/null +++ b/models/access_package_subject_collection_response.go @@ -0,0 +1,91 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +type AccessPackageSubjectCollectionResponse struct { + BaseCollectionPaginationCountResponse +} +// NewAccessPackageSubjectCollectionResponse instantiates a new AccessPackageSubjectCollectionResponse and sets the default values. +func NewAccessPackageSubjectCollectionResponse()(*AccessPackageSubjectCollectionResponse) { + m := &AccessPackageSubjectCollectionResponse{ + BaseCollectionPaginationCountResponse: *NewBaseCollectionPaginationCountResponse(), + } + return m +} +// CreateAccessPackageSubjectCollectionResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateAccessPackageSubjectCollectionResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewAccessPackageSubjectCollectionResponse(), nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *AccessPackageSubjectCollectionResponse) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.BaseCollectionPaginationCountResponse.GetFieldDeserializers() + res["value"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(CreateAccessPackageSubjectFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]AccessPackageSubjectable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(AccessPackageSubjectable) + } + } + m.SetValue(res) + } + return nil + } + return res +} +// GetValue gets the value property value. The value property +// returns a []AccessPackageSubjectable when successful +func (m *AccessPackageSubjectCollectionResponse) GetValue()([]AccessPackageSubjectable) { + val, err := m.GetBackingStore().Get("value") + if err != nil { + panic(err) + } + if val != nil { + return val.([]AccessPackageSubjectable) + } + return nil +} +// Serialize serializes information the current object +func (m *AccessPackageSubjectCollectionResponse) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.BaseCollectionPaginationCountResponse.Serialize(writer) + if err != nil { + return err + } + if m.GetValue() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetValue())) + for i, v := range m.GetValue() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err = writer.WriteCollectionOfObjectValues("value", cast) + if err != nil { + return err + } + } + return nil +} +// SetValue sets the value property value. The value property +func (m *AccessPackageSubjectCollectionResponse) SetValue(value []AccessPackageSubjectable)() { + err := m.GetBackingStore().Set("value", value) + if err != nil { + panic(err) + } +} +type AccessPackageSubjectCollectionResponseable interface { + BaseCollectionPaginationCountResponseable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetValue()([]AccessPackageSubjectable) + SetValue(value []AccessPackageSubjectable)() +} diff --git a/models/access_package_subject_lifecycle.go b/models/access_package_subject_lifecycle.go new file mode 100644 index 0000000000..3ac877bc60 --- /dev/null +++ b/models/access_package_subject_lifecycle.go @@ -0,0 +1,42 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package models +type AccessPackageSubjectLifecycle int + +const ( + NOTDEFINED_ACCESSPACKAGESUBJECTLIFECYCLE AccessPackageSubjectLifecycle = iota + NOTGOVERNED_ACCESSPACKAGESUBJECTLIFECYCLE + GOVERNED_ACCESSPACKAGESUBJECTLIFECYCLE + UNKNOWNFUTUREVALUE_ACCESSPACKAGESUBJECTLIFECYCLE +) + +func (i AccessPackageSubjectLifecycle) String() string { + return []string{"notDefined", "notGoverned", "governed", "unknownFutureValue"}[i] +} +func ParseAccessPackageSubjectLifecycle(v string) (any, error) { + result := NOTDEFINED_ACCESSPACKAGESUBJECTLIFECYCLE + switch v { + case "notDefined": + result = NOTDEFINED_ACCESSPACKAGESUBJECTLIFECYCLE + case "notGoverned": + result = NOTGOVERNED_ACCESSPACKAGESUBJECTLIFECYCLE + case "governed": + result = GOVERNED_ACCESSPACKAGESUBJECTLIFECYCLE + case "unknownFutureValue": + result = UNKNOWNFUTUREVALUE_ACCESSPACKAGESUBJECTLIFECYCLE + default: + return nil, nil + } + return &result, nil +} +func SerializeAccessPackageSubjectLifecycle(values []AccessPackageSubjectLifecycle) []string { + result := make([]string, len(values)) + for i, v := range values { + result[i] = v.String() + } + return result +} +func (i AccessPackageSubjectLifecycle) isMultiValue() bool { + return false +} diff --git a/models/access_package_suggestion.go b/models/access_package_suggestion.go new file mode 100644 index 0000000000..a53bdc93c7 --- /dev/null +++ b/models/access_package_suggestion.go @@ -0,0 +1,128 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +type AccessPackageSuggestion struct { + Entity +} +// NewAccessPackageSuggestion instantiates a new AccessPackageSuggestion and sets the default values. +func NewAccessPackageSuggestion()(*AccessPackageSuggestion) { + m := &AccessPackageSuggestion{ + Entity: *NewEntity(), + } + return m +} +// CreateAccessPackageSuggestionFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateAccessPackageSuggestionFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewAccessPackageSuggestion(), nil +} +// GetAccessPackage gets the accessPackage property value. The access package information for the suggested package. +// returns a AvailableAccessPackageable when successful +func (m *AccessPackageSuggestion) GetAccessPackage()(AvailableAccessPackageable) { + val, err := m.GetBackingStore().Get("accessPackage") + if err != nil { + panic(err) + } + if val != nil { + return val.(AvailableAccessPackageable) + } + return nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *AccessPackageSuggestion) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.Entity.GetFieldDeserializers() + res["accessPackage"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetObjectValue(CreateAvailableAccessPackageFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + m.SetAccessPackage(val.(AvailableAccessPackageable)) + } + return nil + } + res["reasons"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(CreateAccessPackageSuggestionReasonFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]AccessPackageSuggestionReasonable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(AccessPackageSuggestionReasonable) + } + } + m.SetReasons(res) + } + return nil + } + return res +} +// GetReasons gets the reasons property value. A collection of reasons why this access package is being suggested to the user. +// returns a []AccessPackageSuggestionReasonable when successful +func (m *AccessPackageSuggestion) GetReasons()([]AccessPackageSuggestionReasonable) { + val, err := m.GetBackingStore().Get("reasons") + if err != nil { + panic(err) + } + if val != nil { + return val.([]AccessPackageSuggestionReasonable) + } + return nil +} +// Serialize serializes information the current object +func (m *AccessPackageSuggestion) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.Entity.Serialize(writer) + if err != nil { + return err + } + { + err = writer.WriteObjectValue("accessPackage", m.GetAccessPackage()) + if err != nil { + return err + } + } + if m.GetReasons() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetReasons())) + for i, v := range m.GetReasons() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err = writer.WriteCollectionOfObjectValues("reasons", cast) + if err != nil { + return err + } + } + return nil +} +// SetAccessPackage sets the accessPackage property value. The access package information for the suggested package. +func (m *AccessPackageSuggestion) SetAccessPackage(value AvailableAccessPackageable)() { + err := m.GetBackingStore().Set("accessPackage", value) + if err != nil { + panic(err) + } +} +// SetReasons sets the reasons property value. A collection of reasons why this access package is being suggested to the user. +func (m *AccessPackageSuggestion) SetReasons(value []AccessPackageSuggestionReasonable)() { + err := m.GetBackingStore().Set("reasons", value) + if err != nil { + panic(err) + } +} +type AccessPackageSuggestionable interface { + Entityable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetAccessPackage()(AvailableAccessPackageable) + GetReasons()([]AccessPackageSuggestionReasonable) + SetAccessPackage(value AvailableAccessPackageable)() + SetReasons(value []AccessPackageSuggestionReasonable)() +} diff --git a/models/access_package_suggestion_collection_response.go b/models/access_package_suggestion_collection_response.go new file mode 100644 index 0000000000..b107936228 --- /dev/null +++ b/models/access_package_suggestion_collection_response.go @@ -0,0 +1,91 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +type AccessPackageSuggestionCollectionResponse struct { + BaseCollectionPaginationCountResponse +} +// NewAccessPackageSuggestionCollectionResponse instantiates a new AccessPackageSuggestionCollectionResponse and sets the default values. +func NewAccessPackageSuggestionCollectionResponse()(*AccessPackageSuggestionCollectionResponse) { + m := &AccessPackageSuggestionCollectionResponse{ + BaseCollectionPaginationCountResponse: *NewBaseCollectionPaginationCountResponse(), + } + return m +} +// CreateAccessPackageSuggestionCollectionResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateAccessPackageSuggestionCollectionResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewAccessPackageSuggestionCollectionResponse(), nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *AccessPackageSuggestionCollectionResponse) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.BaseCollectionPaginationCountResponse.GetFieldDeserializers() + res["value"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(CreateAccessPackageSuggestionFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]AccessPackageSuggestionable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(AccessPackageSuggestionable) + } + } + m.SetValue(res) + } + return nil + } + return res +} +// GetValue gets the value property value. The value property +// returns a []AccessPackageSuggestionable when successful +func (m *AccessPackageSuggestionCollectionResponse) GetValue()([]AccessPackageSuggestionable) { + val, err := m.GetBackingStore().Get("value") + if err != nil { + panic(err) + } + if val != nil { + return val.([]AccessPackageSuggestionable) + } + return nil +} +// Serialize serializes information the current object +func (m *AccessPackageSuggestionCollectionResponse) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.BaseCollectionPaginationCountResponse.Serialize(writer) + if err != nil { + return err + } + if m.GetValue() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetValue())) + for i, v := range m.GetValue() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err = writer.WriteCollectionOfObjectValues("value", cast) + if err != nil { + return err + } + } + return nil +} +// SetValue sets the value property value. The value property +func (m *AccessPackageSuggestionCollectionResponse) SetValue(value []AccessPackageSuggestionable)() { + err := m.GetBackingStore().Set("value", value) + if err != nil { + panic(err) + } +} +type AccessPackageSuggestionCollectionResponseable interface { + BaseCollectionPaginationCountResponseable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetValue()([]AccessPackageSuggestionable) + SetValue(value []AccessPackageSuggestionable)() +} diff --git a/models/access_package_suggestion_reason.go b/models/access_package_suggestion_reason.go new file mode 100644 index 0000000000..3fae1469a5 --- /dev/null +++ b/models/access_package_suggestion_reason.go @@ -0,0 +1,136 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" +) + +type AccessPackageSuggestionReason struct { + // Stores model information. + backingStore ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore +} +// NewAccessPackageSuggestionReason instantiates a new AccessPackageSuggestionReason and sets the default values. +func NewAccessPackageSuggestionReason()(*AccessPackageSuggestionReason) { + m := &AccessPackageSuggestionReason{ + } + m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); + m.SetAdditionalData(make(map[string]any)) + return m +} +// CreateAccessPackageSuggestionReasonFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateAccessPackageSuggestionReasonFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + if parseNode != nil { + mappingValueNode, err := parseNode.GetChildNode("@odata.type") + if err != nil { + return nil, err + } + if mappingValueNode != nil { + mappingValue, err := mappingValueNode.GetStringValue() + if err != nil { + return nil, err + } + if mappingValue != nil { + switch *mappingValue { + case "#microsoft.graph.accessPackageSuggestionRelatedPeopleBased": + return NewAccessPackageSuggestionRelatedPeopleBased(), nil + case "#microsoft.graph.accessPackageSuggestionSelfAssignmentHistoryBased": + return NewAccessPackageSuggestionSelfAssignmentHistoryBased(), nil + } + } + } + } + return NewAccessPackageSuggestionReason(), nil +} +// GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +// returns a map[string]any when successful +func (m *AccessPackageSuggestionReason) GetAdditionalData()(map[string]any) { + val , err := m.backingStore.Get("additionalData") + if err != nil { + panic(err) + } + if val == nil { + var value = make(map[string]any); + m.SetAdditionalData(value); + } + return val.(map[string]any) +} +// GetBackingStore gets the BackingStore property value. Stores model information. +// returns a BackingStore when successful +func (m *AccessPackageSuggestionReason) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) { + return m.backingStore +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *AccessPackageSuggestionReason) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) + res["@odata.type"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetOdataType(val) + } + return nil + } + return res +} +// GetOdataType gets the @odata.type property value. The OdataType property +// returns a *string when successful +func (m *AccessPackageSuggestionReason) GetOdataType()(*string) { + val, err := m.GetBackingStore().Get("odataType") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// Serialize serializes information the current object +func (m *AccessPackageSuggestionReason) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + { + err := writer.WriteStringValue("@odata.type", m.GetOdataType()) + if err != nil { + return err + } + } + { + err := writer.WriteAdditionalData(m.GetAdditionalData()) + if err != nil { + return err + } + } + return nil +} +// SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +func (m *AccessPackageSuggestionReason) SetAdditionalData(value map[string]any)() { + err := m.GetBackingStore().Set("additionalData", value) + if err != nil { + panic(err) + } +} +// SetBackingStore sets the BackingStore property value. Stores model information. +func (m *AccessPackageSuggestionReason) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { + m.backingStore = value +} +// SetOdataType sets the @odata.type property value. The OdataType property +func (m *AccessPackageSuggestionReason) SetOdataType(value *string)() { + err := m.GetBackingStore().Set("odataType", value) + if err != nil { + panic(err) + } +} +type AccessPackageSuggestionReasonable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) + GetOdataType()(*string) + SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() + SetOdataType(value *string)() +} diff --git a/models/access_package_suggestion_related_people_based.go b/models/access_package_suggestion_related_people_based.go new file mode 100644 index 0000000000..9c2f2204bb --- /dev/null +++ b/models/access_package_suggestion_related_people_based.go @@ -0,0 +1,130 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +type AccessPackageSuggestionRelatedPeopleBased struct { + AccessPackageSuggestionReason +} +// NewAccessPackageSuggestionRelatedPeopleBased instantiates a new AccessPackageSuggestionRelatedPeopleBased and sets the default values. +func NewAccessPackageSuggestionRelatedPeopleBased()(*AccessPackageSuggestionRelatedPeopleBased) { + m := &AccessPackageSuggestionRelatedPeopleBased{ + AccessPackageSuggestionReason: *NewAccessPackageSuggestionReason(), + } + odataTypeValue := "#microsoft.graph.accessPackageSuggestionRelatedPeopleBased" + m.SetOdataType(&odataTypeValue) + return m +} +// CreateAccessPackageSuggestionRelatedPeopleBasedFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateAccessPackageSuggestionRelatedPeopleBasedFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewAccessPackageSuggestionRelatedPeopleBased(), nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *AccessPackageSuggestionRelatedPeopleBased) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.AccessPackageSuggestionReason.GetFieldDeserializers() + res["relatedPeople"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(CreateIdentityFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]Identityable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(Identityable) + } + } + m.SetRelatedPeople(res) + } + return nil + } + res["relatedPeopleAssignmentCount"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetInt32Value() + if err != nil { + return err + } + if val != nil { + m.SetRelatedPeopleAssignmentCount(val) + } + return nil + } + return res +} +// GetRelatedPeople gets the relatedPeople property value. A collection of identities representing people related to the current user who may have access to similar resources. This property is only populated when the tenant's endUserSettings have relatedPeopleInsightLevel set to countAndNames. This includes both the user ID and display name information. +// returns a []Identityable when successful +func (m *AccessPackageSuggestionRelatedPeopleBased) GetRelatedPeople()([]Identityable) { + val, err := m.GetBackingStore().Get("relatedPeople") + if err != nil { + panic(err) + } + if val != nil { + return val.([]Identityable) + } + return nil +} +// GetRelatedPeopleAssignmentCount gets the relatedPeopleAssignmentCount property value. The number of related people who have assignments to this access package. This count is always provided regardless of the relatedPeopleInsightLevel setting. +// returns a *int32 when successful +func (m *AccessPackageSuggestionRelatedPeopleBased) GetRelatedPeopleAssignmentCount()(*int32) { + val, err := m.GetBackingStore().Get("relatedPeopleAssignmentCount") + if err != nil { + panic(err) + } + if val != nil { + return val.(*int32) + } + return nil +} +// Serialize serializes information the current object +func (m *AccessPackageSuggestionRelatedPeopleBased) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.AccessPackageSuggestionReason.Serialize(writer) + if err != nil { + return err + } + if m.GetRelatedPeople() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetRelatedPeople())) + for i, v := range m.GetRelatedPeople() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err = writer.WriteCollectionOfObjectValues("relatedPeople", cast) + if err != nil { + return err + } + } + { + err = writer.WriteInt32Value("relatedPeopleAssignmentCount", m.GetRelatedPeopleAssignmentCount()) + if err != nil { + return err + } + } + return nil +} +// SetRelatedPeople sets the relatedPeople property value. A collection of identities representing people related to the current user who may have access to similar resources. This property is only populated when the tenant's endUserSettings have relatedPeopleInsightLevel set to countAndNames. This includes both the user ID and display name information. +func (m *AccessPackageSuggestionRelatedPeopleBased) SetRelatedPeople(value []Identityable)() { + err := m.GetBackingStore().Set("relatedPeople", value) + if err != nil { + panic(err) + } +} +// SetRelatedPeopleAssignmentCount sets the relatedPeopleAssignmentCount property value. The number of related people who have assignments to this access package. This count is always provided regardless of the relatedPeopleInsightLevel setting. +func (m *AccessPackageSuggestionRelatedPeopleBased) SetRelatedPeopleAssignmentCount(value *int32)() { + err := m.GetBackingStore().Set("relatedPeopleAssignmentCount", value) + if err != nil { + panic(err) + } +} +type AccessPackageSuggestionRelatedPeopleBasedable interface { + AccessPackageSuggestionReasonable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetRelatedPeople()([]Identityable) + GetRelatedPeopleAssignmentCount()(*int32) + SetRelatedPeople(value []Identityable)() + SetRelatedPeopleAssignmentCount(value *int32)() +} diff --git a/models/access_package_suggestion_related_people_insight_level.go b/models/access_package_suggestion_related_people_insight_level.go new file mode 100644 index 0000000000..8bb4c23ed5 --- /dev/null +++ b/models/access_package_suggestion_related_people_insight_level.go @@ -0,0 +1,42 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package models +type AccessPackageSuggestionRelatedPeopleInsightLevel int + +const ( + DISABLED_ACCESSPACKAGESUGGESTIONRELATEDPEOPLEINSIGHTLEVEL AccessPackageSuggestionRelatedPeopleInsightLevel = iota + COUNT_ACCESSPACKAGESUGGESTIONRELATEDPEOPLEINSIGHTLEVEL + COUNTANDNAMES_ACCESSPACKAGESUGGESTIONRELATEDPEOPLEINSIGHTLEVEL + UNKNOWNFUTUREVALUE_ACCESSPACKAGESUGGESTIONRELATEDPEOPLEINSIGHTLEVEL +) + +func (i AccessPackageSuggestionRelatedPeopleInsightLevel) String() string { + return []string{"disabled", "count", "countAndNames", "unknownFutureValue"}[i] +} +func ParseAccessPackageSuggestionRelatedPeopleInsightLevel(v string) (any, error) { + result := DISABLED_ACCESSPACKAGESUGGESTIONRELATEDPEOPLEINSIGHTLEVEL + switch v { + case "disabled": + result = DISABLED_ACCESSPACKAGESUGGESTIONRELATEDPEOPLEINSIGHTLEVEL + case "count": + result = COUNT_ACCESSPACKAGESUGGESTIONRELATEDPEOPLEINSIGHTLEVEL + case "countAndNames": + result = COUNTANDNAMES_ACCESSPACKAGESUGGESTIONRELATEDPEOPLEINSIGHTLEVEL + case "unknownFutureValue": + result = UNKNOWNFUTUREVALUE_ACCESSPACKAGESUGGESTIONRELATEDPEOPLEINSIGHTLEVEL + default: + return nil, nil + } + return &result, nil +} +func SerializeAccessPackageSuggestionRelatedPeopleInsightLevel(values []AccessPackageSuggestionRelatedPeopleInsightLevel) []string { + result := make([]string, len(values)) + for i, v := range values { + result[i] = v.String() + } + return result +} +func (i AccessPackageSuggestionRelatedPeopleInsightLevel) isMultiValue() bool { + return false +} diff --git a/models/access_package_suggestion_self_assignment_history_based.go b/models/access_package_suggestion_self_assignment_history_based.go new file mode 100644 index 0000000000..b144692de7 --- /dev/null +++ b/models/access_package_suggestion_self_assignment_history_based.go @@ -0,0 +1,119 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package models + +import ( + i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e "time" + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +type AccessPackageSuggestionSelfAssignmentHistoryBased struct { + AccessPackageSuggestionReason +} +// NewAccessPackageSuggestionSelfAssignmentHistoryBased instantiates a new AccessPackageSuggestionSelfAssignmentHistoryBased and sets the default values. +func NewAccessPackageSuggestionSelfAssignmentHistoryBased()(*AccessPackageSuggestionSelfAssignmentHistoryBased) { + m := &AccessPackageSuggestionSelfAssignmentHistoryBased{ + AccessPackageSuggestionReason: *NewAccessPackageSuggestionReason(), + } + odataTypeValue := "#microsoft.graph.accessPackageSuggestionSelfAssignmentHistoryBased" + m.SetOdataType(&odataTypeValue) + return m +} +// CreateAccessPackageSuggestionSelfAssignmentHistoryBasedFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateAccessPackageSuggestionSelfAssignmentHistoryBasedFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewAccessPackageSuggestionSelfAssignmentHistoryBased(), nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *AccessPackageSuggestionSelfAssignmentHistoryBased) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.AccessPackageSuggestionReason.GetFieldDeserializers() + res["lastAssignmentDateTime"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetTimeValue() + if err != nil { + return err + } + if val != nil { + m.SetLastAssignmentDateTime(val) + } + return nil + } + res["pastAssignmentCount"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetInt32Value() + if err != nil { + return err + } + if val != nil { + m.SetPastAssignmentCount(val) + } + return nil + } + return res +} +// GetLastAssignmentDateTime gets the lastAssignmentDateTime property value. The date and time when the user was last assigned to this access package. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Read-only. +// returns a *Time when successful +func (m *AccessPackageSuggestionSelfAssignmentHistoryBased) GetLastAssignmentDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) { + val, err := m.GetBackingStore().Get("lastAssignmentDateTime") + if err != nil { + panic(err) + } + if val != nil { + return val.(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) + } + return nil +} +// GetPastAssignmentCount gets the pastAssignmentCount property value. The number of times the user has been assigned to this access package in the past. Read-only. +// returns a *int32 when successful +func (m *AccessPackageSuggestionSelfAssignmentHistoryBased) GetPastAssignmentCount()(*int32) { + val, err := m.GetBackingStore().Get("pastAssignmentCount") + if err != nil { + panic(err) + } + if val != nil { + return val.(*int32) + } + return nil +} +// Serialize serializes information the current object +func (m *AccessPackageSuggestionSelfAssignmentHistoryBased) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.AccessPackageSuggestionReason.Serialize(writer) + if err != nil { + return err + } + { + err = writer.WriteTimeValue("lastAssignmentDateTime", m.GetLastAssignmentDateTime()) + if err != nil { + return err + } + } + { + err = writer.WriteInt32Value("pastAssignmentCount", m.GetPastAssignmentCount()) + if err != nil { + return err + } + } + return nil +} +// SetLastAssignmentDateTime sets the lastAssignmentDateTime property value. The date and time when the user was last assigned to this access package. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Read-only. +func (m *AccessPackageSuggestionSelfAssignmentHistoryBased) SetLastAssignmentDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() { + err := m.GetBackingStore().Set("lastAssignmentDateTime", value) + if err != nil { + panic(err) + } +} +// SetPastAssignmentCount sets the pastAssignmentCount property value. The number of times the user has been assigned to this access package in the past. Read-only. +func (m *AccessPackageSuggestionSelfAssignmentHistoryBased) SetPastAssignmentCount(value *int32)() { + err := m.GetBackingStore().Set("pastAssignmentCount", value) + if err != nil { + panic(err) + } +} +type AccessPackageSuggestionSelfAssignmentHistoryBasedable interface { + AccessPackageSuggestionReasonable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetLastAssignmentDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) + GetPastAssignmentCount()(*int32) + SetLastAssignmentDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() + SetPastAssignmentCount(value *int32)() +} diff --git a/models/all_domains.go b/models/all_domains.go new file mode 100644 index 0000000000..953ed300f5 --- /dev/null +++ b/models/all_domains.go @@ -0,0 +1,44 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +type AllDomains struct { + ValidatingDomains +} +// NewAllDomains instantiates a new AllDomains and sets the default values. +func NewAllDomains()(*AllDomains) { + m := &AllDomains{ + ValidatingDomains: *NewValidatingDomains(), + } + odataTypeValue := "#microsoft.graph.allDomains" + m.SetOdataType(&odataTypeValue) + return m +} +// CreateAllDomainsFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateAllDomainsFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewAllDomains(), nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *AllDomains) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.ValidatingDomains.GetFieldDeserializers() + return res +} +// Serialize serializes information the current object +func (m *AllDomains) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.ValidatingDomains.Serialize(writer) + if err != nil { + return err + } + return nil +} +type AllDomainsable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + ValidatingDomainsable +} diff --git a/models/application_data_type.go b/models/application_data_type.go new file mode 100644 index 0000000000..de8d755e4e --- /dev/null +++ b/models/application_data_type.go @@ -0,0 +1,66 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package models +import ( + "math" + "strings" +) +type ApplicationDataType int + +const ( + NONE_APPLICATIONDATATYPE = 1 + CODINGFILES_APPLICATIONDATATYPE = 2 + CREDITCARDS_APPLICATIONDATATYPE = 4 + DATABASEFILES_APPLICATIONDATATYPE = 8 + DOCUMENTS_APPLICATIONDATATYPE = 16 + MEDIAFILES_APPLICATIONDATATYPE = 32 + UNKNOWNFUTUREVALUE_APPLICATIONDATATYPE = 64 +) + +func (i ApplicationDataType) String() string { + var values []string + options := []string{"none", "codingFiles", "creditCards", "databaseFiles", "documents", "mediaFiles", "unknownFutureValue"} + for p := 0; p < 7; p++ { + mantis := ApplicationDataType(int(math.Pow(2, float64(p)))) + if i&mantis == mantis { + values = append(values, options[p]) + } + } + return strings.Join(values, ",") +} +func ParseApplicationDataType(v string) (any, error) { + var result ApplicationDataType + values := strings.Split(v, ",") + for _, str := range values { + switch str { + case "none": + result |= NONE_APPLICATIONDATATYPE + case "codingFiles": + result |= CODINGFILES_APPLICATIONDATATYPE + case "creditCards": + result |= CREDITCARDS_APPLICATIONDATATYPE + case "databaseFiles": + result |= DATABASEFILES_APPLICATIONDATATYPE + case "documents": + result |= DOCUMENTS_APPLICATIONDATATYPE + case "mediaFiles": + result |= MEDIAFILES_APPLICATIONDATATYPE + case "unknownFutureValue": + result |= UNKNOWNFUTUREVALUE_APPLICATIONDATATYPE + default: + return nil, nil + } + } + return &result, nil +} +func SerializeApplicationDataType(values []ApplicationDataType) []string { + result := make([]string, len(values)) + for i, v := range values { + result[i] = v.String() + } + return result +} +func (i ApplicationDataType) isMultiValue() bool { + return true +} diff --git a/models/application_location.go b/models/application_location.go new file mode 100644 index 0000000000..9d879b8c95 --- /dev/null +++ b/models/application_location.go @@ -0,0 +1,190 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" +) + +type ApplicationLocation struct { + // Stores model information. + backingStore ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore +} +// NewApplicationLocation instantiates a new ApplicationLocation and sets the default values. +func NewApplicationLocation()(*ApplicationLocation) { + m := &ApplicationLocation{ + } + m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); + m.SetAdditionalData(make(map[string]any)) + return m +} +// CreateApplicationLocationFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateApplicationLocationFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewApplicationLocation(), nil +} +// GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +// returns a map[string]any when successful +func (m *ApplicationLocation) GetAdditionalData()(map[string]any) { + val , err := m.backingStore.Get("additionalData") + if err != nil { + panic(err) + } + if val == nil { + var value = make(map[string]any); + m.SetAdditionalData(value); + } + return val.(map[string]any) +} +// GetBackingStore gets the BackingStore property value. Stores model information. +// returns a BackingStore when successful +func (m *ApplicationLocation) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) { + return m.backingStore +} +// GetDataCenter gets the dataCenter property value. Specifies the region or physical location where the application's primary data center is hosted. +// returns a *string when successful +func (m *ApplicationLocation) GetDataCenter()(*string) { + val, err := m.GetBackingStore().Get("dataCenter") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *ApplicationLocation) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) + res["dataCenter"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetDataCenter(val) + } + return nil + } + res["headquarters"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetHeadquarters(val) + } + return nil + } + res["@odata.type"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetOdataType(val) + } + return nil + } + return res +} +// GetHeadquarters gets the headquarters property value. Specifies the city, country or region where the application's owning organization is headquartered. +// returns a *string when successful +func (m *ApplicationLocation) GetHeadquarters()(*string) { + val, err := m.GetBackingStore().Get("headquarters") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetOdataType gets the @odata.type property value. The OdataType property +// returns a *string when successful +func (m *ApplicationLocation) GetOdataType()(*string) { + val, err := m.GetBackingStore().Get("odataType") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// Serialize serializes information the current object +func (m *ApplicationLocation) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + { + err := writer.WriteStringValue("dataCenter", m.GetDataCenter()) + if err != nil { + return err + } + } + { + err := writer.WriteStringValue("headquarters", m.GetHeadquarters()) + if err != nil { + return err + } + } + { + err := writer.WriteStringValue("@odata.type", m.GetOdataType()) + if err != nil { + return err + } + } + { + err := writer.WriteAdditionalData(m.GetAdditionalData()) + if err != nil { + return err + } + } + return nil +} +// SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +func (m *ApplicationLocation) SetAdditionalData(value map[string]any)() { + err := m.GetBackingStore().Set("additionalData", value) + if err != nil { + panic(err) + } +} +// SetBackingStore sets the BackingStore property value. Stores model information. +func (m *ApplicationLocation) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { + m.backingStore = value +} +// SetDataCenter sets the dataCenter property value. Specifies the region or physical location where the application's primary data center is hosted. +func (m *ApplicationLocation) SetDataCenter(value *string)() { + err := m.GetBackingStore().Set("dataCenter", value) + if err != nil { + panic(err) + } +} +// SetHeadquarters sets the headquarters property value. Specifies the city, country or region where the application's owning organization is headquartered. +func (m *ApplicationLocation) SetHeadquarters(value *string)() { + err := m.GetBackingStore().Set("headquarters", value) + if err != nil { + panic(err) + } +} +// SetOdataType sets the @odata.type property value. The OdataType property +func (m *ApplicationLocation) SetOdataType(value *string)() { + err := m.GetBackingStore().Set("odataType", value) + if err != nil { + panic(err) + } +} +type ApplicationLocationable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) + GetDataCenter()(*string) + GetHeadquarters()(*string) + GetOdataType()(*string) + SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() + SetDataCenter(value *string)() + SetHeadquarters(value *string)() + SetOdataType(value *string)() +} diff --git a/models/application_risk_factor_certificate_info.go b/models/application_risk_factor_certificate_info.go new file mode 100644 index 0000000000..7ad665285f --- /dev/null +++ b/models/application_risk_factor_certificate_info.go @@ -0,0 +1,449 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" +) + +type ApplicationRiskFactorCertificateInfo struct { + // Stores model information. + backingStore ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore +} +// NewApplicationRiskFactorCertificateInfo instantiates a new ApplicationRiskFactorCertificateInfo and sets the default values. +func NewApplicationRiskFactorCertificateInfo()(*ApplicationRiskFactorCertificateInfo) { + m := &ApplicationRiskFactorCertificateInfo{ + } + m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); + m.SetAdditionalData(make(map[string]any)) + return m +} +// CreateApplicationRiskFactorCertificateInfoFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateApplicationRiskFactorCertificateInfoFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewApplicationRiskFactorCertificateInfo(), nil +} +// GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +// returns a map[string]any when successful +func (m *ApplicationRiskFactorCertificateInfo) GetAdditionalData()(map[string]any) { + val , err := m.backingStore.Get("additionalData") + if err != nil { + panic(err) + } + if val == nil { + var value = make(map[string]any); + m.SetAdditionalData(value); + } + return val.(map[string]any) +} +// GetBackingStore gets the BackingStore property value. Stores model information. +// returns a BackingStore when successful +func (m *ApplicationRiskFactorCertificateInfo) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) { + return m.backingStore +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *ApplicationRiskFactorCertificateInfo) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) + res["hasBadCommonName"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetBoolValue() + if err != nil { + return err + } + if val != nil { + m.SetHasBadCommonName(val) + } + return nil + } + res["hasInsecureSignature"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetBoolValue() + if err != nil { + return err + } + if val != nil { + m.SetHasInsecureSignature(val) + } + return nil + } + res["hasNoChainOfTrust"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetBoolValue() + if err != nil { + return err + } + if val != nil { + m.SetHasNoChainOfTrust(val) + } + return nil + } + res["isDenylisted"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetBoolValue() + if err != nil { + return err + } + if val != nil { + m.SetIsDenylisted(val) + } + return nil + } + res["isHostnameMismatch"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetBoolValue() + if err != nil { + return err + } + if val != nil { + m.SetIsHostnameMismatch(val) + } + return nil + } + res["isNotAfter"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetBoolValue() + if err != nil { + return err + } + if val != nil { + m.SetIsNotAfter(val) + } + return nil + } + res["isNotBefore"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetBoolValue() + if err != nil { + return err + } + if val != nil { + m.SetIsNotBefore(val) + } + return nil + } + res["isRevoked"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetBoolValue() + if err != nil { + return err + } + if val != nil { + m.SetIsRevoked(val) + } + return nil + } + res["isSelfSigned"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetBoolValue() + if err != nil { + return err + } + if val != nil { + m.SetIsSelfSigned(val) + } + return nil + } + res["@odata.type"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetOdataType(val) + } + return nil + } + return res +} +// GetHasBadCommonName gets the hasBadCommonName property value. Indicates whether the certificate's common name doesn't match the expected domain name. +// returns a *bool when successful +func (m *ApplicationRiskFactorCertificateInfo) GetHasBadCommonName()(*bool) { + val, err := m.GetBackingStore().Get("hasBadCommonName") + if err != nil { + panic(err) + } + if val != nil { + return val.(*bool) + } + return nil +} +// GetHasInsecureSignature gets the hasInsecureSignature property value. Indicates whether the certificate uses a weak or insecure signature algorithm (for example, MD5 or SHA-1). +// returns a *bool when successful +func (m *ApplicationRiskFactorCertificateInfo) GetHasInsecureSignature()(*bool) { + val, err := m.GetBackingStore().Get("hasInsecureSignature") + if err != nil { + panic(err) + } + if val != nil { + return val.(*bool) + } + return nil +} +// GetHasNoChainOfTrust gets the hasNoChainOfTrust property value. Indicates whether the certificate chain of trust is incomplete or invalid. +// returns a *bool when successful +func (m *ApplicationRiskFactorCertificateInfo) GetHasNoChainOfTrust()(*bool) { + val, err := m.GetBackingStore().Get("hasNoChainOfTrust") + if err != nil { + panic(err) + } + if val != nil { + return val.(*bool) + } + return nil +} +// GetIsDenylisted gets the isDenylisted property value. Indicates whether the certificate is on a known denylist or associated with compromised issuers. +// returns a *bool when successful +func (m *ApplicationRiskFactorCertificateInfo) GetIsDenylisted()(*bool) { + val, err := m.GetBackingStore().Get("isDenylisted") + if err != nil { + panic(err) + } + if val != nil { + return val.(*bool) + } + return nil +} +// GetIsHostnameMismatch gets the isHostnameMismatch property value. Indicates whether the certificate's hostname doesn't match the domain it was issued for. +// returns a *bool when successful +func (m *ApplicationRiskFactorCertificateInfo) GetIsHostnameMismatch()(*bool) { + val, err := m.GetBackingStore().Get("isHostnameMismatch") + if err != nil { + panic(err) + } + if val != nil { + return val.(*bool) + } + return nil +} +// GetIsNotAfter gets the isNotAfter property value. Indicates whether the certificate is expired and no longer valid. +// returns a *bool when successful +func (m *ApplicationRiskFactorCertificateInfo) GetIsNotAfter()(*bool) { + val, err := m.GetBackingStore().Get("isNotAfter") + if err != nil { + panic(err) + } + if val != nil { + return val.(*bool) + } + return nil +} +// GetIsNotBefore gets the isNotBefore property value. Indicates whether the certificate isn't yet valid based on its activation date. +// returns a *bool when successful +func (m *ApplicationRiskFactorCertificateInfo) GetIsNotBefore()(*bool) { + val, err := m.GetBackingStore().Get("isNotBefore") + if err != nil { + panic(err) + } + if val != nil { + return val.(*bool) + } + return nil +} +// GetIsRevoked gets the isRevoked property value. Indicates whether the issuing certificate authority revoked the certificate. +// returns a *bool when successful +func (m *ApplicationRiskFactorCertificateInfo) GetIsRevoked()(*bool) { + val, err := m.GetBackingStore().Get("isRevoked") + if err != nil { + panic(err) + } + if val != nil { + return val.(*bool) + } + return nil +} +// GetIsSelfSigned gets the isSelfSigned property value. Indicates whether the certificate is self-signed rather than issued by a trusted certificate authority. +// returns a *bool when successful +func (m *ApplicationRiskFactorCertificateInfo) GetIsSelfSigned()(*bool) { + val, err := m.GetBackingStore().Get("isSelfSigned") + if err != nil { + panic(err) + } + if val != nil { + return val.(*bool) + } + return nil +} +// GetOdataType gets the @odata.type property value. The OdataType property +// returns a *string when successful +func (m *ApplicationRiskFactorCertificateInfo) GetOdataType()(*string) { + val, err := m.GetBackingStore().Get("odataType") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// Serialize serializes information the current object +func (m *ApplicationRiskFactorCertificateInfo) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + { + err := writer.WriteBoolValue("hasBadCommonName", m.GetHasBadCommonName()) + if err != nil { + return err + } + } + { + err := writer.WriteBoolValue("hasInsecureSignature", m.GetHasInsecureSignature()) + if err != nil { + return err + } + } + { + err := writer.WriteBoolValue("hasNoChainOfTrust", m.GetHasNoChainOfTrust()) + if err != nil { + return err + } + } + { + err := writer.WriteBoolValue("isDenylisted", m.GetIsDenylisted()) + if err != nil { + return err + } + } + { + err := writer.WriteBoolValue("isHostnameMismatch", m.GetIsHostnameMismatch()) + if err != nil { + return err + } + } + { + err := writer.WriteBoolValue("isNotAfter", m.GetIsNotAfter()) + if err != nil { + return err + } + } + { + err := writer.WriteBoolValue("isNotBefore", m.GetIsNotBefore()) + if err != nil { + return err + } + } + { + err := writer.WriteBoolValue("isRevoked", m.GetIsRevoked()) + if err != nil { + return err + } + } + { + err := writer.WriteBoolValue("isSelfSigned", m.GetIsSelfSigned()) + if err != nil { + return err + } + } + { + err := writer.WriteStringValue("@odata.type", m.GetOdataType()) + if err != nil { + return err + } + } + { + err := writer.WriteAdditionalData(m.GetAdditionalData()) + if err != nil { + return err + } + } + return nil +} +// SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +func (m *ApplicationRiskFactorCertificateInfo) SetAdditionalData(value map[string]any)() { + err := m.GetBackingStore().Set("additionalData", value) + if err != nil { + panic(err) + } +} +// SetBackingStore sets the BackingStore property value. Stores model information. +func (m *ApplicationRiskFactorCertificateInfo) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { + m.backingStore = value +} +// SetHasBadCommonName sets the hasBadCommonName property value. Indicates whether the certificate's common name doesn't match the expected domain name. +func (m *ApplicationRiskFactorCertificateInfo) SetHasBadCommonName(value *bool)() { + err := m.GetBackingStore().Set("hasBadCommonName", value) + if err != nil { + panic(err) + } +} +// SetHasInsecureSignature sets the hasInsecureSignature property value. Indicates whether the certificate uses a weak or insecure signature algorithm (for example, MD5 or SHA-1). +func (m *ApplicationRiskFactorCertificateInfo) SetHasInsecureSignature(value *bool)() { + err := m.GetBackingStore().Set("hasInsecureSignature", value) + if err != nil { + panic(err) + } +} +// SetHasNoChainOfTrust sets the hasNoChainOfTrust property value. Indicates whether the certificate chain of trust is incomplete or invalid. +func (m *ApplicationRiskFactorCertificateInfo) SetHasNoChainOfTrust(value *bool)() { + err := m.GetBackingStore().Set("hasNoChainOfTrust", value) + if err != nil { + panic(err) + } +} +// SetIsDenylisted sets the isDenylisted property value. Indicates whether the certificate is on a known denylist or associated with compromised issuers. +func (m *ApplicationRiskFactorCertificateInfo) SetIsDenylisted(value *bool)() { + err := m.GetBackingStore().Set("isDenylisted", value) + if err != nil { + panic(err) + } +} +// SetIsHostnameMismatch sets the isHostnameMismatch property value. Indicates whether the certificate's hostname doesn't match the domain it was issued for. +func (m *ApplicationRiskFactorCertificateInfo) SetIsHostnameMismatch(value *bool)() { + err := m.GetBackingStore().Set("isHostnameMismatch", value) + if err != nil { + panic(err) + } +} +// SetIsNotAfter sets the isNotAfter property value. Indicates whether the certificate is expired and no longer valid. +func (m *ApplicationRiskFactorCertificateInfo) SetIsNotAfter(value *bool)() { + err := m.GetBackingStore().Set("isNotAfter", value) + if err != nil { + panic(err) + } +} +// SetIsNotBefore sets the isNotBefore property value. Indicates whether the certificate isn't yet valid based on its activation date. +func (m *ApplicationRiskFactorCertificateInfo) SetIsNotBefore(value *bool)() { + err := m.GetBackingStore().Set("isNotBefore", value) + if err != nil { + panic(err) + } +} +// SetIsRevoked sets the isRevoked property value. Indicates whether the issuing certificate authority revoked the certificate. +func (m *ApplicationRiskFactorCertificateInfo) SetIsRevoked(value *bool)() { + err := m.GetBackingStore().Set("isRevoked", value) + if err != nil { + panic(err) + } +} +// SetIsSelfSigned sets the isSelfSigned property value. Indicates whether the certificate is self-signed rather than issued by a trusted certificate authority. +func (m *ApplicationRiskFactorCertificateInfo) SetIsSelfSigned(value *bool)() { + err := m.GetBackingStore().Set("isSelfSigned", value) + if err != nil { + panic(err) + } +} +// SetOdataType sets the @odata.type property value. The OdataType property +func (m *ApplicationRiskFactorCertificateInfo) SetOdataType(value *string)() { + err := m.GetBackingStore().Set("odataType", value) + if err != nil { + panic(err) + } +} +type ApplicationRiskFactorCertificateInfoable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) + GetHasBadCommonName()(*bool) + GetHasInsecureSignature()(*bool) + GetHasNoChainOfTrust()(*bool) + GetIsDenylisted()(*bool) + GetIsHostnameMismatch()(*bool) + GetIsNotAfter()(*bool) + GetIsNotBefore()(*bool) + GetIsRevoked()(*bool) + GetIsSelfSigned()(*bool) + GetOdataType()(*string) + SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() + SetHasBadCommonName(value *bool)() + SetHasInsecureSignature(value *bool)() + SetHasNoChainOfTrust(value *bool)() + SetIsDenylisted(value *bool)() + SetIsHostnameMismatch(value *bool)() + SetIsNotAfter(value *bool)() + SetIsNotBefore(value *bool)() + SetIsRevoked(value *bool)() + SetIsSelfSigned(value *bool)() + SetOdataType(value *string)() +} diff --git a/models/application_risk_factor_general_info.go b/models/application_risk_factor_general_info.go new file mode 100644 index 0000000000..de2958d103 --- /dev/null +++ b/models/application_risk_factor_general_info.go @@ -0,0 +1,488 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" +) + +type ApplicationRiskFactorGeneralInfo struct { + // Stores model information. + backingStore ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore +} +// NewApplicationRiskFactorGeneralInfo instantiates a new ApplicationRiskFactorGeneralInfo and sets the default values. +func NewApplicationRiskFactorGeneralInfo()(*ApplicationRiskFactorGeneralInfo) { + m := &ApplicationRiskFactorGeneralInfo{ + } + m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); + m.SetAdditionalData(make(map[string]any)) + return m +} +// CreateApplicationRiskFactorGeneralInfoFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateApplicationRiskFactorGeneralInfoFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewApplicationRiskFactorGeneralInfo(), nil +} +// GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +// returns a map[string]any when successful +func (m *ApplicationRiskFactorGeneralInfo) GetAdditionalData()(map[string]any) { + val , err := m.backingStore.Get("additionalData") + if err != nil { + panic(err) + } + if val == nil { + var value = make(map[string]any); + m.SetAdditionalData(value); + } + return val.(map[string]any) +} +// GetBackingStore gets the BackingStore property value. Stores model information. +// returns a BackingStore when successful +func (m *ApplicationRiskFactorGeneralInfo) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) { + return m.backingStore +} +// GetConsumerPopularity gets the consumerPopularity property value. Indicates the relative popularity or adoption of the application based on the user or tenant usage metrics. +// returns a *int32 when successful +func (m *ApplicationRiskFactorGeneralInfo) GetConsumerPopularity()(*int32) { + val, err := m.GetBackingStore().Get("consumerPopularity") + if err != nil { + panic(err) + } + if val != nil { + return val.(*int32) + } + return nil +} +// GetDomainRegistrationDate gets the domainRegistrationDate property value. Specifies the date when the application's primary domain was registered, used to assess domain maturity and legitimacy. +// returns a *DateOnly when successful +func (m *ApplicationRiskFactorGeneralInfo) GetDomainRegistrationDate()(*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.DateOnly) { + val, err := m.GetBackingStore().Get("domainRegistrationDate") + if err != nil { + panic(err) + } + if val != nil { + return val.(*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.DateOnly) + } + return nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *ApplicationRiskFactorGeneralInfo) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) + res["consumerPopularity"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetInt32Value() + if err != nil { + return err + } + if val != nil { + m.SetConsumerPopularity(val) + } + return nil + } + res["domainRegistrationDate"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetDateOnlyValue() + if err != nil { + return err + } + if val != nil { + m.SetDomainRegistrationDate(val) + } + return nil + } + res["founded"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetInt32Value() + if err != nil { + return err + } + if val != nil { + m.SetFounded(val) + } + return nil + } + res["hasDisasterRecoveryPlan"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetBoolValue() + if err != nil { + return err + } + if val != nil { + m.SetHasDisasterRecoveryPlan(val) + } + return nil + } + res["hold"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetEnumValue(ParseHoldType) + if err != nil { + return err + } + if val != nil { + m.SetHold(val.(*HoldType)) + } + return nil + } + res["hostingCompanyName"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetHostingCompanyName(val) + } + return nil + } + res["location"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetObjectValue(CreateApplicationLocationFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + m.SetLocation(val.(ApplicationLocationable)) + } + return nil + } + res["@odata.type"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetOdataType(val) + } + return nil + } + res["privacyPolicy"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetPrivacyPolicy(val) + } + return nil + } + res["processedDataTypes"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetEnumValue(ParseApplicationDataType) + if err != nil { + return err + } + if val != nil { + m.SetProcessedDataTypes(val.(*ApplicationDataType)) + } + return nil + } + res["termsOfService"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetTermsOfService(val) + } + return nil + } + return res +} +// GetFounded gets the founded property value. Year the company or organization behind the application was founded. +// returns a *int32 when successful +func (m *ApplicationRiskFactorGeneralInfo) GetFounded()(*int32) { + val, err := m.GetBackingStore().Get("founded") + if err != nil { + panic(err) + } + if val != nil { + return val.(*int32) + } + return nil +} +// GetHasDisasterRecoveryPlan gets the hasDisasterRecoveryPlan property value. Indicates whether the application provider maintains a disaster recovery or business continuity plan. +// returns a *bool when successful +func (m *ApplicationRiskFactorGeneralInfo) GetHasDisasterRecoveryPlan()(*bool) { + val, err := m.GetBackingStore().Get("hasDisasterRecoveryPlan") + if err != nil { + panic(err) + } + if val != nil { + return val.(*bool) + } + return nil +} +// GetHold gets the hold property value. The hold property +// returns a *HoldType when successful +func (m *ApplicationRiskFactorGeneralInfo) GetHold()(*HoldType) { + val, err := m.GetBackingStore().Get("hold") + if err != nil { + panic(err) + } + if val != nil { + return val.(*HoldType) + } + return nil +} +// GetHostingCompanyName gets the hostingCompanyName property value. Specifies the name of the company or provider that hosts the application's infrastructure. +// returns a *string when successful +func (m *ApplicationRiskFactorGeneralInfo) GetHostingCompanyName()(*string) { + val, err := m.GetBackingStore().Get("hostingCompanyName") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetLocation gets the location property value. Provides the geographical and operational location information for the application, including data center and headquarters regions. +// returns a ApplicationLocationable when successful +func (m *ApplicationRiskFactorGeneralInfo) GetLocation()(ApplicationLocationable) { + val, err := m.GetBackingStore().Get("location") + if err != nil { + panic(err) + } + if val != nil { + return val.(ApplicationLocationable) + } + return nil +} +// GetOdataType gets the @odata.type property value. The OdataType property +// returns a *string when successful +func (m *ApplicationRiskFactorGeneralInfo) GetOdataType()(*string) { + val, err := m.GetBackingStore().Get("odataType") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetPrivacyPolicy gets the privacyPolicy property value. Specifies the URL of the application's privacy policy. +// returns a *string when successful +func (m *ApplicationRiskFactorGeneralInfo) GetPrivacyPolicy()(*string) { + val, err := m.GetBackingStore().Get("privacyPolicy") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetProcessedDataTypes gets the processedDataTypes property value. The processedDataTypes property +// returns a *ApplicationDataType when successful +func (m *ApplicationRiskFactorGeneralInfo) GetProcessedDataTypes()(*ApplicationDataType) { + val, err := m.GetBackingStore().Get("processedDataTypes") + if err != nil { + panic(err) + } + if val != nil { + return val.(*ApplicationDataType) + } + return nil +} +// GetTermsOfService gets the termsOfService property value. Specifies the URL of the application's terms of service. +// returns a *string when successful +func (m *ApplicationRiskFactorGeneralInfo) GetTermsOfService()(*string) { + val, err := m.GetBackingStore().Get("termsOfService") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// Serialize serializes information the current object +func (m *ApplicationRiskFactorGeneralInfo) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + { + err := writer.WriteInt32Value("consumerPopularity", m.GetConsumerPopularity()) + if err != nil { + return err + } + } + { + err := writer.WriteDateOnlyValue("domainRegistrationDate", m.GetDomainRegistrationDate()) + if err != nil { + return err + } + } + { + err := writer.WriteInt32Value("founded", m.GetFounded()) + if err != nil { + return err + } + } + { + err := writer.WriteBoolValue("hasDisasterRecoveryPlan", m.GetHasDisasterRecoveryPlan()) + if err != nil { + return err + } + } + if m.GetHold() != nil { + cast := (*m.GetHold()).String() + err := writer.WriteStringValue("hold", &cast) + if err != nil { + return err + } + } + { + err := writer.WriteStringValue("hostingCompanyName", m.GetHostingCompanyName()) + if err != nil { + return err + } + } + { + err := writer.WriteObjectValue("location", m.GetLocation()) + if err != nil { + return err + } + } + { + err := writer.WriteStringValue("@odata.type", m.GetOdataType()) + if err != nil { + return err + } + } + { + err := writer.WriteStringValue("privacyPolicy", m.GetPrivacyPolicy()) + if err != nil { + return err + } + } + if m.GetProcessedDataTypes() != nil { + cast := (*m.GetProcessedDataTypes()).String() + err := writer.WriteStringValue("processedDataTypes", &cast) + if err != nil { + return err + } + } + { + err := writer.WriteStringValue("termsOfService", m.GetTermsOfService()) + if err != nil { + return err + } + } + { + err := writer.WriteAdditionalData(m.GetAdditionalData()) + if err != nil { + return err + } + } + return nil +} +// SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +func (m *ApplicationRiskFactorGeneralInfo) SetAdditionalData(value map[string]any)() { + err := m.GetBackingStore().Set("additionalData", value) + if err != nil { + panic(err) + } +} +// SetBackingStore sets the BackingStore property value. Stores model information. +func (m *ApplicationRiskFactorGeneralInfo) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { + m.backingStore = value +} +// SetConsumerPopularity sets the consumerPopularity property value. Indicates the relative popularity or adoption of the application based on the user or tenant usage metrics. +func (m *ApplicationRiskFactorGeneralInfo) SetConsumerPopularity(value *int32)() { + err := m.GetBackingStore().Set("consumerPopularity", value) + if err != nil { + panic(err) + } +} +// SetDomainRegistrationDate sets the domainRegistrationDate property value. Specifies the date when the application's primary domain was registered, used to assess domain maturity and legitimacy. +func (m *ApplicationRiskFactorGeneralInfo) SetDomainRegistrationDate(value *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.DateOnly)() { + err := m.GetBackingStore().Set("domainRegistrationDate", value) + if err != nil { + panic(err) + } +} +// SetFounded sets the founded property value. Year the company or organization behind the application was founded. +func (m *ApplicationRiskFactorGeneralInfo) SetFounded(value *int32)() { + err := m.GetBackingStore().Set("founded", value) + if err != nil { + panic(err) + } +} +// SetHasDisasterRecoveryPlan sets the hasDisasterRecoveryPlan property value. Indicates whether the application provider maintains a disaster recovery or business continuity plan. +func (m *ApplicationRiskFactorGeneralInfo) SetHasDisasterRecoveryPlan(value *bool)() { + err := m.GetBackingStore().Set("hasDisasterRecoveryPlan", value) + if err != nil { + panic(err) + } +} +// SetHold sets the hold property value. The hold property +func (m *ApplicationRiskFactorGeneralInfo) SetHold(value *HoldType)() { + err := m.GetBackingStore().Set("hold", value) + if err != nil { + panic(err) + } +} +// SetHostingCompanyName sets the hostingCompanyName property value. Specifies the name of the company or provider that hosts the application's infrastructure. +func (m *ApplicationRiskFactorGeneralInfo) SetHostingCompanyName(value *string)() { + err := m.GetBackingStore().Set("hostingCompanyName", value) + if err != nil { + panic(err) + } +} +// SetLocation sets the location property value. Provides the geographical and operational location information for the application, including data center and headquarters regions. +func (m *ApplicationRiskFactorGeneralInfo) SetLocation(value ApplicationLocationable)() { + err := m.GetBackingStore().Set("location", value) + if err != nil { + panic(err) + } +} +// SetOdataType sets the @odata.type property value. The OdataType property +func (m *ApplicationRiskFactorGeneralInfo) SetOdataType(value *string)() { + err := m.GetBackingStore().Set("odataType", value) + if err != nil { + panic(err) + } +} +// SetPrivacyPolicy sets the privacyPolicy property value. Specifies the URL of the application's privacy policy. +func (m *ApplicationRiskFactorGeneralInfo) SetPrivacyPolicy(value *string)() { + err := m.GetBackingStore().Set("privacyPolicy", value) + if err != nil { + panic(err) + } +} +// SetProcessedDataTypes sets the processedDataTypes property value. The processedDataTypes property +func (m *ApplicationRiskFactorGeneralInfo) SetProcessedDataTypes(value *ApplicationDataType)() { + err := m.GetBackingStore().Set("processedDataTypes", value) + if err != nil { + panic(err) + } +} +// SetTermsOfService sets the termsOfService property value. Specifies the URL of the application's terms of service. +func (m *ApplicationRiskFactorGeneralInfo) SetTermsOfService(value *string)() { + err := m.GetBackingStore().Set("termsOfService", value) + if err != nil { + panic(err) + } +} +type ApplicationRiskFactorGeneralInfoable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) + GetConsumerPopularity()(*int32) + GetDomainRegistrationDate()(*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.DateOnly) + GetFounded()(*int32) + GetHasDisasterRecoveryPlan()(*bool) + GetHold()(*HoldType) + GetHostingCompanyName()(*string) + GetLocation()(ApplicationLocationable) + GetOdataType()(*string) + GetPrivacyPolicy()(*string) + GetProcessedDataTypes()(*ApplicationDataType) + GetTermsOfService()(*string) + SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() + SetConsumerPopularity(value *int32)() + SetDomainRegistrationDate(value *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.DateOnly)() + SetFounded(value *int32)() + SetHasDisasterRecoveryPlan(value *bool)() + SetHold(value *HoldType)() + SetHostingCompanyName(value *string)() + SetLocation(value ApplicationLocationable)() + SetOdataType(value *string)() + SetPrivacyPolicy(value *string)() + SetProcessedDataTypes(value *ApplicationDataType)() + SetTermsOfService(value *string)() +} diff --git a/models/application_risk_factor_legal_info.go b/models/application_risk_factor_legal_info.go new file mode 100644 index 0000000000..b094e6e7de --- /dev/null +++ b/models/application_risk_factor_legal_info.go @@ -0,0 +1,265 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" +) + +type ApplicationRiskFactorLegalInfo struct { + // Stores model information. + backingStore ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore +} +// NewApplicationRiskFactorLegalInfo instantiates a new ApplicationRiskFactorLegalInfo and sets the default values. +func NewApplicationRiskFactorLegalInfo()(*ApplicationRiskFactorLegalInfo) { + m := &ApplicationRiskFactorLegalInfo{ + } + m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); + m.SetAdditionalData(make(map[string]any)) + return m +} +// CreateApplicationRiskFactorLegalInfoFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateApplicationRiskFactorLegalInfoFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewApplicationRiskFactorLegalInfo(), nil +} +// GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +// returns a map[string]any when successful +func (m *ApplicationRiskFactorLegalInfo) GetAdditionalData()(map[string]any) { + val , err := m.backingStore.Get("additionalData") + if err != nil { + panic(err) + } + if val == nil { + var value = make(map[string]any); + m.SetAdditionalData(value); + } + return val.(map[string]any) +} +// GetBackingStore gets the BackingStore property value. Stores model information. +// returns a BackingStore when successful +func (m *ApplicationRiskFactorLegalInfo) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) { + return m.backingStore +} +// GetDataRetention gets the dataRetention property value. The dataRetention property +// returns a *DataRetentionLevel when successful +func (m *ApplicationRiskFactorLegalInfo) GetDataRetention()(*DataRetentionLevel) { + val, err := m.GetBackingStore().Get("dataRetention") + if err != nil { + panic(err) + } + if val != nil { + return val.(*DataRetentionLevel) + } + return nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *ApplicationRiskFactorLegalInfo) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) + res["dataRetention"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetEnumValue(ParseDataRetentionLevel) + if err != nil { + return err + } + if val != nil { + m.SetDataRetention(val.(*DataRetentionLevel)) + } + return nil + } + res["gdpr"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetObjectValue(CreateApplicationRiskFactorLegalInfoGdprFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + m.SetGdpr(val.(ApplicationRiskFactorLegalInfoGdprable)) + } + return nil + } + res["hasDataOwnership"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetBoolValue() + if err != nil { + return err + } + if val != nil { + m.SetHasDataOwnership(val) + } + return nil + } + res["hasDmca"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetBoolValue() + if err != nil { + return err + } + if val != nil { + m.SetHasDmca(val) + } + return nil + } + res["@odata.type"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetOdataType(val) + } + return nil + } + return res +} +// GetGdpr gets the gdpr property value. The gdpr property +// returns a ApplicationRiskFactorLegalInfoGdprable when successful +func (m *ApplicationRiskFactorLegalInfo) GetGdpr()(ApplicationRiskFactorLegalInfoGdprable) { + val, err := m.GetBackingStore().Get("gdpr") + if err != nil { + panic(err) + } + if val != nil { + return val.(ApplicationRiskFactorLegalInfoGdprable) + } + return nil +} +// GetHasDataOwnership gets the hasDataOwnership property value. Indicates whether customers maintain ownership and control of their data processed or stored by the application. +// returns a *bool when successful +func (m *ApplicationRiskFactorLegalInfo) GetHasDataOwnership()(*bool) { + val, err := m.GetBackingStore().Get("hasDataOwnership") + if err != nil { + panic(err) + } + if val != nil { + return val.(*bool) + } + return nil +} +// GetHasDmca gets the hasDmca property value. Indicates whether the application or organization complies with the Digital Millennium Copyright Act (DMCA) or equivalent copyright protection frameworks. +// returns a *bool when successful +func (m *ApplicationRiskFactorLegalInfo) GetHasDmca()(*bool) { + val, err := m.GetBackingStore().Get("hasDmca") + if err != nil { + panic(err) + } + if val != nil { + return val.(*bool) + } + return nil +} +// GetOdataType gets the @odata.type property value. The OdataType property +// returns a *string when successful +func (m *ApplicationRiskFactorLegalInfo) GetOdataType()(*string) { + val, err := m.GetBackingStore().Get("odataType") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// Serialize serializes information the current object +func (m *ApplicationRiskFactorLegalInfo) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + if m.GetDataRetention() != nil { + cast := (*m.GetDataRetention()).String() + err := writer.WriteStringValue("dataRetention", &cast) + if err != nil { + return err + } + } + { + err := writer.WriteObjectValue("gdpr", m.GetGdpr()) + if err != nil { + return err + } + } + { + err := writer.WriteBoolValue("hasDataOwnership", m.GetHasDataOwnership()) + if err != nil { + return err + } + } + { + err := writer.WriteBoolValue("hasDmca", m.GetHasDmca()) + if err != nil { + return err + } + } + { + err := writer.WriteStringValue("@odata.type", m.GetOdataType()) + if err != nil { + return err + } + } + { + err := writer.WriteAdditionalData(m.GetAdditionalData()) + if err != nil { + return err + } + } + return nil +} +// SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +func (m *ApplicationRiskFactorLegalInfo) SetAdditionalData(value map[string]any)() { + err := m.GetBackingStore().Set("additionalData", value) + if err != nil { + panic(err) + } +} +// SetBackingStore sets the BackingStore property value. Stores model information. +func (m *ApplicationRiskFactorLegalInfo) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { + m.backingStore = value +} +// SetDataRetention sets the dataRetention property value. The dataRetention property +func (m *ApplicationRiskFactorLegalInfo) SetDataRetention(value *DataRetentionLevel)() { + err := m.GetBackingStore().Set("dataRetention", value) + if err != nil { + panic(err) + } +} +// SetGdpr sets the gdpr property value. The gdpr property +func (m *ApplicationRiskFactorLegalInfo) SetGdpr(value ApplicationRiskFactorLegalInfoGdprable)() { + err := m.GetBackingStore().Set("gdpr", value) + if err != nil { + panic(err) + } +} +// SetHasDataOwnership sets the hasDataOwnership property value. Indicates whether customers maintain ownership and control of their data processed or stored by the application. +func (m *ApplicationRiskFactorLegalInfo) SetHasDataOwnership(value *bool)() { + err := m.GetBackingStore().Set("hasDataOwnership", value) + if err != nil { + panic(err) + } +} +// SetHasDmca sets the hasDmca property value. Indicates whether the application or organization complies with the Digital Millennium Copyright Act (DMCA) or equivalent copyright protection frameworks. +func (m *ApplicationRiskFactorLegalInfo) SetHasDmca(value *bool)() { + err := m.GetBackingStore().Set("hasDmca", value) + if err != nil { + panic(err) + } +} +// SetOdataType sets the @odata.type property value. The OdataType property +func (m *ApplicationRiskFactorLegalInfo) SetOdataType(value *string)() { + err := m.GetBackingStore().Set("odataType", value) + if err != nil { + panic(err) + } +} +type ApplicationRiskFactorLegalInfoable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) + GetDataRetention()(*DataRetentionLevel) + GetGdpr()(ApplicationRiskFactorLegalInfoGdprable) + GetHasDataOwnership()(*bool) + GetHasDmca()(*bool) + GetOdataType()(*string) + SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() + SetDataRetention(value *DataRetentionLevel)() + SetGdpr(value ApplicationRiskFactorLegalInfoGdprable)() + SetHasDataOwnership(value *bool)() + SetHasDmca(value *bool)() + SetOdataType(value *string)() +} diff --git a/models/application_risk_factor_legal_info_gdpr.go b/models/application_risk_factor_legal_info_gdpr.go new file mode 100644 index 0000000000..d3586541d1 --- /dev/null +++ b/models/application_risk_factor_legal_info_gdpr.go @@ -0,0 +1,303 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" +) + +type ApplicationRiskFactorLegalInfoGdpr struct { + // Stores model information. + backingStore ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore +} +// NewApplicationRiskFactorLegalInfoGdpr instantiates a new ApplicationRiskFactorLegalInfoGdpr and sets the default values. +func NewApplicationRiskFactorLegalInfoGdpr()(*ApplicationRiskFactorLegalInfoGdpr) { + m := &ApplicationRiskFactorLegalInfoGdpr{ + } + m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); + m.SetAdditionalData(make(map[string]any)) + return m +} +// CreateApplicationRiskFactorLegalInfoGdprFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateApplicationRiskFactorLegalInfoGdprFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewApplicationRiskFactorLegalInfoGdpr(), nil +} +// GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +// returns a map[string]any when successful +func (m *ApplicationRiskFactorLegalInfoGdpr) GetAdditionalData()(map[string]any) { + val , err := m.backingStore.Get("additionalData") + if err != nil { + panic(err) + } + if val == nil { + var value = make(map[string]any); + m.SetAdditionalData(value); + } + return val.(map[string]any) +} +// GetBackingStore gets the BackingStore property value. Stores model information. +// returns a BackingStore when successful +func (m *ApplicationRiskFactorLegalInfoGdpr) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) { + return m.backingStore +} +// GetDataProtection gets the dataProtection property value. The dataProtection property +// returns a *DataProtection when successful +func (m *ApplicationRiskFactorLegalInfoGdpr) GetDataProtection()(*DataProtection) { + val, err := m.GetBackingStore().Get("dataProtection") + if err != nil { + panic(err) + } + if val != nil { + return val.(*DataProtection) + } + return nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *ApplicationRiskFactorLegalInfoGdpr) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) + res["dataProtection"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetEnumValue(ParseDataProtection) + if err != nil { + return err + } + if val != nil { + m.SetDataProtection(val.(*DataProtection)) + } + return nil + } + res["hasRightToErasure"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetBoolValue() + if err != nil { + return err + } + if val != nil { + m.SetHasRightToErasure(val) + } + return nil + } + res["isReportingDataBreaches"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetBoolValue() + if err != nil { + return err + } + if val != nil { + m.SetIsReportingDataBreaches(val) + } + return nil + } + res["@odata.type"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetOdataType(val) + } + return nil + } + res["statementUrl"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetStatementUrl(val) + } + return nil + } + res["userOwnership"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetEnumValue(ParseUserOwnership) + if err != nil { + return err + } + if val != nil { + m.SetUserOwnership(val.(*UserOwnership)) + } + return nil + } + return res +} +// GetHasRightToErasure gets the hasRightToErasure property value. Indicates whether the application provides users with the ability to request deletion of their personal data (the right to be forgotten). +// returns a *bool when successful +func (m *ApplicationRiskFactorLegalInfoGdpr) GetHasRightToErasure()(*bool) { + val, err := m.GetBackingStore().Get("hasRightToErasure") + if err != nil { + panic(err) + } + if val != nil { + return val.(*bool) + } + return nil +} +// GetIsReportingDataBreaches gets the isReportingDataBreaches property value. Indicates whether the organization reports personal data breaches to authorities and affected users in accordance with GDPR requirements. +// returns a *bool when successful +func (m *ApplicationRiskFactorLegalInfoGdpr) GetIsReportingDataBreaches()(*bool) { + val, err := m.GetBackingStore().Get("isReportingDataBreaches") + if err != nil { + panic(err) + } + if val != nil { + return val.(*bool) + } + return nil +} +// GetOdataType gets the @odata.type property value. The OdataType property +// returns a *string when successful +func (m *ApplicationRiskFactorLegalInfoGdpr) GetOdataType()(*string) { + val, err := m.GetBackingStore().Get("odataType") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetStatementUrl gets the statementUrl property value. Specifies the URL of the application's GDPR or privacy compliance statement, outlining how user data is handled. +// returns a *string when successful +func (m *ApplicationRiskFactorLegalInfoGdpr) GetStatementUrl()(*string) { + val, err := m.GetBackingStore().Get("statementUrl") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetUserOwnership gets the userOwnership property value. The userOwnership property +// returns a *UserOwnership when successful +func (m *ApplicationRiskFactorLegalInfoGdpr) GetUserOwnership()(*UserOwnership) { + val, err := m.GetBackingStore().Get("userOwnership") + if err != nil { + panic(err) + } + if val != nil { + return val.(*UserOwnership) + } + return nil +} +// Serialize serializes information the current object +func (m *ApplicationRiskFactorLegalInfoGdpr) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + if m.GetDataProtection() != nil { + cast := (*m.GetDataProtection()).String() + err := writer.WriteStringValue("dataProtection", &cast) + if err != nil { + return err + } + } + { + err := writer.WriteBoolValue("hasRightToErasure", m.GetHasRightToErasure()) + if err != nil { + return err + } + } + { + err := writer.WriteBoolValue("isReportingDataBreaches", m.GetIsReportingDataBreaches()) + if err != nil { + return err + } + } + { + err := writer.WriteStringValue("@odata.type", m.GetOdataType()) + if err != nil { + return err + } + } + { + err := writer.WriteStringValue("statementUrl", m.GetStatementUrl()) + if err != nil { + return err + } + } + if m.GetUserOwnership() != nil { + cast := (*m.GetUserOwnership()).String() + err := writer.WriteStringValue("userOwnership", &cast) + if err != nil { + return err + } + } + { + err := writer.WriteAdditionalData(m.GetAdditionalData()) + if err != nil { + return err + } + } + return nil +} +// SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +func (m *ApplicationRiskFactorLegalInfoGdpr) SetAdditionalData(value map[string]any)() { + err := m.GetBackingStore().Set("additionalData", value) + if err != nil { + panic(err) + } +} +// SetBackingStore sets the BackingStore property value. Stores model information. +func (m *ApplicationRiskFactorLegalInfoGdpr) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { + m.backingStore = value +} +// SetDataProtection sets the dataProtection property value. The dataProtection property +func (m *ApplicationRiskFactorLegalInfoGdpr) SetDataProtection(value *DataProtection)() { + err := m.GetBackingStore().Set("dataProtection", value) + if err != nil { + panic(err) + } +} +// SetHasRightToErasure sets the hasRightToErasure property value. Indicates whether the application provides users with the ability to request deletion of their personal data (the right to be forgotten). +func (m *ApplicationRiskFactorLegalInfoGdpr) SetHasRightToErasure(value *bool)() { + err := m.GetBackingStore().Set("hasRightToErasure", value) + if err != nil { + panic(err) + } +} +// SetIsReportingDataBreaches sets the isReportingDataBreaches property value. Indicates whether the organization reports personal data breaches to authorities and affected users in accordance with GDPR requirements. +func (m *ApplicationRiskFactorLegalInfoGdpr) SetIsReportingDataBreaches(value *bool)() { + err := m.GetBackingStore().Set("isReportingDataBreaches", value) + if err != nil { + panic(err) + } +} +// SetOdataType sets the @odata.type property value. The OdataType property +func (m *ApplicationRiskFactorLegalInfoGdpr) SetOdataType(value *string)() { + err := m.GetBackingStore().Set("odataType", value) + if err != nil { + panic(err) + } +} +// SetStatementUrl sets the statementUrl property value. Specifies the URL of the application's GDPR or privacy compliance statement, outlining how user data is handled. +func (m *ApplicationRiskFactorLegalInfoGdpr) SetStatementUrl(value *string)() { + err := m.GetBackingStore().Set("statementUrl", value) + if err != nil { + panic(err) + } +} +// SetUserOwnership sets the userOwnership property value. The userOwnership property +func (m *ApplicationRiskFactorLegalInfoGdpr) SetUserOwnership(value *UserOwnership)() { + err := m.GetBackingStore().Set("userOwnership", value) + if err != nil { + panic(err) + } +} +type ApplicationRiskFactorLegalInfoGdprable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) + GetDataProtection()(*DataProtection) + GetHasRightToErasure()(*bool) + GetIsReportingDataBreaches()(*bool) + GetOdataType()(*string) + GetStatementUrl()(*string) + GetUserOwnership()(*UserOwnership) + SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() + SetDataProtection(value *DataProtection)() + SetHasRightToErasure(value *bool)() + SetIsReportingDataBreaches(value *bool)() + SetOdataType(value *string)() + SetStatementUrl(value *string)() + SetUserOwnership(value *UserOwnership)() +} diff --git a/models/application_risk_factor_security_info.go b/models/application_risk_factor_security_info.go new file mode 100644 index 0000000000..f46b565a10 --- /dev/null +++ b/models/application_risk_factor_security_info.go @@ -0,0 +1,1050 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" +) + +type ApplicationRiskFactorSecurityInfo struct { + // Stores model information. + backingStore ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore +} +// NewApplicationRiskFactorSecurityInfo instantiates a new ApplicationRiskFactorSecurityInfo and sets the default values. +func NewApplicationRiskFactorSecurityInfo()(*ApplicationRiskFactorSecurityInfo) { + m := &ApplicationRiskFactorSecurityInfo{ + } + m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); + m.SetAdditionalData(make(map[string]any)) + return m +} +// CreateApplicationRiskFactorSecurityInfoFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateApplicationRiskFactorSecurityInfoFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewApplicationRiskFactorSecurityInfo(), nil +} +// GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +// returns a map[string]any when successful +func (m *ApplicationRiskFactorSecurityInfo) GetAdditionalData()(map[string]any) { + val , err := m.backingStore.Get("additionalData") + if err != nil { + panic(err) + } + if val == nil { + var value = make(map[string]any); + m.SetAdditionalData(value); + } + return val.(map[string]any) +} +// GetBackingStore gets the BackingStore property value. Stores model information. +// returns a BackingStore when successful +func (m *ApplicationRiskFactorSecurityInfo) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) { + return m.backingStore +} +// GetCertificate gets the certificate property value. The certificate property +// returns a ApplicationRiskFactorCertificateInfoable when successful +func (m *ApplicationRiskFactorSecurityInfo) GetCertificate()(ApplicationRiskFactorCertificateInfoable) { + val, err := m.GetBackingStore().Get("certificate") + if err != nil { + panic(err) + } + if val != nil { + return val.(ApplicationRiskFactorCertificateInfoable) + } + return nil +} +// GetDomainToCheck gets the domainToCheck property value. Specifies the domain or hostname evaluated during the security assessment. +// returns a *string when successful +func (m *ApplicationRiskFactorSecurityInfo) GetDomainToCheck()(*string) { + val, err := m.GetBackingStore().Get("domainToCheck") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *ApplicationRiskFactorSecurityInfo) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) + res["certificate"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetObjectValue(CreateApplicationRiskFactorCertificateInfoFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + m.SetCertificate(val.(ApplicationRiskFactorCertificateInfoable)) + } + return nil + } + res["domainToCheck"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetDomainToCheck(val) + } + return nil + } + res["hasAdminAuditTrail"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetBoolValue() + if err != nil { + return err + } + if val != nil { + m.SetHasAdminAuditTrail(val) + } + return nil + } + res["hasAnonymousUsage"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetBoolValue() + if err != nil { + return err + } + if val != nil { + m.SetHasAnonymousUsage(val) + } + return nil + } + res["hasDataAuditTrail"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetBoolValue() + if err != nil { + return err + } + if val != nil { + m.SetHasDataAuditTrail(val) + } + return nil + } + res["hasDataClassification"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetBoolValue() + if err != nil { + return err + } + if val != nil { + m.SetHasDataClassification(val) + } + return nil + } + res["hasDataEncrypted"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetBoolValue() + if err != nil { + return err + } + if val != nil { + m.SetHasDataEncrypted(val) + } + return nil + } + res["hasEnforceTransportEnc"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetBoolValue() + if err != nil { + return err + } + if val != nil { + m.SetHasEnforceTransportEnc(val) + } + return nil + } + res["hasIpRestriction"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetBoolValue() + if err != nil { + return err + } + if val != nil { + m.SetHasIpRestriction(val) + } + return nil + } + res["hasMFA"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetBoolValue() + if err != nil { + return err + } + if val != nil { + m.SetHasMFA(val) + } + return nil + } + res["hasPenTest"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetBoolValue() + if err != nil { + return err + } + if val != nil { + m.SetHasPenTest(val) + } + return nil + } + res["hasRememberPassword"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetBoolValue() + if err != nil { + return err + } + if val != nil { + m.SetHasRememberPassword(val) + } + return nil + } + res["hasSamlSupport"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetBoolValue() + if err != nil { + return err + } + if val != nil { + m.SetHasSamlSupport(val) + } + return nil + } + res["hasUserAuditLogs"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetBoolValue() + if err != nil { + return err + } + if val != nil { + m.SetHasUserAuditLogs(val) + } + return nil + } + res["hasUserDataUpload"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetBoolValue() + if err != nil { + return err + } + if val != nil { + m.SetHasUserDataUpload(val) + } + return nil + } + res["hasUserRolesSupport"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetBoolValue() + if err != nil { + return err + } + if val != nil { + m.SetHasUserRolesSupport(val) + } + return nil + } + res["hasValidCertName"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetBoolValue() + if err != nil { + return err + } + if val != nil { + m.SetHasValidCertName(val) + } + return nil + } + res["httpsSecurityHeaders"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfPrimitiveValues("string") + if err != nil { + return err + } + if val != nil { + res := make([]string, len(val)) + for i, v := range val { + if v != nil { + res[i] = *(v.(*string)) + } + } + m.SetHttpsSecurityHeaders(res) + } + return nil + } + res["isCertTrusted"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetBoolValue() + if err != nil { + return err + } + if val != nil { + m.SetIsCertTrusted(val) + } + return nil + } + res["isDrownVulnerable"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetBoolValue() + if err != nil { + return err + } + if val != nil { + m.SetIsDrownVulnerable(val) + } + return nil + } + res["isHeartbleedProof"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetBoolValue() + if err != nil { + return err + } + if val != nil { + m.SetIsHeartbleedProof(val) + } + return nil + } + res["lastBreachDate"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetDateOnlyValue() + if err != nil { + return err + } + if val != nil { + m.SetLastBreachDate(val) + } + return nil + } + res["latestValidSSL"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetEnumValue(ParseSslVersion) + if err != nil { + return err + } + if val != nil { + m.SetLatestValidSSL(val.(*SslVersion)) + } + return nil + } + res["@odata.type"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetOdataType(val) + } + return nil + } + res["passwordPolicy"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetEnumValue(ParsePasswordPolicy) + if err != nil { + return err + } + if val != nil { + m.SetPasswordPolicy(val.(*PasswordPolicy)) + } + return nil + } + res["restEncryptionType"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetEnumValue(ParseRestEncryptionType) + if err != nil { + return err + } + if val != nil { + m.SetRestEncryptionType(val.(*RestEncryptionType)) + } + return nil + } + return res +} +// GetHasAdminAuditTrail gets the hasAdminAuditTrail property value. Indicates whether the application maintains an audit trail for administrative actions. +// returns a *bool when successful +func (m *ApplicationRiskFactorSecurityInfo) GetHasAdminAuditTrail()(*bool) { + val, err := m.GetBackingStore().Get("hasAdminAuditTrail") + if err != nil { + panic(err) + } + if val != nil { + return val.(*bool) + } + return nil +} +// GetHasAnonymousUsage gets the hasAnonymousUsage property value. Indicates whether the application allows anonymous or unauthenticated usage. +// returns a *bool when successful +func (m *ApplicationRiskFactorSecurityInfo) GetHasAnonymousUsage()(*bool) { + val, err := m.GetBackingStore().Get("hasAnonymousUsage") + if err != nil { + panic(err) + } + if val != nil { + return val.(*bool) + } + return nil +} +// GetHasDataAuditTrail gets the hasDataAuditTrail property value. Indicates whether the application logs access or modification of customer data for audit purposes. +// returns a *bool when successful +func (m *ApplicationRiskFactorSecurityInfo) GetHasDataAuditTrail()(*bool) { + val, err := m.GetBackingStore().Get("hasDataAuditTrail") + if err != nil { + panic(err) + } + if val != nil { + return val.(*bool) + } + return nil +} +// GetHasDataClassification gets the hasDataClassification property value. Indicates whether the application classifies and labels data based on sensitivity levels. +// returns a *bool when successful +func (m *ApplicationRiskFactorSecurityInfo) GetHasDataClassification()(*bool) { + val, err := m.GetBackingStore().Get("hasDataClassification") + if err != nil { + panic(err) + } + if val != nil { + return val.(*bool) + } + return nil +} +// GetHasDataEncrypted gets the hasDataEncrypted property value. Indicates whether data at rest and in transit are encrypted using approved algorithms. +// returns a *bool when successful +func (m *ApplicationRiskFactorSecurityInfo) GetHasDataEncrypted()(*bool) { + val, err := m.GetBackingStore().Get("hasDataEncrypted") + if err != nil { + panic(err) + } + if val != nil { + return val.(*bool) + } + return nil +} +// GetHasEnforceTransportEnc gets the hasEnforceTransportEnc property value. Indicates whether HTTPS or equivalent secure transport is enforced for all communication channels. +// returns a *bool when successful +func (m *ApplicationRiskFactorSecurityInfo) GetHasEnforceTransportEnc()(*bool) { + val, err := m.GetBackingStore().Get("hasEnforceTransportEnc") + if err != nil { + panic(err) + } + if val != nil { + return val.(*bool) + } + return nil +} +// GetHasIpRestriction gets the hasIpRestriction property value. Indicates whether access to the application can be restricted based on IP address or network range. +// returns a *bool when successful +func (m *ApplicationRiskFactorSecurityInfo) GetHasIpRestriction()(*bool) { + val, err := m.GetBackingStore().Get("hasIpRestriction") + if err != nil { + panic(err) + } + if val != nil { + return val.(*bool) + } + return nil +} +// GetHasMFA gets the hasMFA property value. Indicates whether the application supports or enforces multi-factor authentication (MFA). +// returns a *bool when successful +func (m *ApplicationRiskFactorSecurityInfo) GetHasMFA()(*bool) { + val, err := m.GetBackingStore().Get("hasMFA") + if err != nil { + panic(err) + } + if val != nil { + return val.(*bool) + } + return nil +} +// GetHasPenTest gets the hasPenTest property value. Indicates whether the application undergoes periodic penetration testing or external security reviews. +// returns a *bool when successful +func (m *ApplicationRiskFactorSecurityInfo) GetHasPenTest()(*bool) { + val, err := m.GetBackingStore().Get("hasPenTest") + if err != nil { + panic(err) + } + if val != nil { + return val.(*bool) + } + return nil +} +// GetHasRememberPassword gets the hasRememberPassword property value. Indicates whether the application supports password-saving functionality, which may pose a security risk. +// returns a *bool when successful +func (m *ApplicationRiskFactorSecurityInfo) GetHasRememberPassword()(*bool) { + val, err := m.GetBackingStore().Get("hasRememberPassword") + if err != nil { + panic(err) + } + if val != nil { + return val.(*bool) + } + return nil +} +// GetHasSamlSupport gets the hasSamlSupport property value. Indicates whether the application supports SAML-based single sign-on (SSO). +// returns a *bool when successful +func (m *ApplicationRiskFactorSecurityInfo) GetHasSamlSupport()(*bool) { + val, err := m.GetBackingStore().Get("hasSamlSupport") + if err != nil { + panic(err) + } + if val != nil { + return val.(*bool) + } + return nil +} +// GetHasUserAuditLogs gets the hasUserAuditLogs property value. Indicates whether user activity is logged for security or compliance monitoring. +// returns a *bool when successful +func (m *ApplicationRiskFactorSecurityInfo) GetHasUserAuditLogs()(*bool) { + val, err := m.GetBackingStore().Get("hasUserAuditLogs") + if err != nil { + panic(err) + } + if val != nil { + return val.(*bool) + } + return nil +} +// GetHasUserDataUpload gets the hasUserDataUpload property value. Indicates whether users can upload or store personal or organizational data within the application. +// returns a *bool when successful +func (m *ApplicationRiskFactorSecurityInfo) GetHasUserDataUpload()(*bool) { + val, err := m.GetBackingStore().Get("hasUserDataUpload") + if err != nil { + panic(err) + } + if val != nil { + return val.(*bool) + } + return nil +} +// GetHasUserRolesSupport gets the hasUserRolesSupport property value. Indicates whether the application supports role-based access control (RBAC). +// returns a *bool when successful +func (m *ApplicationRiskFactorSecurityInfo) GetHasUserRolesSupport()(*bool) { + val, err := m.GetBackingStore().Get("hasUserRolesSupport") + if err != nil { + panic(err) + } + if val != nil { + return val.(*bool) + } + return nil +} +// GetHasValidCertName gets the hasValidCertName property value. Indicates whether the certificate’s common name matches the application’s verified domain. +// returns a *bool when successful +func (m *ApplicationRiskFactorSecurityInfo) GetHasValidCertName()(*bool) { + val, err := m.GetBackingStore().Get("hasValidCertName") + if err != nil { + panic(err) + } + if val != nil { + return val.(*bool) + } + return nil +} +// GetHttpsSecurityHeaders gets the httpsSecurityHeaders property value. Lists the HTTP security headers detected for the application (for example, HSTS, X-Frame-Options, or CSP). +// returns a []string when successful +func (m *ApplicationRiskFactorSecurityInfo) GetHttpsSecurityHeaders()([]string) { + val, err := m.GetBackingStore().Get("httpsSecurityHeaders") + if err != nil { + panic(err) + } + if val != nil { + return val.([]string) + } + return nil +} +// GetIsCertTrusted gets the isCertTrusted property value. Indicates whether the application’s certificate is signed by a trusted certificate authority (CA). +// returns a *bool when successful +func (m *ApplicationRiskFactorSecurityInfo) GetIsCertTrusted()(*bool) { + val, err := m.GetBackingStore().Get("isCertTrusted") + if err != nil { + panic(err) + } + if val != nil { + return val.(*bool) + } + return nil +} +// GetIsDrownVulnerable gets the isDrownVulnerable property value. Indicates whether the application is vulnerable to the DROWN (Decrypting RSA with Obsolete and Weakened eNcryption) attack. +// returns a *bool when successful +func (m *ApplicationRiskFactorSecurityInfo) GetIsDrownVulnerable()(*bool) { + val, err := m.GetBackingStore().Get("isDrownVulnerable") + if err != nil { + panic(err) + } + if val != nil { + return val.(*bool) + } + return nil +} +// GetIsHeartbleedProof gets the isHeartbleedProof property value. Indicates whether the application’s SSL implementation is protected from the Heartbleed vulnerability. +// returns a *bool when successful +func (m *ApplicationRiskFactorSecurityInfo) GetIsHeartbleedProof()(*bool) { + val, err := m.GetBackingStore().Get("isHeartbleedProof") + if err != nil { + panic(err) + } + if val != nil { + return val.(*bool) + } + return nil +} +// GetLastBreachDate gets the lastBreachDate property value. Specifies the date of the last publicly reported data breach or security incident related to the application, if known. +// returns a *DateOnly when successful +func (m *ApplicationRiskFactorSecurityInfo) GetLastBreachDate()(*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.DateOnly) { + val, err := m.GetBackingStore().Get("lastBreachDate") + if err != nil { + panic(err) + } + if val != nil { + return val.(*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.DateOnly) + } + return nil +} +// GetLatestValidSSL gets the latestValidSSL property value. The latestValidSSL property +// returns a *SslVersion when successful +func (m *ApplicationRiskFactorSecurityInfo) GetLatestValidSSL()(*SslVersion) { + val, err := m.GetBackingStore().Get("latestValidSSL") + if err != nil { + panic(err) + } + if val != nil { + return val.(*SslVersion) + } + return nil +} +// GetOdataType gets the @odata.type property value. The OdataType property +// returns a *string when successful +func (m *ApplicationRiskFactorSecurityInfo) GetOdataType()(*string) { + val, err := m.GetBackingStore().Get("odataType") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetPasswordPolicy gets the passwordPolicy property value. The passwordPolicy property +// returns a *PasswordPolicy when successful +func (m *ApplicationRiskFactorSecurityInfo) GetPasswordPolicy()(*PasswordPolicy) { + val, err := m.GetBackingStore().Get("passwordPolicy") + if err != nil { + panic(err) + } + if val != nil { + return val.(*PasswordPolicy) + } + return nil +} +// GetRestEncryptionType gets the restEncryptionType property value. The restEncryptionType property +// returns a *RestEncryptionType when successful +func (m *ApplicationRiskFactorSecurityInfo) GetRestEncryptionType()(*RestEncryptionType) { + val, err := m.GetBackingStore().Get("restEncryptionType") + if err != nil { + panic(err) + } + if val != nil { + return val.(*RestEncryptionType) + } + return nil +} +// Serialize serializes information the current object +func (m *ApplicationRiskFactorSecurityInfo) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + { + err := writer.WriteObjectValue("certificate", m.GetCertificate()) + if err != nil { + return err + } + } + { + err := writer.WriteStringValue("domainToCheck", m.GetDomainToCheck()) + if err != nil { + return err + } + } + { + err := writer.WriteBoolValue("hasAdminAuditTrail", m.GetHasAdminAuditTrail()) + if err != nil { + return err + } + } + { + err := writer.WriteBoolValue("hasAnonymousUsage", m.GetHasAnonymousUsage()) + if err != nil { + return err + } + } + { + err := writer.WriteBoolValue("hasDataAuditTrail", m.GetHasDataAuditTrail()) + if err != nil { + return err + } + } + { + err := writer.WriteBoolValue("hasDataClassification", m.GetHasDataClassification()) + if err != nil { + return err + } + } + { + err := writer.WriteBoolValue("hasDataEncrypted", m.GetHasDataEncrypted()) + if err != nil { + return err + } + } + { + err := writer.WriteBoolValue("hasEnforceTransportEnc", m.GetHasEnforceTransportEnc()) + if err != nil { + return err + } + } + { + err := writer.WriteBoolValue("hasIpRestriction", m.GetHasIpRestriction()) + if err != nil { + return err + } + } + { + err := writer.WriteBoolValue("hasMFA", m.GetHasMFA()) + if err != nil { + return err + } + } + { + err := writer.WriteBoolValue("hasPenTest", m.GetHasPenTest()) + if err != nil { + return err + } + } + { + err := writer.WriteBoolValue("hasRememberPassword", m.GetHasRememberPassword()) + if err != nil { + return err + } + } + { + err := writer.WriteBoolValue("hasSamlSupport", m.GetHasSamlSupport()) + if err != nil { + return err + } + } + { + err := writer.WriteBoolValue("hasUserAuditLogs", m.GetHasUserAuditLogs()) + if err != nil { + return err + } + } + { + err := writer.WriteBoolValue("hasUserDataUpload", m.GetHasUserDataUpload()) + if err != nil { + return err + } + } + { + err := writer.WriteBoolValue("hasUserRolesSupport", m.GetHasUserRolesSupport()) + if err != nil { + return err + } + } + { + err := writer.WriteBoolValue("hasValidCertName", m.GetHasValidCertName()) + if err != nil { + return err + } + } + if m.GetHttpsSecurityHeaders() != nil { + err := writer.WriteCollectionOfStringValues("httpsSecurityHeaders", m.GetHttpsSecurityHeaders()) + if err != nil { + return err + } + } + { + err := writer.WriteBoolValue("isCertTrusted", m.GetIsCertTrusted()) + if err != nil { + return err + } + } + { + err := writer.WriteBoolValue("isDrownVulnerable", m.GetIsDrownVulnerable()) + if err != nil { + return err + } + } + { + err := writer.WriteBoolValue("isHeartbleedProof", m.GetIsHeartbleedProof()) + if err != nil { + return err + } + } + { + err := writer.WriteDateOnlyValue("lastBreachDate", m.GetLastBreachDate()) + if err != nil { + return err + } + } + if m.GetLatestValidSSL() != nil { + cast := (*m.GetLatestValidSSL()).String() + err := writer.WriteStringValue("latestValidSSL", &cast) + if err != nil { + return err + } + } + { + err := writer.WriteStringValue("@odata.type", m.GetOdataType()) + if err != nil { + return err + } + } + if m.GetPasswordPolicy() != nil { + cast := (*m.GetPasswordPolicy()).String() + err := writer.WriteStringValue("passwordPolicy", &cast) + if err != nil { + return err + } + } + if m.GetRestEncryptionType() != nil { + cast := (*m.GetRestEncryptionType()).String() + err := writer.WriteStringValue("restEncryptionType", &cast) + if err != nil { + return err + } + } + { + err := writer.WriteAdditionalData(m.GetAdditionalData()) + if err != nil { + return err + } + } + return nil +} +// SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +func (m *ApplicationRiskFactorSecurityInfo) SetAdditionalData(value map[string]any)() { + err := m.GetBackingStore().Set("additionalData", value) + if err != nil { + panic(err) + } +} +// SetBackingStore sets the BackingStore property value. Stores model information. +func (m *ApplicationRiskFactorSecurityInfo) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { + m.backingStore = value +} +// SetCertificate sets the certificate property value. The certificate property +func (m *ApplicationRiskFactorSecurityInfo) SetCertificate(value ApplicationRiskFactorCertificateInfoable)() { + err := m.GetBackingStore().Set("certificate", value) + if err != nil { + panic(err) + } +} +// SetDomainToCheck sets the domainToCheck property value. Specifies the domain or hostname evaluated during the security assessment. +func (m *ApplicationRiskFactorSecurityInfo) SetDomainToCheck(value *string)() { + err := m.GetBackingStore().Set("domainToCheck", value) + if err != nil { + panic(err) + } +} +// SetHasAdminAuditTrail sets the hasAdminAuditTrail property value. Indicates whether the application maintains an audit trail for administrative actions. +func (m *ApplicationRiskFactorSecurityInfo) SetHasAdminAuditTrail(value *bool)() { + err := m.GetBackingStore().Set("hasAdminAuditTrail", value) + if err != nil { + panic(err) + } +} +// SetHasAnonymousUsage sets the hasAnonymousUsage property value. Indicates whether the application allows anonymous or unauthenticated usage. +func (m *ApplicationRiskFactorSecurityInfo) SetHasAnonymousUsage(value *bool)() { + err := m.GetBackingStore().Set("hasAnonymousUsage", value) + if err != nil { + panic(err) + } +} +// SetHasDataAuditTrail sets the hasDataAuditTrail property value. Indicates whether the application logs access or modification of customer data for audit purposes. +func (m *ApplicationRiskFactorSecurityInfo) SetHasDataAuditTrail(value *bool)() { + err := m.GetBackingStore().Set("hasDataAuditTrail", value) + if err != nil { + panic(err) + } +} +// SetHasDataClassification sets the hasDataClassification property value. Indicates whether the application classifies and labels data based on sensitivity levels. +func (m *ApplicationRiskFactorSecurityInfo) SetHasDataClassification(value *bool)() { + err := m.GetBackingStore().Set("hasDataClassification", value) + if err != nil { + panic(err) + } +} +// SetHasDataEncrypted sets the hasDataEncrypted property value. Indicates whether data at rest and in transit are encrypted using approved algorithms. +func (m *ApplicationRiskFactorSecurityInfo) SetHasDataEncrypted(value *bool)() { + err := m.GetBackingStore().Set("hasDataEncrypted", value) + if err != nil { + panic(err) + } +} +// SetHasEnforceTransportEnc sets the hasEnforceTransportEnc property value. Indicates whether HTTPS or equivalent secure transport is enforced for all communication channels. +func (m *ApplicationRiskFactorSecurityInfo) SetHasEnforceTransportEnc(value *bool)() { + err := m.GetBackingStore().Set("hasEnforceTransportEnc", value) + if err != nil { + panic(err) + } +} +// SetHasIpRestriction sets the hasIpRestriction property value. Indicates whether access to the application can be restricted based on IP address or network range. +func (m *ApplicationRiskFactorSecurityInfo) SetHasIpRestriction(value *bool)() { + err := m.GetBackingStore().Set("hasIpRestriction", value) + if err != nil { + panic(err) + } +} +// SetHasMFA sets the hasMFA property value. Indicates whether the application supports or enforces multi-factor authentication (MFA). +func (m *ApplicationRiskFactorSecurityInfo) SetHasMFA(value *bool)() { + err := m.GetBackingStore().Set("hasMFA", value) + if err != nil { + panic(err) + } +} +// SetHasPenTest sets the hasPenTest property value. Indicates whether the application undergoes periodic penetration testing or external security reviews. +func (m *ApplicationRiskFactorSecurityInfo) SetHasPenTest(value *bool)() { + err := m.GetBackingStore().Set("hasPenTest", value) + if err != nil { + panic(err) + } +} +// SetHasRememberPassword sets the hasRememberPassword property value. Indicates whether the application supports password-saving functionality, which may pose a security risk. +func (m *ApplicationRiskFactorSecurityInfo) SetHasRememberPassword(value *bool)() { + err := m.GetBackingStore().Set("hasRememberPassword", value) + if err != nil { + panic(err) + } +} +// SetHasSamlSupport sets the hasSamlSupport property value. Indicates whether the application supports SAML-based single sign-on (SSO). +func (m *ApplicationRiskFactorSecurityInfo) SetHasSamlSupport(value *bool)() { + err := m.GetBackingStore().Set("hasSamlSupport", value) + if err != nil { + panic(err) + } +} +// SetHasUserAuditLogs sets the hasUserAuditLogs property value. Indicates whether user activity is logged for security or compliance monitoring. +func (m *ApplicationRiskFactorSecurityInfo) SetHasUserAuditLogs(value *bool)() { + err := m.GetBackingStore().Set("hasUserAuditLogs", value) + if err != nil { + panic(err) + } +} +// SetHasUserDataUpload sets the hasUserDataUpload property value. Indicates whether users can upload or store personal or organizational data within the application. +func (m *ApplicationRiskFactorSecurityInfo) SetHasUserDataUpload(value *bool)() { + err := m.GetBackingStore().Set("hasUserDataUpload", value) + if err != nil { + panic(err) + } +} +// SetHasUserRolesSupport sets the hasUserRolesSupport property value. Indicates whether the application supports role-based access control (RBAC). +func (m *ApplicationRiskFactorSecurityInfo) SetHasUserRolesSupport(value *bool)() { + err := m.GetBackingStore().Set("hasUserRolesSupport", value) + if err != nil { + panic(err) + } +} +// SetHasValidCertName sets the hasValidCertName property value. Indicates whether the certificate’s common name matches the application’s verified domain. +func (m *ApplicationRiskFactorSecurityInfo) SetHasValidCertName(value *bool)() { + err := m.GetBackingStore().Set("hasValidCertName", value) + if err != nil { + panic(err) + } +} +// SetHttpsSecurityHeaders sets the httpsSecurityHeaders property value. Lists the HTTP security headers detected for the application (for example, HSTS, X-Frame-Options, or CSP). +func (m *ApplicationRiskFactorSecurityInfo) SetHttpsSecurityHeaders(value []string)() { + err := m.GetBackingStore().Set("httpsSecurityHeaders", value) + if err != nil { + panic(err) + } +} +// SetIsCertTrusted sets the isCertTrusted property value. Indicates whether the application’s certificate is signed by a trusted certificate authority (CA). +func (m *ApplicationRiskFactorSecurityInfo) SetIsCertTrusted(value *bool)() { + err := m.GetBackingStore().Set("isCertTrusted", value) + if err != nil { + panic(err) + } +} +// SetIsDrownVulnerable sets the isDrownVulnerable property value. Indicates whether the application is vulnerable to the DROWN (Decrypting RSA with Obsolete and Weakened eNcryption) attack. +func (m *ApplicationRiskFactorSecurityInfo) SetIsDrownVulnerable(value *bool)() { + err := m.GetBackingStore().Set("isDrownVulnerable", value) + if err != nil { + panic(err) + } +} +// SetIsHeartbleedProof sets the isHeartbleedProof property value. Indicates whether the application’s SSL implementation is protected from the Heartbleed vulnerability. +func (m *ApplicationRiskFactorSecurityInfo) SetIsHeartbleedProof(value *bool)() { + err := m.GetBackingStore().Set("isHeartbleedProof", value) + if err != nil { + panic(err) + } +} +// SetLastBreachDate sets the lastBreachDate property value. Specifies the date of the last publicly reported data breach or security incident related to the application, if known. +func (m *ApplicationRiskFactorSecurityInfo) SetLastBreachDate(value *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.DateOnly)() { + err := m.GetBackingStore().Set("lastBreachDate", value) + if err != nil { + panic(err) + } +} +// SetLatestValidSSL sets the latestValidSSL property value. The latestValidSSL property +func (m *ApplicationRiskFactorSecurityInfo) SetLatestValidSSL(value *SslVersion)() { + err := m.GetBackingStore().Set("latestValidSSL", value) + if err != nil { + panic(err) + } +} +// SetOdataType sets the @odata.type property value. The OdataType property +func (m *ApplicationRiskFactorSecurityInfo) SetOdataType(value *string)() { + err := m.GetBackingStore().Set("odataType", value) + if err != nil { + panic(err) + } +} +// SetPasswordPolicy sets the passwordPolicy property value. The passwordPolicy property +func (m *ApplicationRiskFactorSecurityInfo) SetPasswordPolicy(value *PasswordPolicy)() { + err := m.GetBackingStore().Set("passwordPolicy", value) + if err != nil { + panic(err) + } +} +// SetRestEncryptionType sets the restEncryptionType property value. The restEncryptionType property +func (m *ApplicationRiskFactorSecurityInfo) SetRestEncryptionType(value *RestEncryptionType)() { + err := m.GetBackingStore().Set("restEncryptionType", value) + if err != nil { + panic(err) + } +} +type ApplicationRiskFactorSecurityInfoable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) + GetCertificate()(ApplicationRiskFactorCertificateInfoable) + GetDomainToCheck()(*string) + GetHasAdminAuditTrail()(*bool) + GetHasAnonymousUsage()(*bool) + GetHasDataAuditTrail()(*bool) + GetHasDataClassification()(*bool) + GetHasDataEncrypted()(*bool) + GetHasEnforceTransportEnc()(*bool) + GetHasIpRestriction()(*bool) + GetHasMFA()(*bool) + GetHasPenTest()(*bool) + GetHasRememberPassword()(*bool) + GetHasSamlSupport()(*bool) + GetHasUserAuditLogs()(*bool) + GetHasUserDataUpload()(*bool) + GetHasUserRolesSupport()(*bool) + GetHasValidCertName()(*bool) + GetHttpsSecurityHeaders()([]string) + GetIsCertTrusted()(*bool) + GetIsDrownVulnerable()(*bool) + GetIsHeartbleedProof()(*bool) + GetLastBreachDate()(*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.DateOnly) + GetLatestValidSSL()(*SslVersion) + GetOdataType()(*string) + GetPasswordPolicy()(*PasswordPolicy) + GetRestEncryptionType()(*RestEncryptionType) + SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() + SetCertificate(value ApplicationRiskFactorCertificateInfoable)() + SetDomainToCheck(value *string)() + SetHasAdminAuditTrail(value *bool)() + SetHasAnonymousUsage(value *bool)() + SetHasDataAuditTrail(value *bool)() + SetHasDataClassification(value *bool)() + SetHasDataEncrypted(value *bool)() + SetHasEnforceTransportEnc(value *bool)() + SetHasIpRestriction(value *bool)() + SetHasMFA(value *bool)() + SetHasPenTest(value *bool)() + SetHasRememberPassword(value *bool)() + SetHasSamlSupport(value *bool)() + SetHasUserAuditLogs(value *bool)() + SetHasUserDataUpload(value *bool)() + SetHasUserRolesSupport(value *bool)() + SetHasValidCertName(value *bool)() + SetHttpsSecurityHeaders(value []string)() + SetIsCertTrusted(value *bool)() + SetIsDrownVulnerable(value *bool)() + SetIsHeartbleedProof(value *bool)() + SetLastBreachDate(value *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.DateOnly)() + SetLatestValidSSL(value *SslVersion)() + SetOdataType(value *string)() + SetPasswordPolicy(value *PasswordPolicy)() + SetRestEncryptionType(value *RestEncryptionType)() +} diff --git a/models/application_risk_factors.go b/models/application_risk_factors.go new file mode 100644 index 0000000000..e755497a3d --- /dev/null +++ b/models/application_risk_factors.go @@ -0,0 +1,264 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" +) + +type ApplicationRiskFactors struct { + // Stores model information. + backingStore ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore +} +// NewApplicationRiskFactors instantiates a new ApplicationRiskFactors and sets the default values. +func NewApplicationRiskFactors()(*ApplicationRiskFactors) { + m := &ApplicationRiskFactors{ + } + m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); + m.SetAdditionalData(make(map[string]any)) + return m +} +// CreateApplicationRiskFactorsFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateApplicationRiskFactorsFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewApplicationRiskFactors(), nil +} +// GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +// returns a map[string]any when successful +func (m *ApplicationRiskFactors) GetAdditionalData()(map[string]any) { + val , err := m.backingStore.Get("additionalData") + if err != nil { + panic(err) + } + if val == nil { + var value = make(map[string]any); + m.SetAdditionalData(value); + } + return val.(map[string]any) +} +// GetBackingStore gets the BackingStore property value. Stores model information. +// returns a BackingStore when successful +func (m *ApplicationRiskFactors) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) { + return m.backingStore +} +// GetCompliance gets the compliance property value. Provides information about the application's adherence to security frameworks, certifications, and industry compliance standards. +// returns a ApplicationSecurityComplianceable when successful +func (m *ApplicationRiskFactors) GetCompliance()(ApplicationSecurityComplianceable) { + val, err := m.GetBackingStore().Get("compliance") + if err != nil { + panic(err) + } + if val != nil { + return val.(ApplicationSecurityComplianceable) + } + return nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *ApplicationRiskFactors) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) + res["compliance"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetObjectValue(CreateApplicationSecurityComplianceFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + m.SetCompliance(val.(ApplicationSecurityComplianceable)) + } + return nil + } + res["general"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetObjectValue(CreateApplicationRiskFactorGeneralInfoFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + m.SetGeneral(val.(ApplicationRiskFactorGeneralInfoable)) + } + return nil + } + res["legal"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetObjectValue(CreateApplicationRiskFactorLegalInfoFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + m.SetLegal(val.(ApplicationRiskFactorLegalInfoable)) + } + return nil + } + res["@odata.type"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetOdataType(val) + } + return nil + } + res["security"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetObjectValue(CreateApplicationRiskFactorSecurityInfoFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + m.SetSecurity(val.(ApplicationRiskFactorSecurityInfoable)) + } + return nil + } + return res +} +// GetGeneral gets the general property value. Contains general business, operational, and data handling details that influence the application's risk assessment. +// returns a ApplicationRiskFactorGeneralInfoable when successful +func (m *ApplicationRiskFactors) GetGeneral()(ApplicationRiskFactorGeneralInfoable) { + val, err := m.GetBackingStore().Get("general") + if err != nil { + panic(err) + } + if val != nil { + return val.(ApplicationRiskFactorGeneralInfoable) + } + return nil +} +// GetLegal gets the legal property value. Provides legal and regulatory compliance information, including data ownership, retention, and GDPR adherence. +// returns a ApplicationRiskFactorLegalInfoable when successful +func (m *ApplicationRiskFactors) GetLegal()(ApplicationRiskFactorLegalInfoable) { + val, err := m.GetBackingStore().Get("legal") + if err != nil { + panic(err) + } + if val != nil { + return val.(ApplicationRiskFactorLegalInfoable) + } + return nil +} +// GetOdataType gets the @odata.type property value. The OdataType property +// returns a *string when successful +func (m *ApplicationRiskFactors) GetOdataType()(*string) { + val, err := m.GetBackingStore().Get("odataType") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetSecurity gets the security property value. Contains information related to the application's security posture, such as encryption, authentication, and vulnerability management practices. +// returns a ApplicationRiskFactorSecurityInfoable when successful +func (m *ApplicationRiskFactors) GetSecurity()(ApplicationRiskFactorSecurityInfoable) { + val, err := m.GetBackingStore().Get("security") + if err != nil { + panic(err) + } + if val != nil { + return val.(ApplicationRiskFactorSecurityInfoable) + } + return nil +} +// Serialize serializes information the current object +func (m *ApplicationRiskFactors) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + { + err := writer.WriteObjectValue("compliance", m.GetCompliance()) + if err != nil { + return err + } + } + { + err := writer.WriteObjectValue("general", m.GetGeneral()) + if err != nil { + return err + } + } + { + err := writer.WriteObjectValue("legal", m.GetLegal()) + if err != nil { + return err + } + } + { + err := writer.WriteStringValue("@odata.type", m.GetOdataType()) + if err != nil { + return err + } + } + { + err := writer.WriteObjectValue("security", m.GetSecurity()) + if err != nil { + return err + } + } + { + err := writer.WriteAdditionalData(m.GetAdditionalData()) + if err != nil { + return err + } + } + return nil +} +// SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +func (m *ApplicationRiskFactors) SetAdditionalData(value map[string]any)() { + err := m.GetBackingStore().Set("additionalData", value) + if err != nil { + panic(err) + } +} +// SetBackingStore sets the BackingStore property value. Stores model information. +func (m *ApplicationRiskFactors) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { + m.backingStore = value +} +// SetCompliance sets the compliance property value. Provides information about the application's adherence to security frameworks, certifications, and industry compliance standards. +func (m *ApplicationRiskFactors) SetCompliance(value ApplicationSecurityComplianceable)() { + err := m.GetBackingStore().Set("compliance", value) + if err != nil { + panic(err) + } +} +// SetGeneral sets the general property value. Contains general business, operational, and data handling details that influence the application's risk assessment. +func (m *ApplicationRiskFactors) SetGeneral(value ApplicationRiskFactorGeneralInfoable)() { + err := m.GetBackingStore().Set("general", value) + if err != nil { + panic(err) + } +} +// SetLegal sets the legal property value. Provides legal and regulatory compliance information, including data ownership, retention, and GDPR adherence. +func (m *ApplicationRiskFactors) SetLegal(value ApplicationRiskFactorLegalInfoable)() { + err := m.GetBackingStore().Set("legal", value) + if err != nil { + panic(err) + } +} +// SetOdataType sets the @odata.type property value. The OdataType property +func (m *ApplicationRiskFactors) SetOdataType(value *string)() { + err := m.GetBackingStore().Set("odataType", value) + if err != nil { + panic(err) + } +} +// SetSecurity sets the security property value. Contains information related to the application's security posture, such as encryption, authentication, and vulnerability management practices. +func (m *ApplicationRiskFactors) SetSecurity(value ApplicationRiskFactorSecurityInfoable)() { + err := m.GetBackingStore().Set("security", value) + if err != nil { + panic(err) + } +} +type ApplicationRiskFactorsable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) + GetCompliance()(ApplicationSecurityComplianceable) + GetGeneral()(ApplicationRiskFactorGeneralInfoable) + GetLegal()(ApplicationRiskFactorLegalInfoable) + GetOdataType()(*string) + GetSecurity()(ApplicationRiskFactorSecurityInfoable) + SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() + SetCompliance(value ApplicationSecurityComplianceable)() + SetGeneral(value ApplicationRiskFactorGeneralInfoable)() + SetLegal(value ApplicationRiskFactorLegalInfoable)() + SetOdataType(value *string)() + SetSecurity(value ApplicationRiskFactorSecurityInfoable)() +} diff --git a/models/application_risk_score.go b/models/application_risk_score.go new file mode 100644 index 0000000000..364dffb456 --- /dev/null +++ b/models/application_risk_score.go @@ -0,0 +1,301 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" +) + +type ApplicationRiskScore struct { + // Stores model information. + backingStore ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore +} +// NewApplicationRiskScore instantiates a new ApplicationRiskScore and sets the default values. +func NewApplicationRiskScore()(*ApplicationRiskScore) { + m := &ApplicationRiskScore{ + } + m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); + m.SetAdditionalData(make(map[string]any)) + return m +} +// CreateApplicationRiskScoreFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateApplicationRiskScoreFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewApplicationRiskScore(), nil +} +// GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +// returns a map[string]any when successful +func (m *ApplicationRiskScore) GetAdditionalData()(map[string]any) { + val , err := m.backingStore.Get("additionalData") + if err != nil { + panic(err) + } + if val == nil { + var value = make(map[string]any); + m.SetAdditionalData(value); + } + return val.(map[string]any) +} +// GetBackingStore gets the BackingStore property value. Stores model information. +// returns a BackingStore when successful +func (m *ApplicationRiskScore) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) { + return m.backingStore +} +// GetCompliance gets the compliance property value. Specifies the compliance risk score based on the application's alignment with regulatory standards and industry certifications such as HIPAA, CSA, and PCI-DSS. +// returns a *float32 when successful +func (m *ApplicationRiskScore) GetCompliance()(*float32) { + val, err := m.GetBackingStore().Get("compliance") + if err != nil { + panic(err) + } + if val != nil { + return val.(*float32) + } + return nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *ApplicationRiskScore) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) + res["compliance"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetFloat32Value() + if err != nil { + return err + } + if val != nil { + m.SetCompliance(val) + } + return nil + } + res["legal"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetFloat32Value() + if err != nil { + return err + } + if val != nil { + m.SetLegal(val) + } + return nil + } + res["@odata.type"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetOdataType(val) + } + return nil + } + res["provider"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetFloat32Value() + if err != nil { + return err + } + if val != nil { + m.SetProvider(val) + } + return nil + } + res["security"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetFloat32Value() + if err != nil { + return err + } + if val != nil { + m.SetSecurity(val) + } + return nil + } + res["total"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetFloat32Value() + if err != nil { + return err + } + if val != nil { + m.SetTotal(val) + } + return nil + } + return res +} +// GetLegal gets the legal property value. Specifies the legal risk score based on data protection practices, privacy policy transparency, and jurisdictional compliance to regulations and policies such as DMCA and data retention policy. +// returns a *float32 when successful +func (m *ApplicationRiskScore) GetLegal()(*float32) { + val, err := m.GetBackingStore().Get("legal") + if err != nil { + panic(err) + } + if val != nil { + return val.(*float32) + } + return nil +} +// GetOdataType gets the @odata.type property value. The OdataType property +// returns a *string when successful +func (m *ApplicationRiskScore) GetOdataType()(*string) { + val, err := m.GetBackingStore().Get("odataType") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetProvider gets the provider property value. Specifies the provider risk score based on vendor credibility, operational maturity, and trustworthiness. +// returns a *float32 when successful +func (m *ApplicationRiskScore) GetProvider()(*float32) { + val, err := m.GetBackingStore().Get("provider") + if err != nil { + panic(err) + } + if val != nil { + return val.(*float32) + } + return nil +} +// GetSecurity gets the security property value. Specifies the security risk score based on authentication strength, encryption, vulnerability management, and overall security hygiene. +// returns a *float32 when successful +func (m *ApplicationRiskScore) GetSecurity()(*float32) { + val, err := m.GetBackingStore().Get("security") + if err != nil { + panic(err) + } + if val != nil { + return val.(*float32) + } + return nil +} +// GetTotal gets the total property value. Represents the composite risk score derived from all risk categories. +// returns a *float32 when successful +func (m *ApplicationRiskScore) GetTotal()(*float32) { + val, err := m.GetBackingStore().Get("total") + if err != nil { + panic(err) + } + if val != nil { + return val.(*float32) + } + return nil +} +// Serialize serializes information the current object +func (m *ApplicationRiskScore) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + { + err := writer.WriteFloat32Value("compliance", m.GetCompliance()) + if err != nil { + return err + } + } + { + err := writer.WriteFloat32Value("legal", m.GetLegal()) + if err != nil { + return err + } + } + { + err := writer.WriteStringValue("@odata.type", m.GetOdataType()) + if err != nil { + return err + } + } + { + err := writer.WriteFloat32Value("provider", m.GetProvider()) + if err != nil { + return err + } + } + { + err := writer.WriteFloat32Value("security", m.GetSecurity()) + if err != nil { + return err + } + } + { + err := writer.WriteFloat32Value("total", m.GetTotal()) + if err != nil { + return err + } + } + { + err := writer.WriteAdditionalData(m.GetAdditionalData()) + if err != nil { + return err + } + } + return nil +} +// SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +func (m *ApplicationRiskScore) SetAdditionalData(value map[string]any)() { + err := m.GetBackingStore().Set("additionalData", value) + if err != nil { + panic(err) + } +} +// SetBackingStore sets the BackingStore property value. Stores model information. +func (m *ApplicationRiskScore) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { + m.backingStore = value +} +// SetCompliance sets the compliance property value. Specifies the compliance risk score based on the application's alignment with regulatory standards and industry certifications such as HIPAA, CSA, and PCI-DSS. +func (m *ApplicationRiskScore) SetCompliance(value *float32)() { + err := m.GetBackingStore().Set("compliance", value) + if err != nil { + panic(err) + } +} +// SetLegal sets the legal property value. Specifies the legal risk score based on data protection practices, privacy policy transparency, and jurisdictional compliance to regulations and policies such as DMCA and data retention policy. +func (m *ApplicationRiskScore) SetLegal(value *float32)() { + err := m.GetBackingStore().Set("legal", value) + if err != nil { + panic(err) + } +} +// SetOdataType sets the @odata.type property value. The OdataType property +func (m *ApplicationRiskScore) SetOdataType(value *string)() { + err := m.GetBackingStore().Set("odataType", value) + if err != nil { + panic(err) + } +} +// SetProvider sets the provider property value. Specifies the provider risk score based on vendor credibility, operational maturity, and trustworthiness. +func (m *ApplicationRiskScore) SetProvider(value *float32)() { + err := m.GetBackingStore().Set("provider", value) + if err != nil { + panic(err) + } +} +// SetSecurity sets the security property value. Specifies the security risk score based on authentication strength, encryption, vulnerability management, and overall security hygiene. +func (m *ApplicationRiskScore) SetSecurity(value *float32)() { + err := m.GetBackingStore().Set("security", value) + if err != nil { + panic(err) + } +} +// SetTotal sets the total property value. Represents the composite risk score derived from all risk categories. +func (m *ApplicationRiskScore) SetTotal(value *float32)() { + err := m.GetBackingStore().Set("total", value) + if err != nil { + panic(err) + } +} +type ApplicationRiskScoreable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) + GetCompliance()(*float32) + GetLegal()(*float32) + GetOdataType()(*string) + GetProvider()(*float32) + GetSecurity()(*float32) + GetTotal()(*float32) + SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() + SetCompliance(value *float32)() + SetLegal(value *float32)() + SetOdataType(value *string)() + SetProvider(value *float32)() + SetSecurity(value *float32)() + SetTotal(value *float32)() +} diff --git a/models/application_security_compliance.go b/models/application_security_compliance.go new file mode 100644 index 0000000000..af30e7e495 --- /dev/null +++ b/models/application_security_compliance.go @@ -0,0 +1,1229 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" +) + +type ApplicationSecurityCompliance struct { + // Stores model information. + backingStore ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore +} +// NewApplicationSecurityCompliance instantiates a new ApplicationSecurityCompliance and sets the default values. +func NewApplicationSecurityCompliance()(*ApplicationSecurityCompliance) { + m := &ApplicationSecurityCompliance{ + } + m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); + m.SetAdditionalData(make(map[string]any)) + return m +} +// CreateApplicationSecurityComplianceFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateApplicationSecurityComplianceFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewApplicationSecurityCompliance(), nil +} +// GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +// returns a map[string]any when successful +func (m *ApplicationSecurityCompliance) GetAdditionalData()(map[string]any) { + val , err := m.backingStore.Get("additionalData") + if err != nil { + panic(err) + } + if val == nil { + var value = make(map[string]any); + m.SetAdditionalData(value); + } + return val.(map[string]any) +} +// GetBackingStore gets the BackingStore property value. Stores model information. +// returns a BackingStore when successful +func (m *ApplicationSecurityCompliance) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) { + return m.backingStore +} +// GetCobit gets the cobit property value. Indicates whether the application adheres to the Control Objectives for Information and Related Technologies (COBIT) framework. +// returns a *bool when successful +func (m *ApplicationSecurityCompliance) GetCobit()(*bool) { + val, err := m.GetBackingStore().Get("cobit") + if err != nil { + panic(err) + } + if val != nil { + return val.(*bool) + } + return nil +} +// GetCoppa gets the coppa property value. Indicates whether the application complies with the Children’s Online Privacy Protection Act (COPPA). +// returns a *bool when successful +func (m *ApplicationSecurityCompliance) GetCoppa()(*bool) { + val, err := m.GetBackingStore().Get("coppa") + if err != nil { + panic(err) + } + if val != nil { + return val.(*bool) + } + return nil +} +// GetCsaStar gets the csaStar property value. Specifies the Cloud Security Alliance (CSA) Security, Trust & Assurance Registry (STAR) certification level. The possible values are: none, attestation, certification, continuousMonitoring, cStarAssessment, selfAssessment, notSupported, unknownFutureValue. +// returns a *CsaStarLevel when successful +func (m *ApplicationSecurityCompliance) GetCsaStar()(*CsaStarLevel) { + val, err := m.GetBackingStore().Get("csaStar") + if err != nil { + panic(err) + } + if val != nil { + return val.(*CsaStarLevel) + } + return nil +} +// GetFedRamp gets the fedRamp property value. Specifies the Federal Risk and Authorization Management Program (FedRAMP) certification level. The possible values are: none, high, liSaas, low, moderate, notSupported, unknownFutureValue. +// returns a *FedRampLevel when successful +func (m *ApplicationSecurityCompliance) GetFedRamp()(*FedRampLevel) { + val, err := m.GetBackingStore().Get("fedRamp") + if err != nil { + panic(err) + } + if val != nil { + return val.(*FedRampLevel) + } + return nil +} +// GetFerpa gets the ferpa property value. Indicates whether the application complies with the Family Educational Rights and Privacy Act (FERPA). +// returns a *bool when successful +func (m *ApplicationSecurityCompliance) GetFerpa()(*bool) { + val, err := m.GetBackingStore().Get("ferpa") + if err != nil { + panic(err) + } + if val != nil { + return val.(*bool) + } + return nil +} +// GetFfiec gets the ffiec property value. Indicates whether the application meets Federal Financial Institutions Examination Council (FFIEC) requirements. +// returns a *bool when successful +func (m *ApplicationSecurityCompliance) GetFfiec()(*bool) { + val, err := m.GetBackingStore().Get("ffiec") + if err != nil { + panic(err) + } + if val != nil { + return val.(*bool) + } + return nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *ApplicationSecurityCompliance) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) + res["cobit"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetBoolValue() + if err != nil { + return err + } + if val != nil { + m.SetCobit(val) + } + return nil + } + res["coppa"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetBoolValue() + if err != nil { + return err + } + if val != nil { + m.SetCoppa(val) + } + return nil + } + res["csaStar"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetEnumValue(ParseCsaStarLevel) + if err != nil { + return err + } + if val != nil { + m.SetCsaStar(val.(*CsaStarLevel)) + } + return nil + } + res["fedRamp"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetEnumValue(ParseFedRampLevel) + if err != nil { + return err + } + if val != nil { + m.SetFedRamp(val.(*FedRampLevel)) + } + return nil + } + res["ferpa"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetBoolValue() + if err != nil { + return err + } + if val != nil { + m.SetFerpa(val) + } + return nil + } + res["ffiec"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetBoolValue() + if err != nil { + return err + } + if val != nil { + m.SetFfiec(val) + } + return nil + } + res["finra"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetBoolValue() + if err != nil { + return err + } + if val != nil { + m.SetFinra(val) + } + return nil + } + res["fisma"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetBoolValue() + if err != nil { + return err + } + if val != nil { + m.SetFisma(val) + } + return nil + } + res["gaap"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetBoolValue() + if err != nil { + return err + } + if val != nil { + m.SetGaap(val) + } + return nil + } + res["gapp"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetBoolValue() + if err != nil { + return err + } + if val != nil { + m.SetGapp(val) + } + return nil + } + res["glba"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetBoolValue() + if err != nil { + return err + } + if val != nil { + m.SetGlba(val) + } + return nil + } + res["hipaa"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetBoolValue() + if err != nil { + return err + } + if val != nil { + m.SetHipaa(val) + } + return nil + } + res["hitrust"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetBoolValue() + if err != nil { + return err + } + if val != nil { + m.SetHitrust(val) + } + return nil + } + res["isae3402"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetBoolValue() + if err != nil { + return err + } + if val != nil { + m.SetIsae3402(val) + } + return nil + } + res["iso27001"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetBoolValue() + if err != nil { + return err + } + if val != nil { + m.SetIso27001(val) + } + return nil + } + res["iso27002"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetBoolValue() + if err != nil { + return err + } + if val != nil { + m.SetIso27002(val) + } + return nil + } + res["iso27017"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetBoolValue() + if err != nil { + return err + } + if val != nil { + m.SetIso27017(val) + } + return nil + } + res["iso27018"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetBoolValue() + if err != nil { + return err + } + if val != nil { + m.SetIso27018(val) + } + return nil + } + res["itar"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetBoolValue() + if err != nil { + return err + } + if val != nil { + m.SetItar(val) + } + return nil + } + res["jerichoForumCommandments"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetBoolValue() + if err != nil { + return err + } + if val != nil { + m.SetJerichoForumCommandments(val) + } + return nil + } + res["@odata.type"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetOdataType(val) + } + return nil + } + res["pci"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetEnumValue(ParsePciVersion) + if err != nil { + return err + } + if val != nil { + m.SetPci(val.(*PciVersion)) + } + return nil + } + res["privacyShield"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetBoolValue() + if err != nil { + return err + } + if val != nil { + m.SetPrivacyShield(val) + } + return nil + } + res["safeHarbor"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetBoolValue() + if err != nil { + return err + } + if val != nil { + m.SetSafeHarbor(val) + } + return nil + } + res["soc1"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetBoolValue() + if err != nil { + return err + } + if val != nil { + m.SetSoc1(val) + } + return nil + } + res["soc2"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetBoolValue() + if err != nil { + return err + } + if val != nil { + m.SetSoc2(val) + } + return nil + } + res["soc3"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetBoolValue() + if err != nil { + return err + } + if val != nil { + m.SetSoc3(val) + } + return nil + } + res["sox"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetBoolValue() + if err != nil { + return err + } + if val != nil { + m.SetSox(val) + } + return nil + } + res["sp800_53"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetBoolValue() + if err != nil { + return err + } + if val != nil { + m.SetSp80053(val) + } + return nil + } + res["ssae16"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetBoolValue() + if err != nil { + return err + } + if val != nil { + m.SetSsae16(val) + } + return nil + } + res["ustr"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetBoolValue() + if err != nil { + return err + } + if val != nil { + m.SetUstr(val) + } + return nil + } + return res +} +// GetFinra gets the finra property value. Indicates whether the application complies with Financial Industry Regulatory Authority (FINRA) standards. +// returns a *bool when successful +func (m *ApplicationSecurityCompliance) GetFinra()(*bool) { + val, err := m.GetBackingStore().Get("finra") + if err != nil { + panic(err) + } + if val != nil { + return val.(*bool) + } + return nil +} +// GetFisma gets the fisma property value. Indicates whether the application complies with the Federal Information Security Management Act (FISMA). +// returns a *bool when successful +func (m *ApplicationSecurityCompliance) GetFisma()(*bool) { + val, err := m.GetBackingStore().Get("fisma") + if err != nil { + panic(err) + } + if val != nil { + return val.(*bool) + } + return nil +} +// GetGaap gets the gaap property value. Indicates whether the application provider adheres to Generally Accepted Accounting Principles (GAAP). +// returns a *bool when successful +func (m *ApplicationSecurityCompliance) GetGaap()(*bool) { + val, err := m.GetBackingStore().Get("gaap") + if err != nil { + panic(err) + } + if val != nil { + return val.(*bool) + } + return nil +} +// GetGapp gets the gapp property value. Indicates whether the application adheres to Generally Accepted Privacy Principles (GAPP). +// returns a *bool when successful +func (m *ApplicationSecurityCompliance) GetGapp()(*bool) { + val, err := m.GetBackingStore().Get("gapp") + if err != nil { + panic(err) + } + if val != nil { + return val.(*bool) + } + return nil +} +// GetGlba gets the glba property value. Indicates whether the application complies with the Gramm–Leach–Bliley Act (GLBA) for financial data protection. +// returns a *bool when successful +func (m *ApplicationSecurityCompliance) GetGlba()(*bool) { + val, err := m.GetBackingStore().Get("glba") + if err != nil { + panic(err) + } + if val != nil { + return val.(*bool) + } + return nil +} +// GetHipaa gets the hipaa property value. Indicates whether the application complies with the Health Insurance Portability and Accountability Act (HIPAA). +// returns a *bool when successful +func (m *ApplicationSecurityCompliance) GetHipaa()(*bool) { + val, err := m.GetBackingStore().Get("hipaa") + if err != nil { + panic(err) + } + if val != nil { + return val.(*bool) + } + return nil +} +// GetHitrust gets the hitrust property value. Indicates whether the application holds HITRUST certification, demonstrating alignment with healthcare and data security standards. +// returns a *bool when successful +func (m *ApplicationSecurityCompliance) GetHitrust()(*bool) { + val, err := m.GetBackingStore().Get("hitrust") + if err != nil { + panic(err) + } + if val != nil { + return val.(*bool) + } + return nil +} +// GetIsae3402 gets the isae3402 property value. Indicates whether the application complies with International Standard on Assurance Engagements (ISAE) 3402 requirements. +// returns a *bool when successful +func (m *ApplicationSecurityCompliance) GetIsae3402()(*bool) { + val, err := m.GetBackingStore().Get("isae3402") + if err != nil { + panic(err) + } + if val != nil { + return val.(*bool) + } + return nil +} +// GetIso27001 gets the iso27001 property value. Indicates whether the application is certified against ISO/IEC 27001 for information security management systems (ISMS). +// returns a *bool when successful +func (m *ApplicationSecurityCompliance) GetIso27001()(*bool) { + val, err := m.GetBackingStore().Get("iso27001") + if err != nil { + panic(err) + } + if val != nil { + return val.(*bool) + } + return nil +} +// GetIso27002 gets the iso27002 property value. Indicates whether the application follows ISO/IEC 27002 security control best practices. +// returns a *bool when successful +func (m *ApplicationSecurityCompliance) GetIso27002()(*bool) { + val, err := m.GetBackingStore().Get("iso27002") + if err != nil { + panic(err) + } + if val != nil { + return val.(*bool) + } + return nil +} +// GetIso27017 gets the iso27017 property value. Indicates whether the application complies with ISO/IEC 27017 standards for cloud security controls. +// returns a *bool when successful +func (m *ApplicationSecurityCompliance) GetIso27017()(*bool) { + val, err := m.GetBackingStore().Get("iso27017") + if err != nil { + panic(err) + } + if val != nil { + return val.(*bool) + } + return nil +} +// GetIso27018 gets the iso27018 property value. Indicates whether the application complies with ISO/IEC 27018 standards for protecting personally identifiable information (PII) in cloud environments. +// returns a *bool when successful +func (m *ApplicationSecurityCompliance) GetIso27018()(*bool) { + val, err := m.GetBackingStore().Get("iso27018") + if err != nil { + panic(err) + } + if val != nil { + return val.(*bool) + } + return nil +} +// GetItar gets the itar property value. Indicates whether the application complies with International Traffic in Arms Regulations (ITAR). +// returns a *bool when successful +func (m *ApplicationSecurityCompliance) GetItar()(*bool) { + val, err := m.GetBackingStore().Get("itar") + if err != nil { + panic(err) + } + if val != nil { + return val.(*bool) + } + return nil +} +// GetJerichoForumCommandments gets the jerichoForumCommandments property value. Indicates whether the application aligns with Jericho Forum security principles for deperimeterized environments. +// returns a *bool when successful +func (m *ApplicationSecurityCompliance) GetJerichoForumCommandments()(*bool) { + val, err := m.GetBackingStore().Get("jerichoForumCommandments") + if err != nil { + panic(err) + } + if val != nil { + return val.(*bool) + } + return nil +} +// GetOdataType gets the @odata.type property value. The OdataType property +// returns a *string when successful +func (m *ApplicationSecurityCompliance) GetOdataType()(*string) { + val, err := m.GetBackingStore().Get("odataType") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetPci gets the pci property value. Specifies the Payment Card Industry (PCI) Data Security Standard (DSS) version the application complies with. The possible values are: none, v321, v4, notSupported, unknownFutureValue. +// returns a *PciVersion when successful +func (m *ApplicationSecurityCompliance) GetPci()(*PciVersion) { + val, err := m.GetBackingStore().Get("pci") + if err != nil { + panic(err) + } + if val != nil { + return val.(*PciVersion) + } + return nil +} +// GetPrivacyShield gets the privacyShield property value. Indicates whether the application complies with the EU–U.S. Privacy Shield framework for cross-border data transfers. +// returns a *bool when successful +func (m *ApplicationSecurityCompliance) GetPrivacyShield()(*bool) { + val, err := m.GetBackingStore().Get("privacyShield") + if err != nil { + panic(err) + } + if val != nil { + return val.(*bool) + } + return nil +} +// GetSafeHarbor gets the safeHarbor property value. Indicates whether the application previously adhered to the U.S.–EU Safe Harbor data transfer framework. +// returns a *bool when successful +func (m *ApplicationSecurityCompliance) GetSafeHarbor()(*bool) { + val, err := m.GetBackingStore().Get("safeHarbor") + if err != nil { + panic(err) + } + if val != nil { + return val.(*bool) + } + return nil +} +// GetSoc1 gets the soc1 property value. Indicates whether the application provider undergoes a Service Organization Control (SOC) one audit report. +// returns a *bool when successful +func (m *ApplicationSecurityCompliance) GetSoc1()(*bool) { + val, err := m.GetBackingStore().Get("soc1") + if err != nil { + panic(err) + } + if val != nil { + return val.(*bool) + } + return nil +} +// GetSoc2 gets the soc2 property value. Indicates whether the application provider undergoes a Service Organization Control (SOC) two audit report. +// returns a *bool when successful +func (m *ApplicationSecurityCompliance) GetSoc2()(*bool) { + val, err := m.GetBackingStore().Get("soc2") + if err != nil { + panic(err) + } + if val != nil { + return val.(*bool) + } + return nil +} +// GetSoc3 gets the soc3 property value. Indicates whether the application provider undergoes a Service Organization Control (SOC) three audit report. +// returns a *bool when successful +func (m *ApplicationSecurityCompliance) GetSoc3()(*bool) { + val, err := m.GetBackingStore().Get("soc3") + if err != nil { + panic(err) + } + if val != nil { + return val.(*bool) + } + return nil +} +// GetSox gets the sox property value. Indicates whether the application complies with the Sarbanes–Oxley Act (SOX) financial reporting requirements. +// returns a *bool when successful +func (m *ApplicationSecurityCompliance) GetSox()(*bool) { + val, err := m.GetBackingStore().Get("sox") + if err != nil { + panic(err) + } + if val != nil { + return val.(*bool) + } + return nil +} +// GetSp80053 gets the sp800_53 property value. Indicates whether the application aligns with National Institute of Standards and Technology (NIST) Special Publication 800-53 security and privacy controls. +// returns a *bool when successful +func (m *ApplicationSecurityCompliance) GetSp80053()(*bool) { + val, err := m.GetBackingStore().Get("sp800_53") + if err != nil { + panic(err) + } + if val != nil { + return val.(*bool) + } + return nil +} +// GetSsae16 gets the ssae16 property value. Indicates whether the application adheres to Statement on Standards for Attestation Engagements (SSAE) No. 16. +// returns a *bool when successful +func (m *ApplicationSecurityCompliance) GetSsae16()(*bool) { + val, err := m.GetBackingStore().Get("ssae16") + if err != nil { + panic(err) + } + if val != nil { + return val.(*bool) + } + return nil +} +// GetUstr gets the ustr property value. Indicates whether the application complies with U.S. Trade Representative (USTR) data and trade protection requirements. +// returns a *bool when successful +func (m *ApplicationSecurityCompliance) GetUstr()(*bool) { + val, err := m.GetBackingStore().Get("ustr") + if err != nil { + panic(err) + } + if val != nil { + return val.(*bool) + } + return nil +} +// Serialize serializes information the current object +func (m *ApplicationSecurityCompliance) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + { + err := writer.WriteBoolValue("cobit", m.GetCobit()) + if err != nil { + return err + } + } + { + err := writer.WriteBoolValue("coppa", m.GetCoppa()) + if err != nil { + return err + } + } + if m.GetCsaStar() != nil { + cast := (*m.GetCsaStar()).String() + err := writer.WriteStringValue("csaStar", &cast) + if err != nil { + return err + } + } + if m.GetFedRamp() != nil { + cast := (*m.GetFedRamp()).String() + err := writer.WriteStringValue("fedRamp", &cast) + if err != nil { + return err + } + } + { + err := writer.WriteBoolValue("ferpa", m.GetFerpa()) + if err != nil { + return err + } + } + { + err := writer.WriteBoolValue("ffiec", m.GetFfiec()) + if err != nil { + return err + } + } + { + err := writer.WriteBoolValue("finra", m.GetFinra()) + if err != nil { + return err + } + } + { + err := writer.WriteBoolValue("fisma", m.GetFisma()) + if err != nil { + return err + } + } + { + err := writer.WriteBoolValue("gaap", m.GetGaap()) + if err != nil { + return err + } + } + { + err := writer.WriteBoolValue("gapp", m.GetGapp()) + if err != nil { + return err + } + } + { + err := writer.WriteBoolValue("glba", m.GetGlba()) + if err != nil { + return err + } + } + { + err := writer.WriteBoolValue("hipaa", m.GetHipaa()) + if err != nil { + return err + } + } + { + err := writer.WriteBoolValue("hitrust", m.GetHitrust()) + if err != nil { + return err + } + } + { + err := writer.WriteBoolValue("isae3402", m.GetIsae3402()) + if err != nil { + return err + } + } + { + err := writer.WriteBoolValue("iso27001", m.GetIso27001()) + if err != nil { + return err + } + } + { + err := writer.WriteBoolValue("iso27002", m.GetIso27002()) + if err != nil { + return err + } + } + { + err := writer.WriteBoolValue("iso27017", m.GetIso27017()) + if err != nil { + return err + } + } + { + err := writer.WriteBoolValue("iso27018", m.GetIso27018()) + if err != nil { + return err + } + } + { + err := writer.WriteBoolValue("itar", m.GetItar()) + if err != nil { + return err + } + } + { + err := writer.WriteBoolValue("jerichoForumCommandments", m.GetJerichoForumCommandments()) + if err != nil { + return err + } + } + { + err := writer.WriteStringValue("@odata.type", m.GetOdataType()) + if err != nil { + return err + } + } + if m.GetPci() != nil { + cast := (*m.GetPci()).String() + err := writer.WriteStringValue("pci", &cast) + if err != nil { + return err + } + } + { + err := writer.WriteBoolValue("privacyShield", m.GetPrivacyShield()) + if err != nil { + return err + } + } + { + err := writer.WriteBoolValue("safeHarbor", m.GetSafeHarbor()) + if err != nil { + return err + } + } + { + err := writer.WriteBoolValue("soc1", m.GetSoc1()) + if err != nil { + return err + } + } + { + err := writer.WriteBoolValue("soc2", m.GetSoc2()) + if err != nil { + return err + } + } + { + err := writer.WriteBoolValue("soc3", m.GetSoc3()) + if err != nil { + return err + } + } + { + err := writer.WriteBoolValue("sox", m.GetSox()) + if err != nil { + return err + } + } + { + err := writer.WriteBoolValue("sp800_53", m.GetSp80053()) + if err != nil { + return err + } + } + { + err := writer.WriteBoolValue("ssae16", m.GetSsae16()) + if err != nil { + return err + } + } + { + err := writer.WriteBoolValue("ustr", m.GetUstr()) + if err != nil { + return err + } + } + { + err := writer.WriteAdditionalData(m.GetAdditionalData()) + if err != nil { + return err + } + } + return nil +} +// SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +func (m *ApplicationSecurityCompliance) SetAdditionalData(value map[string]any)() { + err := m.GetBackingStore().Set("additionalData", value) + if err != nil { + panic(err) + } +} +// SetBackingStore sets the BackingStore property value. Stores model information. +func (m *ApplicationSecurityCompliance) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { + m.backingStore = value +} +// SetCobit sets the cobit property value. Indicates whether the application adheres to the Control Objectives for Information and Related Technologies (COBIT) framework. +func (m *ApplicationSecurityCompliance) SetCobit(value *bool)() { + err := m.GetBackingStore().Set("cobit", value) + if err != nil { + panic(err) + } +} +// SetCoppa sets the coppa property value. Indicates whether the application complies with the Children’s Online Privacy Protection Act (COPPA). +func (m *ApplicationSecurityCompliance) SetCoppa(value *bool)() { + err := m.GetBackingStore().Set("coppa", value) + if err != nil { + panic(err) + } +} +// SetCsaStar sets the csaStar property value. Specifies the Cloud Security Alliance (CSA) Security, Trust & Assurance Registry (STAR) certification level. The possible values are: none, attestation, certification, continuousMonitoring, cStarAssessment, selfAssessment, notSupported, unknownFutureValue. +func (m *ApplicationSecurityCompliance) SetCsaStar(value *CsaStarLevel)() { + err := m.GetBackingStore().Set("csaStar", value) + if err != nil { + panic(err) + } +} +// SetFedRamp sets the fedRamp property value. Specifies the Federal Risk and Authorization Management Program (FedRAMP) certification level. The possible values are: none, high, liSaas, low, moderate, notSupported, unknownFutureValue. +func (m *ApplicationSecurityCompliance) SetFedRamp(value *FedRampLevel)() { + err := m.GetBackingStore().Set("fedRamp", value) + if err != nil { + panic(err) + } +} +// SetFerpa sets the ferpa property value. Indicates whether the application complies with the Family Educational Rights and Privacy Act (FERPA). +func (m *ApplicationSecurityCompliance) SetFerpa(value *bool)() { + err := m.GetBackingStore().Set("ferpa", value) + if err != nil { + panic(err) + } +} +// SetFfiec sets the ffiec property value. Indicates whether the application meets Federal Financial Institutions Examination Council (FFIEC) requirements. +func (m *ApplicationSecurityCompliance) SetFfiec(value *bool)() { + err := m.GetBackingStore().Set("ffiec", value) + if err != nil { + panic(err) + } +} +// SetFinra sets the finra property value. Indicates whether the application complies with Financial Industry Regulatory Authority (FINRA) standards. +func (m *ApplicationSecurityCompliance) SetFinra(value *bool)() { + err := m.GetBackingStore().Set("finra", value) + if err != nil { + panic(err) + } +} +// SetFisma sets the fisma property value. Indicates whether the application complies with the Federal Information Security Management Act (FISMA). +func (m *ApplicationSecurityCompliance) SetFisma(value *bool)() { + err := m.GetBackingStore().Set("fisma", value) + if err != nil { + panic(err) + } +} +// SetGaap sets the gaap property value. Indicates whether the application provider adheres to Generally Accepted Accounting Principles (GAAP). +func (m *ApplicationSecurityCompliance) SetGaap(value *bool)() { + err := m.GetBackingStore().Set("gaap", value) + if err != nil { + panic(err) + } +} +// SetGapp sets the gapp property value. Indicates whether the application adheres to Generally Accepted Privacy Principles (GAPP). +func (m *ApplicationSecurityCompliance) SetGapp(value *bool)() { + err := m.GetBackingStore().Set("gapp", value) + if err != nil { + panic(err) + } +} +// SetGlba sets the glba property value. Indicates whether the application complies with the Gramm–Leach–Bliley Act (GLBA) for financial data protection. +func (m *ApplicationSecurityCompliance) SetGlba(value *bool)() { + err := m.GetBackingStore().Set("glba", value) + if err != nil { + panic(err) + } +} +// SetHipaa sets the hipaa property value. Indicates whether the application complies with the Health Insurance Portability and Accountability Act (HIPAA). +func (m *ApplicationSecurityCompliance) SetHipaa(value *bool)() { + err := m.GetBackingStore().Set("hipaa", value) + if err != nil { + panic(err) + } +} +// SetHitrust sets the hitrust property value. Indicates whether the application holds HITRUST certification, demonstrating alignment with healthcare and data security standards. +func (m *ApplicationSecurityCompliance) SetHitrust(value *bool)() { + err := m.GetBackingStore().Set("hitrust", value) + if err != nil { + panic(err) + } +} +// SetIsae3402 sets the isae3402 property value. Indicates whether the application complies with International Standard on Assurance Engagements (ISAE) 3402 requirements. +func (m *ApplicationSecurityCompliance) SetIsae3402(value *bool)() { + err := m.GetBackingStore().Set("isae3402", value) + if err != nil { + panic(err) + } +} +// SetIso27001 sets the iso27001 property value. Indicates whether the application is certified against ISO/IEC 27001 for information security management systems (ISMS). +func (m *ApplicationSecurityCompliance) SetIso27001(value *bool)() { + err := m.GetBackingStore().Set("iso27001", value) + if err != nil { + panic(err) + } +} +// SetIso27002 sets the iso27002 property value. Indicates whether the application follows ISO/IEC 27002 security control best practices. +func (m *ApplicationSecurityCompliance) SetIso27002(value *bool)() { + err := m.GetBackingStore().Set("iso27002", value) + if err != nil { + panic(err) + } +} +// SetIso27017 sets the iso27017 property value. Indicates whether the application complies with ISO/IEC 27017 standards for cloud security controls. +func (m *ApplicationSecurityCompliance) SetIso27017(value *bool)() { + err := m.GetBackingStore().Set("iso27017", value) + if err != nil { + panic(err) + } +} +// SetIso27018 sets the iso27018 property value. Indicates whether the application complies with ISO/IEC 27018 standards for protecting personally identifiable information (PII) in cloud environments. +func (m *ApplicationSecurityCompliance) SetIso27018(value *bool)() { + err := m.GetBackingStore().Set("iso27018", value) + if err != nil { + panic(err) + } +} +// SetItar sets the itar property value. Indicates whether the application complies with International Traffic in Arms Regulations (ITAR). +func (m *ApplicationSecurityCompliance) SetItar(value *bool)() { + err := m.GetBackingStore().Set("itar", value) + if err != nil { + panic(err) + } +} +// SetJerichoForumCommandments sets the jerichoForumCommandments property value. Indicates whether the application aligns with Jericho Forum security principles for deperimeterized environments. +func (m *ApplicationSecurityCompliance) SetJerichoForumCommandments(value *bool)() { + err := m.GetBackingStore().Set("jerichoForumCommandments", value) + if err != nil { + panic(err) + } +} +// SetOdataType sets the @odata.type property value. The OdataType property +func (m *ApplicationSecurityCompliance) SetOdataType(value *string)() { + err := m.GetBackingStore().Set("odataType", value) + if err != nil { + panic(err) + } +} +// SetPci sets the pci property value. Specifies the Payment Card Industry (PCI) Data Security Standard (DSS) version the application complies with. The possible values are: none, v321, v4, notSupported, unknownFutureValue. +func (m *ApplicationSecurityCompliance) SetPci(value *PciVersion)() { + err := m.GetBackingStore().Set("pci", value) + if err != nil { + panic(err) + } +} +// SetPrivacyShield sets the privacyShield property value. Indicates whether the application complies with the EU–U.S. Privacy Shield framework for cross-border data transfers. +func (m *ApplicationSecurityCompliance) SetPrivacyShield(value *bool)() { + err := m.GetBackingStore().Set("privacyShield", value) + if err != nil { + panic(err) + } +} +// SetSafeHarbor sets the safeHarbor property value. Indicates whether the application previously adhered to the U.S.–EU Safe Harbor data transfer framework. +func (m *ApplicationSecurityCompliance) SetSafeHarbor(value *bool)() { + err := m.GetBackingStore().Set("safeHarbor", value) + if err != nil { + panic(err) + } +} +// SetSoc1 sets the soc1 property value. Indicates whether the application provider undergoes a Service Organization Control (SOC) one audit report. +func (m *ApplicationSecurityCompliance) SetSoc1(value *bool)() { + err := m.GetBackingStore().Set("soc1", value) + if err != nil { + panic(err) + } +} +// SetSoc2 sets the soc2 property value. Indicates whether the application provider undergoes a Service Organization Control (SOC) two audit report. +func (m *ApplicationSecurityCompliance) SetSoc2(value *bool)() { + err := m.GetBackingStore().Set("soc2", value) + if err != nil { + panic(err) + } +} +// SetSoc3 sets the soc3 property value. Indicates whether the application provider undergoes a Service Organization Control (SOC) three audit report. +func (m *ApplicationSecurityCompliance) SetSoc3(value *bool)() { + err := m.GetBackingStore().Set("soc3", value) + if err != nil { + panic(err) + } +} +// SetSox sets the sox property value. Indicates whether the application complies with the Sarbanes–Oxley Act (SOX) financial reporting requirements. +func (m *ApplicationSecurityCompliance) SetSox(value *bool)() { + err := m.GetBackingStore().Set("sox", value) + if err != nil { + panic(err) + } +} +// SetSp80053 sets the sp800_53 property value. Indicates whether the application aligns with National Institute of Standards and Technology (NIST) Special Publication 800-53 security and privacy controls. +func (m *ApplicationSecurityCompliance) SetSp80053(value *bool)() { + err := m.GetBackingStore().Set("sp800_53", value) + if err != nil { + panic(err) + } +} +// SetSsae16 sets the ssae16 property value. Indicates whether the application adheres to Statement on Standards for Attestation Engagements (SSAE) No. 16. +func (m *ApplicationSecurityCompliance) SetSsae16(value *bool)() { + err := m.GetBackingStore().Set("ssae16", value) + if err != nil { + panic(err) + } +} +// SetUstr sets the ustr property value. Indicates whether the application complies with U.S. Trade Representative (USTR) data and trade protection requirements. +func (m *ApplicationSecurityCompliance) SetUstr(value *bool)() { + err := m.GetBackingStore().Set("ustr", value) + if err != nil { + panic(err) + } +} +type ApplicationSecurityComplianceable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) + GetCobit()(*bool) + GetCoppa()(*bool) + GetCsaStar()(*CsaStarLevel) + GetFedRamp()(*FedRampLevel) + GetFerpa()(*bool) + GetFfiec()(*bool) + GetFinra()(*bool) + GetFisma()(*bool) + GetGaap()(*bool) + GetGapp()(*bool) + GetGlba()(*bool) + GetHipaa()(*bool) + GetHitrust()(*bool) + GetIsae3402()(*bool) + GetIso27001()(*bool) + GetIso27002()(*bool) + GetIso27017()(*bool) + GetIso27018()(*bool) + GetItar()(*bool) + GetJerichoForumCommandments()(*bool) + GetOdataType()(*string) + GetPci()(*PciVersion) + GetPrivacyShield()(*bool) + GetSafeHarbor()(*bool) + GetSoc1()(*bool) + GetSoc2()(*bool) + GetSoc3()(*bool) + GetSox()(*bool) + GetSp80053()(*bool) + GetSsae16()(*bool) + GetUstr()(*bool) + SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() + SetCobit(value *bool)() + SetCoppa(value *bool)() + SetCsaStar(value *CsaStarLevel)() + SetFedRamp(value *FedRampLevel)() + SetFerpa(value *bool)() + SetFfiec(value *bool)() + SetFinra(value *bool)() + SetFisma(value *bool)() + SetGaap(value *bool)() + SetGapp(value *bool)() + SetGlba(value *bool)() + SetHipaa(value *bool)() + SetHitrust(value *bool)() + SetIsae3402(value *bool)() + SetIso27001(value *bool)() + SetIso27002(value *bool)() + SetIso27017(value *bool)() + SetIso27018(value *bool)() + SetItar(value *bool)() + SetJerichoForumCommandments(value *bool)() + SetOdataType(value *string)() + SetPci(value *PciVersion)() + SetPrivacyShield(value *bool)() + SetSafeHarbor(value *bool)() + SetSoc1(value *bool)() + SetSoc2(value *bool)() + SetSoc3(value *bool)() + SetSox(value *bool)() + SetSp80053(value *bool)() + SetSsae16(value *bool)() + SetUstr(value *bool)() +} diff --git a/models/application_template.go b/models/application_template.go index 5725ccd2d0..d4748003d0 100644 --- a/models/application_template.go +++ b/models/application_template.go @@ -4,6 +4,7 @@ package models import ( + i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e "time" i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" ) @@ -34,6 +35,18 @@ func (m *ApplicationTemplate) GetCategories()([]string) { } return nil } +// GetDeprecationDate gets the deprecationDate property value. Deprecation date for this application. If specified, the application will be removed from the Microsoft Entra application gallery on this date. +// returns a *DateOnly when successful +func (m *ApplicationTemplate) GetDeprecationDate()(*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.DateOnly) { + val, err := m.GetBackingStore().Get("deprecationDate") + if err != nil { + panic(err) + } + if val != nil { + return val.(*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.DateOnly) + } + return nil +} // GetDescription gets the description property value. A description of the application. // returns a *string when successful func (m *ApplicationTemplate) GetDescription()(*string) { @@ -58,6 +71,18 @@ func (m *ApplicationTemplate) GetDisplayName()(*string) { } return nil } +// GetEndpoints gets the endpoints property value. A collection of string URLs representing various domains that are used by this application. +// returns a []string when successful +func (m *ApplicationTemplate) GetEndpoints()([]string) { + val, err := m.GetBackingStore().Get("endpoints") + if err != nil { + panic(err) + } + if val != nil { + return val.([]string) + } + return nil +} // GetFieldDeserializers the deserialization information for the current model // returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful func (m *ApplicationTemplate) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { @@ -78,6 +103,16 @@ func (m *ApplicationTemplate) GetFieldDeserializers()(map[string]func(i878a80d23 } return nil } + res["deprecationDate"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetDateOnlyValue() + if err != nil { + return err + } + if val != nil { + m.SetDeprecationDate(val) + } + return nil + } res["description"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { val, err := n.GetStringValue() if err != nil { @@ -98,6 +133,22 @@ func (m *ApplicationTemplate) GetFieldDeserializers()(map[string]func(i878a80d23 } return nil } + res["endpoints"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfPrimitiveValues("string") + if err != nil { + return err + } + if val != nil { + res := make([]string, len(val)) + for i, v := range val { + if v != nil { + res[i] = *(v.(*string)) + } + } + m.SetEndpoints(res) + } + return nil + } res["homePageUrl"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { val, err := n.GetStringValue() if err != nil { @@ -108,6 +159,26 @@ func (m *ApplicationTemplate) GetFieldDeserializers()(map[string]func(i878a80d23 } return nil } + res["isEntraIntegrated"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetBoolValue() + if err != nil { + return err + } + if val != nil { + m.SetIsEntraIntegrated(val) + } + return nil + } + res["lastModifiedDateTime"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetTimeValue() + if err != nil { + return err + } + if val != nil { + m.SetLastModifiedDateTime(val) + } + return nil + } res["logoUrl"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { val, err := n.GetStringValue() if err != nil { @@ -128,6 +199,26 @@ func (m *ApplicationTemplate) GetFieldDeserializers()(map[string]func(i878a80d23 } return nil } + res["riskFactors"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetObjectValue(CreateApplicationRiskFactorsFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + m.SetRiskFactors(val.(ApplicationRiskFactorsable)) + } + return nil + } + res["riskScore"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetObjectValue(CreateApplicationRiskScoreFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + m.SetRiskScore(val.(ApplicationRiskScoreable)) + } + return nil + } res["supportedProvisioningTypes"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { val, err := n.GetCollectionOfPrimitiveValues("string") if err != nil { @@ -174,6 +265,30 @@ func (m *ApplicationTemplate) GetHomePageUrl()(*string) { } return nil } +// GetIsEntraIntegrated gets the isEntraIntegrated property value. Indicates whether the application is integrated with Entra ID (for example, through single sign-on or user provisioning). +// returns a *bool when successful +func (m *ApplicationTemplate) GetIsEntraIntegrated()(*bool) { + val, err := m.GetBackingStore().Get("isEntraIntegrated") + if err != nil { + panic(err) + } + if val != nil { + return val.(*bool) + } + return nil +} +// GetLastModifiedDateTime gets the lastModifiedDateTime property value. The date and time when the data for the application was last updated, represented using ISO 8601 format and always in UTC time. +// returns a *Time when successful +func (m *ApplicationTemplate) GetLastModifiedDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) { + val, err := m.GetBackingStore().Get("lastModifiedDateTime") + if err != nil { + panic(err) + } + if val != nil { + return val.(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) + } + return nil +} // GetLogoUrl gets the logoUrl property value. The URL to get the logo for this application. // returns a *string when successful func (m *ApplicationTemplate) GetLogoUrl()(*string) { @@ -198,6 +313,30 @@ func (m *ApplicationTemplate) GetPublisher()(*string) { } return nil } +// GetRiskFactors gets the riskFactors property value. A comprehensive set of risk assessment data for the application, including general, security, compliance, and legal dimensions. Returned only when $select is used. +// returns a ApplicationRiskFactorsable when successful +func (m *ApplicationTemplate) GetRiskFactors()(ApplicationRiskFactorsable) { + val, err := m.GetBackingStore().Get("riskFactors") + if err != nil { + panic(err) + } + if val != nil { + return val.(ApplicationRiskFactorsable) + } + return nil +} +// GetRiskScore gets the riskScore property value. Represents the Microsoft-generated numerical risk score assessment for the application. Supported $orderby on total (for example, $orderby=riskScore/total desc). Returned only when $select is used. +// returns a ApplicationRiskScoreable when successful +func (m *ApplicationTemplate) GetRiskScore()(ApplicationRiskScoreable) { + val, err := m.GetBackingStore().Get("riskScore") + if err != nil { + panic(err) + } + if val != nil { + return val.(ApplicationRiskScoreable) + } + return nil +} // GetSupportedProvisioningTypes gets the supportedProvisioningTypes property value. The list of provisioning modes supported by this application. The only valid value is sync. // returns a []string when successful func (m *ApplicationTemplate) GetSupportedProvisioningTypes()([]string) { @@ -234,6 +373,12 @@ func (m *ApplicationTemplate) Serialize(writer i878a80d2330e89d26896388a3f487eef return err } } + { + err = writer.WriteDateOnlyValue("deprecationDate", m.GetDeprecationDate()) + if err != nil { + return err + } + } { err = writer.WriteStringValue("description", m.GetDescription()) if err != nil { @@ -246,12 +391,30 @@ func (m *ApplicationTemplate) Serialize(writer i878a80d2330e89d26896388a3f487eef return err } } + if m.GetEndpoints() != nil { + err = writer.WriteCollectionOfStringValues("endpoints", m.GetEndpoints()) + if err != nil { + return err + } + } { err = writer.WriteStringValue("homePageUrl", m.GetHomePageUrl()) if err != nil { return err } } + { + err = writer.WriteBoolValue("isEntraIntegrated", m.GetIsEntraIntegrated()) + if err != nil { + return err + } + } + { + err = writer.WriteTimeValue("lastModifiedDateTime", m.GetLastModifiedDateTime()) + if err != nil { + return err + } + } { err = writer.WriteStringValue("logoUrl", m.GetLogoUrl()) if err != nil { @@ -264,6 +427,18 @@ func (m *ApplicationTemplate) Serialize(writer i878a80d2330e89d26896388a3f487eef return err } } + { + err = writer.WriteObjectValue("riskFactors", m.GetRiskFactors()) + if err != nil { + return err + } + } + { + err = writer.WriteObjectValue("riskScore", m.GetRiskScore()) + if err != nil { + return err + } + } if m.GetSupportedProvisioningTypes() != nil { err = writer.WriteCollectionOfStringValues("supportedProvisioningTypes", m.GetSupportedProvisioningTypes()) if err != nil { @@ -285,6 +460,13 @@ func (m *ApplicationTemplate) SetCategories(value []string)() { panic(err) } } +// SetDeprecationDate sets the deprecationDate property value. Deprecation date for this application. If specified, the application will be removed from the Microsoft Entra application gallery on this date. +func (m *ApplicationTemplate) SetDeprecationDate(value *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.DateOnly)() { + err := m.GetBackingStore().Set("deprecationDate", value) + if err != nil { + panic(err) + } +} // SetDescription sets the description property value. A description of the application. func (m *ApplicationTemplate) SetDescription(value *string)() { err := m.GetBackingStore().Set("description", value) @@ -299,6 +481,13 @@ func (m *ApplicationTemplate) SetDisplayName(value *string)() { panic(err) } } +// SetEndpoints sets the endpoints property value. A collection of string URLs representing various domains that are used by this application. +func (m *ApplicationTemplate) SetEndpoints(value []string)() { + err := m.GetBackingStore().Set("endpoints", value) + if err != nil { + panic(err) + } +} // SetHomePageUrl sets the homePageUrl property value. The home page URL of the application. func (m *ApplicationTemplate) SetHomePageUrl(value *string)() { err := m.GetBackingStore().Set("homePageUrl", value) @@ -306,6 +495,20 @@ func (m *ApplicationTemplate) SetHomePageUrl(value *string)() { panic(err) } } +// SetIsEntraIntegrated sets the isEntraIntegrated property value. Indicates whether the application is integrated with Entra ID (for example, through single sign-on or user provisioning). +func (m *ApplicationTemplate) SetIsEntraIntegrated(value *bool)() { + err := m.GetBackingStore().Set("isEntraIntegrated", value) + if err != nil { + panic(err) + } +} +// SetLastModifiedDateTime sets the lastModifiedDateTime property value. The date and time when the data for the application was last updated, represented using ISO 8601 format and always in UTC time. +func (m *ApplicationTemplate) SetLastModifiedDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() { + err := m.GetBackingStore().Set("lastModifiedDateTime", value) + if err != nil { + panic(err) + } +} // SetLogoUrl sets the logoUrl property value. The URL to get the logo for this application. func (m *ApplicationTemplate) SetLogoUrl(value *string)() { err := m.GetBackingStore().Set("logoUrl", value) @@ -320,6 +523,20 @@ func (m *ApplicationTemplate) SetPublisher(value *string)() { panic(err) } } +// SetRiskFactors sets the riskFactors property value. A comprehensive set of risk assessment data for the application, including general, security, compliance, and legal dimensions. Returned only when $select is used. +func (m *ApplicationTemplate) SetRiskFactors(value ApplicationRiskFactorsable)() { + err := m.GetBackingStore().Set("riskFactors", value) + if err != nil { + panic(err) + } +} +// SetRiskScore sets the riskScore property value. Represents the Microsoft-generated numerical risk score assessment for the application. Supported $orderby on total (for example, $orderby=riskScore/total desc). Returned only when $select is used. +func (m *ApplicationTemplate) SetRiskScore(value ApplicationRiskScoreable)() { + err := m.GetBackingStore().Set("riskScore", value) + if err != nil { + panic(err) + } +} // SetSupportedProvisioningTypes sets the supportedProvisioningTypes property value. The list of provisioning modes supported by this application. The only valid value is sync. func (m *ApplicationTemplate) SetSupportedProvisioningTypes(value []string)() { err := m.GetBackingStore().Set("supportedProvisioningTypes", value) @@ -338,19 +555,31 @@ type ApplicationTemplateable interface { Entityable i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetCategories()([]string) + GetDeprecationDate()(*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.DateOnly) GetDescription()(*string) GetDisplayName()(*string) + GetEndpoints()([]string) GetHomePageUrl()(*string) + GetIsEntraIntegrated()(*bool) + GetLastModifiedDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) GetLogoUrl()(*string) GetPublisher()(*string) + GetRiskFactors()(ApplicationRiskFactorsable) + GetRiskScore()(ApplicationRiskScoreable) GetSupportedProvisioningTypes()([]string) GetSupportedSingleSignOnModes()([]string) SetCategories(value []string)() + SetDeprecationDate(value *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.DateOnly)() SetDescription(value *string)() SetDisplayName(value *string)() + SetEndpoints(value []string)() SetHomePageUrl(value *string)() + SetIsEntraIntegrated(value *bool)() + SetLastModifiedDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() SetLogoUrl(value *string)() SetPublisher(value *string)() + SetRiskFactors(value ApplicationRiskFactorsable)() + SetRiskScore(value ApplicationRiskScoreable)() SetSupportedProvisioningTypes(value []string)() SetSupportedSingleSignOnModes(value []string)() } diff --git a/models/approver_information_visibility.go b/models/approver_information_visibility.go new file mode 100644 index 0000000000..a857c4dec6 --- /dev/null +++ b/models/approver_information_visibility.go @@ -0,0 +1,42 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package models +type ApproverInformationVisibility int + +const ( + DEFAULT_APPROVERINFORMATIONVISIBILITY ApproverInformationVisibility = iota + NOTVISIBLE_APPROVERINFORMATIONVISIBILITY + VISIBLE_APPROVERINFORMATIONVISIBILITY + UNKNOWNFUTUREVALUE_APPROVERINFORMATIONVISIBILITY +) + +func (i ApproverInformationVisibility) String() string { + return []string{"default", "notVisible", "visible", "unknownFutureValue"}[i] +} +func ParseApproverInformationVisibility(v string) (any, error) { + result := DEFAULT_APPROVERINFORMATIONVISIBILITY + switch v { + case "default": + result = DEFAULT_APPROVERINFORMATIONVISIBILITY + case "notVisible": + result = NOTVISIBLE_APPROVERINFORMATIONVISIBILITY + case "visible": + result = VISIBLE_APPROVERINFORMATIONVISIBILITY + case "unknownFutureValue": + result = UNKNOWNFUTUREVALUE_APPROVERINFORMATIONVISIBILITY + default: + return nil, nil + } + return &result, nil +} +func SerializeApproverInformationVisibility(values []ApproverInformationVisibility) []string { + result := make([]string, len(values)) + for i, v := range values { + result[i] = v.String() + } + return result +} +func (i ApproverInformationVisibility) isMultiValue() bool { + return false +} diff --git a/models/authentication_methods_registration_campaign_include_target.go b/models/authentication_methods_registration_campaign_include_target.go index cb1aea67e5..3336f0f126 100644 --- a/models/authentication_methods_registration_campaign_include_target.go +++ b/models/authentication_methods_registration_campaign_include_target.go @@ -113,7 +113,7 @@ func (m *AuthenticationMethodsRegistrationCampaignIncludeTarget) GetOdataType()( } return nil } -// GetTargetedAuthenticationMethod gets the targetedAuthenticationMethod property value. The authentication method that the user is prompted to register. The value must be microsoftAuthenticator. +// GetTargetedAuthenticationMethod gets the targetedAuthenticationMethod property value. The authentication method that the user is prompted to register. The value can be Fido2 or microsoftAuthenticator. // returns a *string when successful func (m *AuthenticationMethodsRegistrationCampaignIncludeTarget) GetTargetedAuthenticationMethod()(*string) { val, err := m.GetBackingStore().Get("targetedAuthenticationMethod") @@ -197,7 +197,7 @@ func (m *AuthenticationMethodsRegistrationCampaignIncludeTarget) SetOdataType(va panic(err) } } -// SetTargetedAuthenticationMethod sets the targetedAuthenticationMethod property value. The authentication method that the user is prompted to register. The value must be microsoftAuthenticator. +// SetTargetedAuthenticationMethod sets the targetedAuthenticationMethod property value. The authentication method that the user is prompted to register. The value can be Fido2 or microsoftAuthenticator. func (m *AuthenticationMethodsRegistrationCampaignIncludeTarget) SetTargetedAuthenticationMethod(value *string)() { err := m.GetBackingStore().Set("targetedAuthenticationMethod", value) if err != nil { diff --git a/models/available_access_package.go b/models/available_access_package.go new file mode 100644 index 0000000000..771c25c05e --- /dev/null +++ b/models/available_access_package.go @@ -0,0 +1,165 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +type AvailableAccessPackage struct { + Entity +} +// NewAvailableAccessPackage instantiates a new AvailableAccessPackage and sets the default values. +func NewAvailableAccessPackage()(*AvailableAccessPackage) { + m := &AvailableAccessPackage{ + Entity: *NewEntity(), + } + return m +} +// CreateAvailableAccessPackageFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateAvailableAccessPackageFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewAvailableAccessPackage(), nil +} +// GetDescription gets the description property value. The description of the access package. +// returns a *string when successful +func (m *AvailableAccessPackage) GetDescription()(*string) { + val, err := m.GetBackingStore().Get("description") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetDisplayName gets the displayName property value. The display name of the access package. +// returns a *string when successful +func (m *AvailableAccessPackage) GetDisplayName()(*string) { + val, err := m.GetBackingStore().Get("displayName") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *AvailableAccessPackage) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.Entity.GetFieldDeserializers() + res["description"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetDescription(val) + } + return nil + } + res["displayName"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetDisplayName(val) + } + return nil + } + res["resourceRoleScopes"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(CreateAccessPackageResourceRoleScopeFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]AccessPackageResourceRoleScopeable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(AccessPackageResourceRoleScopeable) + } + } + m.SetResourceRoleScopes(res) + } + return nil + } + return res +} +// GetResourceRoleScopes gets the resourceRoleScopes property value. The resource role scopes associated with this available access package. +// returns a []AccessPackageResourceRoleScopeable when successful +func (m *AvailableAccessPackage) GetResourceRoleScopes()([]AccessPackageResourceRoleScopeable) { + val, err := m.GetBackingStore().Get("resourceRoleScopes") + if err != nil { + panic(err) + } + if val != nil { + return val.([]AccessPackageResourceRoleScopeable) + } + return nil +} +// Serialize serializes information the current object +func (m *AvailableAccessPackage) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.Entity.Serialize(writer) + if err != nil { + return err + } + { + err = writer.WriteStringValue("description", m.GetDescription()) + if err != nil { + return err + } + } + { + err = writer.WriteStringValue("displayName", m.GetDisplayName()) + if err != nil { + return err + } + } + if m.GetResourceRoleScopes() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetResourceRoleScopes())) + for i, v := range m.GetResourceRoleScopes() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err = writer.WriteCollectionOfObjectValues("resourceRoleScopes", cast) + if err != nil { + return err + } + } + return nil +} +// SetDescription sets the description property value. The description of the access package. +func (m *AvailableAccessPackage) SetDescription(value *string)() { + err := m.GetBackingStore().Set("description", value) + if err != nil { + panic(err) + } +} +// SetDisplayName sets the displayName property value. The display name of the access package. +func (m *AvailableAccessPackage) SetDisplayName(value *string)() { + err := m.GetBackingStore().Set("displayName", value) + if err != nil { + panic(err) + } +} +// SetResourceRoleScopes sets the resourceRoleScopes property value. The resource role scopes associated with this available access package. +func (m *AvailableAccessPackage) SetResourceRoleScopes(value []AccessPackageResourceRoleScopeable)() { + err := m.GetBackingStore().Set("resourceRoleScopes", value) + if err != nil { + panic(err) + } +} +type AvailableAccessPackageable interface { + Entityable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetDescription()(*string) + GetDisplayName()(*string) + GetResourceRoleScopes()([]AccessPackageResourceRoleScopeable) + SetDescription(value *string)() + SetDisplayName(value *string)() + SetResourceRoleScopes(value []AccessPackageResourceRoleScopeable)() +} diff --git a/models/available_access_package_collection_response.go b/models/available_access_package_collection_response.go new file mode 100644 index 0000000000..bac78cf60b --- /dev/null +++ b/models/available_access_package_collection_response.go @@ -0,0 +1,91 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +type AvailableAccessPackageCollectionResponse struct { + BaseCollectionPaginationCountResponse +} +// NewAvailableAccessPackageCollectionResponse instantiates a new AvailableAccessPackageCollectionResponse and sets the default values. +func NewAvailableAccessPackageCollectionResponse()(*AvailableAccessPackageCollectionResponse) { + m := &AvailableAccessPackageCollectionResponse{ + BaseCollectionPaginationCountResponse: *NewBaseCollectionPaginationCountResponse(), + } + return m +} +// CreateAvailableAccessPackageCollectionResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateAvailableAccessPackageCollectionResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewAvailableAccessPackageCollectionResponse(), nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *AvailableAccessPackageCollectionResponse) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.BaseCollectionPaginationCountResponse.GetFieldDeserializers() + res["value"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(CreateAvailableAccessPackageFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]AvailableAccessPackageable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(AvailableAccessPackageable) + } + } + m.SetValue(res) + } + return nil + } + return res +} +// GetValue gets the value property value. The value property +// returns a []AvailableAccessPackageable when successful +func (m *AvailableAccessPackageCollectionResponse) GetValue()([]AvailableAccessPackageable) { + val, err := m.GetBackingStore().Get("value") + if err != nil { + panic(err) + } + if val != nil { + return val.([]AvailableAccessPackageable) + } + return nil +} +// Serialize serializes information the current object +func (m *AvailableAccessPackageCollectionResponse) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.BaseCollectionPaginationCountResponse.Serialize(writer) + if err != nil { + return err + } + if m.GetValue() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetValue())) + for i, v := range m.GetValue() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err = writer.WriteCollectionOfObjectValues("value", cast) + if err != nil { + return err + } + } + return nil +} +// SetValue sets the value property value. The value property +func (m *AvailableAccessPackageCollectionResponse) SetValue(value []AvailableAccessPackageable)() { + err := m.GetBackingStore().Set("value", value) + if err != nil { + panic(err) + } +} +type AvailableAccessPackageCollectionResponseable interface { + BaseCollectionPaginationCountResponseable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetValue()([]AvailableAccessPackageable) + SetValue(value []AvailableAccessPackageable)() +} diff --git a/models/azure_active_directory_tenant.go b/models/azure_active_directory_tenant.go index 04da8b26de..75b8578d5b 100644 --- a/models/azure_active_directory_tenant.go +++ b/models/azure_active_directory_tenant.go @@ -24,7 +24,7 @@ func NewAzureActiveDirectoryTenant()(*AzureActiveDirectoryTenant) { func CreateAzureActiveDirectoryTenantFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { return NewAzureActiveDirectoryTenant(), nil } -// GetDisplayName gets the displayName property value. The name of the Microsoft Entra tenant. Read only. +// GetDisplayName gets the displayName property value. The name of the Microsoft Entra tenant. Read-only. // returns a *string when successful func (m *AzureActiveDirectoryTenant) GetDisplayName()(*string) { val, err := m.GetBackingStore().Get("displayName") @@ -62,7 +62,7 @@ func (m *AzureActiveDirectoryTenant) GetFieldDeserializers()(map[string]func(i87 } return res } -// GetTenantId gets the tenantId property value. The ID of the Microsoft Entra tenant. Read only. +// GetTenantId gets the tenantId property value. The ID of the Microsoft Entra tenant. Read-only. // returns a *string when successful func (m *AzureActiveDirectoryTenant) GetTenantId()(*string) { val, err := m.GetBackingStore().Get("tenantId") @@ -94,14 +94,14 @@ func (m *AzureActiveDirectoryTenant) Serialize(writer i878a80d2330e89d26896388a3 } return nil } -// SetDisplayName sets the displayName property value. The name of the Microsoft Entra tenant. Read only. +// SetDisplayName sets the displayName property value. The name of the Microsoft Entra tenant. Read-only. func (m *AzureActiveDirectoryTenant) SetDisplayName(value *string)() { err := m.GetBackingStore().Set("displayName", value) if err != nil { panic(err) } } -// SetTenantId sets the tenantId property value. The ID of the Microsoft Entra tenant. Read only. +// SetTenantId sets the tenantId property value. The ID of the Microsoft Entra tenant. Read-only. func (m *AzureActiveDirectoryTenant) SetTenantId(value *string)() { err := m.GetBackingStore().Set("tenantId", value) if err != nil { diff --git a/models/backup_restore_root.go b/models/backup_restore_root.go index c308b72ac8..4075e1d58d 100644 --- a/models/backup_restore_root.go +++ b/models/backup_restore_root.go @@ -70,6 +70,18 @@ func (m *BackupRestoreRoot) GetDriveProtectionUnitsBulkAdditionJobs()([]DrivePro } return nil } +// GetEmailNotificationsSetting gets the emailNotificationsSetting property value. The email notification settings in the tenant. +// returns a EmailNotificationsSettingable when successful +func (m *BackupRestoreRoot) GetEmailNotificationsSetting()(EmailNotificationsSettingable) { + val, err := m.GetBackingStore().Get("emailNotificationsSetting") + if err != nil { + panic(err) + } + if val != nil { + return val.(EmailNotificationsSettingable) + } + return nil +} // GetExchangeProtectionPolicies gets the exchangeProtectionPolicies property value. The list of Exchange protection policies in the tenant. // returns a []ExchangeProtectionPolicyable when successful func (m *BackupRestoreRoot) GetExchangeProtectionPolicies()([]ExchangeProtectionPolicyable) { @@ -162,6 +174,16 @@ func (m *BackupRestoreRoot) GetFieldDeserializers()(map[string]func(i878a80d2330 } return nil } + res["emailNotificationsSetting"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetObjectValue(CreateEmailNotificationsSettingFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + m.SetEmailNotificationsSetting(val.(EmailNotificationsSettingable)) + } + return nil + } res["exchangeProtectionPolicies"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { val, err := n.GetCollectionOfObjectValues(CreateExchangeProtectionPolicyFromDiscriminatorValue) if err != nil { @@ -748,6 +770,12 @@ func (m *BackupRestoreRoot) Serialize(writer i878a80d2330e89d26896388a3f487eef27 return err } } + { + err = writer.WriteObjectValue("emailNotificationsSetting", m.GetEmailNotificationsSetting()) + if err != nil { + return err + } + } if m.GetExchangeProtectionPolicies() != nil { cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetExchangeProtectionPolicies())) for i, v := range m.GetExchangeProtectionPolicies() { @@ -1012,6 +1040,13 @@ func (m *BackupRestoreRoot) SetDriveProtectionUnitsBulkAdditionJobs(value []Driv panic(err) } } +// SetEmailNotificationsSetting sets the emailNotificationsSetting property value. The email notification settings in the tenant. +func (m *BackupRestoreRoot) SetEmailNotificationsSetting(value EmailNotificationsSettingable)() { + err := m.GetBackingStore().Set("emailNotificationsSetting", value) + if err != nil { + panic(err) + } +} // SetExchangeProtectionPolicies sets the exchangeProtectionPolicies property value. The list of Exchange protection policies in the tenant. func (m *BackupRestoreRoot) SetExchangeProtectionPolicies(value []ExchangeProtectionPolicyable)() { err := m.GetBackingStore().Set("exchangeProtectionPolicies", value) @@ -1159,6 +1194,7 @@ type BackupRestoreRootable interface { GetDriveInclusionRules()([]DriveProtectionRuleable) GetDriveProtectionUnits()([]DriveProtectionUnitable) GetDriveProtectionUnitsBulkAdditionJobs()([]DriveProtectionUnitsBulkAdditionJobable) + GetEmailNotificationsSetting()(EmailNotificationsSettingable) GetExchangeProtectionPolicies()([]ExchangeProtectionPolicyable) GetExchangeRestoreSessions()([]ExchangeRestoreSessionable) GetMailboxInclusionRules()([]MailboxProtectionRuleable) @@ -1183,6 +1219,7 @@ type BackupRestoreRootable interface { SetDriveInclusionRules(value []DriveProtectionRuleable)() SetDriveProtectionUnits(value []DriveProtectionUnitable)() SetDriveProtectionUnitsBulkAdditionJobs(value []DriveProtectionUnitsBulkAdditionJobable)() + SetEmailNotificationsSetting(value EmailNotificationsSettingable)() SetExchangeProtectionPolicies(value []ExchangeProtectionPolicyable)() SetExchangeRestoreSessions(value []ExchangeRestoreSessionable)() SetMailboxInclusionRules(value []MailboxProtectionRuleable)() diff --git a/models/channel.go b/models/channel.go index 1f4df76fcf..e42e60ef30 100644 --- a/models/channel.go +++ b/models/channel.go @@ -35,7 +35,7 @@ func (m *Channel) GetAllMembers()([]ConversationMemberable) { } return nil } -// GetCreatedDateTime gets the createdDateTime property value. Read only. Timestamp at which the channel was created. +// GetCreatedDateTime gets the createdDateTime property value. Read-only. Timestamp at which the channel was created. // returns a *Time when successful func (m *Channel) GetCreatedDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) { val, err := m.GetBackingStore().Get("createdDateTime") @@ -679,7 +679,7 @@ func (m *Channel) SetAllMembers(value []ConversationMemberable)() { panic(err) } } -// SetCreatedDateTime sets the createdDateTime property value. Read only. Timestamp at which the channel was created. +// SetCreatedDateTime sets the createdDateTime property value. Read-only. Timestamp at which the channel was created. func (m *Channel) SetCreatedDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() { err := m.GetBackingStore().Set("createdDateTime", value) if err != nil { diff --git a/models/chat.go b/models/chat.go index e85f033ca3..dd1f074936 100644 --- a/models/chat.go +++ b/models/chat.go @@ -227,6 +227,22 @@ func (m *Chat) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a } return nil } + res["targetedMessages"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(CreateTargetedChatMessageFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]TargetedChatMessageable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(TargetedChatMessageable) + } + } + m.SetTargetedMessages(res) + } + return nil + } res["tenantId"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { val, err := n.GetStringValue() if err != nil { @@ -413,6 +429,18 @@ func (m *Chat) GetTabs()([]TeamsTabable) { } return nil } +// GetTargetedMessages gets the targetedMessages property value. The targetedMessages property +// returns a []TargetedChatMessageable when successful +func (m *Chat) GetTargetedMessages()([]TargetedChatMessageable) { + val, err := m.GetBackingStore().Get("targetedMessages") + if err != nil { + panic(err) + } + if val != nil { + return val.([]TargetedChatMessageable) + } + return nil +} // GetTenantId gets the tenantId property value. The identifier of the tenant in which the chat was created. Read-only. // returns a *string when successful func (m *Chat) GetTenantId()(*string) { @@ -589,6 +617,18 @@ func (m *Chat) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c49 return err } } + if m.GetTargetedMessages() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetTargetedMessages())) + for i, v := range m.GetTargetedMessages() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err = writer.WriteCollectionOfObjectValues("targetedMessages", cast) + if err != nil { + return err + } + } { err = writer.WriteStringValue("tenantId", m.GetTenantId()) if err != nil { @@ -713,6 +753,13 @@ func (m *Chat) SetTabs(value []TeamsTabable)() { panic(err) } } +// SetTargetedMessages sets the targetedMessages property value. The targetedMessages property +func (m *Chat) SetTargetedMessages(value []TargetedChatMessageable)() { + err := m.GetBackingStore().Set("targetedMessages", value) + if err != nil { + panic(err) + } +} // SetTenantId sets the tenantId property value. The identifier of the tenant in which the chat was created. Read-only. func (m *Chat) SetTenantId(value *string)() { err := m.GetBackingStore().Set("tenantId", value) @@ -758,6 +805,7 @@ type Chatable interface { GetPermissionGrants()([]ResourceSpecificPermissionGrantable) GetPinnedMessages()([]PinnedChatMessageInfoable) GetTabs()([]TeamsTabable) + GetTargetedMessages()([]TargetedChatMessageable) GetTenantId()(*string) GetTopic()(*string) GetViewpoint()(ChatViewpointable) @@ -776,6 +824,7 @@ type Chatable interface { SetPermissionGrants(value []ResourceSpecificPermissionGrantable)() SetPinnedMessages(value []PinnedChatMessageInfoable)() SetTabs(value []TeamsTabable)() + SetTargetedMessages(value []TargetedChatMessageable)() SetTenantId(value *string)() SetTopic(value *string)() SetViewpoint(value ChatViewpointable)() diff --git a/models/chat_message.go b/models/chat_message.go index 6d56ae44bf..b2681a0de4 100644 --- a/models/chat_message.go +++ b/models/chat_message.go @@ -21,6 +21,24 @@ func NewChatMessage()(*ChatMessage) { // CreateChatMessageFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value // returns a Parsable when successful func CreateChatMessageFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + if parseNode != nil { + mappingValueNode, err := parseNode.GetChildNode("@odata.type") + if err != nil { + return nil, err + } + if mappingValueNode != nil { + mappingValue, err := mappingValueNode.GetStringValue() + if err != nil { + return nil, err + } + if mappingValue != nil { + switch *mappingValue { + case "#microsoft.graph.targetedChatMessage": + return NewTargetedChatMessage(), nil + } + } + } + } return NewChatMessage(), nil } // GetAttachments gets the attachments property value. References to attached objects like files, tabs, meetings etc. @@ -83,7 +101,7 @@ func (m *ChatMessage) GetCreatedDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f } return nil } -// GetDeletedDateTime gets the deletedDateTime property value. Read only. Timestamp at which the chat message was deleted, or null if not deleted. +// GetDeletedDateTime gets the deletedDateTime property value. Read-only. Timestamp at which the chat message was deleted, or null if not deleted. // returns a *Time when successful func (m *ChatMessage) GetDeletedDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) { val, err := m.GetBackingStore().Get("deletedDateTime") @@ -437,7 +455,7 @@ func (m *ChatMessage) GetImportance()(*ChatMessageImportance) { } return nil } -// GetLastEditedDateTime gets the lastEditedDateTime property value. Read only. Timestamp when edits to the chat message were made. Triggers an 'Edited' flag in the Teams UI. If no edits are made the value is null. +// GetLastEditedDateTime gets the lastEditedDateTime property value. Read-only. Timestamp when edits to the chat message were made. Triggers an 'Edited' flag in the Teams UI. If no edits are made the value is null. // returns a *Time when successful func (m *ChatMessage) GetLastEditedDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) { val, err := m.GetBackingStore().Get("lastEditedDateTime") @@ -449,7 +467,7 @@ func (m *ChatMessage) GetLastEditedDateTime()(*i336074805fc853987abe6f7fe3ad97a6 } return nil } -// GetLastModifiedDateTime gets the lastModifiedDateTime property value. Read only. Timestamp when the chat message is created (initial setting) or modified, including when a reaction is added or removed. +// GetLastModifiedDateTime gets the lastModifiedDateTime property value. Read-only. Timestamp when the chat message is created (initial setting) or modified, including when a reaction is added or removed. // returns a *Time when successful func (m *ChatMessage) GetLastModifiedDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) { val, err := m.GetBackingStore().Get("lastModifiedDateTime") @@ -818,7 +836,7 @@ func (m *ChatMessage) SetCreatedDateTime(value *i336074805fc853987abe6f7fe3ad97a panic(err) } } -// SetDeletedDateTime sets the deletedDateTime property value. Read only. Timestamp at which the chat message was deleted, or null if not deleted. +// SetDeletedDateTime sets the deletedDateTime property value. Read-only. Timestamp at which the chat message was deleted, or null if not deleted. func (m *ChatMessage) SetDeletedDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() { err := m.GetBackingStore().Set("deletedDateTime", value) if err != nil { @@ -860,14 +878,14 @@ func (m *ChatMessage) SetImportance(value *ChatMessageImportance)() { panic(err) } } -// SetLastEditedDateTime sets the lastEditedDateTime property value. Read only. Timestamp when edits to the chat message were made. Triggers an 'Edited' flag in the Teams UI. If no edits are made the value is null. +// SetLastEditedDateTime sets the lastEditedDateTime property value. Read-only. Timestamp when edits to the chat message were made. Triggers an 'Edited' flag in the Teams UI. If no edits are made the value is null. func (m *ChatMessage) SetLastEditedDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() { err := m.GetBackingStore().Set("lastEditedDateTime", value) if err != nil { panic(err) } } -// SetLastModifiedDateTime sets the lastModifiedDateTime property value. Read only. Timestamp when the chat message is created (initial setting) or modified, including when a reaction is added or removed. +// SetLastModifiedDateTime sets the lastModifiedDateTime property value. Read-only. Timestamp when the chat message is created (initial setting) or modified, including when a reaction is added or removed. func (m *ChatMessage) SetLastModifiedDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() { err := m.GetBackingStore().Set("lastModifiedDateTime", value) if err != nil { diff --git a/models/conditional_access_policy.go b/models/conditional_access_policy.go index b284ccae03..60443a32cc 100644 --- a/models/conditional_access_policy.go +++ b/models/conditional_access_policy.go @@ -55,7 +55,7 @@ func (m *ConditionalAccessPolicy) GetConditions()(ConditionalAccessConditionSeta } return nil } -// GetCreatedDateTime gets the createdDateTime property value. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Readonly. +// GetCreatedDateTime gets the createdDateTime property value. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Read-only. // returns a *Time when successful func (m *ConditionalAccessPolicy) GetCreatedDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) { val, err := m.GetBackingStore().Get("createdDateTime") @@ -221,7 +221,7 @@ func (m *ConditionalAccessPolicy) GetId()(*string) { } return nil } -// GetModifiedDateTime gets the modifiedDateTime property value. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Readonly. +// GetModifiedDateTime gets the modifiedDateTime property value. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Read-only. // returns a *Time when successful func (m *ConditionalAccessPolicy) GetModifiedDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) { val, err := m.GetBackingStore().Get("modifiedDateTime") @@ -345,7 +345,7 @@ func (m *ConditionalAccessPolicy) SetConditions(value ConditionalAccessCondition panic(err) } } -// SetCreatedDateTime sets the createdDateTime property value. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Readonly. +// SetCreatedDateTime sets the createdDateTime property value. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Read-only. func (m *ConditionalAccessPolicy) SetCreatedDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() { err := m.GetBackingStore().Set("createdDateTime", value) if err != nil { @@ -380,7 +380,7 @@ func (m *ConditionalAccessPolicy) SetId(value *string)() { panic(err) } } -// SetModifiedDateTime sets the modifiedDateTime property value. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Readonly. +// SetModifiedDateTime sets the modifiedDateTime property value. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Read-only. func (m *ConditionalAccessPolicy) SetModifiedDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() { err := m.GetBackingStore().Set("modifiedDateTime", value) if err != nil { diff --git a/models/control_configuration.go b/models/control_configuration.go new file mode 100644 index 0000000000..cd7a2bdbfc --- /dev/null +++ b/models/control_configuration.go @@ -0,0 +1,246 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package models + +import ( + i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e "time" + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +type ControlConfiguration struct { + Entity +} +// NewControlConfiguration instantiates a new ControlConfiguration and sets the default values. +func NewControlConfiguration()(*ControlConfiguration) { + m := &ControlConfiguration{ + Entity: *NewEntity(), + } + return m +} +// CreateControlConfigurationFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateControlConfigurationFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + if parseNode != nil { + mappingValueNode, err := parseNode.GetChildNode("@odata.type") + if err != nil { + return nil, err + } + if mappingValueNode != nil { + mappingValue, err := mappingValueNode.GetStringValue() + if err != nil { + return nil, err + } + if mappingValue != nil { + switch *mappingValue { + case "#microsoft.graph.endUserSettings": + return NewEndUserSettings(), nil + } + } + } + } + return NewControlConfiguration(), nil +} +// GetCreatedBy gets the createdBy property value. The userPrincipalName of the user or identity that created the control configuration. +// returns a *string when successful +func (m *ControlConfiguration) GetCreatedBy()(*string) { + val, err := m.GetBackingStore().Get("createdBy") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetCreatedDateTime gets the createdDateTime property value. The date and time the control configuration was created. +// returns a *Time when successful +func (m *ControlConfiguration) GetCreatedDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) { + val, err := m.GetBackingStore().Get("createdDateTime") + if err != nil { + panic(err) + } + if val != nil { + return val.(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) + } + return nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *ControlConfiguration) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.Entity.GetFieldDeserializers() + res["createdBy"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetCreatedBy(val) + } + return nil + } + res["createdDateTime"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetTimeValue() + if err != nil { + return err + } + if val != nil { + m.SetCreatedDateTime(val) + } + return nil + } + res["isEnabled"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetBoolValue() + if err != nil { + return err + } + if val != nil { + m.SetIsEnabled(val) + } + return nil + } + res["modifiedBy"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetModifiedBy(val) + } + return nil + } + res["modifiedDateTime"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetTimeValue() + if err != nil { + return err + } + if val != nil { + m.SetModifiedDateTime(val) + } + return nil + } + return res +} +// GetIsEnabled gets the isEnabled property value. Determines whether or not the control configuration is enabled. +// returns a *bool when successful +func (m *ControlConfiguration) GetIsEnabled()(*bool) { + val, err := m.GetBackingStore().Get("isEnabled") + if err != nil { + panic(err) + } + if val != nil { + return val.(*bool) + } + return nil +} +// GetModifiedBy gets the modifiedBy property value. The userPrincipalName of the user or identity that modified the control configuration. +// returns a *string when successful +func (m *ControlConfiguration) GetModifiedBy()(*string) { + val, err := m.GetBackingStore().Get("modifiedBy") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetModifiedDateTime gets the modifiedDateTime property value. The date and time the control configuration was modified. +// returns a *Time when successful +func (m *ControlConfiguration) GetModifiedDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) { + val, err := m.GetBackingStore().Get("modifiedDateTime") + if err != nil { + panic(err) + } + if val != nil { + return val.(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) + } + return nil +} +// Serialize serializes information the current object +func (m *ControlConfiguration) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.Entity.Serialize(writer) + if err != nil { + return err + } + { + err = writer.WriteStringValue("createdBy", m.GetCreatedBy()) + if err != nil { + return err + } + } + { + err = writer.WriteTimeValue("createdDateTime", m.GetCreatedDateTime()) + if err != nil { + return err + } + } + { + err = writer.WriteBoolValue("isEnabled", m.GetIsEnabled()) + if err != nil { + return err + } + } + { + err = writer.WriteStringValue("modifiedBy", m.GetModifiedBy()) + if err != nil { + return err + } + } + { + err = writer.WriteTimeValue("modifiedDateTime", m.GetModifiedDateTime()) + if err != nil { + return err + } + } + return nil +} +// SetCreatedBy sets the createdBy property value. The userPrincipalName of the user or identity that created the control configuration. +func (m *ControlConfiguration) SetCreatedBy(value *string)() { + err := m.GetBackingStore().Set("createdBy", value) + if err != nil { + panic(err) + } +} +// SetCreatedDateTime sets the createdDateTime property value. The date and time the control configuration was created. +func (m *ControlConfiguration) SetCreatedDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() { + err := m.GetBackingStore().Set("createdDateTime", value) + if err != nil { + panic(err) + } +} +// SetIsEnabled sets the isEnabled property value. Determines whether or not the control configuration is enabled. +func (m *ControlConfiguration) SetIsEnabled(value *bool)() { + err := m.GetBackingStore().Set("isEnabled", value) + if err != nil { + panic(err) + } +} +// SetModifiedBy sets the modifiedBy property value. The userPrincipalName of the user or identity that modified the control configuration. +func (m *ControlConfiguration) SetModifiedBy(value *string)() { + err := m.GetBackingStore().Set("modifiedBy", value) + if err != nil { + panic(err) + } +} +// SetModifiedDateTime sets the modifiedDateTime property value. The date and time the control configuration was modified. +func (m *ControlConfiguration) SetModifiedDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() { + err := m.GetBackingStore().Set("modifiedDateTime", value) + if err != nil { + panic(err) + } +} +type ControlConfigurationable interface { + Entityable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetCreatedBy()(*string) + GetCreatedDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) + GetIsEnabled()(*bool) + GetModifiedBy()(*string) + GetModifiedDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) + SetCreatedBy(value *string)() + SetCreatedDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() + SetIsEnabled(value *bool)() + SetModifiedBy(value *string)() + SetModifiedDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() +} diff --git a/models/control_configuration_collection_response.go b/models/control_configuration_collection_response.go new file mode 100644 index 0000000000..23b2e7eae7 --- /dev/null +++ b/models/control_configuration_collection_response.go @@ -0,0 +1,91 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +type ControlConfigurationCollectionResponse struct { + BaseCollectionPaginationCountResponse +} +// NewControlConfigurationCollectionResponse instantiates a new ControlConfigurationCollectionResponse and sets the default values. +func NewControlConfigurationCollectionResponse()(*ControlConfigurationCollectionResponse) { + m := &ControlConfigurationCollectionResponse{ + BaseCollectionPaginationCountResponse: *NewBaseCollectionPaginationCountResponse(), + } + return m +} +// CreateControlConfigurationCollectionResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateControlConfigurationCollectionResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewControlConfigurationCollectionResponse(), nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *ControlConfigurationCollectionResponse) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.BaseCollectionPaginationCountResponse.GetFieldDeserializers() + res["value"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(CreateControlConfigurationFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]ControlConfigurationable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(ControlConfigurationable) + } + } + m.SetValue(res) + } + return nil + } + return res +} +// GetValue gets the value property value. The value property +// returns a []ControlConfigurationable when successful +func (m *ControlConfigurationCollectionResponse) GetValue()([]ControlConfigurationable) { + val, err := m.GetBackingStore().Get("value") + if err != nil { + panic(err) + } + if val != nil { + return val.([]ControlConfigurationable) + } + return nil +} +// Serialize serializes information the current object +func (m *ControlConfigurationCollectionResponse) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.BaseCollectionPaginationCountResponse.Serialize(writer) + if err != nil { + return err + } + if m.GetValue() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetValue())) + for i, v := range m.GetValue() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err = writer.WriteCollectionOfObjectValues("value", cast) + if err != nil { + return err + } + } + return nil +} +// SetValue sets the value property value. The value property +func (m *ControlConfigurationCollectionResponse) SetValue(value []ControlConfigurationable)() { + err := m.GetBackingStore().Set("value", value) + if err != nil { + panic(err) + } +} +type ControlConfigurationCollectionResponseable interface { + BaseCollectionPaginationCountResponseable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetValue()([]ControlConfigurationable) + SetValue(value []ControlConfigurationable)() +} diff --git a/models/copilot_admin.go b/models/copilot_admin.go index 0f56e098f3..9d28e9a1d4 100644 --- a/models/copilot_admin.go +++ b/models/copilot_admin.go @@ -22,10 +22,32 @@ func NewCopilotAdmin()(*CopilotAdmin) { func CreateCopilotAdminFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { return NewCopilotAdmin(), nil } +// GetCatalog gets the catalog property value. The catalog property +// returns a CopilotAdminCatalogable when successful +func (m *CopilotAdmin) GetCatalog()(CopilotAdminCatalogable) { + val, err := m.GetBackingStore().Get("catalog") + if err != nil { + panic(err) + } + if val != nil { + return val.(CopilotAdminCatalogable) + } + return nil +} // GetFieldDeserializers the deserialization information for the current model // returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful func (m *CopilotAdmin) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := m.Entity.GetFieldDeserializers() + res["catalog"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetObjectValue(CreateCopilotAdminCatalogFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + m.SetCatalog(val.(CopilotAdminCatalogable)) + } + return nil + } res["settings"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { val, err := n.GetObjectValue(CreateCopilotAdminSettingFromDiscriminatorValue) if err != nil { @@ -56,6 +78,12 @@ func (m *CopilotAdmin) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e if err != nil { return err } + { + err = writer.WriteObjectValue("catalog", m.GetCatalog()) + if err != nil { + return err + } + } { err = writer.WriteObjectValue("settings", m.GetSettings()) if err != nil { @@ -64,6 +92,13 @@ func (m *CopilotAdmin) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e } return nil } +// SetCatalog sets the catalog property value. The catalog property +func (m *CopilotAdmin) SetCatalog(value CopilotAdminCatalogable)() { + err := m.GetBackingStore().Set("catalog", value) + if err != nil { + panic(err) + } +} // SetSettings sets the settings property value. The settings property func (m *CopilotAdmin) SetSettings(value CopilotAdminSettingable)() { err := m.GetBackingStore().Set("settings", value) @@ -74,6 +109,8 @@ func (m *CopilotAdmin) SetSettings(value CopilotAdminSettingable)() { type CopilotAdminable interface { Entityable i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetCatalog()(CopilotAdminCatalogable) GetSettings()(CopilotAdminSettingable) + SetCatalog(value CopilotAdminCatalogable)() SetSettings(value CopilotAdminSettingable)() } diff --git a/models/copilot_admin_catalog.go b/models/copilot_admin_catalog.go new file mode 100644 index 0000000000..3219e3682f --- /dev/null +++ b/models/copilot_admin_catalog.go @@ -0,0 +1,91 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +type CopilotAdminCatalog struct { + Entity +} +// NewCopilotAdminCatalog instantiates a new CopilotAdminCatalog and sets the default values. +func NewCopilotAdminCatalog()(*CopilotAdminCatalog) { + m := &CopilotAdminCatalog{ + Entity: *NewEntity(), + } + return m +} +// CreateCopilotAdminCatalogFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateCopilotAdminCatalogFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewCopilotAdminCatalog(), nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *CopilotAdminCatalog) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.Entity.GetFieldDeserializers() + res["packages"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(CreateCopilotPackageDetailFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]CopilotPackageDetailable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(CopilotPackageDetailable) + } + } + m.SetPackages(res) + } + return nil + } + return res +} +// GetPackages gets the packages property value. The packages property +// returns a []CopilotPackageDetailable when successful +func (m *CopilotAdminCatalog) GetPackages()([]CopilotPackageDetailable) { + val, err := m.GetBackingStore().Get("packages") + if err != nil { + panic(err) + } + if val != nil { + return val.([]CopilotPackageDetailable) + } + return nil +} +// Serialize serializes information the current object +func (m *CopilotAdminCatalog) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.Entity.Serialize(writer) + if err != nil { + return err + } + if m.GetPackages() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetPackages())) + for i, v := range m.GetPackages() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err = writer.WriteCollectionOfObjectValues("packages", cast) + if err != nil { + return err + } + } + return nil +} +// SetPackages sets the packages property value. The packages property +func (m *CopilotAdminCatalog) SetPackages(value []CopilotPackageDetailable)() { + err := m.GetBackingStore().Set("packages", value) + if err != nil { + panic(err) + } +} +type CopilotAdminCatalogable interface { + Entityable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetPackages()([]CopilotPackageDetailable) + SetPackages(value []CopilotPackageDetailable)() +} diff --git a/models/copilot_package.go b/models/copilot_package.go new file mode 100644 index 0000000000..00807825e8 --- /dev/null +++ b/models/copilot_package.go @@ -0,0 +1,742 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package models + +import ( + i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e "time" + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +type CopilotPackage struct { + Entity +} +// NewCopilotPackage instantiates a new CopilotPackage and sets the default values. +func NewCopilotPackage()(*CopilotPackage) { + m := &CopilotPackage{ + Entity: *NewEntity(), + } + return m +} +// CreateCopilotPackageFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateCopilotPackageFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + if parseNode != nil { + mappingValueNode, err := parseNode.GetChildNode("@odata.type") + if err != nil { + return nil, err + } + if mappingValueNode != nil { + mappingValue, err := mappingValueNode.GetStringValue() + if err != nil { + return nil, err + } + if mappingValue != nil { + switch *mappingValue { + case "#microsoft.graph.copilotPackageDetail": + return NewCopilotPackageDetail(), nil + } + } + } + } + return NewCopilotPackage(), nil +} +// GetAppId gets the appId property value. The appId property +// returns a *string when successful +func (m *CopilotPackage) GetAppId()(*string) { + val, err := m.GetBackingStore().Get("appId") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetAssetId gets the assetId property value. The assetId property +// returns a *string when successful +func (m *CopilotPackage) GetAssetId()(*string) { + val, err := m.GetBackingStore().Get("assetId") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetAvailableTo gets the availableTo property value. The availableTo property +// returns a *PackageStatus when successful +func (m *CopilotPackage) GetAvailableTo()(*PackageStatus) { + val, err := m.GetBackingStore().Get("availableTo") + if err != nil { + panic(err) + } + if val != nil { + return val.(*PackageStatus) + } + return nil +} +// GetDeployedTo gets the deployedTo property value. The deployedTo property +// returns a *PackageStatus when successful +func (m *CopilotPackage) GetDeployedTo()(*PackageStatus) { + val, err := m.GetBackingStore().Get("deployedTo") + if err != nil { + panic(err) + } + if val != nil { + return val.(*PackageStatus) + } + return nil +} +// GetDisplayName gets the displayName property value. The displayName property +// returns a *string when successful +func (m *CopilotPackage) GetDisplayName()(*string) { + val, err := m.GetBackingStore().Get("displayName") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetElementTypes gets the elementTypes property value. The elementTypes property +// returns a []string when successful +func (m *CopilotPackage) GetElementTypes()([]string) { + val, err := m.GetBackingStore().Get("elementTypes") + if err != nil { + panic(err) + } + if val != nil { + return val.([]string) + } + return nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *CopilotPackage) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.Entity.GetFieldDeserializers() + res["appId"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetAppId(val) + } + return nil + } + res["assetId"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetAssetId(val) + } + return nil + } + res["availableTo"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetEnumValue(ParsePackageStatus) + if err != nil { + return err + } + if val != nil { + m.SetAvailableTo(val.(*PackageStatus)) + } + return nil + } + res["deployedTo"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetEnumValue(ParsePackageStatus) + if err != nil { + return err + } + if val != nil { + m.SetDeployedTo(val.(*PackageStatus)) + } + return nil + } + res["displayName"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetDisplayName(val) + } + return nil + } + res["elementTypes"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfPrimitiveValues("string") + if err != nil { + return err + } + if val != nil { + res := make([]string, len(val)) + for i, v := range val { + if v != nil { + res[i] = *(v.(*string)) + } + } + m.SetElementTypes(res) + } + return nil + } + res["isBlocked"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetBoolValue() + if err != nil { + return err + } + if val != nil { + m.SetIsBlocked(val) + } + return nil + } + res["lastModifiedDateTime"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetTimeValue() + if err != nil { + return err + } + if val != nil { + m.SetLastModifiedDateTime(val) + } + return nil + } + res["manifestId"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetManifestId(val) + } + return nil + } + res["manifestVersion"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetManifestVersion(val) + } + return nil + } + res["ownerId"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetOwnerId(val) + } + return nil + } + res["platform"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetPlatform(val) + } + return nil + } + res["publisher"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetPublisher(val) + } + return nil + } + res["shortDescription"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetShortDescription(val) + } + return nil + } + res["supportedHosts"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfPrimitiveValues("string") + if err != nil { + return err + } + if val != nil { + res := make([]string, len(val)) + for i, v := range val { + if v != nil { + res[i] = *(v.(*string)) + } + } + m.SetSupportedHosts(res) + } + return nil + } + res["type"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetEnumValue(ParsePackageType) + if err != nil { + return err + } + if val != nil { + m.SetTypeEscaped(val.(*PackageType)) + } + return nil + } + res["version"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetVersion(val) + } + return nil + } + res["zipFile"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetByteArrayValue() + if err != nil { + return err + } + if val != nil { + m.SetZipFile(val) + } + return nil + } + return res +} +// GetIsBlocked gets the isBlocked property value. The isBlocked property +// returns a *bool when successful +func (m *CopilotPackage) GetIsBlocked()(*bool) { + val, err := m.GetBackingStore().Get("isBlocked") + if err != nil { + panic(err) + } + if val != nil { + return val.(*bool) + } + return nil +} +// GetLastModifiedDateTime gets the lastModifiedDateTime property value. The lastModifiedDateTime property +// returns a *Time when successful +func (m *CopilotPackage) GetLastModifiedDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) { + val, err := m.GetBackingStore().Get("lastModifiedDateTime") + if err != nil { + panic(err) + } + if val != nil { + return val.(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) + } + return nil +} +// GetManifestId gets the manifestId property value. The manifestId property +// returns a *string when successful +func (m *CopilotPackage) GetManifestId()(*string) { + val, err := m.GetBackingStore().Get("manifestId") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetManifestVersion gets the manifestVersion property value. The manifestVersion property +// returns a *string when successful +func (m *CopilotPackage) GetManifestVersion()(*string) { + val, err := m.GetBackingStore().Get("manifestVersion") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetOwnerId gets the ownerId property value. The ownerId property +// returns a *string when successful +func (m *CopilotPackage) GetOwnerId()(*string) { + val, err := m.GetBackingStore().Get("ownerId") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetPlatform gets the platform property value. The platform property +// returns a *string when successful +func (m *CopilotPackage) GetPlatform()(*string) { + val, err := m.GetBackingStore().Get("platform") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetPublisher gets the publisher property value. The publisher property +// returns a *string when successful +func (m *CopilotPackage) GetPublisher()(*string) { + val, err := m.GetBackingStore().Get("publisher") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetShortDescription gets the shortDescription property value. The shortDescription property +// returns a *string when successful +func (m *CopilotPackage) GetShortDescription()(*string) { + val, err := m.GetBackingStore().Get("shortDescription") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetSupportedHosts gets the supportedHosts property value. The supportedHosts property +// returns a []string when successful +func (m *CopilotPackage) GetSupportedHosts()([]string) { + val, err := m.GetBackingStore().Get("supportedHosts") + if err != nil { + panic(err) + } + if val != nil { + return val.([]string) + } + return nil +} +// GetTypeEscaped gets the type property value. The type property +// returns a *PackageType when successful +func (m *CopilotPackage) GetTypeEscaped()(*PackageType) { + val, err := m.GetBackingStore().Get("typeEscaped") + if err != nil { + panic(err) + } + if val != nil { + return val.(*PackageType) + } + return nil +} +// GetVersion gets the version property value. The version property +// returns a *string when successful +func (m *CopilotPackage) GetVersion()(*string) { + val, err := m.GetBackingStore().Get("version") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetZipFile gets the zipFile property value. The zipFile property +// returns a []byte when successful +func (m *CopilotPackage) GetZipFile()([]byte) { + val, err := m.GetBackingStore().Get("zipFile") + if err != nil { + panic(err) + } + if val != nil { + return val.([]byte) + } + return nil +} +// Serialize serializes information the current object +func (m *CopilotPackage) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.Entity.Serialize(writer) + if err != nil { + return err + } + { + err = writer.WriteStringValue("appId", m.GetAppId()) + if err != nil { + return err + } + } + { + err = writer.WriteStringValue("assetId", m.GetAssetId()) + if err != nil { + return err + } + } + if m.GetAvailableTo() != nil { + cast := (*m.GetAvailableTo()).String() + err = writer.WriteStringValue("availableTo", &cast) + if err != nil { + return err + } + } + if m.GetDeployedTo() != nil { + cast := (*m.GetDeployedTo()).String() + err = writer.WriteStringValue("deployedTo", &cast) + if err != nil { + return err + } + } + { + err = writer.WriteStringValue("displayName", m.GetDisplayName()) + if err != nil { + return err + } + } + if m.GetElementTypes() != nil { + err = writer.WriteCollectionOfStringValues("elementTypes", m.GetElementTypes()) + if err != nil { + return err + } + } + { + err = writer.WriteBoolValue("isBlocked", m.GetIsBlocked()) + if err != nil { + return err + } + } + { + err = writer.WriteTimeValue("lastModifiedDateTime", m.GetLastModifiedDateTime()) + if err != nil { + return err + } + } + { + err = writer.WriteStringValue("manifestId", m.GetManifestId()) + if err != nil { + return err + } + } + { + err = writer.WriteStringValue("manifestVersion", m.GetManifestVersion()) + if err != nil { + return err + } + } + { + err = writer.WriteStringValue("ownerId", m.GetOwnerId()) + if err != nil { + return err + } + } + { + err = writer.WriteStringValue("platform", m.GetPlatform()) + if err != nil { + return err + } + } + { + err = writer.WriteStringValue("publisher", m.GetPublisher()) + if err != nil { + return err + } + } + { + err = writer.WriteStringValue("shortDescription", m.GetShortDescription()) + if err != nil { + return err + } + } + if m.GetSupportedHosts() != nil { + err = writer.WriteCollectionOfStringValues("supportedHosts", m.GetSupportedHosts()) + if err != nil { + return err + } + } + if m.GetTypeEscaped() != nil { + cast := (*m.GetTypeEscaped()).String() + err = writer.WriteStringValue("type", &cast) + if err != nil { + return err + } + } + { + err = writer.WriteStringValue("version", m.GetVersion()) + if err != nil { + return err + } + } + { + err = writer.WriteByteArrayValue("zipFile", m.GetZipFile()) + if err != nil { + return err + } + } + return nil +} +// SetAppId sets the appId property value. The appId property +func (m *CopilotPackage) SetAppId(value *string)() { + err := m.GetBackingStore().Set("appId", value) + if err != nil { + panic(err) + } +} +// SetAssetId sets the assetId property value. The assetId property +func (m *CopilotPackage) SetAssetId(value *string)() { + err := m.GetBackingStore().Set("assetId", value) + if err != nil { + panic(err) + } +} +// SetAvailableTo sets the availableTo property value. The availableTo property +func (m *CopilotPackage) SetAvailableTo(value *PackageStatus)() { + err := m.GetBackingStore().Set("availableTo", value) + if err != nil { + panic(err) + } +} +// SetDeployedTo sets the deployedTo property value. The deployedTo property +func (m *CopilotPackage) SetDeployedTo(value *PackageStatus)() { + err := m.GetBackingStore().Set("deployedTo", value) + if err != nil { + panic(err) + } +} +// SetDisplayName sets the displayName property value. The displayName property +func (m *CopilotPackage) SetDisplayName(value *string)() { + err := m.GetBackingStore().Set("displayName", value) + if err != nil { + panic(err) + } +} +// SetElementTypes sets the elementTypes property value. The elementTypes property +func (m *CopilotPackage) SetElementTypes(value []string)() { + err := m.GetBackingStore().Set("elementTypes", value) + if err != nil { + panic(err) + } +} +// SetIsBlocked sets the isBlocked property value. The isBlocked property +func (m *CopilotPackage) SetIsBlocked(value *bool)() { + err := m.GetBackingStore().Set("isBlocked", value) + if err != nil { + panic(err) + } +} +// SetLastModifiedDateTime sets the lastModifiedDateTime property value. The lastModifiedDateTime property +func (m *CopilotPackage) SetLastModifiedDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() { + err := m.GetBackingStore().Set("lastModifiedDateTime", value) + if err != nil { + panic(err) + } +} +// SetManifestId sets the manifestId property value. The manifestId property +func (m *CopilotPackage) SetManifestId(value *string)() { + err := m.GetBackingStore().Set("manifestId", value) + if err != nil { + panic(err) + } +} +// SetManifestVersion sets the manifestVersion property value. The manifestVersion property +func (m *CopilotPackage) SetManifestVersion(value *string)() { + err := m.GetBackingStore().Set("manifestVersion", value) + if err != nil { + panic(err) + } +} +// SetOwnerId sets the ownerId property value. The ownerId property +func (m *CopilotPackage) SetOwnerId(value *string)() { + err := m.GetBackingStore().Set("ownerId", value) + if err != nil { + panic(err) + } +} +// SetPlatform sets the platform property value. The platform property +func (m *CopilotPackage) SetPlatform(value *string)() { + err := m.GetBackingStore().Set("platform", value) + if err != nil { + panic(err) + } +} +// SetPublisher sets the publisher property value. The publisher property +func (m *CopilotPackage) SetPublisher(value *string)() { + err := m.GetBackingStore().Set("publisher", value) + if err != nil { + panic(err) + } +} +// SetShortDescription sets the shortDescription property value. The shortDescription property +func (m *CopilotPackage) SetShortDescription(value *string)() { + err := m.GetBackingStore().Set("shortDescription", value) + if err != nil { + panic(err) + } +} +// SetSupportedHosts sets the supportedHosts property value. The supportedHosts property +func (m *CopilotPackage) SetSupportedHosts(value []string)() { + err := m.GetBackingStore().Set("supportedHosts", value) + if err != nil { + panic(err) + } +} +// SetTypeEscaped sets the type property value. The type property +func (m *CopilotPackage) SetTypeEscaped(value *PackageType)() { + err := m.GetBackingStore().Set("typeEscaped", value) + if err != nil { + panic(err) + } +} +// SetVersion sets the version property value. The version property +func (m *CopilotPackage) SetVersion(value *string)() { + err := m.GetBackingStore().Set("version", value) + if err != nil { + panic(err) + } +} +// SetZipFile sets the zipFile property value. The zipFile property +func (m *CopilotPackage) SetZipFile(value []byte)() { + err := m.GetBackingStore().Set("zipFile", value) + if err != nil { + panic(err) + } +} +type CopilotPackageable interface { + Entityable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetAppId()(*string) + GetAssetId()(*string) + GetAvailableTo()(*PackageStatus) + GetDeployedTo()(*PackageStatus) + GetDisplayName()(*string) + GetElementTypes()([]string) + GetIsBlocked()(*bool) + GetLastModifiedDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) + GetManifestId()(*string) + GetManifestVersion()(*string) + GetOwnerId()(*string) + GetPlatform()(*string) + GetPublisher()(*string) + GetShortDescription()(*string) + GetSupportedHosts()([]string) + GetTypeEscaped()(*PackageType) + GetVersion()(*string) + GetZipFile()([]byte) + SetAppId(value *string)() + SetAssetId(value *string)() + SetAvailableTo(value *PackageStatus)() + SetDeployedTo(value *PackageStatus)() + SetDisplayName(value *string)() + SetElementTypes(value []string)() + SetIsBlocked(value *bool)() + SetLastModifiedDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() + SetManifestId(value *string)() + SetManifestVersion(value *string)() + SetOwnerId(value *string)() + SetPlatform(value *string)() + SetPublisher(value *string)() + SetShortDescription(value *string)() + SetSupportedHosts(value []string)() + SetTypeEscaped(value *PackageType)() + SetVersion(value *string)() + SetZipFile(value []byte)() +} diff --git a/models/copilot_package_detail.go b/models/copilot_package_detail.go new file mode 100644 index 0000000000..156f551bcc --- /dev/null +++ b/models/copilot_package_detail.go @@ -0,0 +1,306 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +type CopilotPackageDetail struct { + CopilotPackage +} +// NewCopilotPackageDetail instantiates a new CopilotPackageDetail and sets the default values. +func NewCopilotPackageDetail()(*CopilotPackageDetail) { + m := &CopilotPackageDetail{ + CopilotPackage: *NewCopilotPackage(), + } + return m +} +// CreateCopilotPackageDetailFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateCopilotPackageDetailFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewCopilotPackageDetail(), nil +} +// GetAcquireUsersAndGroups gets the acquireUsersAndGroups property value. The acquireUsersAndGroups property +// returns a []PackageAccessEntityable when successful +func (m *CopilotPackageDetail) GetAcquireUsersAndGroups()([]PackageAccessEntityable) { + val, err := m.GetBackingStore().Get("acquireUsersAndGroups") + if err != nil { + panic(err) + } + if val != nil { + return val.([]PackageAccessEntityable) + } + return nil +} +// GetAllowedUsersAndGroups gets the allowedUsersAndGroups property value. The allowedUsersAndGroups property +// returns a []PackageAccessEntityable when successful +func (m *CopilotPackageDetail) GetAllowedUsersAndGroups()([]PackageAccessEntityable) { + val, err := m.GetBackingStore().Get("allowedUsersAndGroups") + if err != nil { + panic(err) + } + if val != nil { + return val.([]PackageAccessEntityable) + } + return nil +} +// GetCategories gets the categories property value. The categories property +// returns a []string when successful +func (m *CopilotPackageDetail) GetCategories()([]string) { + val, err := m.GetBackingStore().Get("categories") + if err != nil { + panic(err) + } + if val != nil { + return val.([]string) + } + return nil +} +// GetElementDetails gets the elementDetails property value. The elementDetails property +// returns a []PackageElementDetailable when successful +func (m *CopilotPackageDetail) GetElementDetails()([]PackageElementDetailable) { + val, err := m.GetBackingStore().Get("elementDetails") + if err != nil { + panic(err) + } + if val != nil { + return val.([]PackageElementDetailable) + } + return nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *CopilotPackageDetail) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.CopilotPackage.GetFieldDeserializers() + res["acquireUsersAndGroups"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(CreatePackageAccessEntityFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]PackageAccessEntityable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(PackageAccessEntityable) + } + } + m.SetAcquireUsersAndGroups(res) + } + return nil + } + res["allowedUsersAndGroups"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(CreatePackageAccessEntityFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]PackageAccessEntityable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(PackageAccessEntityable) + } + } + m.SetAllowedUsersAndGroups(res) + } + return nil + } + res["categories"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfPrimitiveValues("string") + if err != nil { + return err + } + if val != nil { + res := make([]string, len(val)) + for i, v := range val { + if v != nil { + res[i] = *(v.(*string)) + } + } + m.SetCategories(res) + } + return nil + } + res["elementDetails"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(CreatePackageElementDetailFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]PackageElementDetailable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(PackageElementDetailable) + } + } + m.SetElementDetails(res) + } + return nil + } + res["longDescription"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetLongDescription(val) + } + return nil + } + res["sensitivity"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetSensitivity(val) + } + return nil + } + return res +} +// GetLongDescription gets the longDescription property value. The longDescription property +// returns a *string when successful +func (m *CopilotPackageDetail) GetLongDescription()(*string) { + val, err := m.GetBackingStore().Get("longDescription") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetSensitivity gets the sensitivity property value. The sensitivity property +// returns a *string when successful +func (m *CopilotPackageDetail) GetSensitivity()(*string) { + val, err := m.GetBackingStore().Get("sensitivity") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// Serialize serializes information the current object +func (m *CopilotPackageDetail) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.CopilotPackage.Serialize(writer) + if err != nil { + return err + } + if m.GetAcquireUsersAndGroups() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetAcquireUsersAndGroups())) + for i, v := range m.GetAcquireUsersAndGroups() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err = writer.WriteCollectionOfObjectValues("acquireUsersAndGroups", cast) + if err != nil { + return err + } + } + if m.GetAllowedUsersAndGroups() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetAllowedUsersAndGroups())) + for i, v := range m.GetAllowedUsersAndGroups() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err = writer.WriteCollectionOfObjectValues("allowedUsersAndGroups", cast) + if err != nil { + return err + } + } + if m.GetCategories() != nil { + err = writer.WriteCollectionOfStringValues("categories", m.GetCategories()) + if err != nil { + return err + } + } + if m.GetElementDetails() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetElementDetails())) + for i, v := range m.GetElementDetails() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err = writer.WriteCollectionOfObjectValues("elementDetails", cast) + if err != nil { + return err + } + } + { + err = writer.WriteStringValue("longDescription", m.GetLongDescription()) + if err != nil { + return err + } + } + { + err = writer.WriteStringValue("sensitivity", m.GetSensitivity()) + if err != nil { + return err + } + } + return nil +} +// SetAcquireUsersAndGroups sets the acquireUsersAndGroups property value. The acquireUsersAndGroups property +func (m *CopilotPackageDetail) SetAcquireUsersAndGroups(value []PackageAccessEntityable)() { + err := m.GetBackingStore().Set("acquireUsersAndGroups", value) + if err != nil { + panic(err) + } +} +// SetAllowedUsersAndGroups sets the allowedUsersAndGroups property value. The allowedUsersAndGroups property +func (m *CopilotPackageDetail) SetAllowedUsersAndGroups(value []PackageAccessEntityable)() { + err := m.GetBackingStore().Set("allowedUsersAndGroups", value) + if err != nil { + panic(err) + } +} +// SetCategories sets the categories property value. The categories property +func (m *CopilotPackageDetail) SetCategories(value []string)() { + err := m.GetBackingStore().Set("categories", value) + if err != nil { + panic(err) + } +} +// SetElementDetails sets the elementDetails property value. The elementDetails property +func (m *CopilotPackageDetail) SetElementDetails(value []PackageElementDetailable)() { + err := m.GetBackingStore().Set("elementDetails", value) + if err != nil { + panic(err) + } +} +// SetLongDescription sets the longDescription property value. The longDescription property +func (m *CopilotPackageDetail) SetLongDescription(value *string)() { + err := m.GetBackingStore().Set("longDescription", value) + if err != nil { + panic(err) + } +} +// SetSensitivity sets the sensitivity property value. The sensitivity property +func (m *CopilotPackageDetail) SetSensitivity(value *string)() { + err := m.GetBackingStore().Set("sensitivity", value) + if err != nil { + panic(err) + } +} +type CopilotPackageDetailable interface { + CopilotPackageable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetAcquireUsersAndGroups()([]PackageAccessEntityable) + GetAllowedUsersAndGroups()([]PackageAccessEntityable) + GetCategories()([]string) + GetElementDetails()([]PackageElementDetailable) + GetLongDescription()(*string) + GetSensitivity()(*string) + SetAcquireUsersAndGroups(value []PackageAccessEntityable)() + SetAllowedUsersAndGroups(value []PackageAccessEntityable)() + SetCategories(value []string)() + SetElementDetails(value []PackageElementDetailable)() + SetLongDescription(value *string)() + SetSensitivity(value *string)() +} diff --git a/models/cross_cloud_azure_active_directory_tenant.go b/models/cross_cloud_azure_active_directory_tenant.go index 3c6b1beeb8..a6a454b156 100644 --- a/models/cross_cloud_azure_active_directory_tenant.go +++ b/models/cross_cloud_azure_active_directory_tenant.go @@ -24,7 +24,7 @@ func NewCrossCloudAzureActiveDirectoryTenant()(*CrossCloudAzureActiveDirectoryTe func CreateCrossCloudAzureActiveDirectoryTenantFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { return NewCrossCloudAzureActiveDirectoryTenant(), nil } -// GetCloudInstance gets the cloudInstance property value. The ID of the cloud where the tenant is located, one of microsoftonline.com, microsoftonline.us or partner.microsoftonline.cn. Read only. +// GetCloudInstance gets the cloudInstance property value. The ID of the cloud where the tenant is located, one of microsoftonline.com, microsoftonline.us or partner.microsoftonline.cn. Read-only. // returns a *string when successful func (m *CrossCloudAzureActiveDirectoryTenant) GetCloudInstance()(*string) { val, err := m.GetBackingStore().Get("cloudInstance") @@ -36,7 +36,7 @@ func (m *CrossCloudAzureActiveDirectoryTenant) GetCloudInstance()(*string) { } return nil } -// GetDisplayName gets the displayName property value. The name of the Microsoft Entra tenant. Read only. +// GetDisplayName gets the displayName property value. The name of the Microsoft Entra tenant. Read-only. // returns a *string when successful func (m *CrossCloudAzureActiveDirectoryTenant) GetDisplayName()(*string) { val, err := m.GetBackingStore().Get("displayName") @@ -84,7 +84,7 @@ func (m *CrossCloudAzureActiveDirectoryTenant) GetFieldDeserializers()(map[strin } return res } -// GetTenantId gets the tenantId property value. The ID of the Microsoft Entra tenant. Read only. +// GetTenantId gets the tenantId property value. The ID of the Microsoft Entra tenant. Read-only. // returns a *string when successful func (m *CrossCloudAzureActiveDirectoryTenant) GetTenantId()(*string) { val, err := m.GetBackingStore().Get("tenantId") @@ -122,21 +122,21 @@ func (m *CrossCloudAzureActiveDirectoryTenant) Serialize(writer i878a80d2330e89d } return nil } -// SetCloudInstance sets the cloudInstance property value. The ID of the cloud where the tenant is located, one of microsoftonline.com, microsoftonline.us or partner.microsoftonline.cn. Read only. +// SetCloudInstance sets the cloudInstance property value. The ID of the cloud where the tenant is located, one of microsoftonline.com, microsoftonline.us or partner.microsoftonline.cn. Read-only. func (m *CrossCloudAzureActiveDirectoryTenant) SetCloudInstance(value *string)() { err := m.GetBackingStore().Set("cloudInstance", value) if err != nil { panic(err) } } -// SetDisplayName sets the displayName property value. The name of the Microsoft Entra tenant. Read only. +// SetDisplayName sets the displayName property value. The name of the Microsoft Entra tenant. Read-only. func (m *CrossCloudAzureActiveDirectoryTenant) SetDisplayName(value *string)() { err := m.GetBackingStore().Set("displayName", value) if err != nil { panic(err) } } -// SetTenantId sets the tenantId property value. The ID of the Microsoft Entra tenant. Read only. +// SetTenantId sets the tenantId property value. The ID of the Microsoft Entra tenant. Read-only. func (m *CrossCloudAzureActiveDirectoryTenant) SetTenantId(value *string)() { err := m.GetBackingStore().Set("tenantId", value) if err != nil { diff --git a/models/csa_star_level.go b/models/csa_star_level.go new file mode 100644 index 0000000000..c15bf56975 --- /dev/null +++ b/models/csa_star_level.go @@ -0,0 +1,54 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package models +type CsaStarLevel int + +const ( + NONE_CSASTARLEVEL CsaStarLevel = iota + ATTESTATION_CSASTARLEVEL + CERTIFICATION_CSASTARLEVEL + CONTINUOUSMONITORING_CSASTARLEVEL + CSTARASSESSMENT_CSASTARLEVEL + SELFASSESSMENT_CSASTARLEVEL + NOTSUPPORTED_CSASTARLEVEL + UNKNOWNFUTUREVALUE_CSASTARLEVEL +) + +func (i CsaStarLevel) String() string { + return []string{"none", "attestation", "certification", "continuousMonitoring", "cStarAssessment", "selfAssessment", "notSupported", "unknownFutureValue"}[i] +} +func ParseCsaStarLevel(v string) (any, error) { + result := NONE_CSASTARLEVEL + switch v { + case "none": + result = NONE_CSASTARLEVEL + case "attestation": + result = ATTESTATION_CSASTARLEVEL + case "certification": + result = CERTIFICATION_CSASTARLEVEL + case "continuousMonitoring": + result = CONTINUOUSMONITORING_CSASTARLEVEL + case "cStarAssessment": + result = CSTARASSESSMENT_CSASTARLEVEL + case "selfAssessment": + result = SELFASSESSMENT_CSASTARLEVEL + case "notSupported": + result = NOTSUPPORTED_CSASTARLEVEL + case "unknownFutureValue": + result = UNKNOWNFUTUREVALUE_CSASTARLEVEL + default: + return nil, nil + } + return &result, nil +} +func SerializeCsaStarLevel(values []CsaStarLevel) []string { + result := make([]string, len(values)) + for i, v := range values { + result[i] = v.String() + } + return result +} +func (i CsaStarLevel) isMultiValue() bool { + return false +} diff --git a/models/data_protection.go b/models/data_protection.go new file mode 100644 index 0000000000..8d31e7fbec --- /dev/null +++ b/models/data_protection.go @@ -0,0 +1,60 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package models +import ( + "math" + "strings" +) +type DataProtection int + +const ( + NONE_DATAPROTECTION = 1 + IMPACTASSESSMENTS_DATAPROTECTION = 2 + OFFICERS_DATAPROTECTION = 4 + SECURECROSSBORDERDATATRANSFER_DATAPROTECTION = 8 + UNKNOWNFUTUREVALUE_DATAPROTECTION = 16 +) + +func (i DataProtection) String() string { + var values []string + options := []string{"none", "impactAssessments", "officers", "secureCrossBorderDataTransfer", "unknownFutureValue"} + for p := 0; p < 5; p++ { + mantis := DataProtection(int(math.Pow(2, float64(p)))) + if i&mantis == mantis { + values = append(values, options[p]) + } + } + return strings.Join(values, ",") +} +func ParseDataProtection(v string) (any, error) { + var result DataProtection + values := strings.Split(v, ",") + for _, str := range values { + switch str { + case "none": + result |= NONE_DATAPROTECTION + case "impactAssessments": + result |= IMPACTASSESSMENTS_DATAPROTECTION + case "officers": + result |= OFFICERS_DATAPROTECTION + case "secureCrossBorderDataTransfer": + result |= SECURECROSSBORDERDATATRANSFER_DATAPROTECTION + case "unknownFutureValue": + result |= UNKNOWNFUTUREVALUE_DATAPROTECTION + default: + return nil, nil + } + } + return &result, nil +} +func SerializeDataProtection(values []DataProtection) []string { + result := make([]string, len(values)) + for i, v := range values { + result[i] = v.String() + } + return result +} +func (i DataProtection) isMultiValue() bool { + return true +} diff --git a/models/data_retention_level.go b/models/data_retention_level.go new file mode 100644 index 0000000000..f548ca852a --- /dev/null +++ b/models/data_retention_level.go @@ -0,0 +1,54 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package models +type DataRetentionLevel int + +const ( + NONE_DATARETENTIONLEVEL DataRetentionLevel = iota + DATARETAINED_DATARETENTIONLEVEL + DELETEDIMMEDIATELY_DATARETENTIONLEVEL + DELETEDWITHIN1MONTH_DATARETENTIONLEVEL + DELETEDWITHIN2WEEKS_DATARETENTIONLEVEL + DELETEDWITHIN3MONTHS_DATARETENTIONLEVEL + DELETEDWITHINMORETHAN3MONTHS_DATARETENTIONLEVEL + UNKNOWNFUTUREVALUE_DATARETENTIONLEVEL +) + +func (i DataRetentionLevel) String() string { + return []string{"none", "dataRetained", "deletedImmediately", "deletedWithin1Month", "deletedWithin2Weeks", "deletedWithin3Months", "deletedWithinMoreThan3Months", "unknownFutureValue"}[i] +} +func ParseDataRetentionLevel(v string) (any, error) { + result := NONE_DATARETENTIONLEVEL + switch v { + case "none": + result = NONE_DATARETENTIONLEVEL + case "dataRetained": + result = DATARETAINED_DATARETENTIONLEVEL + case "deletedImmediately": + result = DELETEDIMMEDIATELY_DATARETENTIONLEVEL + case "deletedWithin1Month": + result = DELETEDWITHIN1MONTH_DATARETENTIONLEVEL + case "deletedWithin2Weeks": + result = DELETEDWITHIN2WEEKS_DATARETENTIONLEVEL + case "deletedWithin3Months": + result = DELETEDWITHIN3MONTHS_DATARETENTIONLEVEL + case "deletedWithinMoreThan3Months": + result = DELETEDWITHINMORETHAN3MONTHS_DATARETENTIONLEVEL + case "unknownFutureValue": + result = UNKNOWNFUTUREVALUE_DATARETENTIONLEVEL + default: + return nil, nil + } + return &result, nil +} +func SerializeDataRetentionLevel(values []DataRetentionLevel) []string { + result := make([]string, len(values)) + for i, v := range values { + result[i] = v.String() + } + return result +} +func (i DataRetentionLevel) isMultiValue() bool { + return false +} diff --git a/models/delegated_admin_relationship.go b/models/delegated_admin_relationship.go index 7728e615a2..d1ae405300 100644 --- a/models/delegated_admin_relationship.go +++ b/models/delegated_admin_relationship.go @@ -339,7 +339,7 @@ func (m *DelegatedAdminRelationship) GetRequests()([]DelegatedAdminRelationshipR } return nil } -// GetStatus gets the status property value. The status of the relationship. Read Only. The possible values are: activating, active, approvalPending, approved, created, expired, expiring, terminated, terminating, terminationRequested, unknownFutureValue. Supports $orderby. +// GetStatus gets the status property value. The status of the relationship. Read-only. The possible values are: activating, active, approvalPending, approved, created, expired, expiring, terminated, terminating, terminationRequested, unknownFutureValue. Supports $orderby. // returns a *DelegatedAdminRelationshipStatus when successful func (m *DelegatedAdminRelationship) GetStatus()(*DelegatedAdminRelationshipStatus) { val, err := m.GetBackingStore().Get("status") @@ -540,7 +540,7 @@ func (m *DelegatedAdminRelationship) SetRequests(value []DelegatedAdminRelations panic(err) } } -// SetStatus sets the status property value. The status of the relationship. Read Only. The possible values are: activating, active, approvalPending, approved, created, expired, expiring, terminated, terminating, terminationRequested, unknownFutureValue. Supports $orderby. +// SetStatus sets the status property value. The status of the relationship. Read-only. The possible values are: activating, active, approvalPending, approved, created, expired, expiring, terminated, terminating, terminationRequested, unknownFutureValue. Supports $orderby. func (m *DelegatedAdminRelationship) SetStatus(value *DelegatedAdminRelationshipStatus)() { err := m.GetBackingStore().Set("status", value) if err != nil { diff --git a/models/directory_object.go b/models/directory_object.go index bd937ab55c..4a14cca82b 100644 --- a/models/directory_object.go +++ b/models/directory_object.go @@ -75,6 +75,8 @@ func CreateDirectoryObjectFromDiscriminatorValue(parseNode i878a80d2330e89d26896 return NewEndpoint(), nil case "#microsoft.graph.extensionProperty": return NewExtensionProperty(), nil + case "#microsoft.graph.federatedTokenValidationPolicy": + return NewFederatedTokenValidationPolicy(), nil case "#microsoft.graph.group": return NewGroup(), nil case "#microsoft.graph.groupSettingTemplate": diff --git a/models/directory_role.go b/models/directory_role.go index fa07abbe26..777402a07d 100644 --- a/models/directory_role.go +++ b/models/directory_role.go @@ -128,7 +128,7 @@ func (m *DirectoryRole) GetMembers()([]DirectoryObjectable) { } return nil } -// GetRoleTemplateId gets the roleTemplateId property value. The id of the directoryRoleTemplate that this role is based on. The property must be specified when activating a directory role in a tenant with a POST operation. After the directory role has been activated, the property is read only. Supports $filter (eq), $select. +// GetRoleTemplateId gets the roleTemplateId property value. The id of the directoryRoleTemplate that this role is based on. The property must be specified when activating a directory role in a tenant with a POST operation. After the directory role has been activated, the property is read-only. Supports $filter (eq), $select. // returns a *string when successful func (m *DirectoryRole) GetRoleTemplateId()(*string) { val, err := m.GetBackingStore().Get("roleTemplateId") @@ -223,7 +223,7 @@ func (m *DirectoryRole) SetMembers(value []DirectoryObjectable)() { panic(err) } } -// SetRoleTemplateId sets the roleTemplateId property value. The id of the directoryRoleTemplate that this role is based on. The property must be specified when activating a directory role in a tenant with a POST operation. After the directory role has been activated, the property is read only. Supports $filter (eq), $select. +// SetRoleTemplateId sets the roleTemplateId property value. The id of the directoryRoleTemplate that this role is based on. The property must be specified when activating a directory role in a tenant with a POST operation. After the directory role has been activated, the property is read-only. Supports $filter (eq), $select. func (m *DirectoryRole) SetRoleTemplateId(value *string)() { err := m.GetBackingStore().Set("roleTemplateId", value) if err != nil { diff --git a/models/domain_identity_source.go b/models/domain_identity_source.go index e7db4be058..8e179da2f0 100644 --- a/models/domain_identity_source.go +++ b/models/domain_identity_source.go @@ -24,7 +24,7 @@ func NewDomainIdentitySource()(*DomainIdentitySource) { func CreateDomainIdentitySourceFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { return NewDomainIdentitySource(), nil } -// GetDisplayName gets the displayName property value. The name of the identity source, typically also the domain name. Read only. +// GetDisplayName gets the displayName property value. The name of the identity source, typically also the domain name. Read-only. // returns a *string when successful func (m *DomainIdentitySource) GetDisplayName()(*string) { val, err := m.GetBackingStore().Get("displayName") @@ -36,7 +36,7 @@ func (m *DomainIdentitySource) GetDisplayName()(*string) { } return nil } -// GetDomainName gets the domainName property value. The domain name. Read only. +// GetDomainName gets the domainName property value. The domain name. Read-only. // returns a *string when successful func (m *DomainIdentitySource) GetDomainName()(*string) { val, err := m.GetBackingStore().Get("domainName") @@ -94,14 +94,14 @@ func (m *DomainIdentitySource) Serialize(writer i878a80d2330e89d26896388a3f487ee } return nil } -// SetDisplayName sets the displayName property value. The name of the identity source, typically also the domain name. Read only. +// SetDisplayName sets the displayName property value. The name of the identity source, typically also the domain name. Read-only. func (m *DomainIdentitySource) SetDisplayName(value *string)() { err := m.GetBackingStore().Set("displayName", value) if err != nil { panic(err) } } -// SetDomainName sets the domainName property value. The domain name. Read only. +// SetDomainName sets the domainName property value. The domain name. Read-only. func (m *DomainIdentitySource) SetDomainName(value *string)() { err := m.GetBackingStore().Set("domainName", value) if err != nil { diff --git a/models/email_notifications_setting.go b/models/email_notifications_setting.go new file mode 100644 index 0000000000..537a60095a --- /dev/null +++ b/models/email_notifications_setting.go @@ -0,0 +1,154 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +type EmailNotificationsSetting struct { + Entity +} +// NewEmailNotificationsSetting instantiates a new EmailNotificationsSetting and sets the default values. +func NewEmailNotificationsSetting()(*EmailNotificationsSetting) { + m := &EmailNotificationsSetting{ + Entity: *NewEntity(), + } + return m +} +// CreateEmailNotificationsSettingFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateEmailNotificationsSettingFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewEmailNotificationsSetting(), nil +} +// GetAdditionalEvents gets the additionalEvents property value. The additionalEvents property +// returns a *NotificationEventsType when successful +func (m *EmailNotificationsSetting) GetAdditionalEvents()(*NotificationEventsType) { + val, err := m.GetBackingStore().Get("additionalEvents") + if err != nil { + panic(err) + } + if val != nil { + return val.(*NotificationEventsType) + } + return nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *EmailNotificationsSetting) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.Entity.GetFieldDeserializers() + res["additionalEvents"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetEnumValue(ParseNotificationEventsType) + if err != nil { + return err + } + if val != nil { + m.SetAdditionalEvents(val.(*NotificationEventsType)) + } + return nil + } + res["isEnabled"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetBoolValue() + if err != nil { + return err + } + if val != nil { + m.SetIsEnabled(val) + } + return nil + } + res["recipients"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetObjectValue(CreateNotificationRecipientsFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + m.SetRecipients(val.(NotificationRecipientsable)) + } + return nil + } + return res +} +// GetIsEnabled gets the isEnabled property value. Indicates whether notifications are enabled. +// returns a *bool when successful +func (m *EmailNotificationsSetting) GetIsEnabled()(*bool) { + val, err := m.GetBackingStore().Get("isEnabled") + if err != nil { + panic(err) + } + if val != nil { + return val.(*bool) + } + return nil +} +// GetRecipients gets the recipients property value. The recipients property +// returns a NotificationRecipientsable when successful +func (m *EmailNotificationsSetting) GetRecipients()(NotificationRecipientsable) { + val, err := m.GetBackingStore().Get("recipients") + if err != nil { + panic(err) + } + if val != nil { + return val.(NotificationRecipientsable) + } + return nil +} +// Serialize serializes information the current object +func (m *EmailNotificationsSetting) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.Entity.Serialize(writer) + if err != nil { + return err + } + if m.GetAdditionalEvents() != nil { + cast := (*m.GetAdditionalEvents()).String() + err = writer.WriteStringValue("additionalEvents", &cast) + if err != nil { + return err + } + } + { + err = writer.WriteBoolValue("isEnabled", m.GetIsEnabled()) + if err != nil { + return err + } + } + { + err = writer.WriteObjectValue("recipients", m.GetRecipients()) + if err != nil { + return err + } + } + return nil +} +// SetAdditionalEvents sets the additionalEvents property value. The additionalEvents property +func (m *EmailNotificationsSetting) SetAdditionalEvents(value *NotificationEventsType)() { + err := m.GetBackingStore().Set("additionalEvents", value) + if err != nil { + panic(err) + } +} +// SetIsEnabled sets the isEnabled property value. Indicates whether notifications are enabled. +func (m *EmailNotificationsSetting) SetIsEnabled(value *bool)() { + err := m.GetBackingStore().Set("isEnabled", value) + if err != nil { + panic(err) + } +} +// SetRecipients sets the recipients property value. The recipients property +func (m *EmailNotificationsSetting) SetRecipients(value NotificationRecipientsable)() { + err := m.GetBackingStore().Set("recipients", value) + if err != nil { + panic(err) + } +} +type EmailNotificationsSettingable interface { + Entityable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetAdditionalEvents()(*NotificationEventsType) + GetIsEnabled()(*bool) + GetRecipients()(NotificationRecipientsable) + SetAdditionalEvents(value *NotificationEventsType)() + SetIsEnabled(value *bool)() + SetRecipients(value NotificationRecipientsable)() +} diff --git a/models/end_user_settings.go b/models/end_user_settings.go new file mode 100644 index 0000000000..28203002ce --- /dev/null +++ b/models/end_user_settings.go @@ -0,0 +1,119 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +type EndUserSettings struct { + ControlConfiguration +} +// NewEndUserSettings instantiates a new EndUserSettings and sets the default values. +func NewEndUserSettings()(*EndUserSettings) { + m := &EndUserSettings{ + ControlConfiguration: *NewControlConfiguration(), + } + odataTypeValue := "#microsoft.graph.endUserSettings" + m.SetOdataType(&odataTypeValue) + return m +} +// CreateEndUserSettingsFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateEndUserSettingsFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewEndUserSettings(), nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *EndUserSettings) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.ControlConfiguration.GetFieldDeserializers() + res["relatedPeopleInsightLevel"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetEnumValue(ParseAccessPackageSuggestionRelatedPeopleInsightLevel) + if err != nil { + return err + } + if val != nil { + m.SetRelatedPeopleInsightLevel(val.(*AccessPackageSuggestionRelatedPeopleInsightLevel)) + } + return nil + } + res["showApproverDetailsToMembers"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetBoolValue() + if err != nil { + return err + } + if val != nil { + m.SetShowApproverDetailsToMembers(val) + } + return nil + } + return res +} +// GetRelatedPeopleInsightLevel gets the relatedPeopleInsightLevel property value. The level of related people insights to show in access package suggestions. The possible values are: disabled, count, countAndNames, unknownFutureValue. +// returns a *AccessPackageSuggestionRelatedPeopleInsightLevel when successful +func (m *EndUserSettings) GetRelatedPeopleInsightLevel()(*AccessPackageSuggestionRelatedPeopleInsightLevel) { + val, err := m.GetBackingStore().Get("relatedPeopleInsightLevel") + if err != nil { + panic(err) + } + if val != nil { + return val.(*AccessPackageSuggestionRelatedPeopleInsightLevel) + } + return nil +} +// GetShowApproverDetailsToMembers gets the showApproverDetailsToMembers property value. Indicates whether approver details are shown to end users. When true, approver information is visible to members. +// returns a *bool when successful +func (m *EndUserSettings) GetShowApproverDetailsToMembers()(*bool) { + val, err := m.GetBackingStore().Get("showApproverDetailsToMembers") + if err != nil { + panic(err) + } + if val != nil { + return val.(*bool) + } + return nil +} +// Serialize serializes information the current object +func (m *EndUserSettings) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.ControlConfiguration.Serialize(writer) + if err != nil { + return err + } + if m.GetRelatedPeopleInsightLevel() != nil { + cast := (*m.GetRelatedPeopleInsightLevel()).String() + err = writer.WriteStringValue("relatedPeopleInsightLevel", &cast) + if err != nil { + return err + } + } + { + err = writer.WriteBoolValue("showApproverDetailsToMembers", m.GetShowApproverDetailsToMembers()) + if err != nil { + return err + } + } + return nil +} +// SetRelatedPeopleInsightLevel sets the relatedPeopleInsightLevel property value. The level of related people insights to show in access package suggestions. The possible values are: disabled, count, countAndNames, unknownFutureValue. +func (m *EndUserSettings) SetRelatedPeopleInsightLevel(value *AccessPackageSuggestionRelatedPeopleInsightLevel)() { + err := m.GetBackingStore().Set("relatedPeopleInsightLevel", value) + if err != nil { + panic(err) + } +} +// SetShowApproverDetailsToMembers sets the showApproverDetailsToMembers property value. Indicates whether approver details are shown to end users. When true, approver information is visible to members. +func (m *EndUserSettings) SetShowApproverDetailsToMembers(value *bool)() { + err := m.GetBackingStore().Set("showApproverDetailsToMembers", value) + if err != nil { + panic(err) + } +} +type EndUserSettingsable interface { + ControlConfigurationable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetRelatedPeopleInsightLevel()(*AccessPackageSuggestionRelatedPeopleInsightLevel) + GetShowApproverDetailsToMembers()(*bool) + SetRelatedPeopleInsightLevel(value *AccessPackageSuggestionRelatedPeopleInsightLevel)() + SetShowApproverDetailsToMembers(value *bool)() +} diff --git a/models/entitlement_management.go b/models/entitlement_management.go index 5995fda727..7b94df2e88 100644 --- a/models/entitlement_management.go +++ b/models/entitlement_management.go @@ -46,6 +46,18 @@ func (m *EntitlementManagement) GetAccessPackages()([]AccessPackageable) { } return nil } +// GetAccessPackageSuggestions gets the accessPackageSuggestions property value. Suggested access packages for end users based on various criteria such as related people insights and assignment history. +// returns a []AccessPackageSuggestionable when successful +func (m *EntitlementManagement) GetAccessPackageSuggestions()([]AccessPackageSuggestionable) { + val, err := m.GetBackingStore().Get("accessPackageSuggestions") + if err != nil { + panic(err) + } + if val != nil { + return val.([]AccessPackageSuggestionable) + } + return nil +} // GetAssignmentPolicies gets the assignmentPolicies property value. Access package assignment policies govern which subjects can request or be assigned an access package via an access package assignment. // returns a []AccessPackageAssignmentPolicyable when successful func (m *EntitlementManagement) GetAssignmentPolicies()([]AccessPackageAssignmentPolicyable) { @@ -82,6 +94,18 @@ func (m *EntitlementManagement) GetAssignments()([]AccessPackageAssignmentable) } return nil } +// GetAvailableAccessPackages gets the availableAccessPackages property value. Access packages available for end users to browse and request. +// returns a []AvailableAccessPackageable when successful +func (m *EntitlementManagement) GetAvailableAccessPackages()([]AvailableAccessPackageable) { + val, err := m.GetBackingStore().Get("availableAccessPackages") + if err != nil { + panic(err) + } + if val != nil { + return val.([]AvailableAccessPackageable) + } + return nil +} // GetCatalogs gets the catalogs property value. A container for access packages. // returns a []AccessPackageCatalogable when successful func (m *EntitlementManagement) GetCatalogs()([]AccessPackageCatalogable) { @@ -106,6 +130,18 @@ func (m *EntitlementManagement) GetConnectedOrganizations()([]ConnectedOrganizat } return nil } +// GetControlConfigurations gets the controlConfigurations property value. Configuration settings that control the lifecycle and access policies of entitlement management within a tenant. +// returns a []ControlConfigurationable when successful +func (m *EntitlementManagement) GetControlConfigurations()([]ControlConfigurationable) { + val, err := m.GetBackingStore().Get("controlConfigurations") + if err != nil { + panic(err) + } + if val != nil { + return val.([]ControlConfigurationable) + } + return nil +} // GetFieldDeserializers the deserialization information for the current model // returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful func (m *EntitlementManagement) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { @@ -142,6 +178,22 @@ func (m *EntitlementManagement) GetFieldDeserializers()(map[string]func(i878a80d } return nil } + res["accessPackageSuggestions"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(CreateAccessPackageSuggestionFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]AccessPackageSuggestionable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(AccessPackageSuggestionable) + } + } + m.SetAccessPackageSuggestions(res) + } + return nil + } res["assignmentPolicies"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { val, err := n.GetCollectionOfObjectValues(CreateAccessPackageAssignmentPolicyFromDiscriminatorValue) if err != nil { @@ -190,6 +242,22 @@ func (m *EntitlementManagement) GetFieldDeserializers()(map[string]func(i878a80d } return nil } + res["availableAccessPackages"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(CreateAvailableAccessPackageFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]AvailableAccessPackageable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(AvailableAccessPackageable) + } + } + m.SetAvailableAccessPackages(res) + } + return nil + } res["catalogs"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { val, err := n.GetCollectionOfObjectValues(CreateAccessPackageCatalogFromDiscriminatorValue) if err != nil { @@ -222,6 +290,22 @@ func (m *EntitlementManagement) GetFieldDeserializers()(map[string]func(i878a80d } return nil } + res["controlConfigurations"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(CreateControlConfigurationFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]ControlConfigurationable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(ControlConfigurationable) + } + } + m.SetControlConfigurations(res) + } + return nil + } res["resourceEnvironments"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { val, err := n.GetCollectionOfObjectValues(CreateAccessPackageResourceEnvironmentFromDiscriminatorValue) if err != nil { @@ -296,6 +380,22 @@ func (m *EntitlementManagement) GetFieldDeserializers()(map[string]func(i878a80d } return nil } + res["subjects"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(CreateAccessPackageSubjectFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]AccessPackageSubjectable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(AccessPackageSubjectable) + } + } + m.SetSubjects(res) + } + return nil + } return res } // GetResourceEnvironments gets the resourceEnvironments property value. A reference to the geolocation environments in which a resource is located. @@ -358,6 +458,18 @@ func (m *EntitlementManagement) GetSettings()(EntitlementManagementSettingsable) } return nil } +// GetSubjects gets the subjects property value. The subjects property +// returns a []AccessPackageSubjectable when successful +func (m *EntitlementManagement) GetSubjects()([]AccessPackageSubjectable) { + val, err := m.GetBackingStore().Get("subjects") + if err != nil { + panic(err) + } + if val != nil { + return val.([]AccessPackageSubjectable) + } + return nil +} // Serialize serializes information the current object func (m *EntitlementManagement) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { err := m.Entity.Serialize(writer) @@ -388,6 +500,18 @@ func (m *EntitlementManagement) Serialize(writer i878a80d2330e89d26896388a3f487e return err } } + if m.GetAccessPackageSuggestions() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetAccessPackageSuggestions())) + for i, v := range m.GetAccessPackageSuggestions() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err = writer.WriteCollectionOfObjectValues("accessPackageSuggestions", cast) + if err != nil { + return err + } + } if m.GetAssignmentPolicies() != nil { cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetAssignmentPolicies())) for i, v := range m.GetAssignmentPolicies() { @@ -424,6 +548,18 @@ func (m *EntitlementManagement) Serialize(writer i878a80d2330e89d26896388a3f487e return err } } + if m.GetAvailableAccessPackages() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetAvailableAccessPackages())) + for i, v := range m.GetAvailableAccessPackages() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err = writer.WriteCollectionOfObjectValues("availableAccessPackages", cast) + if err != nil { + return err + } + } if m.GetCatalogs() != nil { cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetCatalogs())) for i, v := range m.GetCatalogs() { @@ -448,6 +584,18 @@ func (m *EntitlementManagement) Serialize(writer i878a80d2330e89d26896388a3f487e return err } } + if m.GetControlConfigurations() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetControlConfigurations())) + for i, v := range m.GetControlConfigurations() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err = writer.WriteCollectionOfObjectValues("controlConfigurations", cast) + if err != nil { + return err + } + } if m.GetResourceEnvironments() != nil { cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetResourceEnvironments())) for i, v := range m.GetResourceEnvironments() { @@ -502,6 +650,18 @@ func (m *EntitlementManagement) Serialize(writer i878a80d2330e89d26896388a3f487e return err } } + if m.GetSubjects() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetSubjects())) + for i, v := range m.GetSubjects() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err = writer.WriteCollectionOfObjectValues("subjects", cast) + if err != nil { + return err + } + } return nil } // SetAccessPackageAssignmentApprovals sets the accessPackageAssignmentApprovals property value. Approval stages for decisions associated with access package assignment requests. @@ -518,6 +678,13 @@ func (m *EntitlementManagement) SetAccessPackages(value []AccessPackageable)() { panic(err) } } +// SetAccessPackageSuggestions sets the accessPackageSuggestions property value. Suggested access packages for end users based on various criteria such as related people insights and assignment history. +func (m *EntitlementManagement) SetAccessPackageSuggestions(value []AccessPackageSuggestionable)() { + err := m.GetBackingStore().Set("accessPackageSuggestions", value) + if err != nil { + panic(err) + } +} // SetAssignmentPolicies sets the assignmentPolicies property value. Access package assignment policies govern which subjects can request or be assigned an access package via an access package assignment. func (m *EntitlementManagement) SetAssignmentPolicies(value []AccessPackageAssignmentPolicyable)() { err := m.GetBackingStore().Set("assignmentPolicies", value) @@ -539,6 +706,13 @@ func (m *EntitlementManagement) SetAssignments(value []AccessPackageAssignmentab panic(err) } } +// SetAvailableAccessPackages sets the availableAccessPackages property value. Access packages available for end users to browse and request. +func (m *EntitlementManagement) SetAvailableAccessPackages(value []AvailableAccessPackageable)() { + err := m.GetBackingStore().Set("availableAccessPackages", value) + if err != nil { + panic(err) + } +} // SetCatalogs sets the catalogs property value. A container for access packages. func (m *EntitlementManagement) SetCatalogs(value []AccessPackageCatalogable)() { err := m.GetBackingStore().Set("catalogs", value) @@ -553,6 +727,13 @@ func (m *EntitlementManagement) SetConnectedOrganizations(value []ConnectedOrgan panic(err) } } +// SetControlConfigurations sets the controlConfigurations property value. Configuration settings that control the lifecycle and access policies of entitlement management within a tenant. +func (m *EntitlementManagement) SetControlConfigurations(value []ControlConfigurationable)() { + err := m.GetBackingStore().Set("controlConfigurations", value) + if err != nil { + panic(err) + } +} // SetResourceEnvironments sets the resourceEnvironments property value. A reference to the geolocation environments in which a resource is located. func (m *EntitlementManagement) SetResourceEnvironments(value []AccessPackageResourceEnvironmentable)() { err := m.GetBackingStore().Set("resourceEnvironments", value) @@ -588,31 +769,46 @@ func (m *EntitlementManagement) SetSettings(value EntitlementManagementSettingsa panic(err) } } +// SetSubjects sets the subjects property value. The subjects property +func (m *EntitlementManagement) SetSubjects(value []AccessPackageSubjectable)() { + err := m.GetBackingStore().Set("subjects", value) + if err != nil { + panic(err) + } +} type EntitlementManagementable interface { Entityable i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetAccessPackageAssignmentApprovals()([]Approvalable) GetAccessPackages()([]AccessPackageable) + GetAccessPackageSuggestions()([]AccessPackageSuggestionable) GetAssignmentPolicies()([]AccessPackageAssignmentPolicyable) GetAssignmentRequests()([]AccessPackageAssignmentRequestable) GetAssignments()([]AccessPackageAssignmentable) + GetAvailableAccessPackages()([]AvailableAccessPackageable) GetCatalogs()([]AccessPackageCatalogable) GetConnectedOrganizations()([]ConnectedOrganizationable) + GetControlConfigurations()([]ControlConfigurationable) GetResourceEnvironments()([]AccessPackageResourceEnvironmentable) GetResourceRequests()([]AccessPackageResourceRequestable) GetResourceRoleScopes()([]AccessPackageResourceRoleScopeable) GetResources()([]AccessPackageResourceable) GetSettings()(EntitlementManagementSettingsable) + GetSubjects()([]AccessPackageSubjectable) SetAccessPackageAssignmentApprovals(value []Approvalable)() SetAccessPackages(value []AccessPackageable)() + SetAccessPackageSuggestions(value []AccessPackageSuggestionable)() SetAssignmentPolicies(value []AccessPackageAssignmentPolicyable)() SetAssignmentRequests(value []AccessPackageAssignmentRequestable)() SetAssignments(value []AccessPackageAssignmentable)() + SetAvailableAccessPackages(value []AvailableAccessPackageable)() SetCatalogs(value []AccessPackageCatalogable)() SetConnectedOrganizations(value []ConnectedOrganizationable)() + SetControlConfigurations(value []ControlConfigurationable)() SetResourceEnvironments(value []AccessPackageResourceEnvironmentable)() SetResourceRequests(value []AccessPackageResourceRequestable)() SetResourceRoleScopes(value []AccessPackageResourceRoleScopeable)() SetResources(value []AccessPackageResourceable)() SetSettings(value EntitlementManagementSettingsable)() + SetSubjects(value []AccessPackageSubjectable)() } diff --git a/models/entity.go b/models/entity.go index 601b7a7733..713cc82957 100644 --- a/models/entity.go +++ b/models/entity.go @@ -69,6 +69,8 @@ func CreateEntityFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487 return NewAccessPackageResourceScope(), nil case "#microsoft.graph.accessPackageSubject": return NewAccessPackageSubject(), nil + case "#microsoft.graph.accessPackageSuggestion": + return NewAccessPackageSuggestion(), nil case "#microsoft.graph.accessPackageTextInputQuestion": return NewAccessPackageTextInputQuestion(), nil case "#microsoft.graph.accessReviewHistoryDefinition": @@ -249,6 +251,8 @@ func CreateEntityFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487 return NewAuthoredNote(), nil case "#microsoft.graph.authorizationPolicy": return NewAuthorizationPolicy(), nil + case "#microsoft.graph.availableAccessPackage": + return NewAvailableAccessPackage(), nil case "#microsoft.graph.azureCommunicationServicesUserConversationMember": return NewAzureCommunicationServicesUserConversationMember(), nil case "#microsoft.graph.b2xIdentityUserFlow": @@ -415,6 +419,8 @@ func CreateEntityFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487 return NewContentType(), nil case "#microsoft.graph.contract": return NewContract(), nil + case "#microsoft.graph.controlConfiguration": + return NewControlConfiguration(), nil case "#microsoft.graph.conversation": return NewConversation(), nil case "#microsoft.graph.conversationMember": @@ -423,10 +429,16 @@ func CreateEntityFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487 return NewConversationThread(), nil case "#microsoft.graph.copilotAdmin": return NewCopilotAdmin(), nil + case "#microsoft.graph.copilotAdminCatalog": + return NewCopilotAdminCatalog(), nil case "#microsoft.graph.copilotAdminLimitedMode": return NewCopilotAdminLimitedMode(), nil case "#microsoft.graph.copilotAdminSetting": return NewCopilotAdminSetting(), nil + case "#microsoft.graph.copilotPackage": + return NewCopilotPackage(), nil + case "#microsoft.graph.copilotPackageDetail": + return NewCopilotPackageDetail(), nil case "#microsoft.graph.copilotReportRoot": return NewCopilotReportRoot(), nil case "#microsoft.graph.crossTenantAccessPolicy": @@ -655,6 +667,8 @@ func CreateEntityFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487 return NewEmailAuthenticationMethodConfiguration(), nil case "#microsoft.graph.emailFileAssessmentRequest": return NewEmailFileAssessmentRequest(), nil + case "#microsoft.graph.emailNotificationsSetting": + return NewEmailNotificationsSetting(), nil case "#microsoft.graph.emergencyCallEvent": return NewEmergencyCallEvent(), nil case "#microsoft.graph.employeeExperienceUser": @@ -665,6 +679,8 @@ func CreateEntityFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487 return NewEndUserNotification(), nil case "#microsoft.graph.endUserNotificationDetail": return NewEndUserNotificationDetail(), nil + case "#microsoft.graph.endUserSettings": + return NewEndUserSettings(), nil case "#microsoft.graph.engagementAsyncOperation": return NewEngagementAsyncOperation(), nil case "#microsoft.graph.engagementConversation": @@ -729,6 +745,8 @@ func CreateEntityFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487 return NewFeatureRolloutPolicy(), nil case "#microsoft.graph.federatedIdentityCredential": return NewFederatedIdentityCredential(), nil + case "#microsoft.graph.federatedTokenValidationPolicy": + return NewFederatedTokenValidationPolicy(), nil case "#microsoft.graph.fido2AuthenticationMethod": return NewFido2AuthenticationMethod(), nil case "#microsoft.graph.fido2AuthenticationMethodConfiguration": @@ -1551,6 +1569,8 @@ func CreateEntityFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487 return NewSynchronizationTemplate(), nil case "#microsoft.graph.targetDeviceGroup": return NewTargetDeviceGroup(), nil + case "#microsoft.graph.targetedChatMessage": + return NewTargetedChatMessage(), nil case "#microsoft.graph.targetedManagedAppConfiguration": return NewTargetedManagedAppConfiguration(), nil case "#microsoft.graph.targetedManagedAppPolicyAssignment": diff --git a/models/enumerated_domains.go b/models/enumerated_domains.go new file mode 100644 index 0000000000..6d498c4fa0 --- /dev/null +++ b/models/enumerated_domains.go @@ -0,0 +1,87 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +type EnumeratedDomains struct { + ValidatingDomains +} +// NewEnumeratedDomains instantiates a new EnumeratedDomains and sets the default values. +func NewEnumeratedDomains()(*EnumeratedDomains) { + m := &EnumeratedDomains{ + ValidatingDomains: *NewValidatingDomains(), + } + odataTypeValue := "#microsoft.graph.enumeratedDomains" + m.SetOdataType(&odataTypeValue) + return m +} +// CreateEnumeratedDomainsFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateEnumeratedDomainsFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewEnumeratedDomains(), nil +} +// GetDomainNames gets the domainNames property value. The domainNames property +// returns a []string when successful +func (m *EnumeratedDomains) GetDomainNames()([]string) { + val, err := m.GetBackingStore().Get("domainNames") + if err != nil { + panic(err) + } + if val != nil { + return val.([]string) + } + return nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *EnumeratedDomains) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.ValidatingDomains.GetFieldDeserializers() + res["domainNames"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfPrimitiveValues("string") + if err != nil { + return err + } + if val != nil { + res := make([]string, len(val)) + for i, v := range val { + if v != nil { + res[i] = *(v.(*string)) + } + } + m.SetDomainNames(res) + } + return nil + } + return res +} +// Serialize serializes information the current object +func (m *EnumeratedDomains) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.ValidatingDomains.Serialize(writer) + if err != nil { + return err + } + if m.GetDomainNames() != nil { + err = writer.WriteCollectionOfStringValues("domainNames", m.GetDomainNames()) + if err != nil { + return err + } + } + return nil +} +// SetDomainNames sets the domainNames property value. The domainNames property +func (m *EnumeratedDomains) SetDomainNames(value []string)() { + err := m.GetBackingStore().Set("domainNames", value) + if err != nil { + panic(err) + } +} +type EnumeratedDomainsable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + ValidatingDomainsable + GetDomainNames()([]string) + SetDomainNames(value []string)() +} diff --git a/models/external_domain_federation.go b/models/external_domain_federation.go index ca5e0ea5e1..ad30095396 100644 --- a/models/external_domain_federation.go +++ b/models/external_domain_federation.go @@ -24,7 +24,7 @@ func NewExternalDomainFederation()(*ExternalDomainFederation) { func CreateExternalDomainFederationFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { return NewExternalDomainFederation(), nil } -// GetDisplayName gets the displayName property value. The name of the identity source, typically also the domain name. Read only. +// GetDisplayName gets the displayName property value. The name of the identity source, typically also the domain name. Read-only. // returns a *string when successful func (m *ExternalDomainFederation) GetDisplayName()(*string) { val, err := m.GetBackingStore().Get("displayName") @@ -36,7 +36,7 @@ func (m *ExternalDomainFederation) GetDisplayName()(*string) { } return nil } -// GetDomainName gets the domainName property value. The domain name. Read only. +// GetDomainName gets the domainName property value. The domain name. Read-only. // returns a *string when successful func (m *ExternalDomainFederation) GetDomainName()(*string) { val, err := m.GetBackingStore().Get("domainName") @@ -84,7 +84,7 @@ func (m *ExternalDomainFederation) GetFieldDeserializers()(map[string]func(i878a } return res } -// GetIssuerUri gets the issuerUri property value. The issuerURI of the incoming federation. Read only. +// GetIssuerUri gets the issuerUri property value. The issuerURI of the incoming federation. Read-only. // returns a *string when successful func (m *ExternalDomainFederation) GetIssuerUri()(*string) { val, err := m.GetBackingStore().Get("issuerUri") @@ -122,21 +122,21 @@ func (m *ExternalDomainFederation) Serialize(writer i878a80d2330e89d26896388a3f4 } return nil } -// SetDisplayName sets the displayName property value. The name of the identity source, typically also the domain name. Read only. +// SetDisplayName sets the displayName property value. The name of the identity source, typically also the domain name. Read-only. func (m *ExternalDomainFederation) SetDisplayName(value *string)() { err := m.GetBackingStore().Set("displayName", value) if err != nil { panic(err) } } -// SetDomainName sets the domainName property value. The domain name. Read only. +// SetDomainName sets the domainName property value. The domain name. Read-only. func (m *ExternalDomainFederation) SetDomainName(value *string)() { err := m.GetBackingStore().Set("domainName", value) if err != nil { panic(err) } } -// SetIssuerUri sets the issuerUri property value. The issuerURI of the incoming federation. Read only. +// SetIssuerUri sets the issuerUri property value. The issuerURI of the incoming federation. Read-only. func (m *ExternalDomainFederation) SetIssuerUri(value *string)() { err := m.GetBackingStore().Set("issuerUri", value) if err != nil { diff --git a/models/externalconnectors/label.go b/models/externalconnectors/label.go index 57c0f96ab4..8a4e604309 100644 --- a/models/externalconnectors/label.go +++ b/models/externalconnectors/label.go @@ -59,10 +59,11 @@ const ( PERSONLANGUAGES_LABEL PERSONPUBLICATIONS_LABEL PERSONPATENTS_LABEL + PERSONWORKPOSITIONS_LABEL ) func (i Label) String() string { - return []string{"title", "url", "createdBy", "lastModifiedBy", "authors", "createdDateTime", "lastModifiedDateTime", "fileName", "fileExtension", "unknownFutureValue", "containerName", "containerUrl", "iconUrl", "assignedToPeople", "closedBy", "closedDate", "priority", "sprintName", "tags", "severity", "state", "dueDate", "itemParentId", "itemPath", "itemType", "numberOfReactions", "parentUrl", "priorityNormalized", "reportedBy", "secondaryId", "personEmails", "personAddresses", "personAnniversaries", "personName", "personNote", "personPhones", "personCurrentPosition", "personWebAccounts", "personWebSite", "personSkills", "personProjects", "personAccount", "personAwards", "personCertifications", "personAssistants", "personColleagues", "personManager", "personAlternateContacts", "personEmergencyContacts", "personEducationalActivities", "personInterests", "personLanguages", "personPublications", "personPatents"}[i] + return []string{"title", "url", "createdBy", "lastModifiedBy", "authors", "createdDateTime", "lastModifiedDateTime", "fileName", "fileExtension", "unknownFutureValue", "containerName", "containerUrl", "iconUrl", "assignedToPeople", "closedBy", "closedDate", "priority", "sprintName", "tags", "severity", "state", "dueDate", "itemParentId", "itemPath", "itemType", "numberOfReactions", "parentUrl", "priorityNormalized", "reportedBy", "secondaryId", "personEmails", "personAddresses", "personAnniversaries", "personName", "personNote", "personPhones", "personCurrentPosition", "personWebAccounts", "personWebSite", "personSkills", "personProjects", "personAccount", "personAwards", "personCertifications", "personAssistants", "personColleagues", "personManager", "personAlternateContacts", "personEmergencyContacts", "personEducationalActivities", "personInterests", "personLanguages", "personPublications", "personPatents", "personWorkPositions"}[i] } func ParseLabel(v string) (any, error) { result := TITLE_LABEL @@ -175,6 +176,8 @@ func ParseLabel(v string) (any, error) { result = PERSONPUBLICATIONS_LABEL case "personPatents": result = PERSONPATENTS_LABEL + case "personWorkPositions": + result = PERSONWORKPOSITIONS_LABEL default: return nil, nil } diff --git a/models/fed_ramp_level.go b/models/fed_ramp_level.go new file mode 100644 index 0000000000..b0c891a566 --- /dev/null +++ b/models/fed_ramp_level.go @@ -0,0 +1,51 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package models +type FedRampLevel int + +const ( + NONE_FEDRAMPLEVEL FedRampLevel = iota + HIGH_FEDRAMPLEVEL + LISAAS_FEDRAMPLEVEL + LOW_FEDRAMPLEVEL + MODERATE_FEDRAMPLEVEL + NOTSUPPORTED_FEDRAMPLEVEL + UNKNOWNFUTUREVALUE_FEDRAMPLEVEL +) + +func (i FedRampLevel) String() string { + return []string{"none", "high", "liSaas", "low", "moderate", "notSupported", "unknownFutureValue"}[i] +} +func ParseFedRampLevel(v string) (any, error) { + result := NONE_FEDRAMPLEVEL + switch v { + case "none": + result = NONE_FEDRAMPLEVEL + case "high": + result = HIGH_FEDRAMPLEVEL + case "liSaas": + result = LISAAS_FEDRAMPLEVEL + case "low": + result = LOW_FEDRAMPLEVEL + case "moderate": + result = MODERATE_FEDRAMPLEVEL + case "notSupported": + result = NOTSUPPORTED_FEDRAMPLEVEL + case "unknownFutureValue": + result = UNKNOWNFUTUREVALUE_FEDRAMPLEVEL + default: + return nil, nil + } + return &result, nil +} +func SerializeFedRampLevel(values []FedRampLevel) []string { + result := make([]string, len(values)) + for i, v := range values { + result[i] = v.String() + } + return result +} +func (i FedRampLevel) isMultiValue() bool { + return false +} diff --git a/models/federated_token_validation_policy.go b/models/federated_token_validation_policy.go new file mode 100644 index 0000000000..7b1eb002a1 --- /dev/null +++ b/models/federated_token_validation_policy.go @@ -0,0 +1,81 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +type FederatedTokenValidationPolicy struct { + DirectoryObject +} +// NewFederatedTokenValidationPolicy instantiates a new FederatedTokenValidationPolicy and sets the default values. +func NewFederatedTokenValidationPolicy()(*FederatedTokenValidationPolicy) { + m := &FederatedTokenValidationPolicy{ + DirectoryObject: *NewDirectoryObject(), + } + odataTypeValue := "#microsoft.graph.federatedTokenValidationPolicy" + m.SetOdataType(&odataTypeValue) + return m +} +// CreateFederatedTokenValidationPolicyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateFederatedTokenValidationPolicyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewFederatedTokenValidationPolicy(), nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *FederatedTokenValidationPolicy) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.DirectoryObject.GetFieldDeserializers() + res["validatingDomains"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetObjectValue(CreateValidatingDomainsFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + m.SetValidatingDomains(val.(ValidatingDomainsable)) + } + return nil + } + return res +} +// GetValidatingDomains gets the validatingDomains property value. The validatingDomains property +// returns a ValidatingDomainsable when successful +func (m *FederatedTokenValidationPolicy) GetValidatingDomains()(ValidatingDomainsable) { + val, err := m.GetBackingStore().Get("validatingDomains") + if err != nil { + panic(err) + } + if val != nil { + return val.(ValidatingDomainsable) + } + return nil +} +// Serialize serializes information the current object +func (m *FederatedTokenValidationPolicy) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.DirectoryObject.Serialize(writer) + if err != nil { + return err + } + { + err = writer.WriteObjectValue("validatingDomains", m.GetValidatingDomains()) + if err != nil { + return err + } + } + return nil +} +// SetValidatingDomains sets the validatingDomains property value. The validatingDomains property +func (m *FederatedTokenValidationPolicy) SetValidatingDomains(value ValidatingDomainsable)() { + err := m.GetBackingStore().Set("validatingDomains", value) + if err != nil { + panic(err) + } +} +type FederatedTokenValidationPolicyable interface { + DirectoryObjectable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetValidatingDomains()(ValidatingDomainsable) + SetValidatingDomains(value ValidatingDomainsable)() +} diff --git a/models/fido2_authentication_method.go b/models/fido2_authentication_method.go index dceab77169..1d2d6aa069 100644 --- a/models/fido2_authentication_method.go +++ b/models/fido2_authentication_method.go @@ -178,7 +178,7 @@ func (m *Fido2AuthenticationMethod) GetPasskeyType()(*PasskeyType) { } return nil } -// GetPublicKeyCredential gets the publicKeyCredential property value. The publicKeyCredential property +// GetPublicKeyCredential gets the publicKeyCredential property value. Contains the WebAuthn public key credential information being registered. This property is used only for write requests and isn't returned on read operations. // returns a WebauthnPublicKeyCredentialable when successful func (m *Fido2AuthenticationMethod) GetPublicKeyCredential()(WebauthnPublicKeyCredentialable) { val, err := m.GetBackingStore().Get("publicKeyCredential") @@ -284,7 +284,7 @@ func (m *Fido2AuthenticationMethod) SetPasskeyType(value *PasskeyType)() { panic(err) } } -// SetPublicKeyCredential sets the publicKeyCredential property value. The publicKeyCredential property +// SetPublicKeyCredential sets the publicKeyCredential property value. Contains the WebAuthn public key credential information being registered. This property is used only for write requests and isn't returned on read operations. func (m *Fido2AuthenticationMethod) SetPublicKeyCredential(value WebauthnPublicKeyCredentialable)() { err := m.GetBackingStore().Set("publicKeyCredential", value) if err != nil { diff --git a/models/group.go b/models/group.go index f63ceb1431..e4bbc616ff 100644 --- a/models/group.go +++ b/models/group.go @@ -38,6 +38,18 @@ func (m *Group) GetAcceptedSenders()([]DirectoryObjectable) { } return nil } +// GetAccessType gets the accessType property value. Indicates the type of access to the group. The possible values are: none, private, secret, public, unknownFutureValue. Requires $select to retrieve. Supported only on the Get group API (GET /groups/{ID}). +// returns a *GroupAccessType when successful +func (m *Group) GetAccessType()(*GroupAccessType) { + val, err := m.GetBackingStore().Get("accessType") + if err != nil { + panic(err) + } + if val != nil { + return val.(*GroupAccessType) + } + return nil +} // GetAllowExternalSenders gets the allowExternalSenders property value. Indicates if people external to the organization can send messages to the group. The default value is false. Requires $select to retrieve. Supported only on the Get group API (GET /groups/{ID}). // returns a *bool when successful func (m *Group) GetAllowExternalSenders()(*bool) { @@ -274,6 +286,16 @@ func (m *Group) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388 } return nil } + res["accessType"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetEnumValue(ParseGroupAccessType) + if err != nil { + return err + } + if val != nil { + m.SetAccessType(val.(*GroupAccessType)) + } + return nil + } res["allowExternalSenders"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { val, err := n.GetBoolValue() if err != nil { @@ -600,6 +622,16 @@ func (m *Group) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388 } return nil } + res["isFavorite"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetBoolValue() + if err != nil { + return err + } + if val != nil { + m.SetIsFavorite(val) + } + return nil + } res["isManagementRestricted"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { val, err := n.GetBoolValue() if err != nil { @@ -748,6 +780,16 @@ func (m *Group) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388 } return nil } + res["onPremisesExtensionAttributes"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetObjectValue(CreateOnPremisesExtensionAttributesFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + m.SetOnPremisesExtensionAttributes(val.(OnPremisesExtensionAttributesable)) + } + return nil + } res["onPremisesLastSyncDateTime"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { val, err := n.GetTimeValue() if err != nil { @@ -1132,6 +1174,16 @@ func (m *Group) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388 } return nil } + res["unseenConversationsCount"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetInt32Value() + if err != nil { + return err + } + if val != nil { + m.SetUnseenConversationsCount(val) + } + return nil + } res["unseenCount"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { val, err := n.GetInt32Value() if err != nil { @@ -1142,6 +1194,16 @@ func (m *Group) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388 } return nil } + res["unseenMessagesCount"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetInt32Value() + if err != nil { + return err + } + if val != nil { + m.SetUnseenMessagesCount(val) + } + return nil + } res["visibility"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { val, err := n.GetStringValue() if err != nil { @@ -1260,6 +1322,18 @@ func (m *Group) GetIsAssignableToRole()(*bool) { } return nil } +// GetIsFavorite gets the isFavorite property value. Indicates whether the user marked the group as favorite. Requires $select to retrieve. Supported only on the Get group API (GET /groups/{ID}). +// returns a *bool when successful +func (m *Group) GetIsFavorite()(*bool) { + val, err := m.GetBackingStore().Get("isFavorite") + if err != nil { + panic(err) + } + if val != nil { + return val.(*bool) + } + return nil +} // GetIsManagementRestricted gets the isManagementRestricted property value. Indicates whether the group is a member of a restricted management administrative unit. If not set, the default value is null and the default behavior is false. Read-only. To manage a group member of a restricted management administrative unit, the administrator or calling app must be assigned a Microsoft Entra role at the scope of the restricted management administrative unit. Requires $select to retrieve. // returns a *bool when successful func (m *Group) GetIsManagementRestricted()(*bool) { @@ -1416,6 +1490,18 @@ func (m *Group) GetOnPremisesDomainName()(*string) { } return nil } +// GetOnPremisesExtensionAttributes gets the onPremisesExtensionAttributes property value. The onPremisesExtensionAttributes property +// returns a OnPremisesExtensionAttributesable when successful +func (m *Group) GetOnPremisesExtensionAttributes()(OnPremisesExtensionAttributesable) { + val, err := m.GetBackingStore().Get("onPremisesExtensionAttributes") + if err != nil { + panic(err) + } + if val != nil { + return val.(OnPremisesExtensionAttributesable) + } + return nil +} // GetOnPremisesLastSyncDateTime gets the onPremisesLastSyncDateTime property value. Indicates the last time at which the group was synced with the on-premises directory. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on January 1, 2014 is 2014-01-01T00:00:00Z. Returned by default. Read-only. Supports $filter (eq, ne, not, ge, le, in). // returns a *Time when successful func (m *Group) GetOnPremisesLastSyncDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) { @@ -1776,7 +1862,19 @@ func (m *Group) GetUniqueName()(*string) { } return nil } -// GetUnseenCount gets the unseenCount property value. Count of conversations that received new posts since the signed-in user last visited the group. Requires $select to retrieve. Supported only on the Get group API (GET /groups/{ID}). +// GetUnseenConversationsCount gets the unseenConversationsCount property value. Count of conversations that have had one or more new posts delivered since the signed-in user's last visit to the group. This property is the same as unseenCount. Requires $select to retrieve. Supported only on the Get group API (GET /groups/{ID}). +// returns a *int32 when successful +func (m *Group) GetUnseenConversationsCount()(*int32) { + val, err := m.GetBackingStore().Get("unseenConversationsCount") + if err != nil { + panic(err) + } + if val != nil { + return val.(*int32) + } + return nil +} +// GetUnseenCount gets the unseenCount property value. Count of conversations that have received new posts since the signed-in user last visited the group. This property is the same as unseenConversationsCount.Requires $select to retrieve. Supported only on the Get group API (GET /groups/{ID}). // returns a *int32 when successful func (m *Group) GetUnseenCount()(*int32) { val, err := m.GetBackingStore().Get("unseenCount") @@ -1788,6 +1886,18 @@ func (m *Group) GetUnseenCount()(*int32) { } return nil } +// GetUnseenMessagesCount gets the unseenMessagesCount property value. Count of new posts that have been delivered to the group's conversations since the signed-in user's last visit to the group. Requires $select to retrieve. Supported only on the Get group API (GET /groups/{ID}). +// returns a *int32 when successful +func (m *Group) GetUnseenMessagesCount()(*int32) { + val, err := m.GetBackingStore().Get("unseenMessagesCount") + if err != nil { + panic(err) + } + if val != nil { + return val.(*int32) + } + return nil +} // GetVisibility gets the visibility property value. Specifies the group join policy and group content visibility for groups. The possible values are: Private, Public, or HiddenMembership. HiddenMembership can be set only for Microsoft 365 groups when the groups are created. It can't be updated later. Other values of visibility can be updated after group creation. If visibility value isn't specified during group creation on Microsoft Graph, a security group is created as Private by default, and the Microsoft 365 group is Public. Groups assignable to roles are always Private. To learn more, see group visibility options. Returned by default. Nullable. // returns a *string when successful func (m *Group) GetVisibility()(*string) { @@ -1830,6 +1940,13 @@ func (m *Group) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c4 return err } } + if m.GetAccessType() != nil { + cast := (*m.GetAccessType()).String() + err = writer.WriteStringValue("accessType", &cast) + if err != nil { + return err + } + } { err = writer.WriteBoolValue("allowExternalSenders", m.GetAllowExternalSenders()) if err != nil { @@ -2040,6 +2157,12 @@ func (m *Group) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c4 return err } } + { + err = writer.WriteBoolValue("isFavorite", m.GetIsFavorite()) + if err != nil { + return err + } + } { err = writer.WriteBoolValue("isManagementRestricted", m.GetIsManagementRestricted()) if err != nil { @@ -2136,6 +2259,12 @@ func (m *Group) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c4 return err } } + { + err = writer.WriteObjectValue("onPremisesExtensionAttributes", m.GetOnPremisesExtensionAttributes()) + if err != nil { + return err + } + } { err = writer.WriteTimeValue("onPremisesLastSyncDateTime", m.GetOnPremisesLastSyncDateTime()) if err != nil { @@ -2382,12 +2511,24 @@ func (m *Group) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c4 return err } } + { + err = writer.WriteInt32Value("unseenConversationsCount", m.GetUnseenConversationsCount()) + if err != nil { + return err + } + } { err = writer.WriteInt32Value("unseenCount", m.GetUnseenCount()) if err != nil { return err } } + { + err = writer.WriteInt32Value("unseenMessagesCount", m.GetUnseenMessagesCount()) + if err != nil { + return err + } + } { err = writer.WriteStringValue("visibility", m.GetVisibility()) if err != nil { @@ -2409,6 +2550,13 @@ func (m *Group) SetAcceptedSenders(value []DirectoryObjectable)() { panic(err) } } +// SetAccessType sets the accessType property value. Indicates the type of access to the group. The possible values are: none, private, secret, public, unknownFutureValue. Requires $select to retrieve. Supported only on the Get group API (GET /groups/{ID}). +func (m *Group) SetAccessType(value *GroupAccessType)() { + err := m.GetBackingStore().Set("accessType", value) + if err != nil { + panic(err) + } +} // SetAllowExternalSenders sets the allowExternalSenders property value. Indicates if people external to the organization can send messages to the group. The default value is false. Requires $select to retrieve. Supported only on the Get group API (GET /groups/{ID}). func (m *Group) SetAllowExternalSenders(value *bool)() { err := m.GetBackingStore().Set("allowExternalSenders", value) @@ -2591,6 +2739,13 @@ func (m *Group) SetIsAssignableToRole(value *bool)() { panic(err) } } +// SetIsFavorite sets the isFavorite property value. Indicates whether the user marked the group as favorite. Requires $select to retrieve. Supported only on the Get group API (GET /groups/{ID}). +func (m *Group) SetIsFavorite(value *bool)() { + err := m.GetBackingStore().Set("isFavorite", value) + if err != nil { + panic(err) + } +} // SetIsManagementRestricted sets the isManagementRestricted property value. Indicates whether the group is a member of a restricted management administrative unit. If not set, the default value is null and the default behavior is false. Read-only. To manage a group member of a restricted management administrative unit, the administrator or calling app must be assigned a Microsoft Entra role at the scope of the restricted management administrative unit. Requires $select to retrieve. func (m *Group) SetIsManagementRestricted(value *bool)() { err := m.GetBackingStore().Set("isManagementRestricted", value) @@ -2682,6 +2837,13 @@ func (m *Group) SetOnPremisesDomainName(value *string)() { panic(err) } } +// SetOnPremisesExtensionAttributes sets the onPremisesExtensionAttributes property value. The onPremisesExtensionAttributes property +func (m *Group) SetOnPremisesExtensionAttributes(value OnPremisesExtensionAttributesable)() { + err := m.GetBackingStore().Set("onPremisesExtensionAttributes", value) + if err != nil { + panic(err) + } +} // SetOnPremisesLastSyncDateTime sets the onPremisesLastSyncDateTime property value. Indicates the last time at which the group was synced with the on-premises directory. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on January 1, 2014 is 2014-01-01T00:00:00Z. Returned by default. Read-only. Supports $filter (eq, ne, not, ge, le, in). func (m *Group) SetOnPremisesLastSyncDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() { err := m.GetBackingStore().Set("onPremisesLastSyncDateTime", value) @@ -2892,13 +3054,27 @@ func (m *Group) SetUniqueName(value *string)() { panic(err) } } -// SetUnseenCount sets the unseenCount property value. Count of conversations that received new posts since the signed-in user last visited the group. Requires $select to retrieve. Supported only on the Get group API (GET /groups/{ID}). +// SetUnseenConversationsCount sets the unseenConversationsCount property value. Count of conversations that have had one or more new posts delivered since the signed-in user's last visit to the group. This property is the same as unseenCount. Requires $select to retrieve. Supported only on the Get group API (GET /groups/{ID}). +func (m *Group) SetUnseenConversationsCount(value *int32)() { + err := m.GetBackingStore().Set("unseenConversationsCount", value) + if err != nil { + panic(err) + } +} +// SetUnseenCount sets the unseenCount property value. Count of conversations that have received new posts since the signed-in user last visited the group. This property is the same as unseenConversationsCount.Requires $select to retrieve. Supported only on the Get group API (GET /groups/{ID}). func (m *Group) SetUnseenCount(value *int32)() { err := m.GetBackingStore().Set("unseenCount", value) if err != nil { panic(err) } } +// SetUnseenMessagesCount sets the unseenMessagesCount property value. Count of new posts that have been delivered to the group's conversations since the signed-in user's last visit to the group. Requires $select to retrieve. Supported only on the Get group API (GET /groups/{ID}). +func (m *Group) SetUnseenMessagesCount(value *int32)() { + err := m.GetBackingStore().Set("unseenMessagesCount", value) + if err != nil { + panic(err) + } +} // SetVisibility sets the visibility property value. Specifies the group join policy and group content visibility for groups. The possible values are: Private, Public, or HiddenMembership. HiddenMembership can be set only for Microsoft 365 groups when the groups are created. It can't be updated later. Other values of visibility can be updated after group creation. If visibility value isn't specified during group creation on Microsoft Graph, a security group is created as Private by default, and the Microsoft 365 group is Public. Groups assignable to roles are always Private. To learn more, see group visibility options. Returned by default. Nullable. func (m *Group) SetVisibility(value *string)() { err := m.GetBackingStore().Set("visibility", value) @@ -2917,6 +3093,7 @@ type Groupable interface { DirectoryObjectable i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetAcceptedSenders()([]DirectoryObjectable) + GetAccessType()(*GroupAccessType) GetAllowExternalSenders()(*bool) GetAppRoleAssignments()([]AppRoleAssignmentable) GetAssignedLabels()([]AssignedLabelable) @@ -2943,6 +3120,7 @@ type Groupable interface { GetInfoCatalogs()([]string) GetIsArchived()(*bool) GetIsAssignableToRole()(*bool) + GetIsFavorite()(*bool) GetIsManagementRestricted()(*bool) GetIsSubscribedByMail()(*bool) GetLicenseProcessingState()(LicenseProcessingStateable) @@ -2956,6 +3134,7 @@ type Groupable interface { GetMembersWithLicenseErrors()([]DirectoryObjectable) GetOnenote()(Onenoteable) GetOnPremisesDomainName()(*string) + GetOnPremisesExtensionAttributes()(OnPremisesExtensionAttributesable) GetOnPremisesLastSyncDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) GetOnPremisesNetBiosName()(*string) GetOnPremisesProvisioningErrors()([]OnPremisesProvisioningErrorable) @@ -2986,10 +3165,13 @@ type Groupable interface { GetTransitiveMemberOf()([]DirectoryObjectable) GetTransitiveMembers()([]DirectoryObjectable) GetUniqueName()(*string) + GetUnseenConversationsCount()(*int32) GetUnseenCount()(*int32) + GetUnseenMessagesCount()(*int32) GetVisibility()(*string) GetWelcomeMessageEnabled()(*bool) SetAcceptedSenders(value []DirectoryObjectable)() + SetAccessType(value *GroupAccessType)() SetAllowExternalSenders(value *bool)() SetAppRoleAssignments(value []AppRoleAssignmentable)() SetAssignedLabels(value []AssignedLabelable)() @@ -3016,6 +3198,7 @@ type Groupable interface { SetInfoCatalogs(value []string)() SetIsArchived(value *bool)() SetIsAssignableToRole(value *bool)() + SetIsFavorite(value *bool)() SetIsManagementRestricted(value *bool)() SetIsSubscribedByMail(value *bool)() SetLicenseProcessingState(value LicenseProcessingStateable)() @@ -3029,6 +3212,7 @@ type Groupable interface { SetMembersWithLicenseErrors(value []DirectoryObjectable)() SetOnenote(value Onenoteable)() SetOnPremisesDomainName(value *string)() + SetOnPremisesExtensionAttributes(value OnPremisesExtensionAttributesable)() SetOnPremisesLastSyncDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() SetOnPremisesNetBiosName(value *string)() SetOnPremisesProvisioningErrors(value []OnPremisesProvisioningErrorable)() @@ -3059,7 +3243,9 @@ type Groupable interface { SetTransitiveMemberOf(value []DirectoryObjectable)() SetTransitiveMembers(value []DirectoryObjectable)() SetUniqueName(value *string)() + SetUnseenConversationsCount(value *int32)() SetUnseenCount(value *int32)() + SetUnseenMessagesCount(value *int32)() SetVisibility(value *string)() SetWelcomeMessageEnabled(value *bool)() } diff --git a/models/group_access_type.go b/models/group_access_type.go new file mode 100644 index 0000000000..3c72a26e25 --- /dev/null +++ b/models/group_access_type.go @@ -0,0 +1,45 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package models +type GroupAccessType int + +const ( + NONE_GROUPACCESSTYPE GroupAccessType = iota + PRIVATE_GROUPACCESSTYPE + SECRET_GROUPACCESSTYPE + PUBLIC_GROUPACCESSTYPE + UNKNOWNFUTUREVALUE_GROUPACCESSTYPE +) + +func (i GroupAccessType) String() string { + return []string{"none", "private", "secret", "public", "unknownFutureValue"}[i] +} +func ParseGroupAccessType(v string) (any, error) { + result := NONE_GROUPACCESSTYPE + switch v { + case "none": + result = NONE_GROUPACCESSTYPE + case "private": + result = PRIVATE_GROUPACCESSTYPE + case "secret": + result = SECRET_GROUPACCESSTYPE + case "public": + result = PUBLIC_GROUPACCESSTYPE + case "unknownFutureValue": + result = UNKNOWNFUTUREVALUE_GROUPACCESSTYPE + default: + return nil, nil + } + return &result, nil +} +func SerializeGroupAccessType(values []GroupAccessType) []string { + result := make([]string, len(values)) + for i, v := range values { + result[i] = v.String() + } + return result +} +func (i GroupAccessType) isMultiValue() bool { + return false +} diff --git a/models/hold_type.go b/models/hold_type.go new file mode 100644 index 0000000000..b3d380af6f --- /dev/null +++ b/models/hold_type.go @@ -0,0 +1,42 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package models +type HoldType int + +const ( + NONE_HOLDTYPE HoldType = iota + PRIVATE_HOLDTYPE + PUBLIC_HOLDTYPE + UNKNOWNFUTUREVALUE_HOLDTYPE +) + +func (i HoldType) String() string { + return []string{"none", "private", "public", "unknownFutureValue"}[i] +} +func ParseHoldType(v string) (any, error) { + result := NONE_HOLDTYPE + switch v { + case "none": + result = NONE_HOLDTYPE + case "private": + result = PRIVATE_HOLDTYPE + case "public": + result = PUBLIC_HOLDTYPE + case "unknownFutureValue": + result = UNKNOWNFUTUREVALUE_HOLDTYPE + default: + return nil, nil + } + return &result, nil +} +func SerializeHoldType(values []HoldType) []string { + result := make([]string, len(values)) + for i, v := range values { + result[i] = v.String() + } + return result +} +func (i HoldType) isMultiValue() bool { + return false +} diff --git a/models/identitygovernance/count_based_quarantine_condition.go b/models/identitygovernance/count_based_quarantine_condition.go new file mode 100644 index 0000000000..7bd971e6f2 --- /dev/null +++ b/models/identitygovernance/count_based_quarantine_condition.go @@ -0,0 +1,81 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package identitygovernance + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +type CountBasedQuarantineCondition struct { + QuarantineCondition +} +// NewCountBasedQuarantineCondition instantiates a new CountBasedQuarantineCondition and sets the default values. +func NewCountBasedQuarantineCondition()(*CountBasedQuarantineCondition) { + m := &CountBasedQuarantineCondition{ + QuarantineCondition: *NewQuarantineCondition(), + } + odataTypeValue := "#microsoft.graph.identityGovernance.countBasedQuarantineCondition" + m.SetOdataType(&odataTypeValue) + return m +} +// CreateCountBasedQuarantineConditionFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateCountBasedQuarantineConditionFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewCountBasedQuarantineCondition(), nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *CountBasedQuarantineCondition) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.QuarantineCondition.GetFieldDeserializers() + res["threshold"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetInt64Value() + if err != nil { + return err + } + if val != nil { + m.SetThreshold(val) + } + return nil + } + return res +} +// GetThreshold gets the threshold property value. The threshold property +// returns a *int64 when successful +func (m *CountBasedQuarantineCondition) GetThreshold()(*int64) { + val, err := m.GetBackingStore().Get("threshold") + if err != nil { + panic(err) + } + if val != nil { + return val.(*int64) + } + return nil +} +// Serialize serializes information the current object +func (m *CountBasedQuarantineCondition) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.QuarantineCondition.Serialize(writer) + if err != nil { + return err + } + { + err = writer.WriteInt64Value("threshold", m.GetThreshold()) + if err != nil { + return err + } + } + return nil +} +// SetThreshold sets the threshold property value. The threshold property +func (m *CountBasedQuarantineCondition) SetThreshold(value *int64)() { + err := m.GetBackingStore().Set("threshold", value) + if err != nil { + panic(err) + } +} +type CountBasedQuarantineConditionable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + QuarantineConditionable + GetThreshold()(*int64) + SetThreshold(value *int64)() +} diff --git a/models/identitygovernance/lifecycle_management_settings.go b/models/identitygovernance/lifecycle_management_settings.go index 82c0de3f7d..9ec8e80786 100644 --- a/models/identitygovernance/lifecycle_management_settings.go +++ b/models/identitygovernance/lifecycle_management_settings.go @@ -49,6 +49,16 @@ func (m *LifecycleManagementSettings) GetFieldDeserializers()(map[string]func(i8 } return nil } + res["quarantineConfiguration"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetObjectValue(CreateQuarantineConfigurationFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + m.SetQuarantineConfiguration(val.(QuarantineConfigurationable)) + } + return nil + } res["workflowScheduleIntervalInHours"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { val, err := n.GetInt32Value() if err != nil { @@ -61,6 +71,18 @@ func (m *LifecycleManagementSettings) GetFieldDeserializers()(map[string]func(i8 } return res } +// GetQuarantineConfiguration gets the quarantineConfiguration property value. The quarantineConfiguration property +// returns a QuarantineConfigurationable when successful +func (m *LifecycleManagementSettings) GetQuarantineConfiguration()(QuarantineConfigurationable) { + val, err := m.GetBackingStore().Get("quarantineConfiguration") + if err != nil { + panic(err) + } + if val != nil { + return val.(QuarantineConfigurationable) + } + return nil +} // GetWorkflowScheduleIntervalInHours gets the workflowScheduleIntervalInHours property value. The interval in hours at which all workflows running in the tenant should be scheduled for execution. This interval has a minimum value of 1 and a maximum value of 24. The default value is 3 hours. // returns a *int32 when successful func (m *LifecycleManagementSettings) GetWorkflowScheduleIntervalInHours()(*int32) { @@ -85,6 +107,12 @@ func (m *LifecycleManagementSettings) Serialize(writer i878a80d2330e89d26896388a return err } } + { + err = writer.WriteObjectValue("quarantineConfiguration", m.GetQuarantineConfiguration()) + if err != nil { + return err + } + } { err = writer.WriteInt32Value("workflowScheduleIntervalInHours", m.GetWorkflowScheduleIntervalInHours()) if err != nil { @@ -100,6 +128,13 @@ func (m *LifecycleManagementSettings) SetEmailSettings(value iadcd81124412c61e64 panic(err) } } +// SetQuarantineConfiguration sets the quarantineConfiguration property value. The quarantineConfiguration property +func (m *LifecycleManagementSettings) SetQuarantineConfiguration(value QuarantineConfigurationable)() { + err := m.GetBackingStore().Set("quarantineConfiguration", value) + if err != nil { + panic(err) + } +} // SetWorkflowScheduleIntervalInHours sets the workflowScheduleIntervalInHours property value. The interval in hours at which all workflows running in the tenant should be scheduled for execution. This interval has a minimum value of 1 and a maximum value of 24. The default value is 3 hours. func (m *LifecycleManagementSettings) SetWorkflowScheduleIntervalInHours(value *int32)() { err := m.GetBackingStore().Set("workflowScheduleIntervalInHours", value) @@ -111,7 +146,9 @@ type LifecycleManagementSettingsable interface { iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Entityable i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetEmailSettings()(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EmailSettingsable) + GetQuarantineConfiguration()(QuarantineConfigurationable) GetWorkflowScheduleIntervalInHours()(*int32) SetEmailSettings(value iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EmailSettingsable)() + SetQuarantineConfiguration(value QuarantineConfigurationable)() SetWorkflowScheduleIntervalInHours(value *int32)() } diff --git a/models/identitygovernance/lifecycle_workflow_processing_status.go b/models/identitygovernance/lifecycle_workflow_processing_status.go index a0d21c0854..8f36f48153 100644 --- a/models/identitygovernance/lifecycle_workflow_processing_status.go +++ b/models/identitygovernance/lifecycle_workflow_processing_status.go @@ -12,10 +12,11 @@ const ( CANCELED_LIFECYCLEWORKFLOWPROCESSINGSTATUS FAILED_LIFECYCLEWORKFLOWPROCESSINGSTATUS UNKNOWNFUTUREVALUE_LIFECYCLEWORKFLOWPROCESSINGSTATUS + QUARANTINED_LIFECYCLEWORKFLOWPROCESSINGSTATUS ) func (i LifecycleWorkflowProcessingStatus) String() string { - return []string{"queued", "inProgress", "completed", "completedWithErrors", "canceled", "failed", "unknownFutureValue"}[i] + return []string{"queued", "inProgress", "completed", "completedWithErrors", "canceled", "failed", "unknownFutureValue", "quarantined"}[i] } func ParseLifecycleWorkflowProcessingStatus(v string) (any, error) { result := QUEUED_LIFECYCLEWORKFLOWPROCESSINGSTATUS @@ -34,6 +35,8 @@ func ParseLifecycleWorkflowProcessingStatus(v string) (any, error) { result = FAILED_LIFECYCLEWORKFLOWPROCESSINGSTATUS case "unknownFutureValue": result = UNKNOWNFUTUREVALUE_LIFECYCLEWORKFLOWPROCESSINGSTATUS + case "quarantined": + result = QUARANTINED_LIFECYCLEWORKFLOWPROCESSINGSTATUS default: return nil, nil } diff --git a/models/identitygovernance/match_mode.go b/models/identitygovernance/match_mode.go new file mode 100644 index 0000000000..623c67da81 --- /dev/null +++ b/models/identitygovernance/match_mode.go @@ -0,0 +1,39 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package identitygovernance +type MatchMode int + +const ( + ANY_MATCHMODE MatchMode = iota + ALL_MATCHMODE + UNKNOWNFUTUREVALUE_MATCHMODE +) + +func (i MatchMode) String() string { + return []string{"any", "all", "unknownFutureValue"}[i] +} +func ParseMatchMode(v string) (any, error) { + result := ANY_MATCHMODE + switch v { + case "any": + result = ANY_MATCHMODE + case "all": + result = ALL_MATCHMODE + case "unknownFutureValue": + result = UNKNOWNFUTUREVALUE_MATCHMODE + default: + return nil, nil + } + return &result, nil +} +func SerializeMatchMode(values []MatchMode) []string { + result := make([]string, len(values)) + for i, v := range values { + result[i] = v.String() + } + return result +} +func (i MatchMode) isMultiValue() bool { + return false +} diff --git a/models/identitygovernance/percentage_based_quarantine_condition.go b/models/identitygovernance/percentage_based_quarantine_condition.go new file mode 100644 index 0000000000..74680a1cb4 --- /dev/null +++ b/models/identitygovernance/percentage_based_quarantine_condition.go @@ -0,0 +1,81 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package identitygovernance + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +type PercentageBasedQuarantineCondition struct { + QuarantineCondition +} +// NewPercentageBasedQuarantineCondition instantiates a new PercentageBasedQuarantineCondition and sets the default values. +func NewPercentageBasedQuarantineCondition()(*PercentageBasedQuarantineCondition) { + m := &PercentageBasedQuarantineCondition{ + QuarantineCondition: *NewQuarantineCondition(), + } + odataTypeValue := "#microsoft.graph.identityGovernance.percentageBasedQuarantineCondition" + m.SetOdataType(&odataTypeValue) + return m +} +// CreatePercentageBasedQuarantineConditionFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreatePercentageBasedQuarantineConditionFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewPercentageBasedQuarantineCondition(), nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *PercentageBasedQuarantineCondition) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.QuarantineCondition.GetFieldDeserializers() + res["percentage"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetInt32Value() + if err != nil { + return err + } + if val != nil { + m.SetPercentage(val) + } + return nil + } + return res +} +// GetPercentage gets the percentage property value. The percentage property +// returns a *int32 when successful +func (m *PercentageBasedQuarantineCondition) GetPercentage()(*int32) { + val, err := m.GetBackingStore().Get("percentage") + if err != nil { + panic(err) + } + if val != nil { + return val.(*int32) + } + return nil +} +// Serialize serializes information the current object +func (m *PercentageBasedQuarantineCondition) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.QuarantineCondition.Serialize(writer) + if err != nil { + return err + } + { + err = writer.WriteInt32Value("percentage", m.GetPercentage()) + if err != nil { + return err + } + } + return nil +} +// SetPercentage sets the percentage property value. The percentage property +func (m *PercentageBasedQuarantineCondition) SetPercentage(value *int32)() { + err := m.GetBackingStore().Set("percentage", value) + if err != nil { + panic(err) + } +} +type PercentageBasedQuarantineConditionable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + QuarantineConditionable + GetPercentage()(*int32) + SetPercentage(value *int32)() +} diff --git a/models/identitygovernance/preview_failed_task.go b/models/identitygovernance/preview_failed_task.go new file mode 100644 index 0000000000..33b8d48ae5 --- /dev/null +++ b/models/identitygovernance/preview_failed_task.go @@ -0,0 +1,264 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package identitygovernance + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" +) + +type PreviewFailedTask struct { + // Stores model information. + backingStore ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore +} +// NewPreviewFailedTask instantiates a new PreviewFailedTask and sets the default values. +func NewPreviewFailedTask()(*PreviewFailedTask) { + m := &PreviewFailedTask{ + } + m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); + m.SetAdditionalData(make(map[string]any)) + return m +} +// CreatePreviewFailedTaskFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreatePreviewFailedTaskFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewPreviewFailedTask(), nil +} +// GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +// returns a map[string]any when successful +func (m *PreviewFailedTask) GetAdditionalData()(map[string]any) { + val , err := m.backingStore.Get("additionalData") + if err != nil { + panic(err) + } + if val == nil { + var value = make(map[string]any); + m.SetAdditionalData(value); + } + return val.(map[string]any) +} +// GetBackingStore gets the BackingStore property value. Stores model information. +// returns a BackingStore when successful +func (m *PreviewFailedTask) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) { + return m.backingStore +} +// GetDefinitionId gets the definitionId property value. The identifier of the task definition of the task that failed during the preview operation of a workflow. +// returns a *string when successful +func (m *PreviewFailedTask) GetDefinitionId()(*string) { + val, err := m.GetBackingStore().Get("definitionId") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetFailureReason gets the failureReason property value. The reason why the task failed in the preview operation of a workflow. +// returns a *string when successful +func (m *PreviewFailedTask) GetFailureReason()(*string) { + val, err := m.GetBackingStore().Get("failureReason") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *PreviewFailedTask) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) + res["definitionId"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetDefinitionId(val) + } + return nil + } + res["failureReason"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetFailureReason(val) + } + return nil + } + res["name"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetName(val) + } + return nil + } + res["@odata.type"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetOdataType(val) + } + return nil + } + res["taskId"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetTaskId(val) + } + return nil + } + return res +} +// GetName gets the name property value. The name of the task that failed within the preview operation of a workflow. +// returns a *string when successful +func (m *PreviewFailedTask) GetName()(*string) { + val, err := m.GetBackingStore().Get("name") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetOdataType gets the @odata.type property value. The OdataType property +// returns a *string when successful +func (m *PreviewFailedTask) GetOdataType()(*string) { + val, err := m.GetBackingStore().Get("odataType") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetTaskId gets the taskId property value. The identifier of the task that failed during the preview operation of a workflow. +// returns a *string when successful +func (m *PreviewFailedTask) GetTaskId()(*string) { + val, err := m.GetBackingStore().Get("taskId") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// Serialize serializes information the current object +func (m *PreviewFailedTask) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + { + err := writer.WriteStringValue("definitionId", m.GetDefinitionId()) + if err != nil { + return err + } + } + { + err := writer.WriteStringValue("failureReason", m.GetFailureReason()) + if err != nil { + return err + } + } + { + err := writer.WriteStringValue("name", m.GetName()) + if err != nil { + return err + } + } + { + err := writer.WriteStringValue("@odata.type", m.GetOdataType()) + if err != nil { + return err + } + } + { + err := writer.WriteStringValue("taskId", m.GetTaskId()) + if err != nil { + return err + } + } + { + err := writer.WriteAdditionalData(m.GetAdditionalData()) + if err != nil { + return err + } + } + return nil +} +// SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +func (m *PreviewFailedTask) SetAdditionalData(value map[string]any)() { + err := m.GetBackingStore().Set("additionalData", value) + if err != nil { + panic(err) + } +} +// SetBackingStore sets the BackingStore property value. Stores model information. +func (m *PreviewFailedTask) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { + m.backingStore = value +} +// SetDefinitionId sets the definitionId property value. The identifier of the task definition of the task that failed during the preview operation of a workflow. +func (m *PreviewFailedTask) SetDefinitionId(value *string)() { + err := m.GetBackingStore().Set("definitionId", value) + if err != nil { + panic(err) + } +} +// SetFailureReason sets the failureReason property value. The reason why the task failed in the preview operation of a workflow. +func (m *PreviewFailedTask) SetFailureReason(value *string)() { + err := m.GetBackingStore().Set("failureReason", value) + if err != nil { + panic(err) + } +} +// SetName sets the name property value. The name of the task that failed within the preview operation of a workflow. +func (m *PreviewFailedTask) SetName(value *string)() { + err := m.GetBackingStore().Set("name", value) + if err != nil { + panic(err) + } +} +// SetOdataType sets the @odata.type property value. The OdataType property +func (m *PreviewFailedTask) SetOdataType(value *string)() { + err := m.GetBackingStore().Set("odataType", value) + if err != nil { + panic(err) + } +} +// SetTaskId sets the taskId property value. The identifier of the task that failed during the preview operation of a workflow. +func (m *PreviewFailedTask) SetTaskId(value *string)() { + err := m.GetBackingStore().Set("taskId", value) + if err != nil { + panic(err) + } +} +type PreviewFailedTaskable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) + GetDefinitionId()(*string) + GetFailureReason()(*string) + GetName()(*string) + GetOdataType()(*string) + GetTaskId()(*string) + SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() + SetDefinitionId(value *string)() + SetFailureReason(value *string)() + SetName(value *string)() + SetOdataType(value *string)() + SetTaskId(value *string)() +} diff --git a/models/identitygovernance/quarantine_condition.go b/models/identitygovernance/quarantine_condition.go new file mode 100644 index 0000000000..4150b0ad9a --- /dev/null +++ b/models/identitygovernance/quarantine_condition.go @@ -0,0 +1,136 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package identitygovernance + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" +) + +type QuarantineCondition struct { + // Stores model information. + backingStore ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore +} +// NewQuarantineCondition instantiates a new QuarantineCondition and sets the default values. +func NewQuarantineCondition()(*QuarantineCondition) { + m := &QuarantineCondition{ + } + m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); + m.SetAdditionalData(make(map[string]any)) + return m +} +// CreateQuarantineConditionFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateQuarantineConditionFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + if parseNode != nil { + mappingValueNode, err := parseNode.GetChildNode("@odata.type") + if err != nil { + return nil, err + } + if mappingValueNode != nil { + mappingValue, err := mappingValueNode.GetStringValue() + if err != nil { + return nil, err + } + if mappingValue != nil { + switch *mappingValue { + case "#microsoft.graph.identityGovernance.countBasedQuarantineCondition": + return NewCountBasedQuarantineCondition(), nil + case "#microsoft.graph.identityGovernance.percentageBasedQuarantineCondition": + return NewPercentageBasedQuarantineCondition(), nil + } + } + } + } + return NewQuarantineCondition(), nil +} +// GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +// returns a map[string]any when successful +func (m *QuarantineCondition) GetAdditionalData()(map[string]any) { + val , err := m.backingStore.Get("additionalData") + if err != nil { + panic(err) + } + if val == nil { + var value = make(map[string]any); + m.SetAdditionalData(value); + } + return val.(map[string]any) +} +// GetBackingStore gets the BackingStore property value. Stores model information. +// returns a BackingStore when successful +func (m *QuarantineCondition) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) { + return m.backingStore +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *QuarantineCondition) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) + res["@odata.type"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetOdataType(val) + } + return nil + } + return res +} +// GetOdataType gets the @odata.type property value. The OdataType property +// returns a *string when successful +func (m *QuarantineCondition) GetOdataType()(*string) { + val, err := m.GetBackingStore().Get("odataType") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// Serialize serializes information the current object +func (m *QuarantineCondition) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + { + err := writer.WriteStringValue("@odata.type", m.GetOdataType()) + if err != nil { + return err + } + } + { + err := writer.WriteAdditionalData(m.GetAdditionalData()) + if err != nil { + return err + } + } + return nil +} +// SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +func (m *QuarantineCondition) SetAdditionalData(value map[string]any)() { + err := m.GetBackingStore().Set("additionalData", value) + if err != nil { + panic(err) + } +} +// SetBackingStore sets the BackingStore property value. Stores model information. +func (m *QuarantineCondition) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { + m.backingStore = value +} +// SetOdataType sets the @odata.type property value. The OdataType property +func (m *QuarantineCondition) SetOdataType(value *string)() { + err := m.GetBackingStore().Set("odataType", value) + if err != nil { + panic(err) + } +} +type QuarantineConditionable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) + GetOdataType()(*string) + SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() + SetOdataType(value *string)() +} diff --git a/models/identitygovernance/quarantine_configuration.go b/models/identitygovernance/quarantine_configuration.go new file mode 100644 index 0000000000..63e94b0284 --- /dev/null +++ b/models/identitygovernance/quarantine_configuration.go @@ -0,0 +1,203 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package identitygovernance + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" +) + +type QuarantineConfiguration struct { + // Stores model information. + backingStore ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore +} +// NewQuarantineConfiguration instantiates a new QuarantineConfiguration and sets the default values. +func NewQuarantineConfiguration()(*QuarantineConfiguration) { + m := &QuarantineConfiguration{ + } + m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); + m.SetAdditionalData(make(map[string]any)) + return m +} +// CreateQuarantineConfigurationFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateQuarantineConfigurationFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewQuarantineConfiguration(), nil +} +// GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +// returns a map[string]any when successful +func (m *QuarantineConfiguration) GetAdditionalData()(map[string]any) { + val , err := m.backingStore.Get("additionalData") + if err != nil { + panic(err) + } + if val == nil { + var value = make(map[string]any); + m.SetAdditionalData(value); + } + return val.(map[string]any) +} +// GetBackingStore gets the BackingStore property value. Stores model information. +// returns a BackingStore when successful +func (m *QuarantineConfiguration) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) { + return m.backingStore +} +// GetConditions gets the conditions property value. The conditions property +// returns a []QuarantineConditionable when successful +func (m *QuarantineConfiguration) GetConditions()([]QuarantineConditionable) { + val, err := m.GetBackingStore().Get("conditions") + if err != nil { + panic(err) + } + if val != nil { + return val.([]QuarantineConditionable) + } + return nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *QuarantineConfiguration) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) + res["conditions"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(CreateQuarantineConditionFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]QuarantineConditionable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(QuarantineConditionable) + } + } + m.SetConditions(res) + } + return nil + } + res["matchMode"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetEnumValue(ParseMatchMode) + if err != nil { + return err + } + if val != nil { + m.SetMatchMode(val.(*MatchMode)) + } + return nil + } + res["@odata.type"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetOdataType(val) + } + return nil + } + return res +} +// GetMatchMode gets the matchMode property value. The matchMode property +// returns a *MatchMode when successful +func (m *QuarantineConfiguration) GetMatchMode()(*MatchMode) { + val, err := m.GetBackingStore().Get("matchMode") + if err != nil { + panic(err) + } + if val != nil { + return val.(*MatchMode) + } + return nil +} +// GetOdataType gets the @odata.type property value. The OdataType property +// returns a *string when successful +func (m *QuarantineConfiguration) GetOdataType()(*string) { + val, err := m.GetBackingStore().Get("odataType") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// Serialize serializes information the current object +func (m *QuarantineConfiguration) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + if m.GetConditions() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetConditions())) + for i, v := range m.GetConditions() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err := writer.WriteCollectionOfObjectValues("conditions", cast) + if err != nil { + return err + } + } + if m.GetMatchMode() != nil { + cast := (*m.GetMatchMode()).String() + err := writer.WriteStringValue("matchMode", &cast) + if err != nil { + return err + } + } + { + err := writer.WriteStringValue("@odata.type", m.GetOdataType()) + if err != nil { + return err + } + } + { + err := writer.WriteAdditionalData(m.GetAdditionalData()) + if err != nil { + return err + } + } + return nil +} +// SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +func (m *QuarantineConfiguration) SetAdditionalData(value map[string]any)() { + err := m.GetBackingStore().Set("additionalData", value) + if err != nil { + panic(err) + } +} +// SetBackingStore sets the BackingStore property value. Stores model information. +func (m *QuarantineConfiguration) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { + m.backingStore = value +} +// SetConditions sets the conditions property value. The conditions property +func (m *QuarantineConfiguration) SetConditions(value []QuarantineConditionable)() { + err := m.GetBackingStore().Set("conditions", value) + if err != nil { + panic(err) + } +} +// SetMatchMode sets the matchMode property value. The matchMode property +func (m *QuarantineConfiguration) SetMatchMode(value *MatchMode)() { + err := m.GetBackingStore().Set("matchMode", value) + if err != nil { + panic(err) + } +} +// SetOdataType sets the @odata.type property value. The OdataType property +func (m *QuarantineConfiguration) SetOdataType(value *string)() { + err := m.GetBackingStore().Set("odataType", value) + if err != nil { + panic(err) + } +} +type QuarantineConfigurationable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) + GetConditions()([]QuarantineConditionable) + GetMatchMode()(*MatchMode) + GetOdataType()(*string) + SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() + SetConditions(value []QuarantineConditionable)() + SetMatchMode(value *MatchMode)() + SetOdataType(value *string)() +} diff --git a/models/identitygovernance/quarantine_details.go b/models/identitygovernance/quarantine_details.go new file mode 100644 index 0000000000..db023be931 --- /dev/null +++ b/models/identitygovernance/quarantine_details.go @@ -0,0 +1,229 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package identitygovernance + +import ( + i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e "time" + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" +) + +type QuarantineDetails struct { + // Stores model information. + backingStore ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore +} +// NewQuarantineDetails instantiates a new QuarantineDetails and sets the default values. +func NewQuarantineDetails()(*QuarantineDetails) { + m := &QuarantineDetails{ + } + m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); + m.SetAdditionalData(make(map[string]any)) + return m +} +// CreateQuarantineDetailsFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateQuarantineDetailsFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewQuarantineDetails(), nil +} +// GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +// returns a map[string]any when successful +func (m *QuarantineDetails) GetAdditionalData()(map[string]any) { + val , err := m.backingStore.Get("additionalData") + if err != nil { + panic(err) + } + if val == nil { + var value = make(map[string]any); + m.SetAdditionalData(value); + } + return val.(map[string]any) +} +// GetBackingStore gets the BackingStore property value. Stores model information. +// returns a BackingStore when successful +func (m *QuarantineDetails) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) { + return m.backingStore +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *QuarantineDetails) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) + res["@odata.type"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetOdataType(val) + } + return nil + } + res["quarantinedDateTime"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetTimeValue() + if err != nil { + return err + } + if val != nil { + m.SetQuarantinedDateTime(val) + } + return nil + } + res["quarantineReason"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetQuarantineReason(val) + } + return nil + } + res["quarantineType"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetEnumValue(ParseQuarantineType) + if err != nil { + return err + } + if val != nil { + m.SetQuarantineType(val.(*QuarantineType)) + } + return nil + } + return res +} +// GetOdataType gets the @odata.type property value. The OdataType property +// returns a *string when successful +func (m *QuarantineDetails) GetOdataType()(*string) { + val, err := m.GetBackingStore().Get("odataType") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetQuarantinedDateTime gets the quarantinedDateTime property value. The quarantinedDateTime property +// returns a *Time when successful +func (m *QuarantineDetails) GetQuarantinedDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) { + val, err := m.GetBackingStore().Get("quarantinedDateTime") + if err != nil { + panic(err) + } + if val != nil { + return val.(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) + } + return nil +} +// GetQuarantineReason gets the quarantineReason property value. The quarantineReason property +// returns a *string when successful +func (m *QuarantineDetails) GetQuarantineReason()(*string) { + val, err := m.GetBackingStore().Get("quarantineReason") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetQuarantineType gets the quarantineType property value. The quarantineType property +// returns a *QuarantineType when successful +func (m *QuarantineDetails) GetQuarantineType()(*QuarantineType) { + val, err := m.GetBackingStore().Get("quarantineType") + if err != nil { + panic(err) + } + if val != nil { + return val.(*QuarantineType) + } + return nil +} +// Serialize serializes information the current object +func (m *QuarantineDetails) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + { + err := writer.WriteStringValue("@odata.type", m.GetOdataType()) + if err != nil { + return err + } + } + { + err := writer.WriteTimeValue("quarantinedDateTime", m.GetQuarantinedDateTime()) + if err != nil { + return err + } + } + { + err := writer.WriteStringValue("quarantineReason", m.GetQuarantineReason()) + if err != nil { + return err + } + } + if m.GetQuarantineType() != nil { + cast := (*m.GetQuarantineType()).String() + err := writer.WriteStringValue("quarantineType", &cast) + if err != nil { + return err + } + } + { + err := writer.WriteAdditionalData(m.GetAdditionalData()) + if err != nil { + return err + } + } + return nil +} +// SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +func (m *QuarantineDetails) SetAdditionalData(value map[string]any)() { + err := m.GetBackingStore().Set("additionalData", value) + if err != nil { + panic(err) + } +} +// SetBackingStore sets the BackingStore property value. Stores model information. +func (m *QuarantineDetails) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { + m.backingStore = value +} +// SetOdataType sets the @odata.type property value. The OdataType property +func (m *QuarantineDetails) SetOdataType(value *string)() { + err := m.GetBackingStore().Set("odataType", value) + if err != nil { + panic(err) + } +} +// SetQuarantinedDateTime sets the quarantinedDateTime property value. The quarantinedDateTime property +func (m *QuarantineDetails) SetQuarantinedDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() { + err := m.GetBackingStore().Set("quarantinedDateTime", value) + if err != nil { + panic(err) + } +} +// SetQuarantineReason sets the quarantineReason property value. The quarantineReason property +func (m *QuarantineDetails) SetQuarantineReason(value *string)() { + err := m.GetBackingStore().Set("quarantineReason", value) + if err != nil { + panic(err) + } +} +// SetQuarantineType sets the quarantineType property value. The quarantineType property +func (m *QuarantineDetails) SetQuarantineType(value *QuarantineType)() { + err := m.GetBackingStore().Set("quarantineType", value) + if err != nil { + panic(err) + } +} +type QuarantineDetailsable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) + GetOdataType()(*string) + GetQuarantinedDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) + GetQuarantineReason()(*string) + GetQuarantineType()(*QuarantineType) + SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() + SetOdataType(value *string)() + SetQuarantinedDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() + SetQuarantineReason(value *string)() + SetQuarantineType(value *QuarantineType)() +} diff --git a/models/identitygovernance/quarantine_type.go b/models/identitygovernance/quarantine_type.go new file mode 100644 index 0000000000..40c3410fc6 --- /dev/null +++ b/models/identitygovernance/quarantine_type.go @@ -0,0 +1,45 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package identitygovernance +type QuarantineType int + +const ( + NOTQUARANTINED_QUARANTINETYPE QuarantineType = iota + COUNTBASEDTHRESHOLDEXCEEDED_QUARANTINETYPE + PERCENTAGEBASEDTHRESHOLDEXCEEDED_QUARANTINETYPE + MULTIPLECONDITIONSEXCEEDED_QUARANTINETYPE + UNKNOWNFUTUREVALUE_QUARANTINETYPE +) + +func (i QuarantineType) String() string { + return []string{"notQuarantined", "countBasedThresholdExceeded", "percentageBasedThresholdExceeded", "multipleConditionsExceeded", "unknownFutureValue"}[i] +} +func ParseQuarantineType(v string) (any, error) { + result := NOTQUARANTINED_QUARANTINETYPE + switch v { + case "notQuarantined": + result = NOTQUARANTINED_QUARANTINETYPE + case "countBasedThresholdExceeded": + result = COUNTBASEDTHRESHOLDEXCEEDED_QUARANTINETYPE + case "percentageBasedThresholdExceeded": + result = PERCENTAGEBASEDTHRESHOLDEXCEEDED_QUARANTINETYPE + case "multipleConditionsExceeded": + result = MULTIPLECONDITIONSEXCEEDED_QUARANTINETYPE + case "unknownFutureValue": + result = UNKNOWNFUTUREVALUE_QUARANTINETYPE + default: + return nil, nil + } + return &result, nil +} +func SerializeQuarantineType(values []QuarantineType) []string { + result := make([]string, len(values)) + for i, v := range values { + result[i] = v.String() + } + return result +} +func (i QuarantineType) isMultiValue() bool { + return false +} diff --git a/models/identitygovernance/workflow.go b/models/identitygovernance/workflow.go index b49b372c07..8b469fcb9a 100644 --- a/models/identitygovernance/workflow.go +++ b/models/identitygovernance/workflow.go @@ -6,6 +6,7 @@ package identitygovernance import ( i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e "time" i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" ) type Workflow struct { @@ -99,6 +100,32 @@ func (m *Workflow) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896 } return nil } + res["previewScope"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateDirectoryObjectFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DirectoryObjectable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DirectoryObjectable) + } + } + m.SetPreviewScope(res) + } + return nil + } + res["quarantineDetails"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetObjectValue(CreateQuarantineDetailsFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + m.SetQuarantineDetails(val.(QuarantineDetailsable)) + } + return nil + } res["runs"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { val, err := n.GetCollectionOfObjectValues(CreateRunFromDiscriminatorValue) if err != nil { @@ -115,6 +142,16 @@ func (m *Workflow) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896 } return nil } + res["settings"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetObjectValue(CreateWorkflowSettingFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + m.SetSettings(val.(WorkflowSettingable)) + } + return nil + } res["taskReports"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { val, err := n.GetCollectionOfObjectValues(CreateTaskReportFromDiscriminatorValue) if err != nil { @@ -199,6 +236,30 @@ func (m *Workflow) GetNextScheduleRunDateTime()(*i336074805fc853987abe6f7fe3ad97 } return nil } +// GetPreviewScope gets the previewScope property value. The preview scope for the workflow. +// returns a []DirectoryObjectable when successful +func (m *Workflow) GetPreviewScope()([]iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DirectoryObjectable) { + val, err := m.GetBackingStore().Get("previewScope") + if err != nil { + panic(err) + } + if val != nil { + return val.([]iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DirectoryObjectable) + } + return nil +} +// GetQuarantineDetails gets the quarantineDetails property value. The quarantineDetails property +// returns a QuarantineDetailsable when successful +func (m *Workflow) GetQuarantineDetails()(QuarantineDetailsable) { + val, err := m.GetBackingStore().Get("quarantineDetails") + if err != nil { + panic(err) + } + if val != nil { + return val.(QuarantineDetailsable) + } + return nil +} // GetRuns gets the runs property value. Workflow runs. // returns a []Runable when successful func (m *Workflow) GetRuns()([]Runable) { @@ -211,6 +272,18 @@ func (m *Workflow) GetRuns()([]Runable) { } return nil } +// GetSettings gets the settings property value. The settings property +// returns a WorkflowSettingable when successful +func (m *Workflow) GetSettings()(WorkflowSettingable) { + val, err := m.GetBackingStore().Get("settings") + if err != nil { + panic(err) + } + if val != nil { + return val.(WorkflowSettingable) + } + return nil +} // GetTaskReports gets the taskReports property value. Represents the aggregation of task execution data for tasks within a workflow object. // returns a []TaskReportable when successful func (m *Workflow) GetTaskReports()([]TaskReportable) { @@ -295,6 +368,24 @@ func (m *Workflow) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c01 return err } } + if m.GetPreviewScope() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetPreviewScope())) + for i, v := range m.GetPreviewScope() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err = writer.WriteCollectionOfObjectValues("previewScope", cast) + if err != nil { + return err + } + } + { + err = writer.WriteObjectValue("quarantineDetails", m.GetQuarantineDetails()) + if err != nil { + return err + } + } if m.GetRuns() != nil { cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetRuns())) for i, v := range m.GetRuns() { @@ -307,6 +398,12 @@ func (m *Workflow) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c01 return err } } + { + err = writer.WriteObjectValue("settings", m.GetSettings()) + if err != nil { + return err + } + } if m.GetTaskReports() != nil { cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetTaskReports())) for i, v := range m.GetTaskReports() { @@ -379,6 +476,20 @@ func (m *Workflow) SetNextScheduleRunDateTime(value *i336074805fc853987abe6f7fe3 panic(err) } } +// SetPreviewScope sets the previewScope property value. The preview scope for the workflow. +func (m *Workflow) SetPreviewScope(value []iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DirectoryObjectable)() { + err := m.GetBackingStore().Set("previewScope", value) + if err != nil { + panic(err) + } +} +// SetQuarantineDetails sets the quarantineDetails property value. The quarantineDetails property +func (m *Workflow) SetQuarantineDetails(value QuarantineDetailsable)() { + err := m.GetBackingStore().Set("quarantineDetails", value) + if err != nil { + panic(err) + } +} // SetRuns sets the runs property value. Workflow runs. func (m *Workflow) SetRuns(value []Runable)() { err := m.GetBackingStore().Set("runs", value) @@ -386,6 +497,13 @@ func (m *Workflow) SetRuns(value []Runable)() { panic(err) } } +// SetSettings sets the settings property value. The settings property +func (m *Workflow) SetSettings(value WorkflowSettingable)() { + err := m.GetBackingStore().Set("settings", value) + if err != nil { + panic(err) + } +} // SetTaskReports sets the taskReports property value. Represents the aggregation of task execution data for tasks within a workflow object. func (m *Workflow) SetTaskReports(value []TaskReportable)() { err := m.GetBackingStore().Set("taskReports", value) @@ -421,7 +539,10 @@ type Workflowable interface { GetExecutionScope()([]UserProcessingResultable) GetId()(*string) GetNextScheduleRunDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) + GetPreviewScope()([]iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DirectoryObjectable) + GetQuarantineDetails()(QuarantineDetailsable) GetRuns()([]Runable) + GetSettings()(WorkflowSettingable) GetTaskReports()([]TaskReportable) GetUserProcessingResults()([]UserProcessingResultable) GetVersion()(*int32) @@ -430,7 +551,10 @@ type Workflowable interface { SetExecutionScope(value []UserProcessingResultable)() SetId(value *string)() SetNextScheduleRunDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() + SetPreviewScope(value []iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DirectoryObjectable)() + SetQuarantineDetails(value QuarantineDetailsable)() SetRuns(value []Runable)() + SetSettings(value WorkflowSettingable)() SetTaskReports(value []TaskReportable)() SetUserProcessingResults(value []UserProcessingResultable)() SetVersion(value *int32)() diff --git a/models/identitygovernance/workflow_execution_type.go b/models/identitygovernance/workflow_execution_type.go index 9bde3fffd8..639ae48d6c 100644 --- a/models/identitygovernance/workflow_execution_type.go +++ b/models/identitygovernance/workflow_execution_type.go @@ -9,10 +9,11 @@ const ( ONDEMAND_WORKFLOWEXECUTIONTYPE UNKNOWNFUTUREVALUE_WORKFLOWEXECUTIONTYPE ACTIVATEDWITHSCOPE_WORKFLOWEXECUTIONTYPE + PREVIEW_WORKFLOWEXECUTIONTYPE ) func (i WorkflowExecutionType) String() string { - return []string{"scheduled", "onDemand", "unknownFutureValue", "activatedWithScope"}[i] + return []string{"scheduled", "onDemand", "unknownFutureValue", "activatedWithScope", "preview"}[i] } func ParseWorkflowExecutionType(v string) (any, error) { result := SCHEDULED_WORKFLOWEXECUTIONTYPE @@ -25,6 +26,8 @@ func ParseWorkflowExecutionType(v string) (any, error) { result = UNKNOWNFUTUREVALUE_WORKFLOWEXECUTIONTYPE case "activatedWithScope": result = ACTIVATEDWITHSCOPE_WORKFLOWEXECUTIONTYPE + case "preview": + result = PREVIEW_WORKFLOWEXECUTIONTYPE default: return nil, nil } diff --git a/models/identitygovernance/workflow_setting.go b/models/identitygovernance/workflow_setting.go new file mode 100644 index 0000000000..cf4c11a7a5 --- /dev/null +++ b/models/identitygovernance/workflow_setting.go @@ -0,0 +1,153 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package identitygovernance + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" +) + +type WorkflowSetting struct { + // Stores model information. + backingStore ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore +} +// NewWorkflowSetting instantiates a new WorkflowSetting and sets the default values. +func NewWorkflowSetting()(*WorkflowSetting) { + m := &WorkflowSetting{ + } + m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); + m.SetAdditionalData(make(map[string]any)) + return m +} +// CreateWorkflowSettingFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateWorkflowSettingFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewWorkflowSetting(), nil +} +// GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +// returns a map[string]any when successful +func (m *WorkflowSetting) GetAdditionalData()(map[string]any) { + val , err := m.backingStore.Get("additionalData") + if err != nil { + panic(err) + } + if val == nil { + var value = make(map[string]any); + m.SetAdditionalData(value); + } + return val.(map[string]any) +} +// GetBackingStore gets the BackingStore property value. Stores model information. +// returns a BackingStore when successful +func (m *WorkflowSetting) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) { + return m.backingStore +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *WorkflowSetting) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) + res["@odata.type"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetOdataType(val) + } + return nil + } + res["quarantineConfiguration"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetObjectValue(CreateQuarantineConfigurationFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + m.SetQuarantineConfiguration(val.(QuarantineConfigurationable)) + } + return nil + } + return res +} +// GetOdataType gets the @odata.type property value. The OdataType property +// returns a *string when successful +func (m *WorkflowSetting) GetOdataType()(*string) { + val, err := m.GetBackingStore().Get("odataType") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetQuarantineConfiguration gets the quarantineConfiguration property value. The quarantineConfiguration property +// returns a QuarantineConfigurationable when successful +func (m *WorkflowSetting) GetQuarantineConfiguration()(QuarantineConfigurationable) { + val, err := m.GetBackingStore().Get("quarantineConfiguration") + if err != nil { + panic(err) + } + if val != nil { + return val.(QuarantineConfigurationable) + } + return nil +} +// Serialize serializes information the current object +func (m *WorkflowSetting) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + { + err := writer.WriteStringValue("@odata.type", m.GetOdataType()) + if err != nil { + return err + } + } + { + err := writer.WriteObjectValue("quarantineConfiguration", m.GetQuarantineConfiguration()) + if err != nil { + return err + } + } + { + err := writer.WriteAdditionalData(m.GetAdditionalData()) + if err != nil { + return err + } + } + return nil +} +// SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +func (m *WorkflowSetting) SetAdditionalData(value map[string]any)() { + err := m.GetBackingStore().Set("additionalData", value) + if err != nil { + panic(err) + } +} +// SetBackingStore sets the BackingStore property value. Stores model information. +func (m *WorkflowSetting) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { + m.backingStore = value +} +// SetOdataType sets the @odata.type property value. The OdataType property +func (m *WorkflowSetting) SetOdataType(value *string)() { + err := m.GetBackingStore().Set("odataType", value) + if err != nil { + panic(err) + } +} +// SetQuarantineConfiguration sets the quarantineConfiguration property value. The quarantineConfiguration property +func (m *WorkflowSetting) SetQuarantineConfiguration(value QuarantineConfigurationable)() { + err := m.GetBackingStore().Set("quarantineConfiguration", value) + if err != nil { + panic(err) + } +} +type WorkflowSettingable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) + GetOdataType()(*string) + GetQuarantineConfiguration()(QuarantineConfigurationable) + SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() + SetOdataType(value *string)() + SetQuarantineConfiguration(value QuarantineConfigurationable)() +} diff --git a/models/identitygovernance/workflow_version.go b/models/identitygovernance/workflow_version.go index c0d6715513..53b761150d 100644 --- a/models/identitygovernance/workflow_version.go +++ b/models/identitygovernance/workflow_version.go @@ -28,6 +28,16 @@ func CreateWorkflowVersionFromDiscriminatorValue(parseNode i878a80d2330e89d26896 // returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful func (m *WorkflowVersion) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := m.WorkflowBase.GetFieldDeserializers() + res["settings"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetObjectValue(CreateWorkflowSettingFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + m.SetSettings(val.(WorkflowSettingable)) + } + return nil + } res["versionNumber"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { val, err := n.GetInt32Value() if err != nil { @@ -40,6 +50,18 @@ func (m *WorkflowVersion) GetFieldDeserializers()(map[string]func(i878a80d2330e8 } return res } +// GetSettings gets the settings property value. The settings property +// returns a WorkflowSettingable when successful +func (m *WorkflowVersion) GetSettings()(WorkflowSettingable) { + val, err := m.GetBackingStore().Get("settings") + if err != nil { + panic(err) + } + if val != nil { + return val.(WorkflowSettingable) + } + return nil +} // GetVersionNumber gets the versionNumber property value. The version of the workflow.Supports $filter(lt, le, gt, ge, eq, ne) and $orderby. // returns a *int32 when successful func (m *WorkflowVersion) GetVersionNumber()(*int32) { @@ -58,6 +80,12 @@ func (m *WorkflowVersion) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0 if err != nil { return err } + { + err = writer.WriteObjectValue("settings", m.GetSettings()) + if err != nil { + return err + } + } { err = writer.WriteInt32Value("versionNumber", m.GetVersionNumber()) if err != nil { @@ -66,6 +94,13 @@ func (m *WorkflowVersion) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0 } return nil } +// SetSettings sets the settings property value. The settings property +func (m *WorkflowVersion) SetSettings(value WorkflowSettingable)() { + err := m.GetBackingStore().Set("settings", value) + if err != nil { + panic(err) + } +} // SetVersionNumber sets the versionNumber property value. The version of the workflow.Supports $filter(lt, le, gt, ge, eq, ne) and $orderby. func (m *WorkflowVersion) SetVersionNumber(value *int32)() { err := m.GetBackingStore().Set("versionNumber", value) @@ -76,6 +111,8 @@ func (m *WorkflowVersion) SetVersionNumber(value *int32)() { type WorkflowVersionable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable WorkflowBaseable + GetSettings()(WorkflowSettingable) GetVersionNumber()(*int32) + SetSettings(value WorkflowSettingable)() SetVersionNumber(value *int32)() } diff --git a/models/notification_events_type.go b/models/notification_events_type.go new file mode 100644 index 0000000000..9098929562 --- /dev/null +++ b/models/notification_events_type.go @@ -0,0 +1,54 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package models +import ( + "math" + "strings" +) +type NotificationEventsType int + +const ( + NONE_NOTIFICATIONEVENTSTYPE = 1 + RESTOREANDPOLICYUPDATES_NOTIFICATIONEVENTSTYPE = 2 + UNKNOWNFUTUREVALUE_NOTIFICATIONEVENTSTYPE = 4 +) + +func (i NotificationEventsType) String() string { + var values []string + options := []string{"none", "restoreAndPolicyUpdates", "unknownFutureValue"} + for p := 0; p < 3; p++ { + mantis := NotificationEventsType(int(math.Pow(2, float64(p)))) + if i&mantis == mantis { + values = append(values, options[p]) + } + } + return strings.Join(values, ",") +} +func ParseNotificationEventsType(v string) (any, error) { + var result NotificationEventsType + values := strings.Split(v, ",") + for _, str := range values { + switch str { + case "none": + result |= NONE_NOTIFICATIONEVENTSTYPE + case "restoreAndPolicyUpdates": + result |= RESTOREANDPOLICYUPDATES_NOTIFICATIONEVENTSTYPE + case "unknownFutureValue": + result |= UNKNOWNFUTUREVALUE_NOTIFICATIONEVENTSTYPE + default: + return nil, nil + } + } + return &result, nil +} +func SerializeNotificationEventsType(values []NotificationEventsType) []string { + result := make([]string, len(values)) + for i, v := range values { + result[i] = v.String() + } + return result +} +func (i NotificationEventsType) isMultiValue() bool { + return true +} diff --git a/models/notification_recipients.go b/models/notification_recipients.go new file mode 100644 index 0000000000..64f6384d0c --- /dev/null +++ b/models/notification_recipients.go @@ -0,0 +1,203 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" +) + +type NotificationRecipients struct { + // Stores model information. + backingStore ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore +} +// NewNotificationRecipients instantiates a new NotificationRecipients and sets the default values. +func NewNotificationRecipients()(*NotificationRecipients) { + m := &NotificationRecipients{ + } + m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); + m.SetAdditionalData(make(map[string]any)) + return m +} +// CreateNotificationRecipientsFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateNotificationRecipientsFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewNotificationRecipients(), nil +} +// GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +// returns a map[string]any when successful +func (m *NotificationRecipients) GetAdditionalData()(map[string]any) { + val , err := m.backingStore.Get("additionalData") + if err != nil { + panic(err) + } + if val == nil { + var value = make(map[string]any); + m.SetAdditionalData(value); + } + return val.(map[string]any) +} +// GetBackingStore gets the BackingStore property value. Stores model information. +// returns a BackingStore when successful +func (m *NotificationRecipients) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) { + return m.backingStore +} +// GetCustomRecipients gets the customRecipients property value. A list of users or groups that receive notifications. Only specify this property when role is set to custom. +// returns a []EmailIdentityable when successful +func (m *NotificationRecipients) GetCustomRecipients()([]EmailIdentityable) { + val, err := m.GetBackingStore().Get("customRecipients") + if err != nil { + panic(err) + } + if val != nil { + return val.([]EmailIdentityable) + } + return nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *NotificationRecipients) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) + res["customRecipients"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(CreateEmailIdentityFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]EmailIdentityable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(EmailIdentityable) + } + } + m.SetCustomRecipients(res) + } + return nil + } + res["@odata.type"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetOdataType(val) + } + return nil + } + res["role"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetEnumValue(ParseNotificationRecipientsType) + if err != nil { + return err + } + if val != nil { + m.SetRole(val.(*NotificationRecipientsType)) + } + return nil + } + return res +} +// GetOdataType gets the @odata.type property value. The OdataType property +// returns a *string when successful +func (m *NotificationRecipients) GetOdataType()(*string) { + val, err := m.GetBackingStore().Get("odataType") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetRole gets the role property value. The role property +// returns a *NotificationRecipientsType when successful +func (m *NotificationRecipients) GetRole()(*NotificationRecipientsType) { + val, err := m.GetBackingStore().Get("role") + if err != nil { + panic(err) + } + if val != nil { + return val.(*NotificationRecipientsType) + } + return nil +} +// Serialize serializes information the current object +func (m *NotificationRecipients) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + if m.GetCustomRecipients() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetCustomRecipients())) + for i, v := range m.GetCustomRecipients() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err := writer.WriteCollectionOfObjectValues("customRecipients", cast) + if err != nil { + return err + } + } + { + err := writer.WriteStringValue("@odata.type", m.GetOdataType()) + if err != nil { + return err + } + } + if m.GetRole() != nil { + cast := (*m.GetRole()).String() + err := writer.WriteStringValue("role", &cast) + if err != nil { + return err + } + } + { + err := writer.WriteAdditionalData(m.GetAdditionalData()) + if err != nil { + return err + } + } + return nil +} +// SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +func (m *NotificationRecipients) SetAdditionalData(value map[string]any)() { + err := m.GetBackingStore().Set("additionalData", value) + if err != nil { + panic(err) + } +} +// SetBackingStore sets the BackingStore property value. Stores model information. +func (m *NotificationRecipients) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { + m.backingStore = value +} +// SetCustomRecipients sets the customRecipients property value. A list of users or groups that receive notifications. Only specify this property when role is set to custom. +func (m *NotificationRecipients) SetCustomRecipients(value []EmailIdentityable)() { + err := m.GetBackingStore().Set("customRecipients", value) + if err != nil { + panic(err) + } +} +// SetOdataType sets the @odata.type property value. The OdataType property +func (m *NotificationRecipients) SetOdataType(value *string)() { + err := m.GetBackingStore().Set("odataType", value) + if err != nil { + panic(err) + } +} +// SetRole sets the role property value. The role property +func (m *NotificationRecipients) SetRole(value *NotificationRecipientsType)() { + err := m.GetBackingStore().Set("role", value) + if err != nil { + panic(err) + } +} +type NotificationRecipientsable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) + GetCustomRecipients()([]EmailIdentityable) + GetOdataType()(*string) + GetRole()(*NotificationRecipientsType) + SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() + SetCustomRecipients(value []EmailIdentityable)() + SetOdataType(value *string)() + SetRole(value *NotificationRecipientsType)() +} diff --git a/models/notification_recipients_type.go b/models/notification_recipients_type.go new file mode 100644 index 0000000000..74ac877a9d --- /dev/null +++ b/models/notification_recipients_type.go @@ -0,0 +1,63 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package models +import ( + "math" + "strings" +) +type NotificationRecipientsType int + +const ( + NONE_NOTIFICATIONRECIPIENTSTYPE = 1 + GLOBALADMINS_NOTIFICATIONRECIPIENTSTYPE = 2 + BACKUPADMINS_NOTIFICATIONRECIPIENTSTYPE = 4 + CUSTOM_NOTIFICATIONRECIPIENTSTYPE = 8 + ALLADMINS_NOTIFICATIONRECIPIENTSTYPE = 16 + UNKNOWNFUTUREVALUE_NOTIFICATIONRECIPIENTSTYPE = 32 +) + +func (i NotificationRecipientsType) String() string { + var values []string + options := []string{"none", "globalAdmins", "backupAdmins", "custom", "allAdmins", "unknownFutureValue"} + for p := 0; p < 6; p++ { + mantis := NotificationRecipientsType(int(math.Pow(2, float64(p)))) + if i&mantis == mantis { + values = append(values, options[p]) + } + } + return strings.Join(values, ",") +} +func ParseNotificationRecipientsType(v string) (any, error) { + var result NotificationRecipientsType + values := strings.Split(v, ",") + for _, str := range values { + switch str { + case "none": + result |= NONE_NOTIFICATIONRECIPIENTSTYPE + case "globalAdmins": + result |= GLOBALADMINS_NOTIFICATIONRECIPIENTSTYPE + case "backupAdmins": + result |= BACKUPADMINS_NOTIFICATIONRECIPIENTSTYPE + case "custom": + result |= CUSTOM_NOTIFICATIONRECIPIENTSTYPE + case "allAdmins": + result |= ALLADMINS_NOTIFICATIONRECIPIENTSTYPE + case "unknownFutureValue": + result |= UNKNOWNFUTUREVALUE_NOTIFICATIONRECIPIENTSTYPE + default: + return nil, nil + } + } + return &result, nil +} +func SerializeNotificationRecipientsType(values []NotificationRecipientsType) []string { + result := make([]string, len(values)) + for i, v := range values { + result[i] = v.String() + } + return result +} +func (i NotificationRecipientsType) isMultiValue() bool { + return true +} diff --git a/models/package_access_entity.go b/models/package_access_entity.go new file mode 100644 index 0000000000..23efb488f2 --- /dev/null +++ b/models/package_access_entity.go @@ -0,0 +1,191 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" +) + +type PackageAccessEntity struct { + // Stores model information. + backingStore ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore +} +// NewPackageAccessEntity instantiates a new PackageAccessEntity and sets the default values. +func NewPackageAccessEntity()(*PackageAccessEntity) { + m := &PackageAccessEntity{ + } + m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); + m.SetAdditionalData(make(map[string]any)) + return m +} +// CreatePackageAccessEntityFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreatePackageAccessEntityFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewPackageAccessEntity(), nil +} +// GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +// returns a map[string]any when successful +func (m *PackageAccessEntity) GetAdditionalData()(map[string]any) { + val , err := m.backingStore.Get("additionalData") + if err != nil { + panic(err) + } + if val == nil { + var value = make(map[string]any); + m.SetAdditionalData(value); + } + return val.(map[string]any) +} +// GetBackingStore gets the BackingStore property value. Stores model information. +// returns a BackingStore when successful +func (m *PackageAccessEntity) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) { + return m.backingStore +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *PackageAccessEntity) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) + res["@odata.type"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetOdataType(val) + } + return nil + } + res["resourceId"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetResourceId(val) + } + return nil + } + res["resourceType"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetEnumValue(ParseAccessEntityType) + if err != nil { + return err + } + if val != nil { + m.SetResourceType(val.(*AccessEntityType)) + } + return nil + } + return res +} +// GetOdataType gets the @odata.type property value. The OdataType property +// returns a *string when successful +func (m *PackageAccessEntity) GetOdataType()(*string) { + val, err := m.GetBackingStore().Get("odataType") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetResourceId gets the resourceId property value. The resourceId property +// returns a *string when successful +func (m *PackageAccessEntity) GetResourceId()(*string) { + val, err := m.GetBackingStore().Get("resourceId") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetResourceType gets the resourceType property value. The resourceType property +// returns a *AccessEntityType when successful +func (m *PackageAccessEntity) GetResourceType()(*AccessEntityType) { + val, err := m.GetBackingStore().Get("resourceType") + if err != nil { + panic(err) + } + if val != nil { + return val.(*AccessEntityType) + } + return nil +} +// Serialize serializes information the current object +func (m *PackageAccessEntity) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + { + err := writer.WriteStringValue("@odata.type", m.GetOdataType()) + if err != nil { + return err + } + } + { + err := writer.WriteStringValue("resourceId", m.GetResourceId()) + if err != nil { + return err + } + } + if m.GetResourceType() != nil { + cast := (*m.GetResourceType()).String() + err := writer.WriteStringValue("resourceType", &cast) + if err != nil { + return err + } + } + { + err := writer.WriteAdditionalData(m.GetAdditionalData()) + if err != nil { + return err + } + } + return nil +} +// SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +func (m *PackageAccessEntity) SetAdditionalData(value map[string]any)() { + err := m.GetBackingStore().Set("additionalData", value) + if err != nil { + panic(err) + } +} +// SetBackingStore sets the BackingStore property value. Stores model information. +func (m *PackageAccessEntity) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { + m.backingStore = value +} +// SetOdataType sets the @odata.type property value. The OdataType property +func (m *PackageAccessEntity) SetOdataType(value *string)() { + err := m.GetBackingStore().Set("odataType", value) + if err != nil { + panic(err) + } +} +// SetResourceId sets the resourceId property value. The resourceId property +func (m *PackageAccessEntity) SetResourceId(value *string)() { + err := m.GetBackingStore().Set("resourceId", value) + if err != nil { + panic(err) + } +} +// SetResourceType sets the resourceType property value. The resourceType property +func (m *PackageAccessEntity) SetResourceType(value *AccessEntityType)() { + err := m.GetBackingStore().Set("resourceType", value) + if err != nil { + panic(err) + } +} +type PackageAccessEntityable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) + GetOdataType()(*string) + GetResourceId()(*string) + GetResourceType()(*AccessEntityType) + SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() + SetOdataType(value *string)() + SetResourceId(value *string)() + SetResourceType(value *AccessEntityType)() +} diff --git a/models/package_element.go b/models/package_element.go new file mode 100644 index 0000000000..27fd26b331 --- /dev/null +++ b/models/package_element.go @@ -0,0 +1,190 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" +) + +type PackageElement struct { + // Stores model information. + backingStore ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore +} +// NewPackageElement instantiates a new PackageElement and sets the default values. +func NewPackageElement()(*PackageElement) { + m := &PackageElement{ + } + m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); + m.SetAdditionalData(make(map[string]any)) + return m +} +// CreatePackageElementFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreatePackageElementFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewPackageElement(), nil +} +// GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +// returns a map[string]any when successful +func (m *PackageElement) GetAdditionalData()(map[string]any) { + val , err := m.backingStore.Get("additionalData") + if err != nil { + panic(err) + } + if val == nil { + var value = make(map[string]any); + m.SetAdditionalData(value); + } + return val.(map[string]any) +} +// GetBackingStore gets the BackingStore property value. Stores model information. +// returns a BackingStore when successful +func (m *PackageElement) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) { + return m.backingStore +} +// GetDefinition gets the definition property value. The definition property +// returns a UntypedNodeable when successful +func (m *PackageElement) GetDefinition()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { + val, err := m.GetBackingStore().Get("definition") + if err != nil { + panic(err) + } + if val != nil { + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + } + return nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *PackageElement) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) + res["definition"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + m.SetDefinition(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) + } + return nil + } + res["id"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetId(val) + } + return nil + } + res["@odata.type"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetOdataType(val) + } + return nil + } + return res +} +// GetId gets the id property value. The id property +// returns a *string when successful +func (m *PackageElement) GetId()(*string) { + val, err := m.GetBackingStore().Get("id") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetOdataType gets the @odata.type property value. The OdataType property +// returns a *string when successful +func (m *PackageElement) GetOdataType()(*string) { + val, err := m.GetBackingStore().Get("odataType") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// Serialize serializes information the current object +func (m *PackageElement) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + { + err := writer.WriteObjectValue("definition", m.GetDefinition()) + if err != nil { + return err + } + } + { + err := writer.WriteStringValue("id", m.GetId()) + if err != nil { + return err + } + } + { + err := writer.WriteStringValue("@odata.type", m.GetOdataType()) + if err != nil { + return err + } + } + { + err := writer.WriteAdditionalData(m.GetAdditionalData()) + if err != nil { + return err + } + } + return nil +} +// SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +func (m *PackageElement) SetAdditionalData(value map[string]any)() { + err := m.GetBackingStore().Set("additionalData", value) + if err != nil { + panic(err) + } +} +// SetBackingStore sets the BackingStore property value. Stores model information. +func (m *PackageElement) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { + m.backingStore = value +} +// SetDefinition sets the definition property value. The definition property +func (m *PackageElement) SetDefinition(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { + err := m.GetBackingStore().Set("definition", value) + if err != nil { + panic(err) + } +} +// SetId sets the id property value. The id property +func (m *PackageElement) SetId(value *string)() { + err := m.GetBackingStore().Set("id", value) + if err != nil { + panic(err) + } +} +// SetOdataType sets the @odata.type property value. The OdataType property +func (m *PackageElement) SetOdataType(value *string)() { + err := m.GetBackingStore().Set("odataType", value) + if err != nil { + panic(err) + } +} +type PackageElementable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) + GetDefinition()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetId()(*string) + GetOdataType()(*string) + SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() + SetDefinition(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetId(value *string)() + SetOdataType(value *string)() +} diff --git a/models/package_element_detail.go b/models/package_element_detail.go new file mode 100644 index 0000000000..37c2152a0a --- /dev/null +++ b/models/package_element_detail.go @@ -0,0 +1,202 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" +) + +type PackageElementDetail struct { + // Stores model information. + backingStore ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore +} +// NewPackageElementDetail instantiates a new PackageElementDetail and sets the default values. +func NewPackageElementDetail()(*PackageElementDetail) { + m := &PackageElementDetail{ + } + m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); + m.SetAdditionalData(make(map[string]any)) + return m +} +// CreatePackageElementDetailFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreatePackageElementDetailFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewPackageElementDetail(), nil +} +// GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +// returns a map[string]any when successful +func (m *PackageElementDetail) GetAdditionalData()(map[string]any) { + val , err := m.backingStore.Get("additionalData") + if err != nil { + panic(err) + } + if val == nil { + var value = make(map[string]any); + m.SetAdditionalData(value); + } + return val.(map[string]any) +} +// GetBackingStore gets the BackingStore property value. Stores model information. +// returns a BackingStore when successful +func (m *PackageElementDetail) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) { + return m.backingStore +} +// GetElements gets the elements property value. The elements property +// returns a []PackageElementable when successful +func (m *PackageElementDetail) GetElements()([]PackageElementable) { + val, err := m.GetBackingStore().Get("elements") + if err != nil { + panic(err) + } + if val != nil { + return val.([]PackageElementable) + } + return nil +} +// GetElementType gets the elementType property value. The elementType property +// returns a *string when successful +func (m *PackageElementDetail) GetElementType()(*string) { + val, err := m.GetBackingStore().Get("elementType") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *PackageElementDetail) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) + res["elements"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(CreatePackageElementFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]PackageElementable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(PackageElementable) + } + } + m.SetElements(res) + } + return nil + } + res["elementType"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetElementType(val) + } + return nil + } + res["@odata.type"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetOdataType(val) + } + return nil + } + return res +} +// GetOdataType gets the @odata.type property value. The OdataType property +// returns a *string when successful +func (m *PackageElementDetail) GetOdataType()(*string) { + val, err := m.GetBackingStore().Get("odataType") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// Serialize serializes information the current object +func (m *PackageElementDetail) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + if m.GetElements() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetElements())) + for i, v := range m.GetElements() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err := writer.WriteCollectionOfObjectValues("elements", cast) + if err != nil { + return err + } + } + { + err := writer.WriteStringValue("elementType", m.GetElementType()) + if err != nil { + return err + } + } + { + err := writer.WriteStringValue("@odata.type", m.GetOdataType()) + if err != nil { + return err + } + } + { + err := writer.WriteAdditionalData(m.GetAdditionalData()) + if err != nil { + return err + } + } + return nil +} +// SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +func (m *PackageElementDetail) SetAdditionalData(value map[string]any)() { + err := m.GetBackingStore().Set("additionalData", value) + if err != nil { + panic(err) + } +} +// SetBackingStore sets the BackingStore property value. Stores model information. +func (m *PackageElementDetail) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { + m.backingStore = value +} +// SetElements sets the elements property value. The elements property +func (m *PackageElementDetail) SetElements(value []PackageElementable)() { + err := m.GetBackingStore().Set("elements", value) + if err != nil { + panic(err) + } +} +// SetElementType sets the elementType property value. The elementType property +func (m *PackageElementDetail) SetElementType(value *string)() { + err := m.GetBackingStore().Set("elementType", value) + if err != nil { + panic(err) + } +} +// SetOdataType sets the @odata.type property value. The OdataType property +func (m *PackageElementDetail) SetOdataType(value *string)() { + err := m.GetBackingStore().Set("odataType", value) + if err != nil { + panic(err) + } +} +type PackageElementDetailable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) + GetElements()([]PackageElementable) + GetElementType()(*string) + GetOdataType()(*string) + SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() + SetElements(value []PackageElementable)() + SetElementType(value *string)() + SetOdataType(value *string)() +} diff --git a/models/package_status.go b/models/package_status.go new file mode 100644 index 0000000000..53002ff4d0 --- /dev/null +++ b/models/package_status.go @@ -0,0 +1,42 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package models +type PackageStatus int + +const ( + NONE_PACKAGESTATUS PackageStatus = iota + SOME_PACKAGESTATUS + ALL_PACKAGESTATUS + UNKNOWNFUTUREVALUE_PACKAGESTATUS +) + +func (i PackageStatus) String() string { + return []string{"none", "some", "all", "unknownFutureValue"}[i] +} +func ParsePackageStatus(v string) (any, error) { + result := NONE_PACKAGESTATUS + switch v { + case "none": + result = NONE_PACKAGESTATUS + case "some": + result = SOME_PACKAGESTATUS + case "all": + result = ALL_PACKAGESTATUS + case "unknownFutureValue": + result = UNKNOWNFUTUREVALUE_PACKAGESTATUS + default: + return nil, nil + } + return &result, nil +} +func SerializePackageStatus(values []PackageStatus) []string { + result := make([]string, len(values)) + for i, v := range values { + result[i] = v.String() + } + return result +} +func (i PackageStatus) isMultiValue() bool { + return false +} diff --git a/models/package_type.go b/models/package_type.go new file mode 100644 index 0000000000..80c7fb9144 --- /dev/null +++ b/models/package_type.go @@ -0,0 +1,45 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package models +type PackageType int + +const ( + MICROSOFT_PACKAGETYPE PackageType = iota + EXTERNAL_PACKAGETYPE + SHARED_PACKAGETYPE + CUSTOM_PACKAGETYPE + UNKNOWNFUTUREVALUE_PACKAGETYPE +) + +func (i PackageType) String() string { + return []string{"microsoft", "external", "shared", "custom", "unknownFutureValue"}[i] +} +func ParsePackageType(v string) (any, error) { + result := MICROSOFT_PACKAGETYPE + switch v { + case "microsoft": + result = MICROSOFT_PACKAGETYPE + case "external": + result = EXTERNAL_PACKAGETYPE + case "shared": + result = SHARED_PACKAGETYPE + case "custom": + result = CUSTOM_PACKAGETYPE + case "unknownFutureValue": + result = UNKNOWNFUTUREVALUE_PACKAGETYPE + default: + return nil, nil + } + return &result, nil +} +func SerializePackageType(values []PackageType) []string { + result := make([]string, len(values)) + for i, v := range values { + result[i] = v.String() + } + return result +} +func (i PackageType) isMultiValue() bool { + return false +} diff --git a/models/password_policy.go b/models/password_policy.go new file mode 100644 index 0000000000..64ba4544e1 --- /dev/null +++ b/models/password_policy.go @@ -0,0 +1,66 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package models +import ( + "math" + "strings" +) +type PasswordPolicy int + +const ( + NONE_PASSWORDPOLICY = 1 + CHANGEPASSWORDPERIOD_PASSWORDPOLICY = 2 + CHARACTERSCOMBINATION_PASSWORDPOLICY = 4 + PASSWORDHISTORYANDREUSE_PASSWORDPOLICY = 8 + PASSWORDLENGTHLIMIT_PASSWORDPOLICY = 16 + PERSONALINFORMATIONUSE_PASSWORDPOLICY = 32 + UNKNOWNFUTUREVALUE_PASSWORDPOLICY = 64 +) + +func (i PasswordPolicy) String() string { + var values []string + options := []string{"none", "changePasswordPeriod", "charactersCombination", "passwordHistoryAndReuse", "passwordLengthLimit", "personalInformationUse", "unknownFutureValue"} + for p := 0; p < 7; p++ { + mantis := PasswordPolicy(int(math.Pow(2, float64(p)))) + if i&mantis == mantis { + values = append(values, options[p]) + } + } + return strings.Join(values, ",") +} +func ParsePasswordPolicy(v string) (any, error) { + var result PasswordPolicy + values := strings.Split(v, ",") + for _, str := range values { + switch str { + case "none": + result |= NONE_PASSWORDPOLICY + case "changePasswordPeriod": + result |= CHANGEPASSWORDPERIOD_PASSWORDPOLICY + case "charactersCombination": + result |= CHARACTERSCOMBINATION_PASSWORDPOLICY + case "passwordHistoryAndReuse": + result |= PASSWORDHISTORYANDREUSE_PASSWORDPOLICY + case "passwordLengthLimit": + result |= PASSWORDLENGTHLIMIT_PASSWORDPOLICY + case "personalInformationUse": + result |= PERSONALINFORMATIONUSE_PASSWORDPOLICY + case "unknownFutureValue": + result |= UNKNOWNFUTUREVALUE_PASSWORDPOLICY + default: + return nil, nil + } + } + return &result, nil +} +func SerializePasswordPolicy(values []PasswordPolicy) []string { + result := make([]string, len(values)) + for i, v := range values { + result[i] = v.String() + } + return result +} +func (i PasswordPolicy) isMultiValue() bool { + return true +} diff --git a/models/pci_version.go b/models/pci_version.go new file mode 100644 index 0000000000..64f8c52109 --- /dev/null +++ b/models/pci_version.go @@ -0,0 +1,45 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package models +type PciVersion int + +const ( + NONE_PCIVERSION PciVersion = iota + V3_2_1_PCIVERSION + V4_PCIVERSION + NOTSUPPORTED_PCIVERSION + UNKNOWNFUTUREVALUE_PCIVERSION +) + +func (i PciVersion) String() string { + return []string{"none", "v3_2_1", "v4", "notSupported", "unknownFutureValue"}[i] +} +func ParsePciVersion(v string) (any, error) { + result := NONE_PCIVERSION + switch v { + case "none": + result = NONE_PCIVERSION + case "v3_2_1": + result = V3_2_1_PCIVERSION + case "v4": + result = V4_PCIVERSION + case "notSupported": + result = NOTSUPPORTED_PCIVERSION + case "unknownFutureValue": + result = UNKNOWNFUTUREVALUE_PCIVERSION + default: + return nil, nil + } + return &result, nil +} +func SerializePciVersion(values []PciVersion) []string { + result := make([]string, len(values)) + for i, v := range values { + result[i] = v.String() + } + return result +} +func (i PciVersion) isMultiValue() bool { + return false +} diff --git a/models/policy_root.go b/models/policy_root.go index b062876ebd..d6501d518a 100644 --- a/models/policy_root.go +++ b/models/policy_root.go @@ -178,6 +178,18 @@ func (m *PolicyRoot) GetFeatureRolloutPolicies()([]FeatureRolloutPolicyable) { } return nil } +// GetFederatedTokenValidationPolicy gets the federatedTokenValidationPolicy property value. The federatedTokenValidationPolicy property +// returns a FederatedTokenValidationPolicyable when successful +func (m *PolicyRoot) GetFederatedTokenValidationPolicy()(FederatedTokenValidationPolicyable) { + val, err := m.GetBackingStore().Get("federatedTokenValidationPolicy") + if err != nil { + panic(err) + } + if val != nil { + return val.(FederatedTokenValidationPolicyable) + } + return nil +} // GetFieldDeserializers the deserialization information for the current model // returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful func (m *PolicyRoot) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { @@ -348,6 +360,16 @@ func (m *PolicyRoot) GetFieldDeserializers()(map[string]func(i878a80d2330e89d268 } return nil } + res["federatedTokenValidationPolicy"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetObjectValue(CreateFederatedTokenValidationPolicyFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + m.SetFederatedTokenValidationPolicy(val.(FederatedTokenValidationPolicyable)) + } + return nil + } res["homeRealmDiscoveryPolicies"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { val, err := n.GetCollectionOfObjectValues(CreateHomeRealmDiscoveryPolicyFromDiscriminatorValue) if err != nil { @@ -682,6 +704,12 @@ func (m *PolicyRoot) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c return err } } + { + err = writer.WriteObjectValue("federatedTokenValidationPolicy", m.GetFederatedTokenValidationPolicy()) + if err != nil { + return err + } + } if m.GetHomeRealmDiscoveryPolicies() != nil { cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetHomeRealmDiscoveryPolicies())) for i, v := range m.GetHomeRealmDiscoveryPolicies() { @@ -859,6 +887,13 @@ func (m *PolicyRoot) SetFeatureRolloutPolicies(value []FeatureRolloutPolicyable) panic(err) } } +// SetFederatedTokenValidationPolicy sets the federatedTokenValidationPolicy property value. The federatedTokenValidationPolicy property +func (m *PolicyRoot) SetFederatedTokenValidationPolicy(value FederatedTokenValidationPolicyable)() { + err := m.GetBackingStore().Set("federatedTokenValidationPolicy", value) + if err != nil { + panic(err) + } +} // SetHomeRealmDiscoveryPolicies sets the homeRealmDiscoveryPolicies property value. The policy to control Microsoft Entra authentication behavior for federated users. func (m *PolicyRoot) SetHomeRealmDiscoveryPolicies(value []HomeRealmDiscoveryPolicyable)() { err := m.GetBackingStore().Set("homeRealmDiscoveryPolicies", value) @@ -931,6 +966,7 @@ type PolicyRootable interface { GetDefaultAppManagementPolicy()(TenantAppManagementPolicyable) GetDeviceRegistrationPolicy()(DeviceRegistrationPolicyable) GetFeatureRolloutPolicies()([]FeatureRolloutPolicyable) + GetFederatedTokenValidationPolicy()(FederatedTokenValidationPolicyable) GetHomeRealmDiscoveryPolicies()([]HomeRealmDiscoveryPolicyable) GetIdentitySecurityDefaultsEnforcementPolicy()(IdentitySecurityDefaultsEnforcementPolicyable) GetOwnerlessGroupPolicy()(OwnerlessGroupPolicyable) @@ -952,6 +988,7 @@ type PolicyRootable interface { SetDefaultAppManagementPolicy(value TenantAppManagementPolicyable)() SetDeviceRegistrationPolicy(value DeviceRegistrationPolicyable)() SetFeatureRolloutPolicies(value []FeatureRolloutPolicyable)() + SetFederatedTokenValidationPolicy(value FederatedTokenValidationPolicyable)() SetHomeRealmDiscoveryPolicies(value []HomeRealmDiscoveryPolicyable)() SetIdentitySecurityDefaultsEnforcementPolicy(value IdentitySecurityDefaultsEnforcementPolicyable)() SetOwnerlessGroupPolicy(value OwnerlessGroupPolicyable)() diff --git a/models/profile_card_property.go b/models/profile_card_property.go index b629f7c9d6..24bd5587ae 100644 --- a/models/profile_card_property.go +++ b/models/profile_card_property.go @@ -76,8 +76,30 @@ func (m *ProfileCardProperty) GetFieldDeserializers()(map[string]func(i878a80d23 } return nil } + res["isVisible"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetBoolValue() + if err != nil { + return err + } + if val != nil { + m.SetIsVisible(val) + } + return nil + } return res } +// GetIsVisible gets the isVisible property value. Indicates whether the given directory property should be shown on a user’s profile card. +// returns a *bool when successful +func (m *ProfileCardProperty) GetIsVisible()(*bool) { + val, err := m.GetBackingStore().Get("isVisible") + if err != nil { + panic(err) + } + if val != nil { + return val.(*bool) + } + return nil +} // Serialize serializes information the current object func (m *ProfileCardProperty) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { err := m.Entity.Serialize(writer) @@ -102,6 +124,12 @@ func (m *ProfileCardProperty) Serialize(writer i878a80d2330e89d26896388a3f487eef return err } } + { + err = writer.WriteBoolValue("isVisible", m.GetIsVisible()) + if err != nil { + return err + } + } return nil } // SetAnnotations sets the annotations property value. Allows an administrator to set a custom display label for the directory property and localize it for the users in their tenant. @@ -118,11 +146,20 @@ func (m *ProfileCardProperty) SetDirectoryPropertyName(value *string)() { panic(err) } } +// SetIsVisible sets the isVisible property value. Indicates whether the given directory property should be shown on a user’s profile card. +func (m *ProfileCardProperty) SetIsVisible(value *bool)() { + err := m.GetBackingStore().Set("isVisible", value) + if err != nil { + panic(err) + } +} type ProfileCardPropertyable interface { Entityable i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetAnnotations()([]ProfileCardAnnotationable) GetDirectoryPropertyName()(*string) + GetIsVisible()(*bool) SetAnnotations(value []ProfileCardAnnotationable)() SetDirectoryPropertyName(value *string)() + SetIsVisible(value *bool)() } diff --git a/models/reminder.go b/models/reminder.go index 6d3642c4c0..7291b93ac5 100644 --- a/models/reminder.go +++ b/models/reminder.go @@ -67,7 +67,7 @@ func (m *Reminder) GetEventEndTime()(DateTimeTimeZoneable) { } return nil } -// GetEventId gets the eventId property value. The unique ID of the event. Read only. +// GetEventId gets the eventId property value. The unique ID of the event. Read-only. // returns a *string when successful func (m *Reminder) GetEventId()(*string) { val, err := m.GetBackingStore().Get("eventId") @@ -336,7 +336,7 @@ func (m *Reminder) SetEventEndTime(value DateTimeTimeZoneable)() { panic(err) } } -// SetEventId sets the eventId property value. The unique ID of the event. Read only. +// SetEventId sets the eventId property value. The unique ID of the event. Read-only. func (m *Reminder) SetEventId(value *string)() { err := m.GetBackingStore().Set("eventId", value) if err != nil { diff --git a/models/rest_encryption_type.go b/models/rest_encryption_type.go new file mode 100644 index 0000000000..dc6e9fc0ed --- /dev/null +++ b/models/rest_encryption_type.go @@ -0,0 +1,57 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package models +type RestEncryptionType int + +const ( + NONE_RESTENCRYPTIONTYPE RestEncryptionType = iota + AES_RESTENCRYPTIONTYPE + BITLOCKER_RESTENCRYPTIONTYPE + BLOWFISH_RESTENCRYPTIONTYPE + DES_RESTENCRYPTIONTYPE + RC4_RESTENCRYPTIONTYPE + RSA_RESTENCRYPTIONTYPE + NOTSUPPORTED_RESTENCRYPTIONTYPE + UNKNOWNFUTUREVALUE_RESTENCRYPTIONTYPE +) + +func (i RestEncryptionType) String() string { + return []string{"none", "aes", "bitlocker", "blowfish", "des", "rc4", "rsa", "notSupported", "unknownFutureValue"}[i] +} +func ParseRestEncryptionType(v string) (any, error) { + result := NONE_RESTENCRYPTIONTYPE + switch v { + case "none": + result = NONE_RESTENCRYPTIONTYPE + case "aes": + result = AES_RESTENCRYPTIONTYPE + case "bitlocker": + result = BITLOCKER_RESTENCRYPTIONTYPE + case "blowfish": + result = BLOWFISH_RESTENCRYPTIONTYPE + case "des": + result = DES_RESTENCRYPTIONTYPE + case "rc4": + result = RC4_RESTENCRYPTIONTYPE + case "rsa": + result = RSA_RESTENCRYPTIONTYPE + case "notSupported": + result = NOTSUPPORTED_RESTENCRYPTIONTYPE + case "unknownFutureValue": + result = UNKNOWNFUTUREVALUE_RESTENCRYPTIONTYPE + default: + return nil, nil + } + return &result, nil +} +func SerializeRestEncryptionType(values []RestEncryptionType) []string { + result := make([]string, len(values)) + for i, v := range values { + result[i] = v.String() + } + return result +} +func (i RestEncryptionType) isMultiValue() bool { + return false +} diff --git a/models/role_type.go b/models/role_type.go new file mode 100644 index 0000000000..2da0374c6d --- /dev/null +++ b/models/role_type.go @@ -0,0 +1,45 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package models +type RoleType int + +const ( + ACTIVE_ROLETYPE RoleType = iota + ELIGIBLE_ROLETYPE + APPLICATION_ROLETYPE + DELEGATED_ROLETYPE + UNKNOWNFUTUREVALUE_ROLETYPE +) + +func (i RoleType) String() string { + return []string{"active", "eligible", "application", "delegated", "unknownFutureValue"}[i] +} +func ParseRoleType(v string) (any, error) { + result := ACTIVE_ROLETYPE + switch v { + case "active": + result = ACTIVE_ROLETYPE + case "eligible": + result = ELIGIBLE_ROLETYPE + case "application": + result = APPLICATION_ROLETYPE + case "delegated": + result = DELEGATED_ROLETYPE + case "unknownFutureValue": + result = UNKNOWNFUTUREVALUE_ROLETYPE + default: + return nil, nil + } + return &result, nil +} +func SerializeRoleType(values []RoleType) []string { + result := make([]string, len(values)) + for i, v := range values { + result[i] = v.String() + } + return result +} +func (i RoleType) isMultiValue() bool { + return false +} diff --git a/models/root_domains.go b/models/root_domains.go new file mode 100644 index 0000000000..d9a3a606f3 --- /dev/null +++ b/models/root_domains.go @@ -0,0 +1,51 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package models +type RootDomains int + +const ( + NONE_ROOTDOMAINS RootDomains = iota + ALL_ROOTDOMAINS + ALLFEDERATED_ROOTDOMAINS + ALLMANAGED_ROOTDOMAINS + ENUMERATED_ROOTDOMAINS + ALLMANAGEDANDENUMERATEDFEDERATED_ROOTDOMAINS + UNKNOWNFUTUREVALUE_ROOTDOMAINS +) + +func (i RootDomains) String() string { + return []string{"none", "all", "allFederated", "allManaged", "enumerated", "allManagedAndEnumeratedFederated", "unknownFutureValue"}[i] +} +func ParseRootDomains(v string) (any, error) { + result := NONE_ROOTDOMAINS + switch v { + case "none": + result = NONE_ROOTDOMAINS + case "all": + result = ALL_ROOTDOMAINS + case "allFederated": + result = ALLFEDERATED_ROOTDOMAINS + case "allManaged": + result = ALLMANAGED_ROOTDOMAINS + case "enumerated": + result = ENUMERATED_ROOTDOMAINS + case "allManagedAndEnumeratedFederated": + result = ALLMANAGEDANDENUMERATEDFEDERATED_ROOTDOMAINS + case "unknownFutureValue": + result = UNKNOWNFUTUREVALUE_ROOTDOMAINS + default: + return nil, nil + } + return &result, nil +} +func SerializeRootDomains(values []RootDomains) []string { + result := make([]string, len(values)) + for i, v := range values { + result[i] = v.String() + } + return result +} +func (i RootDomains) isMultiValue() bool { + return false +} diff --git a/models/schedule.go b/models/schedule.go index 2a594c4818..c0afabfda9 100644 --- a/models/schedule.go +++ b/models/schedule.go @@ -604,7 +604,7 @@ func (m *Schedule) GetTimesOff()([]TimeOffable) { } return nil } -// GetTimeZone gets the timeZone property value. Indicates the time zone of the schedule team using tz database format. Required. +// GetTimeZone gets the timeZone property value. The time zone of the schedule team as an IANA time zone database (tz database) name; for example, America/Chicago. For the full list of valid values, see List of tz database time zones. Required. // returns a *string when successful func (m *Schedule) GetTimeZone()(*string) { val, err := m.GetBackingStore().Get("timeZone") @@ -989,7 +989,7 @@ func (m *Schedule) SetTimesOff(value []TimeOffable)() { panic(err) } } -// SetTimeZone sets the timeZone property value. Indicates the time zone of the schedule team using tz database format. Required. +// SetTimeZone sets the timeZone property value. The time zone of the schedule team as an IANA time zone database (tz database) name; for example, America/Chicago. For the full list of valid values, see List of tz database time zones. Required. func (m *Schedule) SetTimeZone(value *string)() { err := m.GetBackingStore().Set("timeZone", value) if err != nil { diff --git a/models/security/additional_data_options.go b/models/security/additional_data_options.go index 0a903173ab..7dc9753508 100644 --- a/models/security/additional_data_options.go +++ b/models/security/additional_data_options.go @@ -18,12 +18,13 @@ const ( MESSAGECONVERSATIONEXPANSION_ADDITIONALDATAOPTIONS = 64 LOCATIONSWITHOUTHITS_ADDITIONALDATAOPTIONS = 128 ALLITEMSINFOLDER_ADDITIONALDATAOPTIONS = 256 + CLOUDNATIVEHTMLCONVERSION_ADDITIONALDATAOPTIONS = 512 ) func (i AdditionalDataOptions) String() string { var values []string - options := []string{"allVersions", "linkedFiles", "unknownFutureValue", "advancedIndexing", "listAttachments", "htmlTranscripts", "messageConversationExpansion", "locationsWithoutHits", "allItemsInFolder"} - for p := 0; p < 9; p++ { + options := []string{"allVersions", "linkedFiles", "unknownFutureValue", "advancedIndexing", "listAttachments", "htmlTranscripts", "messageConversationExpansion", "locationsWithoutHits", "allItemsInFolder", "cloudNativeHtmlConversion"} + for p := 0; p < 10; p++ { mantis := AdditionalDataOptions(int(math.Pow(2, float64(p)))) if i&mantis == mantis { values = append(values, options[p]) @@ -54,6 +55,8 @@ func ParseAdditionalDataOptions(v string) (any, error) { result |= LOCATIONSWITHOUTHITS_ADDITIONALDATAOPTIONS case "allItemsInFolder": result |= ALLITEMSINFOLDER_ADDITIONALDATAOPTIONS + case "cloudNativeHtmlConversion": + result |= CLOUDNATIVEHTMLCONVERSION_ADDITIONALDATAOPTIONS default: return nil, nil } diff --git a/models/security/analyzed_email.go b/models/security/analyzed_email.go new file mode 100644 index 0000000000..618034abe9 --- /dev/null +++ b/models/security/analyzed_email.go @@ -0,0 +1,1516 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package security + +import ( + i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e "time" + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" +) + +type AnalyzedEmail struct { + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Entity +} +// NewAnalyzedEmail instantiates a new AnalyzedEmail and sets the default values. +func NewAnalyzedEmail()(*AnalyzedEmail) { + m := &AnalyzedEmail{ + Entity: *iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.NewEntity(), + } + return m +} +// CreateAnalyzedEmailFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateAnalyzedEmailFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewAnalyzedEmail(), nil +} +// GetAlertIds gets the alertIds property value. A collection of values that contain the IDs of any alerts associated with the email. +// returns a []string when successful +func (m *AnalyzedEmail) GetAlertIds()([]string) { + val, err := m.GetBackingStore().Get("alertIds") + if err != nil { + panic(err) + } + if val != nil { + return val.([]string) + } + return nil +} +// GetAttachments gets the attachments property value. A collection of the attachments in the email. +// returns a []AnalyzedEmailAttachmentable when successful +func (m *AnalyzedEmail) GetAttachments()([]AnalyzedEmailAttachmentable) { + val, err := m.GetBackingStore().Get("attachments") + if err != nil { + panic(err) + } + if val != nil { + return val.([]AnalyzedEmailAttachmentable) + } + return nil +} +// GetAuthenticationDetails gets the authenticationDetails property value. The authentication details associated with the email. +// returns a AnalyzedEmailAuthenticationDetailable when successful +func (m *AnalyzedEmail) GetAuthenticationDetails()(AnalyzedEmailAuthenticationDetailable) { + val, err := m.GetBackingStore().Get("authenticationDetails") + if err != nil { + panic(err) + } + if val != nil { + return val.(AnalyzedEmailAuthenticationDetailable) + } + return nil +} +// GetBulkComplaintLevel gets the bulkComplaintLevel property value. The bulk complaint level of the email. A higher level is more likely to be spam. +// returns a *string when successful +func (m *AnalyzedEmail) GetBulkComplaintLevel()(*string) { + val, err := m.GetBackingStore().Get("bulkComplaintLevel") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetClientType gets the clientType property value. Shows the type of client that sent the message (for example, REST). +// returns a *string when successful +func (m *AnalyzedEmail) GetClientType()(*string) { + val, err := m.GetBackingStore().Get("clientType") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetContexts gets the contexts property value. Provides context of the email. +// returns a []string when successful +func (m *AnalyzedEmail) GetContexts()([]string) { + val, err := m.GetBackingStore().Get("contexts") + if err != nil { + panic(err) + } + if val != nil { + return val.([]string) + } + return nil +} +// GetDetectionMethods gets the detectionMethods property value. The methods of detection used. +// returns a []string when successful +func (m *AnalyzedEmail) GetDetectionMethods()([]string) { + val, err := m.GetBackingStore().Get("detectionMethods") + if err != nil { + panic(err) + } + if val != nil { + return val.([]string) + } + return nil +} +// GetDirectionality gets the directionality property value. The direction of the emails. The possible values are: unknown, inbound, outbound, intraOrg, unknownFutureValue. +// returns a *AntispamDirectionality when successful +func (m *AnalyzedEmail) GetDirectionality()(*AntispamDirectionality) { + val, err := m.GetBackingStore().Get("directionality") + if err != nil { + panic(err) + } + if val != nil { + return val.(*AntispamDirectionality) + } + return nil +} +// GetDistributionList gets the distributionList property value. The distribution list details to which the email was sent. +// returns a *string when successful +func (m *AnalyzedEmail) GetDistributionList()(*string) { + val, err := m.GetBackingStore().Get("distributionList") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetDlpRules gets the dlpRules property value. Data loss prevention rules configured in purview. +// returns a []AnalyzedEmailDlpRuleInfoable when successful +func (m *AnalyzedEmail) GetDlpRules()([]AnalyzedEmailDlpRuleInfoable) { + val, err := m.GetBackingStore().Get("dlpRules") + if err != nil { + panic(err) + } + if val != nil { + return val.([]AnalyzedEmailDlpRuleInfoable) + } + return nil +} +// GetEmailClusterId gets the emailClusterId property value. The identifier for the group of similar emails clustered based on heuristic analysis of their content. +// returns a *string when successful +func (m *AnalyzedEmail) GetEmailClusterId()(*string) { + val, err := m.GetBackingStore().Get("emailClusterId") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetExchangeTransportRules gets the exchangeTransportRules property value. The name of the Exchange transport rules (ETRs) associated with the email. +// returns a []AnalyzedEmailExchangeTransportRuleInfoable when successful +func (m *AnalyzedEmail) GetExchangeTransportRules()([]AnalyzedEmailExchangeTransportRuleInfoable) { + val, err := m.GetBackingStore().Get("exchangeTransportRules") + if err != nil { + panic(err) + } + if val != nil { + return val.([]AnalyzedEmailExchangeTransportRuleInfoable) + } + return nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *AnalyzedEmail) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.Entity.GetFieldDeserializers() + res["alertIds"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfPrimitiveValues("string") + if err != nil { + return err + } + if val != nil { + res := make([]string, len(val)) + for i, v := range val { + if v != nil { + res[i] = *(v.(*string)) + } + } + m.SetAlertIds(res) + } + return nil + } + res["attachments"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(CreateAnalyzedEmailAttachmentFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]AnalyzedEmailAttachmentable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(AnalyzedEmailAttachmentable) + } + } + m.SetAttachments(res) + } + return nil + } + res["authenticationDetails"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetObjectValue(CreateAnalyzedEmailAuthenticationDetailFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + m.SetAuthenticationDetails(val.(AnalyzedEmailAuthenticationDetailable)) + } + return nil + } + res["bulkComplaintLevel"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetBulkComplaintLevel(val) + } + return nil + } + res["clientType"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetClientType(val) + } + return nil + } + res["contexts"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfPrimitiveValues("string") + if err != nil { + return err + } + if val != nil { + res := make([]string, len(val)) + for i, v := range val { + if v != nil { + res[i] = *(v.(*string)) + } + } + m.SetContexts(res) + } + return nil + } + res["detectionMethods"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfPrimitiveValues("string") + if err != nil { + return err + } + if val != nil { + res := make([]string, len(val)) + for i, v := range val { + if v != nil { + res[i] = *(v.(*string)) + } + } + m.SetDetectionMethods(res) + } + return nil + } + res["directionality"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetEnumValue(ParseAntispamDirectionality) + if err != nil { + return err + } + if val != nil { + m.SetDirectionality(val.(*AntispamDirectionality)) + } + return nil + } + res["distributionList"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetDistributionList(val) + } + return nil + } + res["dlpRules"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(CreateAnalyzedEmailDlpRuleInfoFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]AnalyzedEmailDlpRuleInfoable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(AnalyzedEmailDlpRuleInfoable) + } + } + m.SetDlpRules(res) + } + return nil + } + res["emailClusterId"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetEmailClusterId(val) + } + return nil + } + res["exchangeTransportRules"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(CreateAnalyzedEmailExchangeTransportRuleInfoFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]AnalyzedEmailExchangeTransportRuleInfoable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(AnalyzedEmailExchangeTransportRuleInfoable) + } + } + m.SetExchangeTransportRules(res) + } + return nil + } + res["forwardingDetail"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetForwardingDetail(val) + } + return nil + } + res["inboundConnectorFormattedName"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetInboundConnectorFormattedName(val) + } + return nil + } + res["internetMessageId"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetInternetMessageId(val) + } + return nil + } + res["language"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetLanguage(val) + } + return nil + } + res["latestDelivery"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetObjectValue(CreateAnalyzedEmailDeliveryDetailFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + m.SetLatestDelivery(val.(AnalyzedEmailDeliveryDetailable)) + } + return nil + } + res["loggedDateTime"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetTimeValue() + if err != nil { + return err + } + if val != nil { + m.SetLoggedDateTime(val) + } + return nil + } + res["networkMessageId"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetNetworkMessageId(val) + } + return nil + } + res["originalDelivery"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetObjectValue(CreateAnalyzedEmailDeliveryDetailFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + m.SetOriginalDelivery(val.(AnalyzedEmailDeliveryDetailable)) + } + return nil + } + res["overrideSources"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfPrimitiveValues("string") + if err != nil { + return err + } + if val != nil { + res := make([]string, len(val)) + for i, v := range val { + if v != nil { + res[i] = *(v.(*string)) + } + } + m.SetOverrideSources(res) + } + return nil + } + res["phishConfidenceLevel"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetPhishConfidenceLevel(val) + } + return nil + } + res["policy"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetPolicy(val) + } + return nil + } + res["policyAction"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetPolicyAction(val) + } + return nil + } + res["policyType"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetPolicyType(val) + } + return nil + } + res["primaryOverrideSource"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetPrimaryOverrideSource(val) + } + return nil + } + res["recipientDetail"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetObjectValue(CreateAnalyzedEmailRecipientDetailFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + m.SetRecipientDetail(val.(AnalyzedEmailRecipientDetailable)) + } + return nil + } + res["recipientEmailAddress"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetRecipientEmailAddress(val) + } + return nil + } + res["returnPath"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetReturnPath(val) + } + return nil + } + res["senderDetail"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetObjectValue(CreateAnalyzedEmailSenderDetailFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + m.SetSenderDetail(val.(AnalyzedEmailSenderDetailable)) + } + return nil + } + res["sizeInBytes"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetInt32Value() + if err != nil { + return err + } + if val != nil { + m.SetSizeInBytes(val) + } + return nil + } + res["spamConfidenceLevel"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetSpamConfidenceLevel(val) + } + return nil + } + res["subject"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetSubject(val) + } + return nil + } + res["threatDetectionDetails"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(CreateThreatDetectionDetailFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]ThreatDetectionDetailable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(ThreatDetectionDetailable) + } + } + m.SetThreatDetectionDetails(res) + } + return nil + } + res["threatTypes"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfEnumValues(ParseThreatType) + if err != nil { + return err + } + if val != nil { + res := make([]ThreatType, len(val)) + for i, v := range val { + if v != nil { + res[i] = *(v.(*ThreatType)) + } + } + m.SetThreatTypes(res) + } + return nil + } + res["timelineEvents"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(CreateTimelineEventFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]TimelineEventable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(TimelineEventable) + } + } + m.SetTimelineEvents(res) + } + return nil + } + res["urls"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(CreateAnalyzedEmailUrlFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]AnalyzedEmailUrlable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(AnalyzedEmailUrlable) + } + } + m.SetUrls(res) + } + return nil + } + return res +} +// GetForwardingDetail gets the forwardingDetail property value. Email smtp forwarding details. +// returns a *string when successful +func (m *AnalyzedEmail) GetForwardingDetail()(*string) { + val, err := m.GetBackingStore().Get("forwardingDetail") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetInboundConnectorFormattedName gets the inboundConnectorFormattedName property value. Custom instructions name that defines organizational mail flow and how the email was routed. +// returns a *string when successful +func (m *AnalyzedEmail) GetInboundConnectorFormattedName()(*string) { + val, err := m.GetBackingStore().Get("inboundConnectorFormattedName") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetInternetMessageId gets the internetMessageId property value. A public-facing identifier for the email that is sent. The message ID is in the format specified by RFC2822. +// returns a *string when successful +func (m *AnalyzedEmail) GetInternetMessageId()(*string) { + val, err := m.GetBackingStore().Get("internetMessageId") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetLanguage gets the language property value. The detected language of the email content. +// returns a *string when successful +func (m *AnalyzedEmail) GetLanguage()(*string) { + val, err := m.GetBackingStore().Get("language") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetLatestDelivery gets the latestDelivery property value. The latest delivery details of the email. +// returns a AnalyzedEmailDeliveryDetailable when successful +func (m *AnalyzedEmail) GetLatestDelivery()(AnalyzedEmailDeliveryDetailable) { + val, err := m.GetBackingStore().Get("latestDelivery") + if err != nil { + panic(err) + } + if val != nil { + return val.(AnalyzedEmailDeliveryDetailable) + } + return nil +} +// GetLoggedDateTime gets the loggedDateTime property value. Date-time when the email record was logged. +// returns a *Time when successful +func (m *AnalyzedEmail) GetLoggedDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) { + val, err := m.GetBackingStore().Get("loggedDateTime") + if err != nil { + panic(err) + } + if val != nil { + return val.(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) + } + return nil +} +// GetNetworkMessageId gets the networkMessageId property value. An internal identifier for the email generated by Microsoft 365. +// returns a *string when successful +func (m *AnalyzedEmail) GetNetworkMessageId()(*string) { + val, err := m.GetBackingStore().Get("networkMessageId") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetOriginalDelivery gets the originalDelivery property value. The original delivery details of the email. +// returns a AnalyzedEmailDeliveryDetailable when successful +func (m *AnalyzedEmail) GetOriginalDelivery()(AnalyzedEmailDeliveryDetailable) { + val, err := m.GetBackingStore().Get("originalDelivery") + if err != nil { + panic(err) + } + if val != nil { + return val.(AnalyzedEmailDeliveryDetailable) + } + return nil +} +// GetOverrideSources gets the overrideSources property value. An aggregated list of all overrides with source on email. +// returns a []string when successful +func (m *AnalyzedEmail) GetOverrideSources()([]string) { + val, err := m.GetBackingStore().Get("overrideSources") + if err != nil { + panic(err) + } + if val != nil { + return val.([]string) + } + return nil +} +// GetPhishConfidenceLevel gets the phishConfidenceLevel property value. The phish confidence level associated with the email +// returns a *string when successful +func (m *AnalyzedEmail) GetPhishConfidenceLevel()(*string) { + val, err := m.GetBackingStore().Get("phishConfidenceLevel") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetPolicy gets the policy property value. The action policy that took effect. +// returns a *string when successful +func (m *AnalyzedEmail) GetPolicy()(*string) { + val, err := m.GetBackingStore().Get("policy") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetPolicyAction gets the policyAction property value. The action taken on the email based on the configured policy. +// returns a *string when successful +func (m *AnalyzedEmail) GetPolicyAction()(*string) { + val, err := m.GetBackingStore().Get("policyAction") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetPolicyType gets the policyType property value. Type of policy configured that defines the delivery action on email. +// returns a *string when successful +func (m *AnalyzedEmail) GetPolicyType()(*string) { + val, err := m.GetBackingStore().Get("policyType") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetPrimaryOverrideSource gets the primaryOverrideSource property value. Shows the organization or user setting that altered the intended delivery location of the message (allowed instead of blocked, or blocked instead of allowed). +// returns a *string when successful +func (m *AnalyzedEmail) GetPrimaryOverrideSource()(*string) { + val, err := m.GetBackingStore().Get("primaryOverrideSource") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetRecipientDetail gets the recipientDetail property value. Details of the recipients. +// returns a AnalyzedEmailRecipientDetailable when successful +func (m *AnalyzedEmail) GetRecipientDetail()(AnalyzedEmailRecipientDetailable) { + val, err := m.GetBackingStore().Get("recipientDetail") + if err != nil { + panic(err) + } + if val != nil { + return val.(AnalyzedEmailRecipientDetailable) + } + return nil +} +// GetRecipientEmailAddress gets the recipientEmailAddress property value. Contains the email address of the recipient. +// returns a *string when successful +func (m *AnalyzedEmail) GetRecipientEmailAddress()(*string) { + val, err := m.GetBackingStore().Get("recipientEmailAddress") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetReturnPath gets the returnPath property value. A field that indicates where and how bounced emails are processed. +// returns a *string when successful +func (m *AnalyzedEmail) GetReturnPath()(*string) { + val, err := m.GetBackingStore().Get("returnPath") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetSenderDetail gets the senderDetail property value. Sender details of the email. +// returns a AnalyzedEmailSenderDetailable when successful +func (m *AnalyzedEmail) GetSenderDetail()(AnalyzedEmailSenderDetailable) { + val, err := m.GetBackingStore().Get("senderDetail") + if err != nil { + panic(err) + } + if val != nil { + return val.(AnalyzedEmailSenderDetailable) + } + return nil +} +// GetSizeInBytes gets the sizeInBytes property value. Size of the email in bytes. +// returns a *int32 when successful +func (m *AnalyzedEmail) GetSizeInBytes()(*int32) { + val, err := m.GetBackingStore().Get("sizeInBytes") + if err != nil { + panic(err) + } + if val != nil { + return val.(*int32) + } + return nil +} +// GetSpamConfidenceLevel gets the spamConfidenceLevel property value. Spam confidence of the email. +// returns a *string when successful +func (m *AnalyzedEmail) GetSpamConfidenceLevel()(*string) { + val, err := m.GetBackingStore().Get("spamConfidenceLevel") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetSubject gets the subject property value. Subject of the email. +// returns a *string when successful +func (m *AnalyzedEmail) GetSubject()(*string) { + val, err := m.GetBackingStore().Get("subject") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetThreatDetectionDetails gets the threatDetectionDetails property value. Information about threats detected in the email. +// returns a []ThreatDetectionDetailable when successful +func (m *AnalyzedEmail) GetThreatDetectionDetails()([]ThreatDetectionDetailable) { + val, err := m.GetBackingStore().Get("threatDetectionDetails") + if err != nil { + panic(err) + } + if val != nil { + return val.([]ThreatDetectionDetailable) + } + return nil +} +// GetThreatTypes gets the threatTypes property value. Indicates the threat types. The possible values are: unknown, spam, malware, phish, none, unknownFutureValue. +// returns a []ThreatType when successful +func (m *AnalyzedEmail) GetThreatTypes()([]ThreatType) { + val, err := m.GetBackingStore().Get("threatTypes") + if err != nil { + panic(err) + } + if val != nil { + return val.([]ThreatType) + } + return nil +} +// GetTimelineEvents gets the timelineEvents property value. Delivery and post-delivery events that happened to the email. +// returns a []TimelineEventable when successful +func (m *AnalyzedEmail) GetTimelineEvents()([]TimelineEventable) { + val, err := m.GetBackingStore().Get("timelineEvents") + if err != nil { + panic(err) + } + if val != nil { + return val.([]TimelineEventable) + } + return nil +} +// GetUrls gets the urls property value. A collection of the URLs in the email. +// returns a []AnalyzedEmailUrlable when successful +func (m *AnalyzedEmail) GetUrls()([]AnalyzedEmailUrlable) { + val, err := m.GetBackingStore().Get("urls") + if err != nil { + panic(err) + } + if val != nil { + return val.([]AnalyzedEmailUrlable) + } + return nil +} +// Serialize serializes information the current object +func (m *AnalyzedEmail) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.Entity.Serialize(writer) + if err != nil { + return err + } + if m.GetAlertIds() != nil { + err = writer.WriteCollectionOfStringValues("alertIds", m.GetAlertIds()) + if err != nil { + return err + } + } + if m.GetAttachments() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetAttachments())) + for i, v := range m.GetAttachments() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err = writer.WriteCollectionOfObjectValues("attachments", cast) + if err != nil { + return err + } + } + { + err = writer.WriteObjectValue("authenticationDetails", m.GetAuthenticationDetails()) + if err != nil { + return err + } + } + { + err = writer.WriteStringValue("bulkComplaintLevel", m.GetBulkComplaintLevel()) + if err != nil { + return err + } + } + { + err = writer.WriteStringValue("clientType", m.GetClientType()) + if err != nil { + return err + } + } + if m.GetContexts() != nil { + err = writer.WriteCollectionOfStringValues("contexts", m.GetContexts()) + if err != nil { + return err + } + } + if m.GetDetectionMethods() != nil { + err = writer.WriteCollectionOfStringValues("detectionMethods", m.GetDetectionMethods()) + if err != nil { + return err + } + } + if m.GetDirectionality() != nil { + cast := (*m.GetDirectionality()).String() + err = writer.WriteStringValue("directionality", &cast) + if err != nil { + return err + } + } + { + err = writer.WriteStringValue("distributionList", m.GetDistributionList()) + if err != nil { + return err + } + } + if m.GetDlpRules() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetDlpRules())) + for i, v := range m.GetDlpRules() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err = writer.WriteCollectionOfObjectValues("dlpRules", cast) + if err != nil { + return err + } + } + { + err = writer.WriteStringValue("emailClusterId", m.GetEmailClusterId()) + if err != nil { + return err + } + } + if m.GetExchangeTransportRules() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetExchangeTransportRules())) + for i, v := range m.GetExchangeTransportRules() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err = writer.WriteCollectionOfObjectValues("exchangeTransportRules", cast) + if err != nil { + return err + } + } + { + err = writer.WriteStringValue("forwardingDetail", m.GetForwardingDetail()) + if err != nil { + return err + } + } + { + err = writer.WriteStringValue("inboundConnectorFormattedName", m.GetInboundConnectorFormattedName()) + if err != nil { + return err + } + } + { + err = writer.WriteStringValue("internetMessageId", m.GetInternetMessageId()) + if err != nil { + return err + } + } + { + err = writer.WriteStringValue("language", m.GetLanguage()) + if err != nil { + return err + } + } + { + err = writer.WriteObjectValue("latestDelivery", m.GetLatestDelivery()) + if err != nil { + return err + } + } + { + err = writer.WriteTimeValue("loggedDateTime", m.GetLoggedDateTime()) + if err != nil { + return err + } + } + { + err = writer.WriteStringValue("networkMessageId", m.GetNetworkMessageId()) + if err != nil { + return err + } + } + { + err = writer.WriteObjectValue("originalDelivery", m.GetOriginalDelivery()) + if err != nil { + return err + } + } + if m.GetOverrideSources() != nil { + err = writer.WriteCollectionOfStringValues("overrideSources", m.GetOverrideSources()) + if err != nil { + return err + } + } + { + err = writer.WriteStringValue("phishConfidenceLevel", m.GetPhishConfidenceLevel()) + if err != nil { + return err + } + } + { + err = writer.WriteStringValue("policy", m.GetPolicy()) + if err != nil { + return err + } + } + { + err = writer.WriteStringValue("policyAction", m.GetPolicyAction()) + if err != nil { + return err + } + } + { + err = writer.WriteStringValue("policyType", m.GetPolicyType()) + if err != nil { + return err + } + } + { + err = writer.WriteStringValue("primaryOverrideSource", m.GetPrimaryOverrideSource()) + if err != nil { + return err + } + } + { + err = writer.WriteObjectValue("recipientDetail", m.GetRecipientDetail()) + if err != nil { + return err + } + } + { + err = writer.WriteStringValue("recipientEmailAddress", m.GetRecipientEmailAddress()) + if err != nil { + return err + } + } + { + err = writer.WriteStringValue("returnPath", m.GetReturnPath()) + if err != nil { + return err + } + } + { + err = writer.WriteObjectValue("senderDetail", m.GetSenderDetail()) + if err != nil { + return err + } + } + { + err = writer.WriteInt32Value("sizeInBytes", m.GetSizeInBytes()) + if err != nil { + return err + } + } + { + err = writer.WriteStringValue("spamConfidenceLevel", m.GetSpamConfidenceLevel()) + if err != nil { + return err + } + } + { + err = writer.WriteStringValue("subject", m.GetSubject()) + if err != nil { + return err + } + } + if m.GetThreatDetectionDetails() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetThreatDetectionDetails())) + for i, v := range m.GetThreatDetectionDetails() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err = writer.WriteCollectionOfObjectValues("threatDetectionDetails", cast) + if err != nil { + return err + } + } + if m.GetThreatTypes() != nil { + err = writer.WriteCollectionOfStringValues("threatTypes", SerializeThreatType(m.GetThreatTypes())) + if err != nil { + return err + } + } + if m.GetTimelineEvents() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetTimelineEvents())) + for i, v := range m.GetTimelineEvents() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err = writer.WriteCollectionOfObjectValues("timelineEvents", cast) + if err != nil { + return err + } + } + if m.GetUrls() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetUrls())) + for i, v := range m.GetUrls() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err = writer.WriteCollectionOfObjectValues("urls", cast) + if err != nil { + return err + } + } + return nil +} +// SetAlertIds sets the alertIds property value. A collection of values that contain the IDs of any alerts associated with the email. +func (m *AnalyzedEmail) SetAlertIds(value []string)() { + err := m.GetBackingStore().Set("alertIds", value) + if err != nil { + panic(err) + } +} +// SetAttachments sets the attachments property value. A collection of the attachments in the email. +func (m *AnalyzedEmail) SetAttachments(value []AnalyzedEmailAttachmentable)() { + err := m.GetBackingStore().Set("attachments", value) + if err != nil { + panic(err) + } +} +// SetAuthenticationDetails sets the authenticationDetails property value. The authentication details associated with the email. +func (m *AnalyzedEmail) SetAuthenticationDetails(value AnalyzedEmailAuthenticationDetailable)() { + err := m.GetBackingStore().Set("authenticationDetails", value) + if err != nil { + panic(err) + } +} +// SetBulkComplaintLevel sets the bulkComplaintLevel property value. The bulk complaint level of the email. A higher level is more likely to be spam. +func (m *AnalyzedEmail) SetBulkComplaintLevel(value *string)() { + err := m.GetBackingStore().Set("bulkComplaintLevel", value) + if err != nil { + panic(err) + } +} +// SetClientType sets the clientType property value. Shows the type of client that sent the message (for example, REST). +func (m *AnalyzedEmail) SetClientType(value *string)() { + err := m.GetBackingStore().Set("clientType", value) + if err != nil { + panic(err) + } +} +// SetContexts sets the contexts property value. Provides context of the email. +func (m *AnalyzedEmail) SetContexts(value []string)() { + err := m.GetBackingStore().Set("contexts", value) + if err != nil { + panic(err) + } +} +// SetDetectionMethods sets the detectionMethods property value. The methods of detection used. +func (m *AnalyzedEmail) SetDetectionMethods(value []string)() { + err := m.GetBackingStore().Set("detectionMethods", value) + if err != nil { + panic(err) + } +} +// SetDirectionality sets the directionality property value. The direction of the emails. The possible values are: unknown, inbound, outbound, intraOrg, unknownFutureValue. +func (m *AnalyzedEmail) SetDirectionality(value *AntispamDirectionality)() { + err := m.GetBackingStore().Set("directionality", value) + if err != nil { + panic(err) + } +} +// SetDistributionList sets the distributionList property value. The distribution list details to which the email was sent. +func (m *AnalyzedEmail) SetDistributionList(value *string)() { + err := m.GetBackingStore().Set("distributionList", value) + if err != nil { + panic(err) + } +} +// SetDlpRules sets the dlpRules property value. Data loss prevention rules configured in purview. +func (m *AnalyzedEmail) SetDlpRules(value []AnalyzedEmailDlpRuleInfoable)() { + err := m.GetBackingStore().Set("dlpRules", value) + if err != nil { + panic(err) + } +} +// SetEmailClusterId sets the emailClusterId property value. The identifier for the group of similar emails clustered based on heuristic analysis of their content. +func (m *AnalyzedEmail) SetEmailClusterId(value *string)() { + err := m.GetBackingStore().Set("emailClusterId", value) + if err != nil { + panic(err) + } +} +// SetExchangeTransportRules sets the exchangeTransportRules property value. The name of the Exchange transport rules (ETRs) associated with the email. +func (m *AnalyzedEmail) SetExchangeTransportRules(value []AnalyzedEmailExchangeTransportRuleInfoable)() { + err := m.GetBackingStore().Set("exchangeTransportRules", value) + if err != nil { + panic(err) + } +} +// SetForwardingDetail sets the forwardingDetail property value. Email smtp forwarding details. +func (m *AnalyzedEmail) SetForwardingDetail(value *string)() { + err := m.GetBackingStore().Set("forwardingDetail", value) + if err != nil { + panic(err) + } +} +// SetInboundConnectorFormattedName sets the inboundConnectorFormattedName property value. Custom instructions name that defines organizational mail flow and how the email was routed. +func (m *AnalyzedEmail) SetInboundConnectorFormattedName(value *string)() { + err := m.GetBackingStore().Set("inboundConnectorFormattedName", value) + if err != nil { + panic(err) + } +} +// SetInternetMessageId sets the internetMessageId property value. A public-facing identifier for the email that is sent. The message ID is in the format specified by RFC2822. +func (m *AnalyzedEmail) SetInternetMessageId(value *string)() { + err := m.GetBackingStore().Set("internetMessageId", value) + if err != nil { + panic(err) + } +} +// SetLanguage sets the language property value. The detected language of the email content. +func (m *AnalyzedEmail) SetLanguage(value *string)() { + err := m.GetBackingStore().Set("language", value) + if err != nil { + panic(err) + } +} +// SetLatestDelivery sets the latestDelivery property value. The latest delivery details of the email. +func (m *AnalyzedEmail) SetLatestDelivery(value AnalyzedEmailDeliveryDetailable)() { + err := m.GetBackingStore().Set("latestDelivery", value) + if err != nil { + panic(err) + } +} +// SetLoggedDateTime sets the loggedDateTime property value. Date-time when the email record was logged. +func (m *AnalyzedEmail) SetLoggedDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() { + err := m.GetBackingStore().Set("loggedDateTime", value) + if err != nil { + panic(err) + } +} +// SetNetworkMessageId sets the networkMessageId property value. An internal identifier for the email generated by Microsoft 365. +func (m *AnalyzedEmail) SetNetworkMessageId(value *string)() { + err := m.GetBackingStore().Set("networkMessageId", value) + if err != nil { + panic(err) + } +} +// SetOriginalDelivery sets the originalDelivery property value. The original delivery details of the email. +func (m *AnalyzedEmail) SetOriginalDelivery(value AnalyzedEmailDeliveryDetailable)() { + err := m.GetBackingStore().Set("originalDelivery", value) + if err != nil { + panic(err) + } +} +// SetOverrideSources sets the overrideSources property value. An aggregated list of all overrides with source on email. +func (m *AnalyzedEmail) SetOverrideSources(value []string)() { + err := m.GetBackingStore().Set("overrideSources", value) + if err != nil { + panic(err) + } +} +// SetPhishConfidenceLevel sets the phishConfidenceLevel property value. The phish confidence level associated with the email +func (m *AnalyzedEmail) SetPhishConfidenceLevel(value *string)() { + err := m.GetBackingStore().Set("phishConfidenceLevel", value) + if err != nil { + panic(err) + } +} +// SetPolicy sets the policy property value. The action policy that took effect. +func (m *AnalyzedEmail) SetPolicy(value *string)() { + err := m.GetBackingStore().Set("policy", value) + if err != nil { + panic(err) + } +} +// SetPolicyAction sets the policyAction property value. The action taken on the email based on the configured policy. +func (m *AnalyzedEmail) SetPolicyAction(value *string)() { + err := m.GetBackingStore().Set("policyAction", value) + if err != nil { + panic(err) + } +} +// SetPolicyType sets the policyType property value. Type of policy configured that defines the delivery action on email. +func (m *AnalyzedEmail) SetPolicyType(value *string)() { + err := m.GetBackingStore().Set("policyType", value) + if err != nil { + panic(err) + } +} +// SetPrimaryOverrideSource sets the primaryOverrideSource property value. Shows the organization or user setting that altered the intended delivery location of the message (allowed instead of blocked, or blocked instead of allowed). +func (m *AnalyzedEmail) SetPrimaryOverrideSource(value *string)() { + err := m.GetBackingStore().Set("primaryOverrideSource", value) + if err != nil { + panic(err) + } +} +// SetRecipientDetail sets the recipientDetail property value. Details of the recipients. +func (m *AnalyzedEmail) SetRecipientDetail(value AnalyzedEmailRecipientDetailable)() { + err := m.GetBackingStore().Set("recipientDetail", value) + if err != nil { + panic(err) + } +} +// SetRecipientEmailAddress sets the recipientEmailAddress property value. Contains the email address of the recipient. +func (m *AnalyzedEmail) SetRecipientEmailAddress(value *string)() { + err := m.GetBackingStore().Set("recipientEmailAddress", value) + if err != nil { + panic(err) + } +} +// SetReturnPath sets the returnPath property value. A field that indicates where and how bounced emails are processed. +func (m *AnalyzedEmail) SetReturnPath(value *string)() { + err := m.GetBackingStore().Set("returnPath", value) + if err != nil { + panic(err) + } +} +// SetSenderDetail sets the senderDetail property value. Sender details of the email. +func (m *AnalyzedEmail) SetSenderDetail(value AnalyzedEmailSenderDetailable)() { + err := m.GetBackingStore().Set("senderDetail", value) + if err != nil { + panic(err) + } +} +// SetSizeInBytes sets the sizeInBytes property value. Size of the email in bytes. +func (m *AnalyzedEmail) SetSizeInBytes(value *int32)() { + err := m.GetBackingStore().Set("sizeInBytes", value) + if err != nil { + panic(err) + } +} +// SetSpamConfidenceLevel sets the spamConfidenceLevel property value. Spam confidence of the email. +func (m *AnalyzedEmail) SetSpamConfidenceLevel(value *string)() { + err := m.GetBackingStore().Set("spamConfidenceLevel", value) + if err != nil { + panic(err) + } +} +// SetSubject sets the subject property value. Subject of the email. +func (m *AnalyzedEmail) SetSubject(value *string)() { + err := m.GetBackingStore().Set("subject", value) + if err != nil { + panic(err) + } +} +// SetThreatDetectionDetails sets the threatDetectionDetails property value. Information about threats detected in the email. +func (m *AnalyzedEmail) SetThreatDetectionDetails(value []ThreatDetectionDetailable)() { + err := m.GetBackingStore().Set("threatDetectionDetails", value) + if err != nil { + panic(err) + } +} +// SetThreatTypes sets the threatTypes property value. Indicates the threat types. The possible values are: unknown, spam, malware, phish, none, unknownFutureValue. +func (m *AnalyzedEmail) SetThreatTypes(value []ThreatType)() { + err := m.GetBackingStore().Set("threatTypes", value) + if err != nil { + panic(err) + } +} +// SetTimelineEvents sets the timelineEvents property value. Delivery and post-delivery events that happened to the email. +func (m *AnalyzedEmail) SetTimelineEvents(value []TimelineEventable)() { + err := m.GetBackingStore().Set("timelineEvents", value) + if err != nil { + panic(err) + } +} +// SetUrls sets the urls property value. A collection of the URLs in the email. +func (m *AnalyzedEmail) SetUrls(value []AnalyzedEmailUrlable)() { + err := m.GetBackingStore().Set("urls", value) + if err != nil { + panic(err) + } +} +type AnalyzedEmailable interface { + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Entityable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetAlertIds()([]string) + GetAttachments()([]AnalyzedEmailAttachmentable) + GetAuthenticationDetails()(AnalyzedEmailAuthenticationDetailable) + GetBulkComplaintLevel()(*string) + GetClientType()(*string) + GetContexts()([]string) + GetDetectionMethods()([]string) + GetDirectionality()(*AntispamDirectionality) + GetDistributionList()(*string) + GetDlpRules()([]AnalyzedEmailDlpRuleInfoable) + GetEmailClusterId()(*string) + GetExchangeTransportRules()([]AnalyzedEmailExchangeTransportRuleInfoable) + GetForwardingDetail()(*string) + GetInboundConnectorFormattedName()(*string) + GetInternetMessageId()(*string) + GetLanguage()(*string) + GetLatestDelivery()(AnalyzedEmailDeliveryDetailable) + GetLoggedDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) + GetNetworkMessageId()(*string) + GetOriginalDelivery()(AnalyzedEmailDeliveryDetailable) + GetOverrideSources()([]string) + GetPhishConfidenceLevel()(*string) + GetPolicy()(*string) + GetPolicyAction()(*string) + GetPolicyType()(*string) + GetPrimaryOverrideSource()(*string) + GetRecipientDetail()(AnalyzedEmailRecipientDetailable) + GetRecipientEmailAddress()(*string) + GetReturnPath()(*string) + GetSenderDetail()(AnalyzedEmailSenderDetailable) + GetSizeInBytes()(*int32) + GetSpamConfidenceLevel()(*string) + GetSubject()(*string) + GetThreatDetectionDetails()([]ThreatDetectionDetailable) + GetThreatTypes()([]ThreatType) + GetTimelineEvents()([]TimelineEventable) + GetUrls()([]AnalyzedEmailUrlable) + SetAlertIds(value []string)() + SetAttachments(value []AnalyzedEmailAttachmentable)() + SetAuthenticationDetails(value AnalyzedEmailAuthenticationDetailable)() + SetBulkComplaintLevel(value *string)() + SetClientType(value *string)() + SetContexts(value []string)() + SetDetectionMethods(value []string)() + SetDirectionality(value *AntispamDirectionality)() + SetDistributionList(value *string)() + SetDlpRules(value []AnalyzedEmailDlpRuleInfoable)() + SetEmailClusterId(value *string)() + SetExchangeTransportRules(value []AnalyzedEmailExchangeTransportRuleInfoable)() + SetForwardingDetail(value *string)() + SetInboundConnectorFormattedName(value *string)() + SetInternetMessageId(value *string)() + SetLanguage(value *string)() + SetLatestDelivery(value AnalyzedEmailDeliveryDetailable)() + SetLoggedDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() + SetNetworkMessageId(value *string)() + SetOriginalDelivery(value AnalyzedEmailDeliveryDetailable)() + SetOverrideSources(value []string)() + SetPhishConfidenceLevel(value *string)() + SetPolicy(value *string)() + SetPolicyAction(value *string)() + SetPolicyType(value *string)() + SetPrimaryOverrideSource(value *string)() + SetRecipientDetail(value AnalyzedEmailRecipientDetailable)() + SetRecipientEmailAddress(value *string)() + SetReturnPath(value *string)() + SetSenderDetail(value AnalyzedEmailSenderDetailable)() + SetSizeInBytes(value *int32)() + SetSpamConfidenceLevel(value *string)() + SetSubject(value *string)() + SetThreatDetectionDetails(value []ThreatDetectionDetailable)() + SetThreatTypes(value []ThreatType)() + SetTimelineEvents(value []TimelineEventable)() + SetUrls(value []AnalyzedEmailUrlable)() +} diff --git a/models/security/analyzed_email_attachment.go b/models/security/analyzed_email_attachment.go new file mode 100644 index 0000000000..a792943c13 --- /dev/null +++ b/models/security/analyzed_email_attachment.go @@ -0,0 +1,450 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package security + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" +) + +type AnalyzedEmailAttachment struct { + // Stores model information. + backingStore ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore +} +// NewAnalyzedEmailAttachment instantiates a new AnalyzedEmailAttachment and sets the default values. +func NewAnalyzedEmailAttachment()(*AnalyzedEmailAttachment) { + m := &AnalyzedEmailAttachment{ + } + m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); + m.SetAdditionalData(make(map[string]any)) + return m +} +// CreateAnalyzedEmailAttachmentFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateAnalyzedEmailAttachmentFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewAnalyzedEmailAttachment(), nil +} +// GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +// returns a map[string]any when successful +func (m *AnalyzedEmailAttachment) GetAdditionalData()(map[string]any) { + val , err := m.backingStore.Get("additionalData") + if err != nil { + panic(err) + } + if val == nil { + var value = make(map[string]any); + m.SetAdditionalData(value); + } + return val.(map[string]any) +} +// GetBackingStore gets the BackingStore property value. Stores model information. +// returns a BackingStore when successful +func (m *AnalyzedEmailAttachment) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) { + return m.backingStore +} +// GetDetonationDetails gets the detonationDetails property value. The detonation details of the attachment. +// returns a DetonationDetailsable when successful +func (m *AnalyzedEmailAttachment) GetDetonationDetails()(DetonationDetailsable) { + val, err := m.GetBackingStore().Get("detonationDetails") + if err != nil { + panic(err) + } + if val != nil { + return val.(DetonationDetailsable) + } + return nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *AnalyzedEmailAttachment) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) + res["detonationDetails"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetObjectValue(CreateDetonationDetailsFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + m.SetDetonationDetails(val.(DetonationDetailsable)) + } + return nil + } + res["fileExtension"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetFileExtension(val) + } + return nil + } + res["fileName"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetFileName(val) + } + return nil + } + res["fileSize"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetInt32Value() + if err != nil { + return err + } + if val != nil { + m.SetFileSize(val) + } + return nil + } + res["fileType"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetFileType(val) + } + return nil + } + res["malwareFamily"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetMalwareFamily(val) + } + return nil + } + res["@odata.type"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetOdataType(val) + } + return nil + } + res["sha256"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetSha256(val) + } + return nil + } + res["tenantAllowBlockListDetailInfo"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetTenantAllowBlockListDetailInfo(val) + } + return nil + } + res["threatType"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetEnumValue(ParseThreatType) + if err != nil { + return err + } + if val != nil { + m.SetThreatType(val.(*ThreatType)) + } + return nil + } + return res +} +// GetFileExtension gets the fileExtension property value. Extension of the file. +// returns a *string when successful +func (m *AnalyzedEmailAttachment) GetFileExtension()(*string) { + val, err := m.GetBackingStore().Get("fileExtension") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetFileName gets the fileName property value. The name of the attachment in the email. +// returns a *string when successful +func (m *AnalyzedEmailAttachment) GetFileName()(*string) { + val, err := m.GetBackingStore().Get("fileName") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetFileSize gets the fileSize property value. Size of the file. +// returns a *int32 when successful +func (m *AnalyzedEmailAttachment) GetFileSize()(*int32) { + val, err := m.GetBackingStore().Get("fileSize") + if err != nil { + panic(err) + } + if val != nil { + return val.(*int32) + } + return nil +} +// GetFileType gets the fileType property value. The type of the attachment in the email. +// returns a *string when successful +func (m *AnalyzedEmailAttachment) GetFileType()(*string) { + val, err := m.GetBackingStore().Get("fileType") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetMalwareFamily gets the malwareFamily property value. The threat name associated with the threat type. +// returns a *string when successful +func (m *AnalyzedEmailAttachment) GetMalwareFamily()(*string) { + val, err := m.GetBackingStore().Get("malwareFamily") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetOdataType gets the @odata.type property value. The OdataType property +// returns a *string when successful +func (m *AnalyzedEmailAttachment) GetOdataType()(*string) { + val, err := m.GetBackingStore().Get("odataType") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetSha256 gets the sha256 property value. The SHA256 file hash of the attachment. +// returns a *string when successful +func (m *AnalyzedEmailAttachment) GetSha256()(*string) { + val, err := m.GetBackingStore().Get("sha256") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetTenantAllowBlockListDetailInfo gets the tenantAllowBlockListDetailInfo property value. Details of entries in tenant allow/block list configured by tenant. +// returns a *string when successful +func (m *AnalyzedEmailAttachment) GetTenantAllowBlockListDetailInfo()(*string) { + val, err := m.GetBackingStore().Get("tenantAllowBlockListDetailInfo") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetThreatType gets the threatType property value. The threat type associated with the attachment. The possible values are: unknown, spam, malware, phishing, none, unknownFutureValue. +// returns a *ThreatType when successful +func (m *AnalyzedEmailAttachment) GetThreatType()(*ThreatType) { + val, err := m.GetBackingStore().Get("threatType") + if err != nil { + panic(err) + } + if val != nil { + return val.(*ThreatType) + } + return nil +} +// Serialize serializes information the current object +func (m *AnalyzedEmailAttachment) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + { + err := writer.WriteObjectValue("detonationDetails", m.GetDetonationDetails()) + if err != nil { + return err + } + } + { + err := writer.WriteStringValue("fileExtension", m.GetFileExtension()) + if err != nil { + return err + } + } + { + err := writer.WriteStringValue("fileName", m.GetFileName()) + if err != nil { + return err + } + } + { + err := writer.WriteInt32Value("fileSize", m.GetFileSize()) + if err != nil { + return err + } + } + { + err := writer.WriteStringValue("fileType", m.GetFileType()) + if err != nil { + return err + } + } + { + err := writer.WriteStringValue("malwareFamily", m.GetMalwareFamily()) + if err != nil { + return err + } + } + { + err := writer.WriteStringValue("@odata.type", m.GetOdataType()) + if err != nil { + return err + } + } + { + err := writer.WriteStringValue("sha256", m.GetSha256()) + if err != nil { + return err + } + } + { + err := writer.WriteStringValue("tenantAllowBlockListDetailInfo", m.GetTenantAllowBlockListDetailInfo()) + if err != nil { + return err + } + } + if m.GetThreatType() != nil { + cast := (*m.GetThreatType()).String() + err := writer.WriteStringValue("threatType", &cast) + if err != nil { + return err + } + } + { + err := writer.WriteAdditionalData(m.GetAdditionalData()) + if err != nil { + return err + } + } + return nil +} +// SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +func (m *AnalyzedEmailAttachment) SetAdditionalData(value map[string]any)() { + err := m.GetBackingStore().Set("additionalData", value) + if err != nil { + panic(err) + } +} +// SetBackingStore sets the BackingStore property value. Stores model information. +func (m *AnalyzedEmailAttachment) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { + m.backingStore = value +} +// SetDetonationDetails sets the detonationDetails property value. The detonation details of the attachment. +func (m *AnalyzedEmailAttachment) SetDetonationDetails(value DetonationDetailsable)() { + err := m.GetBackingStore().Set("detonationDetails", value) + if err != nil { + panic(err) + } +} +// SetFileExtension sets the fileExtension property value. Extension of the file. +func (m *AnalyzedEmailAttachment) SetFileExtension(value *string)() { + err := m.GetBackingStore().Set("fileExtension", value) + if err != nil { + panic(err) + } +} +// SetFileName sets the fileName property value. The name of the attachment in the email. +func (m *AnalyzedEmailAttachment) SetFileName(value *string)() { + err := m.GetBackingStore().Set("fileName", value) + if err != nil { + panic(err) + } +} +// SetFileSize sets the fileSize property value. Size of the file. +func (m *AnalyzedEmailAttachment) SetFileSize(value *int32)() { + err := m.GetBackingStore().Set("fileSize", value) + if err != nil { + panic(err) + } +} +// SetFileType sets the fileType property value. The type of the attachment in the email. +func (m *AnalyzedEmailAttachment) SetFileType(value *string)() { + err := m.GetBackingStore().Set("fileType", value) + if err != nil { + panic(err) + } +} +// SetMalwareFamily sets the malwareFamily property value. The threat name associated with the threat type. +func (m *AnalyzedEmailAttachment) SetMalwareFamily(value *string)() { + err := m.GetBackingStore().Set("malwareFamily", value) + if err != nil { + panic(err) + } +} +// SetOdataType sets the @odata.type property value. The OdataType property +func (m *AnalyzedEmailAttachment) SetOdataType(value *string)() { + err := m.GetBackingStore().Set("odataType", value) + if err != nil { + panic(err) + } +} +// SetSha256 sets the sha256 property value. The SHA256 file hash of the attachment. +func (m *AnalyzedEmailAttachment) SetSha256(value *string)() { + err := m.GetBackingStore().Set("sha256", value) + if err != nil { + panic(err) + } +} +// SetTenantAllowBlockListDetailInfo sets the tenantAllowBlockListDetailInfo property value. Details of entries in tenant allow/block list configured by tenant. +func (m *AnalyzedEmailAttachment) SetTenantAllowBlockListDetailInfo(value *string)() { + err := m.GetBackingStore().Set("tenantAllowBlockListDetailInfo", value) + if err != nil { + panic(err) + } +} +// SetThreatType sets the threatType property value. The threat type associated with the attachment. The possible values are: unknown, spam, malware, phishing, none, unknownFutureValue. +func (m *AnalyzedEmailAttachment) SetThreatType(value *ThreatType)() { + err := m.GetBackingStore().Set("threatType", value) + if err != nil { + panic(err) + } +} +type AnalyzedEmailAttachmentable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) + GetDetonationDetails()(DetonationDetailsable) + GetFileExtension()(*string) + GetFileName()(*string) + GetFileSize()(*int32) + GetFileType()(*string) + GetMalwareFamily()(*string) + GetOdataType()(*string) + GetSha256()(*string) + GetTenantAllowBlockListDetailInfo()(*string) + GetThreatType()(*ThreatType) + SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() + SetDetonationDetails(value DetonationDetailsable)() + SetFileExtension(value *string)() + SetFileName(value *string)() + SetFileSize(value *int32)() + SetFileType(value *string)() + SetMalwareFamily(value *string)() + SetOdataType(value *string)() + SetSha256(value *string)() + SetTenantAllowBlockListDetailInfo(value *string)() + SetThreatType(value *ThreatType)() +} diff --git a/models/security/analyzed_email_authentication_detail.go b/models/security/analyzed_email_authentication_detail.go new file mode 100644 index 0000000000..6cd9f9efff --- /dev/null +++ b/models/security/analyzed_email_authentication_detail.go @@ -0,0 +1,264 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package security + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" +) + +type AnalyzedEmailAuthenticationDetail struct { + // Stores model information. + backingStore ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore +} +// NewAnalyzedEmailAuthenticationDetail instantiates a new AnalyzedEmailAuthenticationDetail and sets the default values. +func NewAnalyzedEmailAuthenticationDetail()(*AnalyzedEmailAuthenticationDetail) { + m := &AnalyzedEmailAuthenticationDetail{ + } + m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); + m.SetAdditionalData(make(map[string]any)) + return m +} +// CreateAnalyzedEmailAuthenticationDetailFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateAnalyzedEmailAuthenticationDetailFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewAnalyzedEmailAuthenticationDetail(), nil +} +// GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +// returns a map[string]any when successful +func (m *AnalyzedEmailAuthenticationDetail) GetAdditionalData()(map[string]any) { + val , err := m.backingStore.Get("additionalData") + if err != nil { + panic(err) + } + if val == nil { + var value = make(map[string]any); + m.SetAdditionalData(value); + } + return val.(map[string]any) +} +// GetBackingStore gets the BackingStore property value. Stores model information. +// returns a BackingStore when successful +func (m *AnalyzedEmailAuthenticationDetail) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) { + return m.backingStore +} +// GetCompositeAuthentication gets the compositeAuthentication property value. A value used by Microsoft 365 to combine email authentication such as SPF, DKIM, and DMARC, to determine whether the message is authentic. +// returns a *string when successful +func (m *AnalyzedEmailAuthenticationDetail) GetCompositeAuthentication()(*string) { + val, err := m.GetBackingStore().Get("compositeAuthentication") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetDkim gets the dkim property value. DomainKeys identified mail (DKIM). Indicates whether it was pass/fail/soft fail. +// returns a *string when successful +func (m *AnalyzedEmailAuthenticationDetail) GetDkim()(*string) { + val, err := m.GetBackingStore().Get("dkim") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetDmarc gets the dmarc property value. Domain-based Message Authentication. Indicates whether it was pass/fail/soft fail. +// returns a *string when successful +func (m *AnalyzedEmailAuthenticationDetail) GetDmarc()(*string) { + val, err := m.GetBackingStore().Get("dmarc") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *AnalyzedEmailAuthenticationDetail) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) + res["compositeAuthentication"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetCompositeAuthentication(val) + } + return nil + } + res["dkim"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetDkim(val) + } + return nil + } + res["dmarc"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetDmarc(val) + } + return nil + } + res["@odata.type"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetOdataType(val) + } + return nil + } + res["senderPolicyFramework"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetSenderPolicyFramework(val) + } + return nil + } + return res +} +// GetOdataType gets the @odata.type property value. The OdataType property +// returns a *string when successful +func (m *AnalyzedEmailAuthenticationDetail) GetOdataType()(*string) { + val, err := m.GetBackingStore().Get("odataType") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetSenderPolicyFramework gets the senderPolicyFramework property value. Sender Policy Framework (SPF). Indicates whether it was pass/fail/soft fail. +// returns a *string when successful +func (m *AnalyzedEmailAuthenticationDetail) GetSenderPolicyFramework()(*string) { + val, err := m.GetBackingStore().Get("senderPolicyFramework") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// Serialize serializes information the current object +func (m *AnalyzedEmailAuthenticationDetail) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + { + err := writer.WriteStringValue("compositeAuthentication", m.GetCompositeAuthentication()) + if err != nil { + return err + } + } + { + err := writer.WriteStringValue("dkim", m.GetDkim()) + if err != nil { + return err + } + } + { + err := writer.WriteStringValue("dmarc", m.GetDmarc()) + if err != nil { + return err + } + } + { + err := writer.WriteStringValue("@odata.type", m.GetOdataType()) + if err != nil { + return err + } + } + { + err := writer.WriteStringValue("senderPolicyFramework", m.GetSenderPolicyFramework()) + if err != nil { + return err + } + } + { + err := writer.WriteAdditionalData(m.GetAdditionalData()) + if err != nil { + return err + } + } + return nil +} +// SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +func (m *AnalyzedEmailAuthenticationDetail) SetAdditionalData(value map[string]any)() { + err := m.GetBackingStore().Set("additionalData", value) + if err != nil { + panic(err) + } +} +// SetBackingStore sets the BackingStore property value. Stores model information. +func (m *AnalyzedEmailAuthenticationDetail) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { + m.backingStore = value +} +// SetCompositeAuthentication sets the compositeAuthentication property value. A value used by Microsoft 365 to combine email authentication such as SPF, DKIM, and DMARC, to determine whether the message is authentic. +func (m *AnalyzedEmailAuthenticationDetail) SetCompositeAuthentication(value *string)() { + err := m.GetBackingStore().Set("compositeAuthentication", value) + if err != nil { + panic(err) + } +} +// SetDkim sets the dkim property value. DomainKeys identified mail (DKIM). Indicates whether it was pass/fail/soft fail. +func (m *AnalyzedEmailAuthenticationDetail) SetDkim(value *string)() { + err := m.GetBackingStore().Set("dkim", value) + if err != nil { + panic(err) + } +} +// SetDmarc sets the dmarc property value. Domain-based Message Authentication. Indicates whether it was pass/fail/soft fail. +func (m *AnalyzedEmailAuthenticationDetail) SetDmarc(value *string)() { + err := m.GetBackingStore().Set("dmarc", value) + if err != nil { + panic(err) + } +} +// SetOdataType sets the @odata.type property value. The OdataType property +func (m *AnalyzedEmailAuthenticationDetail) SetOdataType(value *string)() { + err := m.GetBackingStore().Set("odataType", value) + if err != nil { + panic(err) + } +} +// SetSenderPolicyFramework sets the senderPolicyFramework property value. Sender Policy Framework (SPF). Indicates whether it was pass/fail/soft fail. +func (m *AnalyzedEmailAuthenticationDetail) SetSenderPolicyFramework(value *string)() { + err := m.GetBackingStore().Set("senderPolicyFramework", value) + if err != nil { + panic(err) + } +} +type AnalyzedEmailAuthenticationDetailable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) + GetCompositeAuthentication()(*string) + GetDkim()(*string) + GetDmarc()(*string) + GetOdataType()(*string) + GetSenderPolicyFramework()(*string) + SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() + SetCompositeAuthentication(value *string)() + SetDkim(value *string)() + SetDmarc(value *string)() + SetOdataType(value *string)() + SetSenderPolicyFramework(value *string)() +} diff --git a/models/security/analyzed_email_collection_response.go b/models/security/analyzed_email_collection_response.go new file mode 100644 index 0000000000..6eabb9242e --- /dev/null +++ b/models/security/analyzed_email_collection_response.go @@ -0,0 +1,92 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package security + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" +) + +type AnalyzedEmailCollectionResponse struct { + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.BaseCollectionPaginationCountResponse +} +// NewAnalyzedEmailCollectionResponse instantiates a new AnalyzedEmailCollectionResponse and sets the default values. +func NewAnalyzedEmailCollectionResponse()(*AnalyzedEmailCollectionResponse) { + m := &AnalyzedEmailCollectionResponse{ + BaseCollectionPaginationCountResponse: *iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.NewBaseCollectionPaginationCountResponse(), + } + return m +} +// CreateAnalyzedEmailCollectionResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateAnalyzedEmailCollectionResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewAnalyzedEmailCollectionResponse(), nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *AnalyzedEmailCollectionResponse) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.BaseCollectionPaginationCountResponse.GetFieldDeserializers() + res["value"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(CreateAnalyzedEmailFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]AnalyzedEmailable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(AnalyzedEmailable) + } + } + m.SetValue(res) + } + return nil + } + return res +} +// GetValue gets the value property value. The value property +// returns a []AnalyzedEmailable when successful +func (m *AnalyzedEmailCollectionResponse) GetValue()([]AnalyzedEmailable) { + val, err := m.GetBackingStore().Get("value") + if err != nil { + panic(err) + } + if val != nil { + return val.([]AnalyzedEmailable) + } + return nil +} +// Serialize serializes information the current object +func (m *AnalyzedEmailCollectionResponse) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.BaseCollectionPaginationCountResponse.Serialize(writer) + if err != nil { + return err + } + if m.GetValue() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetValue())) + for i, v := range m.GetValue() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err = writer.WriteCollectionOfObjectValues("value", cast) + if err != nil { + return err + } + } + return nil +} +// SetValue sets the value property value. The value property +func (m *AnalyzedEmailCollectionResponse) SetValue(value []AnalyzedEmailable)() { + err := m.GetBackingStore().Set("value", value) + if err != nil { + panic(err) + } +} +type AnalyzedEmailCollectionResponseable interface { + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.BaseCollectionPaginationCountResponseable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetValue()([]AnalyzedEmailable) + SetValue(value []AnalyzedEmailable)() +} diff --git a/models/security/analyzed_email_delivery_detail.go b/models/security/analyzed_email_delivery_detail.go new file mode 100644 index 0000000000..b4c493237c --- /dev/null +++ b/models/security/analyzed_email_delivery_detail.go @@ -0,0 +1,266 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package security + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" +) + +type AnalyzedEmailDeliveryDetail struct { + // Stores model information. + backingStore ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore +} +// NewAnalyzedEmailDeliveryDetail instantiates a new AnalyzedEmailDeliveryDetail and sets the default values. +func NewAnalyzedEmailDeliveryDetail()(*AnalyzedEmailDeliveryDetail) { + m := &AnalyzedEmailDeliveryDetail{ + } + m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); + m.SetAdditionalData(make(map[string]any)) + return m +} +// CreateAnalyzedEmailDeliveryDetailFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateAnalyzedEmailDeliveryDetailFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewAnalyzedEmailDeliveryDetail(), nil +} +// GetAction gets the action property value. The delivery action of the email. The possible values are: unknown, deliveredToJunk, delivered, blocked, replaced, unknownFutureValue. +// returns a *DeliveryAction when successful +func (m *AnalyzedEmailDeliveryDetail) GetAction()(*DeliveryAction) { + val, err := m.GetBackingStore().Get("action") + if err != nil { + panic(err) + } + if val != nil { + return val.(*DeliveryAction) + } + return nil +} +// GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +// returns a map[string]any when successful +func (m *AnalyzedEmailDeliveryDetail) GetAdditionalData()(map[string]any) { + val , err := m.backingStore.Get("additionalData") + if err != nil { + panic(err) + } + if val == nil { + var value = make(map[string]any); + m.SetAdditionalData(value); + } + return val.(map[string]any) +} +// GetBackingStore gets the BackingStore property value. Stores model information. +// returns a BackingStore when successful +func (m *AnalyzedEmailDeliveryDetail) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) { + return m.backingStore +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *AnalyzedEmailDeliveryDetail) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) + res["action"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetEnumValue(ParseDeliveryAction) + if err != nil { + return err + } + if val != nil { + m.SetAction(val.(*DeliveryAction)) + } + return nil + } + res["latestThreats"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetLatestThreats(val) + } + return nil + } + res["location"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetEnumValue(ParseDeliveryLocation) + if err != nil { + return err + } + if val != nil { + m.SetLocation(val.(*DeliveryLocation)) + } + return nil + } + res["@odata.type"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetOdataType(val) + } + return nil + } + res["originalThreats"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetOriginalThreats(val) + } + return nil + } + return res +} +// GetLatestThreats gets the latestThreats property value. Latest known threat on the email. +// returns a *string when successful +func (m *AnalyzedEmailDeliveryDetail) GetLatestThreats()(*string) { + val, err := m.GetBackingStore().Get("latestThreats") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetLocation gets the location property value. The delivery location of the email. The possible values are: unknown, inboxfolder, junkFolder, deletedFolder, quarantine, onpremexternal, failed, dropped, others, unknownFutureValue. +// returns a *DeliveryLocation when successful +func (m *AnalyzedEmailDeliveryDetail) GetLocation()(*DeliveryLocation) { + val, err := m.GetBackingStore().Get("location") + if err != nil { + panic(err) + } + if val != nil { + return val.(*DeliveryLocation) + } + return nil +} +// GetOdataType gets the @odata.type property value. The OdataType property +// returns a *string when successful +func (m *AnalyzedEmailDeliveryDetail) GetOdataType()(*string) { + val, err := m.GetBackingStore().Get("odataType") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetOriginalThreats gets the originalThreats property value. Threats identified at the time of delivery. +// returns a *string when successful +func (m *AnalyzedEmailDeliveryDetail) GetOriginalThreats()(*string) { + val, err := m.GetBackingStore().Get("originalThreats") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// Serialize serializes information the current object +func (m *AnalyzedEmailDeliveryDetail) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + if m.GetAction() != nil { + cast := (*m.GetAction()).String() + err := writer.WriteStringValue("action", &cast) + if err != nil { + return err + } + } + { + err := writer.WriteStringValue("latestThreats", m.GetLatestThreats()) + if err != nil { + return err + } + } + if m.GetLocation() != nil { + cast := (*m.GetLocation()).String() + err := writer.WriteStringValue("location", &cast) + if err != nil { + return err + } + } + { + err := writer.WriteStringValue("@odata.type", m.GetOdataType()) + if err != nil { + return err + } + } + { + err := writer.WriteStringValue("originalThreats", m.GetOriginalThreats()) + if err != nil { + return err + } + } + { + err := writer.WriteAdditionalData(m.GetAdditionalData()) + if err != nil { + return err + } + } + return nil +} +// SetAction sets the action property value. The delivery action of the email. The possible values are: unknown, deliveredToJunk, delivered, blocked, replaced, unknownFutureValue. +func (m *AnalyzedEmailDeliveryDetail) SetAction(value *DeliveryAction)() { + err := m.GetBackingStore().Set("action", value) + if err != nil { + panic(err) + } +} +// SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +func (m *AnalyzedEmailDeliveryDetail) SetAdditionalData(value map[string]any)() { + err := m.GetBackingStore().Set("additionalData", value) + if err != nil { + panic(err) + } +} +// SetBackingStore sets the BackingStore property value. Stores model information. +func (m *AnalyzedEmailDeliveryDetail) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { + m.backingStore = value +} +// SetLatestThreats sets the latestThreats property value. Latest known threat on the email. +func (m *AnalyzedEmailDeliveryDetail) SetLatestThreats(value *string)() { + err := m.GetBackingStore().Set("latestThreats", value) + if err != nil { + panic(err) + } +} +// SetLocation sets the location property value. The delivery location of the email. The possible values are: unknown, inboxfolder, junkFolder, deletedFolder, quarantine, onpremexternal, failed, dropped, others, unknownFutureValue. +func (m *AnalyzedEmailDeliveryDetail) SetLocation(value *DeliveryLocation)() { + err := m.GetBackingStore().Set("location", value) + if err != nil { + panic(err) + } +} +// SetOdataType sets the @odata.type property value. The OdataType property +func (m *AnalyzedEmailDeliveryDetail) SetOdataType(value *string)() { + err := m.GetBackingStore().Set("odataType", value) + if err != nil { + panic(err) + } +} +// SetOriginalThreats sets the originalThreats property value. Threats identified at the time of delivery. +func (m *AnalyzedEmailDeliveryDetail) SetOriginalThreats(value *string)() { + err := m.GetBackingStore().Set("originalThreats", value) + if err != nil { + panic(err) + } +} +type AnalyzedEmailDeliveryDetailable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetAction()(*DeliveryAction) + GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) + GetLatestThreats()(*string) + GetLocation()(*DeliveryLocation) + GetOdataType()(*string) + GetOriginalThreats()(*string) + SetAction(value *DeliveryAction)() + SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() + SetLatestThreats(value *string)() + SetLocation(value *DeliveryLocation)() + SetOdataType(value *string)() + SetOriginalThreats(value *string)() +} diff --git a/models/security/analyzed_email_dlp_rule_info.go b/models/security/analyzed_email_dlp_rule_info.go new file mode 100644 index 0000000000..471db81257 --- /dev/null +++ b/models/security/analyzed_email_dlp_rule_info.go @@ -0,0 +1,190 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package security + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" +) + +type AnalyzedEmailDlpRuleInfo struct { + // Stores model information. + backingStore ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore +} +// NewAnalyzedEmailDlpRuleInfo instantiates a new AnalyzedEmailDlpRuleInfo and sets the default values. +func NewAnalyzedEmailDlpRuleInfo()(*AnalyzedEmailDlpRuleInfo) { + m := &AnalyzedEmailDlpRuleInfo{ + } + m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); + m.SetAdditionalData(make(map[string]any)) + return m +} +// CreateAnalyzedEmailDlpRuleInfoFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateAnalyzedEmailDlpRuleInfoFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewAnalyzedEmailDlpRuleInfo(), nil +} +// GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +// returns a map[string]any when successful +func (m *AnalyzedEmailDlpRuleInfo) GetAdditionalData()(map[string]any) { + val , err := m.backingStore.Get("additionalData") + if err != nil { + panic(err) + } + if val == nil { + var value = make(map[string]any); + m.SetAdditionalData(value); + } + return val.(map[string]any) +} +// GetBackingStore gets the BackingStore property value. Stores model information. +// returns a BackingStore when successful +func (m *AnalyzedEmailDlpRuleInfo) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) { + return m.backingStore +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *AnalyzedEmailDlpRuleInfo) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) + res["name"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetName(val) + } + return nil + } + res["@odata.type"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetOdataType(val) + } + return nil + } + res["ruleId"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetRuleId(val) + } + return nil + } + return res +} +// GetName gets the name property value. Name of the the data loss prevention rule. +// returns a *string when successful +func (m *AnalyzedEmailDlpRuleInfo) GetName()(*string) { + val, err := m.GetBackingStore().Get("name") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetOdataType gets the @odata.type property value. The OdataType property +// returns a *string when successful +func (m *AnalyzedEmailDlpRuleInfo) GetOdataType()(*string) { + val, err := m.GetBackingStore().Get("odataType") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetRuleId gets the ruleId property value. Unique identifier of the data loss prevention rule. +// returns a *string when successful +func (m *AnalyzedEmailDlpRuleInfo) GetRuleId()(*string) { + val, err := m.GetBackingStore().Get("ruleId") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// Serialize serializes information the current object +func (m *AnalyzedEmailDlpRuleInfo) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + { + err := writer.WriteStringValue("name", m.GetName()) + if err != nil { + return err + } + } + { + err := writer.WriteStringValue("@odata.type", m.GetOdataType()) + if err != nil { + return err + } + } + { + err := writer.WriteStringValue("ruleId", m.GetRuleId()) + if err != nil { + return err + } + } + { + err := writer.WriteAdditionalData(m.GetAdditionalData()) + if err != nil { + return err + } + } + return nil +} +// SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +func (m *AnalyzedEmailDlpRuleInfo) SetAdditionalData(value map[string]any)() { + err := m.GetBackingStore().Set("additionalData", value) + if err != nil { + panic(err) + } +} +// SetBackingStore sets the BackingStore property value. Stores model information. +func (m *AnalyzedEmailDlpRuleInfo) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { + m.backingStore = value +} +// SetName sets the name property value. Name of the the data loss prevention rule. +func (m *AnalyzedEmailDlpRuleInfo) SetName(value *string)() { + err := m.GetBackingStore().Set("name", value) + if err != nil { + panic(err) + } +} +// SetOdataType sets the @odata.type property value. The OdataType property +func (m *AnalyzedEmailDlpRuleInfo) SetOdataType(value *string)() { + err := m.GetBackingStore().Set("odataType", value) + if err != nil { + panic(err) + } +} +// SetRuleId sets the ruleId property value. Unique identifier of the data loss prevention rule. +func (m *AnalyzedEmailDlpRuleInfo) SetRuleId(value *string)() { + err := m.GetBackingStore().Set("ruleId", value) + if err != nil { + panic(err) + } +} +type AnalyzedEmailDlpRuleInfoable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) + GetName()(*string) + GetOdataType()(*string) + GetRuleId()(*string) + SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() + SetName(value *string)() + SetOdataType(value *string)() + SetRuleId(value *string)() +} diff --git a/models/security/analyzed_email_exchange_transport_rule_info.go b/models/security/analyzed_email_exchange_transport_rule_info.go new file mode 100644 index 0000000000..ab8179378c --- /dev/null +++ b/models/security/analyzed_email_exchange_transport_rule_info.go @@ -0,0 +1,190 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package security + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" +) + +type AnalyzedEmailExchangeTransportRuleInfo struct { + // Stores model information. + backingStore ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore +} +// NewAnalyzedEmailExchangeTransportRuleInfo instantiates a new AnalyzedEmailExchangeTransportRuleInfo and sets the default values. +func NewAnalyzedEmailExchangeTransportRuleInfo()(*AnalyzedEmailExchangeTransportRuleInfo) { + m := &AnalyzedEmailExchangeTransportRuleInfo{ + } + m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); + m.SetAdditionalData(make(map[string]any)) + return m +} +// CreateAnalyzedEmailExchangeTransportRuleInfoFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateAnalyzedEmailExchangeTransportRuleInfoFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewAnalyzedEmailExchangeTransportRuleInfo(), nil +} +// GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +// returns a map[string]any when successful +func (m *AnalyzedEmailExchangeTransportRuleInfo) GetAdditionalData()(map[string]any) { + val , err := m.backingStore.Get("additionalData") + if err != nil { + panic(err) + } + if val == nil { + var value = make(map[string]any); + m.SetAdditionalData(value); + } + return val.(map[string]any) +} +// GetBackingStore gets the BackingStore property value. Stores model information. +// returns a BackingStore when successful +func (m *AnalyzedEmailExchangeTransportRuleInfo) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) { + return m.backingStore +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *AnalyzedEmailExchangeTransportRuleInfo) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) + res["name"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetName(val) + } + return nil + } + res["@odata.type"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetOdataType(val) + } + return nil + } + res["ruleId"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetRuleId(val) + } + return nil + } + return res +} +// GetName gets the name property value. Name of the Exchange transport rules (ETRs) that are part of the email. +// returns a *string when successful +func (m *AnalyzedEmailExchangeTransportRuleInfo) GetName()(*string) { + val, err := m.GetBackingStore().Get("name") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetOdataType gets the @odata.type property value. The OdataType property +// returns a *string when successful +func (m *AnalyzedEmailExchangeTransportRuleInfo) GetOdataType()(*string) { + val, err := m.GetBackingStore().Get("odataType") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetRuleId gets the ruleId property value. The ETR rule ID. +// returns a *string when successful +func (m *AnalyzedEmailExchangeTransportRuleInfo) GetRuleId()(*string) { + val, err := m.GetBackingStore().Get("ruleId") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// Serialize serializes information the current object +func (m *AnalyzedEmailExchangeTransportRuleInfo) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + { + err := writer.WriteStringValue("name", m.GetName()) + if err != nil { + return err + } + } + { + err := writer.WriteStringValue("@odata.type", m.GetOdataType()) + if err != nil { + return err + } + } + { + err := writer.WriteStringValue("ruleId", m.GetRuleId()) + if err != nil { + return err + } + } + { + err := writer.WriteAdditionalData(m.GetAdditionalData()) + if err != nil { + return err + } + } + return nil +} +// SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +func (m *AnalyzedEmailExchangeTransportRuleInfo) SetAdditionalData(value map[string]any)() { + err := m.GetBackingStore().Set("additionalData", value) + if err != nil { + panic(err) + } +} +// SetBackingStore sets the BackingStore property value. Stores model information. +func (m *AnalyzedEmailExchangeTransportRuleInfo) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { + m.backingStore = value +} +// SetName sets the name property value. Name of the Exchange transport rules (ETRs) that are part of the email. +func (m *AnalyzedEmailExchangeTransportRuleInfo) SetName(value *string)() { + err := m.GetBackingStore().Set("name", value) + if err != nil { + panic(err) + } +} +// SetOdataType sets the @odata.type property value. The OdataType property +func (m *AnalyzedEmailExchangeTransportRuleInfo) SetOdataType(value *string)() { + err := m.GetBackingStore().Set("odataType", value) + if err != nil { + panic(err) + } +} +// SetRuleId sets the ruleId property value. The ETR rule ID. +func (m *AnalyzedEmailExchangeTransportRuleInfo) SetRuleId(value *string)() { + err := m.GetBackingStore().Set("ruleId", value) + if err != nil { + panic(err) + } +} +type AnalyzedEmailExchangeTransportRuleInfoable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) + GetName()(*string) + GetOdataType()(*string) + GetRuleId()(*string) + SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() + SetName(value *string)() + SetOdataType(value *string)() + SetRuleId(value *string)() +} diff --git a/models/security/analyzed_email_recipient_detail.go b/models/security/analyzed_email_recipient_detail.go new file mode 100644 index 0000000000..63874aedaf --- /dev/null +++ b/models/security/analyzed_email_recipient_detail.go @@ -0,0 +1,196 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package security + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" +) + +type AnalyzedEmailRecipientDetail struct { + // Stores model information. + backingStore ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore +} +// NewAnalyzedEmailRecipientDetail instantiates a new AnalyzedEmailRecipientDetail and sets the default values. +func NewAnalyzedEmailRecipientDetail()(*AnalyzedEmailRecipientDetail) { + m := &AnalyzedEmailRecipientDetail{ + } + m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); + m.SetAdditionalData(make(map[string]any)) + return m +} +// CreateAnalyzedEmailRecipientDetailFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateAnalyzedEmailRecipientDetailFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewAnalyzedEmailRecipientDetail(), nil +} +// GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +// returns a map[string]any when successful +func (m *AnalyzedEmailRecipientDetail) GetAdditionalData()(map[string]any) { + val , err := m.backingStore.Get("additionalData") + if err != nil { + panic(err) + } + if val == nil { + var value = make(map[string]any); + m.SetAdditionalData(value); + } + return val.(map[string]any) +} +// GetBackingStore gets the BackingStore property value. Stores model information. +// returns a BackingStore when successful +func (m *AnalyzedEmailRecipientDetail) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) { + return m.backingStore +} +// GetCcRecipients gets the ccRecipients property value. Recipient address in the cc field. +// returns a []string when successful +func (m *AnalyzedEmailRecipientDetail) GetCcRecipients()([]string) { + val, err := m.GetBackingStore().Get("ccRecipients") + if err != nil { + panic(err) + } + if val != nil { + return val.([]string) + } + return nil +} +// GetDomainName gets the domainName property value. Domain name of the recipient. +// returns a *string when successful +func (m *AnalyzedEmailRecipientDetail) GetDomainName()(*string) { + val, err := m.GetBackingStore().Get("domainName") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *AnalyzedEmailRecipientDetail) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) + res["ccRecipients"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfPrimitiveValues("string") + if err != nil { + return err + } + if val != nil { + res := make([]string, len(val)) + for i, v := range val { + if v != nil { + res[i] = *(v.(*string)) + } + } + m.SetCcRecipients(res) + } + return nil + } + res["domainName"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetDomainName(val) + } + return nil + } + res["@odata.type"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetOdataType(val) + } + return nil + } + return res +} +// GetOdataType gets the @odata.type property value. The OdataType property +// returns a *string when successful +func (m *AnalyzedEmailRecipientDetail) GetOdataType()(*string) { + val, err := m.GetBackingStore().Get("odataType") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// Serialize serializes information the current object +func (m *AnalyzedEmailRecipientDetail) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + if m.GetCcRecipients() != nil { + err := writer.WriteCollectionOfStringValues("ccRecipients", m.GetCcRecipients()) + if err != nil { + return err + } + } + { + err := writer.WriteStringValue("domainName", m.GetDomainName()) + if err != nil { + return err + } + } + { + err := writer.WriteStringValue("@odata.type", m.GetOdataType()) + if err != nil { + return err + } + } + { + err := writer.WriteAdditionalData(m.GetAdditionalData()) + if err != nil { + return err + } + } + return nil +} +// SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +func (m *AnalyzedEmailRecipientDetail) SetAdditionalData(value map[string]any)() { + err := m.GetBackingStore().Set("additionalData", value) + if err != nil { + panic(err) + } +} +// SetBackingStore sets the BackingStore property value. Stores model information. +func (m *AnalyzedEmailRecipientDetail) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { + m.backingStore = value +} +// SetCcRecipients sets the ccRecipients property value. Recipient address in the cc field. +func (m *AnalyzedEmailRecipientDetail) SetCcRecipients(value []string)() { + err := m.GetBackingStore().Set("ccRecipients", value) + if err != nil { + panic(err) + } +} +// SetDomainName sets the domainName property value. Domain name of the recipient. +func (m *AnalyzedEmailRecipientDetail) SetDomainName(value *string)() { + err := m.GetBackingStore().Set("domainName", value) + if err != nil { + panic(err) + } +} +// SetOdataType sets the @odata.type property value. The OdataType property +func (m *AnalyzedEmailRecipientDetail) SetOdataType(value *string)() { + err := m.GetBackingStore().Set("odataType", value) + if err != nil { + panic(err) + } +} +type AnalyzedEmailRecipientDetailable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) + GetCcRecipients()([]string) + GetDomainName()(*string) + GetOdataType()(*string) + SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() + SetCcRecipients(value []string)() + SetDomainName(value *string)() + SetOdataType(value *string)() +} diff --git a/models/security/analyzed_email_sender_detail.go b/models/security/analyzed_email_sender_detail.go new file mode 100644 index 0000000000..84d3f2bba3 --- /dev/null +++ b/models/security/analyzed_email_sender_detail.go @@ -0,0 +1,450 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package security + +import ( + i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e "time" + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" +) + +type AnalyzedEmailSenderDetail struct { + // Stores model information. + backingStore ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore +} +// NewAnalyzedEmailSenderDetail instantiates a new AnalyzedEmailSenderDetail and sets the default values. +func NewAnalyzedEmailSenderDetail()(*AnalyzedEmailSenderDetail) { + m := &AnalyzedEmailSenderDetail{ + } + m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); + m.SetAdditionalData(make(map[string]any)) + return m +} +// CreateAnalyzedEmailSenderDetailFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateAnalyzedEmailSenderDetailFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewAnalyzedEmailSenderDetail(), nil +} +// GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +// returns a map[string]any when successful +func (m *AnalyzedEmailSenderDetail) GetAdditionalData()(map[string]any) { + val , err := m.backingStore.Get("additionalData") + if err != nil { + panic(err) + } + if val == nil { + var value = make(map[string]any); + m.SetAdditionalData(value); + } + return val.(map[string]any) +} +// GetBackingStore gets the BackingStore property value. Stores model information. +// returns a BackingStore when successful +func (m *AnalyzedEmailSenderDetail) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) { + return m.backingStore +} +// GetDisplayName gets the displayName property value. Display name of sender from address. +// returns a *string when successful +func (m *AnalyzedEmailSenderDetail) GetDisplayName()(*string) { + val, err := m.GetBackingStore().Get("displayName") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetDomainCreationDateTime gets the domainCreationDateTime property value. Date and time of creation of the sender domain. +// returns a *Time when successful +func (m *AnalyzedEmailSenderDetail) GetDomainCreationDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) { + val, err := m.GetBackingStore().Get("domainCreationDateTime") + if err != nil { + panic(err) + } + if val != nil { + return val.(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) + } + return nil +} +// GetDomainName gets the domainName property value. Registered name of the domain. +// returns a *string when successful +func (m *AnalyzedEmailSenderDetail) GetDomainName()(*string) { + val, err := m.GetBackingStore().Get("domainName") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetDomainOwner gets the domainOwner property value. Owner of the domain. +// returns a *string when successful +func (m *AnalyzedEmailSenderDetail) GetDomainOwner()(*string) { + val, err := m.GetBackingStore().Get("domainOwner") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *AnalyzedEmailSenderDetail) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) + res["displayName"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetDisplayName(val) + } + return nil + } + res["domainCreationDateTime"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetTimeValue() + if err != nil { + return err + } + if val != nil { + m.SetDomainCreationDateTime(val) + } + return nil + } + res["domainName"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetDomainName(val) + } + return nil + } + res["domainOwner"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetDomainOwner(val) + } + return nil + } + res["fromAddress"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetFromAddress(val) + } + return nil + } + res["ipv4"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetIpv4(val) + } + return nil + } + res["location"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetLocation(val) + } + return nil + } + res["mailFromAddress"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetMailFromAddress(val) + } + return nil + } + res["mailFromDomainName"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetMailFromDomainName(val) + } + return nil + } + res["@odata.type"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetOdataType(val) + } + return nil + } + return res +} +// GetFromAddress gets the fromAddress property value. The sender email address in the mail From header, also known as the envelope sender or the P1 sender. +// returns a *string when successful +func (m *AnalyzedEmailSenderDetail) GetFromAddress()(*string) { + val, err := m.GetBackingStore().Get("fromAddress") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetIpv4 gets the ipv4 property value. The IPv4 address of the last detected mail server that relayed the message. +// returns a *string when successful +func (m *AnalyzedEmailSenderDetail) GetIpv4()(*string) { + val, err := m.GetBackingStore().Get("ipv4") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetLocation gets the location property value. Location of the domain. +// returns a *string when successful +func (m *AnalyzedEmailSenderDetail) GetLocation()(*string) { + val, err := m.GetBackingStore().Get("location") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetMailFromAddress gets the mailFromAddress property value. The sender email address in the From header, which is visible to email recipients on their email clients. Also known as P2 sender. +// returns a *string when successful +func (m *AnalyzedEmailSenderDetail) GetMailFromAddress()(*string) { + val, err := m.GetBackingStore().Get("mailFromAddress") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetMailFromDomainName gets the mailFromDomainName property value. Domain name of sender mail from address. +// returns a *string when successful +func (m *AnalyzedEmailSenderDetail) GetMailFromDomainName()(*string) { + val, err := m.GetBackingStore().Get("mailFromDomainName") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetOdataType gets the @odata.type property value. The OdataType property +// returns a *string when successful +func (m *AnalyzedEmailSenderDetail) GetOdataType()(*string) { + val, err := m.GetBackingStore().Get("odataType") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// Serialize serializes information the current object +func (m *AnalyzedEmailSenderDetail) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + { + err := writer.WriteStringValue("displayName", m.GetDisplayName()) + if err != nil { + return err + } + } + { + err := writer.WriteTimeValue("domainCreationDateTime", m.GetDomainCreationDateTime()) + if err != nil { + return err + } + } + { + err := writer.WriteStringValue("domainName", m.GetDomainName()) + if err != nil { + return err + } + } + { + err := writer.WriteStringValue("domainOwner", m.GetDomainOwner()) + if err != nil { + return err + } + } + { + err := writer.WriteStringValue("fromAddress", m.GetFromAddress()) + if err != nil { + return err + } + } + { + err := writer.WriteStringValue("ipv4", m.GetIpv4()) + if err != nil { + return err + } + } + { + err := writer.WriteStringValue("location", m.GetLocation()) + if err != nil { + return err + } + } + { + err := writer.WriteStringValue("mailFromAddress", m.GetMailFromAddress()) + if err != nil { + return err + } + } + { + err := writer.WriteStringValue("mailFromDomainName", m.GetMailFromDomainName()) + if err != nil { + return err + } + } + { + err := writer.WriteStringValue("@odata.type", m.GetOdataType()) + if err != nil { + return err + } + } + { + err := writer.WriteAdditionalData(m.GetAdditionalData()) + if err != nil { + return err + } + } + return nil +} +// SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +func (m *AnalyzedEmailSenderDetail) SetAdditionalData(value map[string]any)() { + err := m.GetBackingStore().Set("additionalData", value) + if err != nil { + panic(err) + } +} +// SetBackingStore sets the BackingStore property value. Stores model information. +func (m *AnalyzedEmailSenderDetail) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { + m.backingStore = value +} +// SetDisplayName sets the displayName property value. Display name of sender from address. +func (m *AnalyzedEmailSenderDetail) SetDisplayName(value *string)() { + err := m.GetBackingStore().Set("displayName", value) + if err != nil { + panic(err) + } +} +// SetDomainCreationDateTime sets the domainCreationDateTime property value. Date and time of creation of the sender domain. +func (m *AnalyzedEmailSenderDetail) SetDomainCreationDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() { + err := m.GetBackingStore().Set("domainCreationDateTime", value) + if err != nil { + panic(err) + } +} +// SetDomainName sets the domainName property value. Registered name of the domain. +func (m *AnalyzedEmailSenderDetail) SetDomainName(value *string)() { + err := m.GetBackingStore().Set("domainName", value) + if err != nil { + panic(err) + } +} +// SetDomainOwner sets the domainOwner property value. Owner of the domain. +func (m *AnalyzedEmailSenderDetail) SetDomainOwner(value *string)() { + err := m.GetBackingStore().Set("domainOwner", value) + if err != nil { + panic(err) + } +} +// SetFromAddress sets the fromAddress property value. The sender email address in the mail From header, also known as the envelope sender or the P1 sender. +func (m *AnalyzedEmailSenderDetail) SetFromAddress(value *string)() { + err := m.GetBackingStore().Set("fromAddress", value) + if err != nil { + panic(err) + } +} +// SetIpv4 sets the ipv4 property value. The IPv4 address of the last detected mail server that relayed the message. +func (m *AnalyzedEmailSenderDetail) SetIpv4(value *string)() { + err := m.GetBackingStore().Set("ipv4", value) + if err != nil { + panic(err) + } +} +// SetLocation sets the location property value. Location of the domain. +func (m *AnalyzedEmailSenderDetail) SetLocation(value *string)() { + err := m.GetBackingStore().Set("location", value) + if err != nil { + panic(err) + } +} +// SetMailFromAddress sets the mailFromAddress property value. The sender email address in the From header, which is visible to email recipients on their email clients. Also known as P2 sender. +func (m *AnalyzedEmailSenderDetail) SetMailFromAddress(value *string)() { + err := m.GetBackingStore().Set("mailFromAddress", value) + if err != nil { + panic(err) + } +} +// SetMailFromDomainName sets the mailFromDomainName property value. Domain name of sender mail from address. +func (m *AnalyzedEmailSenderDetail) SetMailFromDomainName(value *string)() { + err := m.GetBackingStore().Set("mailFromDomainName", value) + if err != nil { + panic(err) + } +} +// SetOdataType sets the @odata.type property value. The OdataType property +func (m *AnalyzedEmailSenderDetail) SetOdataType(value *string)() { + err := m.GetBackingStore().Set("odataType", value) + if err != nil { + panic(err) + } +} +type AnalyzedEmailSenderDetailable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) + GetDisplayName()(*string) + GetDomainCreationDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) + GetDomainName()(*string) + GetDomainOwner()(*string) + GetFromAddress()(*string) + GetIpv4()(*string) + GetLocation()(*string) + GetMailFromAddress()(*string) + GetMailFromDomainName()(*string) + GetOdataType()(*string) + SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() + SetDisplayName(value *string)() + SetDomainCreationDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() + SetDomainName(value *string)() + SetDomainOwner(value *string)() + SetFromAddress(value *string)() + SetIpv4(value *string)() + SetLocation(value *string)() + SetMailFromAddress(value *string)() + SetMailFromDomainName(value *string)() + SetOdataType(value *string)() +} diff --git a/models/security/analyzed_email_url.go b/models/security/analyzed_email_url.go new file mode 100644 index 0000000000..749d73af1f --- /dev/null +++ b/models/security/analyzed_email_url.go @@ -0,0 +1,302 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package security + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" +) + +type AnalyzedEmailUrl struct { + // Stores model information. + backingStore ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore +} +// NewAnalyzedEmailUrl instantiates a new AnalyzedEmailUrl and sets the default values. +func NewAnalyzedEmailUrl()(*AnalyzedEmailUrl) { + m := &AnalyzedEmailUrl{ + } + m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); + m.SetAdditionalData(make(map[string]any)) + return m +} +// CreateAnalyzedEmailUrlFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateAnalyzedEmailUrlFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewAnalyzedEmailUrl(), nil +} +// GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +// returns a map[string]any when successful +func (m *AnalyzedEmailUrl) GetAdditionalData()(map[string]any) { + val , err := m.backingStore.Get("additionalData") + if err != nil { + panic(err) + } + if val == nil { + var value = make(map[string]any); + m.SetAdditionalData(value); + } + return val.(map[string]any) +} +// GetBackingStore gets the BackingStore property value. Stores model information. +// returns a BackingStore when successful +func (m *AnalyzedEmailUrl) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) { + return m.backingStore +} +// GetDetectionMethod gets the detectionMethod property value. The method used to detect threats in the URL. +// returns a *string when successful +func (m *AnalyzedEmailUrl) GetDetectionMethod()(*string) { + val, err := m.GetBackingStore().Get("detectionMethod") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetDetonationDetails gets the detonationDetails property value. Detonation data associated with the URL. +// returns a DetonationDetailsable when successful +func (m *AnalyzedEmailUrl) GetDetonationDetails()(DetonationDetailsable) { + val, err := m.GetBackingStore().Get("detonationDetails") + if err != nil { + panic(err) + } + if val != nil { + return val.(DetonationDetailsable) + } + return nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *AnalyzedEmailUrl) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) + res["detectionMethod"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetDetectionMethod(val) + } + return nil + } + res["detonationDetails"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetObjectValue(CreateDetonationDetailsFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + m.SetDetonationDetails(val.(DetonationDetailsable)) + } + return nil + } + res["@odata.type"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetOdataType(val) + } + return nil + } + res["tenantAllowBlockListDetailInfo"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetTenantAllowBlockListDetailInfo(val) + } + return nil + } + res["threatType"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetEnumValue(ParseThreatType) + if err != nil { + return err + } + if val != nil { + m.SetThreatType(val.(*ThreatType)) + } + return nil + } + res["url"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetUrl(val) + } + return nil + } + return res +} +// GetOdataType gets the @odata.type property value. The OdataType property +// returns a *string when successful +func (m *AnalyzedEmailUrl) GetOdataType()(*string) { + val, err := m.GetBackingStore().Get("odataType") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetTenantAllowBlockListDetailInfo gets the tenantAllowBlockListDetailInfo property value. Details of entries in tenant allow/block list configured by tenant. +// returns a *string when successful +func (m *AnalyzedEmailUrl) GetTenantAllowBlockListDetailInfo()(*string) { + val, err := m.GetBackingStore().Get("tenantAllowBlockListDetailInfo") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetThreatType gets the threatType property value. The type of threat associated with the URL. The possible values are: unknown, spam, malware, phishing, none, unknownFutureValue. +// returns a *ThreatType when successful +func (m *AnalyzedEmailUrl) GetThreatType()(*ThreatType) { + val, err := m.GetBackingStore().Get("threatType") + if err != nil { + panic(err) + } + if val != nil { + return val.(*ThreatType) + } + return nil +} +// GetUrl gets the url property value. The URL that is found in the email. This is full URL string, including query parameters. +// returns a *string when successful +func (m *AnalyzedEmailUrl) GetUrl()(*string) { + val, err := m.GetBackingStore().Get("url") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// Serialize serializes information the current object +func (m *AnalyzedEmailUrl) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + { + err := writer.WriteStringValue("detectionMethod", m.GetDetectionMethod()) + if err != nil { + return err + } + } + { + err := writer.WriteObjectValue("detonationDetails", m.GetDetonationDetails()) + if err != nil { + return err + } + } + { + err := writer.WriteStringValue("@odata.type", m.GetOdataType()) + if err != nil { + return err + } + } + { + err := writer.WriteStringValue("tenantAllowBlockListDetailInfo", m.GetTenantAllowBlockListDetailInfo()) + if err != nil { + return err + } + } + if m.GetThreatType() != nil { + cast := (*m.GetThreatType()).String() + err := writer.WriteStringValue("threatType", &cast) + if err != nil { + return err + } + } + { + err := writer.WriteStringValue("url", m.GetUrl()) + if err != nil { + return err + } + } + { + err := writer.WriteAdditionalData(m.GetAdditionalData()) + if err != nil { + return err + } + } + return nil +} +// SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +func (m *AnalyzedEmailUrl) SetAdditionalData(value map[string]any)() { + err := m.GetBackingStore().Set("additionalData", value) + if err != nil { + panic(err) + } +} +// SetBackingStore sets the BackingStore property value. Stores model information. +func (m *AnalyzedEmailUrl) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { + m.backingStore = value +} +// SetDetectionMethod sets the detectionMethod property value. The method used to detect threats in the URL. +func (m *AnalyzedEmailUrl) SetDetectionMethod(value *string)() { + err := m.GetBackingStore().Set("detectionMethod", value) + if err != nil { + panic(err) + } +} +// SetDetonationDetails sets the detonationDetails property value. Detonation data associated with the URL. +func (m *AnalyzedEmailUrl) SetDetonationDetails(value DetonationDetailsable)() { + err := m.GetBackingStore().Set("detonationDetails", value) + if err != nil { + panic(err) + } +} +// SetOdataType sets the @odata.type property value. The OdataType property +func (m *AnalyzedEmailUrl) SetOdataType(value *string)() { + err := m.GetBackingStore().Set("odataType", value) + if err != nil { + panic(err) + } +} +// SetTenantAllowBlockListDetailInfo sets the tenantAllowBlockListDetailInfo property value. Details of entries in tenant allow/block list configured by tenant. +func (m *AnalyzedEmailUrl) SetTenantAllowBlockListDetailInfo(value *string)() { + err := m.GetBackingStore().Set("tenantAllowBlockListDetailInfo", value) + if err != nil { + panic(err) + } +} +// SetThreatType sets the threatType property value. The type of threat associated with the URL. The possible values are: unknown, spam, malware, phishing, none, unknownFutureValue. +func (m *AnalyzedEmailUrl) SetThreatType(value *ThreatType)() { + err := m.GetBackingStore().Set("threatType", value) + if err != nil { + panic(err) + } +} +// SetUrl sets the url property value. The URL that is found in the email. This is full URL string, including query parameters. +func (m *AnalyzedEmailUrl) SetUrl(value *string)() { + err := m.GetBackingStore().Set("url", value) + if err != nil { + panic(err) + } +} +type AnalyzedEmailUrlable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) + GetDetectionMethod()(*string) + GetDetonationDetails()(DetonationDetailsable) + GetOdataType()(*string) + GetTenantAllowBlockListDetailInfo()(*string) + GetThreatType()(*ThreatType) + GetUrl()(*string) + SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() + SetDetectionMethod(value *string)() + SetDetonationDetails(value DetonationDetailsable)() + SetOdataType(value *string)() + SetTenantAllowBlockListDetailInfo(value *string)() + SetThreatType(value *ThreatType)() + SetUrl(value *string)() +} diff --git a/models/security/antispam_directionality.go b/models/security/antispam_directionality.go new file mode 100644 index 0000000000..3d1aba7644 --- /dev/null +++ b/models/security/antispam_directionality.go @@ -0,0 +1,45 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package security +type AntispamDirectionality int + +const ( + UNKNOWN_ANTISPAMDIRECTIONALITY AntispamDirectionality = iota + INBOUND_ANTISPAMDIRECTIONALITY + OUTBOUND_ANTISPAMDIRECTIONALITY + INTRAORG_ANTISPAMDIRECTIONALITY + UNKNOWNFUTUREVALUE_ANTISPAMDIRECTIONALITY +) + +func (i AntispamDirectionality) String() string { + return []string{"unknown", "inbound", "outbound", "intraOrg", "unknownFutureValue"}[i] +} +func ParseAntispamDirectionality(v string) (any, error) { + result := UNKNOWN_ANTISPAMDIRECTIONALITY + switch v { + case "unknown": + result = UNKNOWN_ANTISPAMDIRECTIONALITY + case "inbound": + result = INBOUND_ANTISPAMDIRECTIONALITY + case "outbound": + result = OUTBOUND_ANTISPAMDIRECTIONALITY + case "intraOrg": + result = INTRAORG_ANTISPAMDIRECTIONALITY + case "unknownFutureValue": + result = UNKNOWNFUTUREVALUE_ANTISPAMDIRECTIONALITY + default: + return nil, nil + } + return &result, nil +} +func SerializeAntispamDirectionality(values []AntispamDirectionality) []string { + result := make([]string, len(values)) + for i, v := range values { + result[i] = v.String() + } + return result +} +func (i AntispamDirectionality) isMultiValue() bool { + return false +} diff --git a/models/security/collaboration_root.go b/models/security/collaboration_root.go new file mode 100644 index 0000000000..14cc173480 --- /dev/null +++ b/models/security/collaboration_root.go @@ -0,0 +1,92 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package security + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" +) + +type CollaborationRoot struct { + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Entity +} +// NewCollaborationRoot instantiates a new CollaborationRoot and sets the default values. +func NewCollaborationRoot()(*CollaborationRoot) { + m := &CollaborationRoot{ + Entity: *iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.NewEntity(), + } + return m +} +// CreateCollaborationRootFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateCollaborationRootFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewCollaborationRoot(), nil +} +// GetAnalyzedEmails gets the analyzedEmails property value. Contains metadata for analyzed emails. +// returns a []AnalyzedEmailable when successful +func (m *CollaborationRoot) GetAnalyzedEmails()([]AnalyzedEmailable) { + val, err := m.GetBackingStore().Get("analyzedEmails") + if err != nil { + panic(err) + } + if val != nil { + return val.([]AnalyzedEmailable) + } + return nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *CollaborationRoot) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.Entity.GetFieldDeserializers() + res["analyzedEmails"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(CreateAnalyzedEmailFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]AnalyzedEmailable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(AnalyzedEmailable) + } + } + m.SetAnalyzedEmails(res) + } + return nil + } + return res +} +// Serialize serializes information the current object +func (m *CollaborationRoot) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.Entity.Serialize(writer) + if err != nil { + return err + } + if m.GetAnalyzedEmails() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetAnalyzedEmails())) + for i, v := range m.GetAnalyzedEmails() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err = writer.WriteCollectionOfObjectValues("analyzedEmails", cast) + if err != nil { + return err + } + } + return nil +} +// SetAnalyzedEmails sets the analyzedEmails property value. Contains metadata for analyzed emails. +func (m *CollaborationRoot) SetAnalyzedEmails(value []AnalyzedEmailable)() { + err := m.GetBackingStore().Set("analyzedEmails", value) + if err != nil { + panic(err) + } +} +type CollaborationRootable interface { + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Entityable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetAnalyzedEmails()([]AnalyzedEmailable) + SetAnalyzedEmails(value []AnalyzedEmailable)() +} diff --git a/models/security/compromise_indicator.go b/models/security/compromise_indicator.go new file mode 100644 index 0000000000..71c07b7b01 --- /dev/null +++ b/models/security/compromise_indicator.go @@ -0,0 +1,191 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package security + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" +) + +type CompromiseIndicator struct { + // Stores model information. + backingStore ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore +} +// NewCompromiseIndicator instantiates a new CompromiseIndicator and sets the default values. +func NewCompromiseIndicator()(*CompromiseIndicator) { + m := &CompromiseIndicator{ + } + m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); + m.SetAdditionalData(make(map[string]any)) + return m +} +// CreateCompromiseIndicatorFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateCompromiseIndicatorFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewCompromiseIndicator(), nil +} +// GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +// returns a map[string]any when successful +func (m *CompromiseIndicator) GetAdditionalData()(map[string]any) { + val , err := m.backingStore.Get("additionalData") + if err != nil { + panic(err) + } + if val == nil { + var value = make(map[string]any); + m.SetAdditionalData(value); + } + return val.(map[string]any) +} +// GetBackingStore gets the BackingStore property value. Stores model information. +// returns a BackingStore when successful +func (m *CompromiseIndicator) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) { + return m.backingStore +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *CompromiseIndicator) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) + res["@odata.type"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetOdataType(val) + } + return nil + } + res["value"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetValue(val) + } + return nil + } + res["verdict"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetEnumValue(ParseVerdictCategory) + if err != nil { + return err + } + if val != nil { + m.SetVerdict(val.(*VerdictCategory)) + } + return nil + } + return res +} +// GetOdataType gets the @odata.type property value. The OdataType property +// returns a *string when successful +func (m *CompromiseIndicator) GetOdataType()(*string) { + val, err := m.GetBackingStore().Get("odataType") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetValue gets the value property value. Indicator. +// returns a *string when successful +func (m *CompromiseIndicator) GetValue()(*string) { + val, err := m.GetBackingStore().Get("value") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetVerdict gets the verdict property value. The possible values are: none, malware, phish, siteUnavailable, spam, decryptionFailed, unsupportedUriScheme, unsupportedFileType, undefined, unknownFutureValue. +// returns a *VerdictCategory when successful +func (m *CompromiseIndicator) GetVerdict()(*VerdictCategory) { + val, err := m.GetBackingStore().Get("verdict") + if err != nil { + panic(err) + } + if val != nil { + return val.(*VerdictCategory) + } + return nil +} +// Serialize serializes information the current object +func (m *CompromiseIndicator) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + { + err := writer.WriteStringValue("@odata.type", m.GetOdataType()) + if err != nil { + return err + } + } + { + err := writer.WriteStringValue("value", m.GetValue()) + if err != nil { + return err + } + } + if m.GetVerdict() != nil { + cast := (*m.GetVerdict()).String() + err := writer.WriteStringValue("verdict", &cast) + if err != nil { + return err + } + } + { + err := writer.WriteAdditionalData(m.GetAdditionalData()) + if err != nil { + return err + } + } + return nil +} +// SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +func (m *CompromiseIndicator) SetAdditionalData(value map[string]any)() { + err := m.GetBackingStore().Set("additionalData", value) + if err != nil { + panic(err) + } +} +// SetBackingStore sets the BackingStore property value. Stores model information. +func (m *CompromiseIndicator) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { + m.backingStore = value +} +// SetOdataType sets the @odata.type property value. The OdataType property +func (m *CompromiseIndicator) SetOdataType(value *string)() { + err := m.GetBackingStore().Set("odataType", value) + if err != nil { + panic(err) + } +} +// SetValue sets the value property value. Indicator. +func (m *CompromiseIndicator) SetValue(value *string)() { + err := m.GetBackingStore().Set("value", value) + if err != nil { + panic(err) + } +} +// SetVerdict sets the verdict property value. The possible values are: none, malware, phish, siteUnavailable, spam, decryptionFailed, unsupportedUriScheme, unsupportedFileType, undefined, unknownFutureValue. +func (m *CompromiseIndicator) SetVerdict(value *VerdictCategory)() { + err := m.GetBackingStore().Set("verdict", value) + if err != nil { + panic(err) + } +} +type CompromiseIndicatorable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) + GetOdataType()(*string) + GetValue()(*string) + GetVerdict()(*VerdictCategory) + SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() + SetOdataType(value *string)() + SetValue(value *string)() + SetVerdict(value *VerdictCategory)() +} diff --git a/models/security/correlation_reason.go b/models/security/correlation_reason.go new file mode 100644 index 0000000000..634ebf2be9 --- /dev/null +++ b/models/security/correlation_reason.go @@ -0,0 +1,99 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package security +import ( + "math" + "strings" +) +type CorrelationReason int + +const ( + REPEATEDALERTOCCURRENCE_CORRELATIONREASON = 1 + SAMEGEOGRAPHY_CORRELATIONREASON = 2 + SIMILARARTIFACTS_CORRELATIONREASON = 4 + SAMETARGETEDASSET_CORRELATIONREASON = 8 + SAMENETWORKSEGMENT_CORRELATIONREASON = 16 + EVENTSEQUENCE_CORRELATIONREASON = 32 + TIMEFRAME_CORRELATIONREASON = 64 + SAMETHREATSOURCE_CORRELATIONREASON = 128 + SIMILARTTPSORBEHAVIOR_CORRELATIONREASON = 256 + SAMEACTOR_CORRELATIONREASON = 512 + SAMECAMPAIGN_CORRELATIONREASON = 1024 + SHAREDINDICATORS_CORRELATIONREASON = 2048 + SAMEASSET_CORRELATIONREASON = 4096 + NETWORKPROXIMITY_CORRELATIONREASON = 8192 + EVENTCASUALSEQUENCE_CORRELATIONREASON = 16384 + TEMPORALPROXIMITY_CORRELATIONREASON = 32768 + LATERALMOVEMENTPATH_CORRELATIONREASON = 65536 + UNKNOWNFUTUREVALUE_CORRELATIONREASON = 131072 +) + +func (i CorrelationReason) String() string { + var values []string + options := []string{"repeatedAlertOccurrence", "sameGeography", "similarArtifacts", "sameTargetedAsset", "sameNetworkSegment", "eventSequence", "timeFrame", "sameThreatSource", "similarTTPsOrBehavior", "sameActor", "sameCampaign", "sharedIndicators", "sameAsset", "networkProximity", "eventCasualSequence", "temporalProximity", "lateralMovementPath", "unknownFutureValue"} + for p := 0; p < 18; p++ { + mantis := CorrelationReason(int(math.Pow(2, float64(p)))) + if i&mantis == mantis { + values = append(values, options[p]) + } + } + return strings.Join(values, ",") +} +func ParseCorrelationReason(v string) (any, error) { + var result CorrelationReason + values := strings.Split(v, ",") + for _, str := range values { + switch str { + case "repeatedAlertOccurrence": + result |= REPEATEDALERTOCCURRENCE_CORRELATIONREASON + case "sameGeography": + result |= SAMEGEOGRAPHY_CORRELATIONREASON + case "similarArtifacts": + result |= SIMILARARTIFACTS_CORRELATIONREASON + case "sameTargetedAsset": + result |= SAMETARGETEDASSET_CORRELATIONREASON + case "sameNetworkSegment": + result |= SAMENETWORKSEGMENT_CORRELATIONREASON + case "eventSequence": + result |= EVENTSEQUENCE_CORRELATIONREASON + case "timeFrame": + result |= TIMEFRAME_CORRELATIONREASON + case "sameThreatSource": + result |= SAMETHREATSOURCE_CORRELATIONREASON + case "similarTTPsOrBehavior": + result |= SIMILARTTPSORBEHAVIOR_CORRELATIONREASON + case "sameActor": + result |= SAMEACTOR_CORRELATIONREASON + case "sameCampaign": + result |= SAMECAMPAIGN_CORRELATIONREASON + case "sharedIndicators": + result |= SHAREDINDICATORS_CORRELATIONREASON + case "sameAsset": + result |= SAMEASSET_CORRELATIONREASON + case "networkProximity": + result |= NETWORKPROXIMITY_CORRELATIONREASON + case "eventCasualSequence": + result |= EVENTCASUALSEQUENCE_CORRELATIONREASON + case "temporalProximity": + result |= TEMPORALPROXIMITY_CORRELATIONREASON + case "lateralMovementPath": + result |= LATERALMOVEMENTPATH_CORRELATIONREASON + case "unknownFutureValue": + result |= UNKNOWNFUTUREVALUE_CORRELATIONREASON + default: + return nil, nil + } + } + return &result, nil +} +func SerializeCorrelationReason(values []CorrelationReason) []string { + result := make([]string, len(values)) + for i, v := range values { + result[i] = v.String() + } + return result +} +func (i CorrelationReason) isMultiValue() bool { + return true +} diff --git a/models/security/delivery_action.go b/models/security/delivery_action.go new file mode 100644 index 0000000000..99c5a3d84d --- /dev/null +++ b/models/security/delivery_action.go @@ -0,0 +1,48 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package security +type DeliveryAction int + +const ( + UNKNOWN_DELIVERYACTION DeliveryAction = iota + DELIVEREDTOJUNK_DELIVERYACTION + DELIVERED_DELIVERYACTION + BLOCKED_DELIVERYACTION + REPLACED_DELIVERYACTION + UNKNOWNFUTUREVALUE_DELIVERYACTION +) + +func (i DeliveryAction) String() string { + return []string{"unknown", "deliveredToJunk", "delivered", "blocked", "replaced", "unknownFutureValue"}[i] +} +func ParseDeliveryAction(v string) (any, error) { + result := UNKNOWN_DELIVERYACTION + switch v { + case "unknown": + result = UNKNOWN_DELIVERYACTION + case "deliveredToJunk": + result = DELIVEREDTOJUNK_DELIVERYACTION + case "delivered": + result = DELIVERED_DELIVERYACTION + case "blocked": + result = BLOCKED_DELIVERYACTION + case "replaced": + result = REPLACED_DELIVERYACTION + case "unknownFutureValue": + result = UNKNOWNFUTUREVALUE_DELIVERYACTION + default: + return nil, nil + } + return &result, nil +} +func SerializeDeliveryAction(values []DeliveryAction) []string { + result := make([]string, len(values)) + for i, v := range values { + result[i] = v.String() + } + return result +} +func (i DeliveryAction) isMultiValue() bool { + return false +} diff --git a/models/security/delivery_location.go b/models/security/delivery_location.go new file mode 100644 index 0000000000..a81d141ec1 --- /dev/null +++ b/models/security/delivery_location.go @@ -0,0 +1,60 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package security +type DeliveryLocation int + +const ( + UNKNOWN_DELIVERYLOCATION DeliveryLocation = iota + INBOX_FOLDER_DELIVERYLOCATION + JUNKFOLDER_DELIVERYLOCATION + DELETEDFOLDER_DELIVERYLOCATION + QUARANTINE_DELIVERYLOCATION + ONPREM_EXTERNAL_DELIVERYLOCATION + FAILED_DELIVERYLOCATION + DROPPED_DELIVERYLOCATION + OTHERS_DELIVERYLOCATION + UNKNOWNFUTUREVALUE_DELIVERYLOCATION +) + +func (i DeliveryLocation) String() string { + return []string{"unknown", "inbox_folder", "junkFolder", "deletedFolder", "quarantine", "onprem_external", "failed", "dropped", "others", "unknownFutureValue"}[i] +} +func ParseDeliveryLocation(v string) (any, error) { + result := UNKNOWN_DELIVERYLOCATION + switch v { + case "unknown": + result = UNKNOWN_DELIVERYLOCATION + case "inbox_folder": + result = INBOX_FOLDER_DELIVERYLOCATION + case "junkFolder": + result = JUNKFOLDER_DELIVERYLOCATION + case "deletedFolder": + result = DELETEDFOLDER_DELIVERYLOCATION + case "quarantine": + result = QUARANTINE_DELIVERYLOCATION + case "onprem_external": + result = ONPREM_EXTERNAL_DELIVERYLOCATION + case "failed": + result = FAILED_DELIVERYLOCATION + case "dropped": + result = DROPPED_DELIVERYLOCATION + case "others": + result = OTHERS_DELIVERYLOCATION + case "unknownFutureValue": + result = UNKNOWNFUTUREVALUE_DELIVERYLOCATION + default: + return nil, nil + } + return &result, nil +} +func SerializeDeliveryLocation(values []DeliveryLocation) []string { + result := make([]string, len(values)) + for i, v := range values { + result[i] = v.String() + } + return result +} +func (i DeliveryLocation) isMultiValue() bool { + return false +} diff --git a/models/security/detonation_behaviour_details.go b/models/security/detonation_behaviour_details.go new file mode 100644 index 0000000000..d1a3a80a64 --- /dev/null +++ b/models/security/detonation_behaviour_details.go @@ -0,0 +1,450 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package security + +import ( + i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e "time" + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" +) + +type DetonationBehaviourDetails struct { + // Stores model information. + backingStore ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore +} +// NewDetonationBehaviourDetails instantiates a new DetonationBehaviourDetails and sets the default values. +func NewDetonationBehaviourDetails()(*DetonationBehaviourDetails) { + m := &DetonationBehaviourDetails{ + } + m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); + m.SetAdditionalData(make(map[string]any)) + return m +} +// CreateDetonationBehaviourDetailsFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateDetonationBehaviourDetailsFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewDetonationBehaviourDetails(), nil +} +// GetActionStatus gets the actionStatus property value. The status of the action performed during detonation (e.g., 'Successful', 'Failed', 'Blocked'). +// returns a *string when successful +func (m *DetonationBehaviourDetails) GetActionStatus()(*string) { + val, err := m.GetBackingStore().Get("actionStatus") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +// returns a map[string]any when successful +func (m *DetonationBehaviourDetails) GetAdditionalData()(map[string]any) { + val , err := m.backingStore.Get("additionalData") + if err != nil { + panic(err) + } + if val == nil { + var value = make(map[string]any); + m.SetAdditionalData(value); + } + return val.(map[string]any) +} +// GetBackingStore gets the BackingStore property value. Stores model information. +// returns a BackingStore when successful +func (m *DetonationBehaviourDetails) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) { + return m.backingStore +} +// GetBehaviourCapability gets the behaviourCapability property value. Categorizes the capability or type of behavior observed. +// returns a *string when successful +func (m *DetonationBehaviourDetails) GetBehaviourCapability()(*string) { + val, err := m.GetBackingStore().Get("behaviourCapability") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetBehaviourGroup gets the behaviourGroup property value. Groups related behaviors together for classification purposes. +// returns a *string when successful +func (m *DetonationBehaviourDetails) GetBehaviourGroup()(*string) { + val, err := m.GetBackingStore().Get("behaviourGroup") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetDetails gets the details property value. More contextual information about the observed behavior or action. +// returns a *string when successful +func (m *DetonationBehaviourDetails) GetDetails()(*string) { + val, err := m.GetBackingStore().Get("details") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetEventDateTime gets the eventDateTime property value. The date and time when the behavior or action was observed during detonation. +// returns a *Time when successful +func (m *DetonationBehaviourDetails) GetEventDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) { + val, err := m.GetBackingStore().Get("eventDateTime") + if err != nil { + panic(err) + } + if val != nil { + return val.(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) + } + return nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *DetonationBehaviourDetails) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) + res["actionStatus"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetActionStatus(val) + } + return nil + } + res["behaviourCapability"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetBehaviourCapability(val) + } + return nil + } + res["behaviourGroup"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetBehaviourGroup(val) + } + return nil + } + res["details"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetDetails(val) + } + return nil + } + res["eventDateTime"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetTimeValue() + if err != nil { + return err + } + if val != nil { + m.SetEventDateTime(val) + } + return nil + } + res["@odata.type"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetOdataType(val) + } + return nil + } + res["operation"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetOperation(val) + } + return nil + } + res["processId"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetProcessId(val) + } + return nil + } + res["processName"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetProcessName(val) + } + return nil + } + res["target"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetTarget(val) + } + return nil + } + return res +} +// GetOdataType gets the @odata.type property value. The OdataType property +// returns a *string when successful +func (m *DetonationBehaviourDetails) GetOdataType()(*string) { + val, err := m.GetBackingStore().Get("odataType") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetOperation gets the operation property value. The specific operation or action that was performed. +// returns a *string when successful +func (m *DetonationBehaviourDetails) GetOperation()(*string) { + val, err := m.GetBackingStore().Get("operation") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetProcessId gets the processId property value. The unique identifier of the process involved in the behavior. +// returns a *string when successful +func (m *DetonationBehaviourDetails) GetProcessId()(*string) { + val, err := m.GetBackingStore().Get("processId") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetProcessName gets the processName property value. The name of the process that performed or was involved in the behavior. +// returns a *string when successful +func (m *DetonationBehaviourDetails) GetProcessName()(*string) { + val, err := m.GetBackingStore().Get("processName") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetTarget gets the target property value. The target of the operation. +// returns a *string when successful +func (m *DetonationBehaviourDetails) GetTarget()(*string) { + val, err := m.GetBackingStore().Get("target") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// Serialize serializes information the current object +func (m *DetonationBehaviourDetails) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + { + err := writer.WriteStringValue("actionStatus", m.GetActionStatus()) + if err != nil { + return err + } + } + { + err := writer.WriteStringValue("behaviourCapability", m.GetBehaviourCapability()) + if err != nil { + return err + } + } + { + err := writer.WriteStringValue("behaviourGroup", m.GetBehaviourGroup()) + if err != nil { + return err + } + } + { + err := writer.WriteStringValue("details", m.GetDetails()) + if err != nil { + return err + } + } + { + err := writer.WriteTimeValue("eventDateTime", m.GetEventDateTime()) + if err != nil { + return err + } + } + { + err := writer.WriteStringValue("@odata.type", m.GetOdataType()) + if err != nil { + return err + } + } + { + err := writer.WriteStringValue("operation", m.GetOperation()) + if err != nil { + return err + } + } + { + err := writer.WriteStringValue("processId", m.GetProcessId()) + if err != nil { + return err + } + } + { + err := writer.WriteStringValue("processName", m.GetProcessName()) + if err != nil { + return err + } + } + { + err := writer.WriteStringValue("target", m.GetTarget()) + if err != nil { + return err + } + } + { + err := writer.WriteAdditionalData(m.GetAdditionalData()) + if err != nil { + return err + } + } + return nil +} +// SetActionStatus sets the actionStatus property value. The status of the action performed during detonation (e.g., 'Successful', 'Failed', 'Blocked'). +func (m *DetonationBehaviourDetails) SetActionStatus(value *string)() { + err := m.GetBackingStore().Set("actionStatus", value) + if err != nil { + panic(err) + } +} +// SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +func (m *DetonationBehaviourDetails) SetAdditionalData(value map[string]any)() { + err := m.GetBackingStore().Set("additionalData", value) + if err != nil { + panic(err) + } +} +// SetBackingStore sets the BackingStore property value. Stores model information. +func (m *DetonationBehaviourDetails) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { + m.backingStore = value +} +// SetBehaviourCapability sets the behaviourCapability property value. Categorizes the capability or type of behavior observed. +func (m *DetonationBehaviourDetails) SetBehaviourCapability(value *string)() { + err := m.GetBackingStore().Set("behaviourCapability", value) + if err != nil { + panic(err) + } +} +// SetBehaviourGroup sets the behaviourGroup property value. Groups related behaviors together for classification purposes. +func (m *DetonationBehaviourDetails) SetBehaviourGroup(value *string)() { + err := m.GetBackingStore().Set("behaviourGroup", value) + if err != nil { + panic(err) + } +} +// SetDetails sets the details property value. More contextual information about the observed behavior or action. +func (m *DetonationBehaviourDetails) SetDetails(value *string)() { + err := m.GetBackingStore().Set("details", value) + if err != nil { + panic(err) + } +} +// SetEventDateTime sets the eventDateTime property value. The date and time when the behavior or action was observed during detonation. +func (m *DetonationBehaviourDetails) SetEventDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() { + err := m.GetBackingStore().Set("eventDateTime", value) + if err != nil { + panic(err) + } +} +// SetOdataType sets the @odata.type property value. The OdataType property +func (m *DetonationBehaviourDetails) SetOdataType(value *string)() { + err := m.GetBackingStore().Set("odataType", value) + if err != nil { + panic(err) + } +} +// SetOperation sets the operation property value. The specific operation or action that was performed. +func (m *DetonationBehaviourDetails) SetOperation(value *string)() { + err := m.GetBackingStore().Set("operation", value) + if err != nil { + panic(err) + } +} +// SetProcessId sets the processId property value. The unique identifier of the process involved in the behavior. +func (m *DetonationBehaviourDetails) SetProcessId(value *string)() { + err := m.GetBackingStore().Set("processId", value) + if err != nil { + panic(err) + } +} +// SetProcessName sets the processName property value. The name of the process that performed or was involved in the behavior. +func (m *DetonationBehaviourDetails) SetProcessName(value *string)() { + err := m.GetBackingStore().Set("processName", value) + if err != nil { + panic(err) + } +} +// SetTarget sets the target property value. The target of the operation. +func (m *DetonationBehaviourDetails) SetTarget(value *string)() { + err := m.GetBackingStore().Set("target", value) + if err != nil { + panic(err) + } +} +type DetonationBehaviourDetailsable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetActionStatus()(*string) + GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) + GetBehaviourCapability()(*string) + GetBehaviourGroup()(*string) + GetDetails()(*string) + GetEventDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) + GetOdataType()(*string) + GetOperation()(*string) + GetProcessId()(*string) + GetProcessName()(*string) + GetTarget()(*string) + SetActionStatus(value *string)() + SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() + SetBehaviourCapability(value *string)() + SetBehaviourGroup(value *string)() + SetDetails(value *string)() + SetEventDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() + SetOdataType(value *string)() + SetOperation(value *string)() + SetProcessId(value *string)() + SetProcessName(value *string)() + SetTarget(value *string)() +} diff --git a/models/security/detonation_chain.go b/models/security/detonation_chain.go new file mode 100644 index 0000000000..b64d7287e7 --- /dev/null +++ b/models/security/detonation_chain.go @@ -0,0 +1,202 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package security + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" +) + +type DetonationChain struct { + // Stores model information. + backingStore ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore +} +// NewDetonationChain instantiates a new DetonationChain and sets the default values. +func NewDetonationChain()(*DetonationChain) { + m := &DetonationChain{ + } + m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); + m.SetAdditionalData(make(map[string]any)) + return m +} +// CreateDetonationChainFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateDetonationChainFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewDetonationChain(), nil +} +// GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +// returns a map[string]any when successful +func (m *DetonationChain) GetAdditionalData()(map[string]any) { + val , err := m.backingStore.Get("additionalData") + if err != nil { + panic(err) + } + if val == nil { + var value = make(map[string]any); + m.SetAdditionalData(value); + } + return val.(map[string]any) +} +// GetBackingStore gets the BackingStore property value. Stores model information. +// returns a BackingStore when successful +func (m *DetonationChain) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) { + return m.backingStore +} +// GetChildNodes gets the childNodes property value. A list of all child nodes in the chain. +// returns a []DetonationChainable when successful +func (m *DetonationChain) GetChildNodes()([]DetonationChainable) { + val, err := m.GetBackingStore().Get("childNodes") + if err != nil { + panic(err) + } + if val != nil { + return val.([]DetonationChainable) + } + return nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *DetonationChain) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) + res["childNodes"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(CreateDetonationChainFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]DetonationChainable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(DetonationChainable) + } + } + m.SetChildNodes(res) + } + return nil + } + res["@odata.type"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetOdataType(val) + } + return nil + } + res["value"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetValue(val) + } + return nil + } + return res +} +// GetOdataType gets the @odata.type property value. The OdataType property +// returns a *string when successful +func (m *DetonationChain) GetOdataType()(*string) { + val, err := m.GetBackingStore().Get("odataType") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetValue gets the value property value. The value of the chain. +// returns a *string when successful +func (m *DetonationChain) GetValue()(*string) { + val, err := m.GetBackingStore().Get("value") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// Serialize serializes information the current object +func (m *DetonationChain) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + if m.GetChildNodes() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetChildNodes())) + for i, v := range m.GetChildNodes() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err := writer.WriteCollectionOfObjectValues("childNodes", cast) + if err != nil { + return err + } + } + { + err := writer.WriteStringValue("@odata.type", m.GetOdataType()) + if err != nil { + return err + } + } + { + err := writer.WriteStringValue("value", m.GetValue()) + if err != nil { + return err + } + } + { + err := writer.WriteAdditionalData(m.GetAdditionalData()) + if err != nil { + return err + } + } + return nil +} +// SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +func (m *DetonationChain) SetAdditionalData(value map[string]any)() { + err := m.GetBackingStore().Set("additionalData", value) + if err != nil { + panic(err) + } +} +// SetBackingStore sets the BackingStore property value. Stores model information. +func (m *DetonationChain) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { + m.backingStore = value +} +// SetChildNodes sets the childNodes property value. A list of all child nodes in the chain. +func (m *DetonationChain) SetChildNodes(value []DetonationChainable)() { + err := m.GetBackingStore().Set("childNodes", value) + if err != nil { + panic(err) + } +} +// SetOdataType sets the @odata.type property value. The OdataType property +func (m *DetonationChain) SetOdataType(value *string)() { + err := m.GetBackingStore().Set("odataType", value) + if err != nil { + panic(err) + } +} +// SetValue sets the value property value. The value of the chain. +func (m *DetonationChain) SetValue(value *string)() { + err := m.GetBackingStore().Set("value", value) + if err != nil { + panic(err) + } +} +type DetonationChainable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) + GetChildNodes()([]DetonationChainable) + GetOdataType()(*string) + GetValue()(*string) + SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() + SetChildNodes(value []DetonationChainable)() + SetOdataType(value *string)() + SetValue(value *string)() +} diff --git a/models/security/detonation_details.go b/models/security/detonation_details.go new file mode 100644 index 0000000000..f14ad5d84f --- /dev/null +++ b/models/security/detonation_details.go @@ -0,0 +1,610 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package security + +import ( + i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e "time" + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" +) + +type DetonationDetails struct { + // Stores model information. + backingStore ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore +} +// NewDetonationDetails instantiates a new DetonationDetails and sets the default values. +func NewDetonationDetails()(*DetonationDetails) { + m := &DetonationDetails{ + } + m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); + m.SetAdditionalData(make(map[string]any)) + return m +} +// CreateDetonationDetailsFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateDetonationDetailsFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewDetonationDetails(), nil +} +// GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +// returns a map[string]any when successful +func (m *DetonationDetails) GetAdditionalData()(map[string]any) { + val , err := m.backingStore.Get("additionalData") + if err != nil { + panic(err) + } + if val == nil { + var value = make(map[string]any); + m.SetAdditionalData(value); + } + return val.(map[string]any) +} +// GetAnalysisDateTime gets the analysisDateTime property value. The time of detonation. +// returns a *Time when successful +func (m *DetonationDetails) GetAnalysisDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) { + val, err := m.GetBackingStore().Get("analysisDateTime") + if err != nil { + panic(err) + } + if val != nil { + return val.(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) + } + return nil +} +// GetBackingStore gets the BackingStore property value. Stores model information. +// returns a BackingStore when successful +func (m *DetonationDetails) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) { + return m.backingStore +} +// GetCompromiseIndicators gets the compromiseIndicators property value. Represents indicators and its associated verdict that suggests whether an email is compromised. +// returns a []CompromiseIndicatorable when successful +func (m *DetonationDetails) GetCompromiseIndicators()([]CompromiseIndicatorable) { + val, err := m.GetBackingStore().Get("compromiseIndicators") + if err != nil { + panic(err) + } + if val != nil { + return val.([]CompromiseIndicatorable) + } + return nil +} +// GetDetonationBehaviourDetails gets the detonationBehaviourDetails property value. Shows the exact events that took place during detonation, and problematic or benign observations that contain URLs, IPs, domains, and files that were found during detonation. This property is deprecated and still stop returning data in March 2026. Use the detonationBehaviourDetailsV2 property instead. +// returns a DetonationBehaviourDetailsable when successful +func (m *DetonationDetails) GetDetonationBehaviourDetails()(DetonationBehaviourDetailsable) { + val, err := m.GetBackingStore().Get("detonationBehaviourDetails") + if err != nil { + panic(err) + } + if val != nil { + return val.(DetonationBehaviourDetailsable) + } + return nil +} +// GetDetonationBehaviourDetailsV2 gets the detonationBehaviourDetailsV2 property value. Shows the exact events that took place during detonation, and problematic or benign observations that contain URLs, IPs, domains, and files that were found during detonation in a JSON format. +// returns a *string when successful +func (m *DetonationDetails) GetDetonationBehaviourDetailsV2()(*string) { + val, err := m.GetBackingStore().Get("detonationBehaviourDetailsV2") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetDetonationChain gets the detonationChain property value. The chain of detonation. +// returns a DetonationChainable when successful +func (m *DetonationDetails) GetDetonationChain()(DetonationChainable) { + val, err := m.GetBackingStore().Get("detonationChain") + if err != nil { + panic(err) + } + if val != nil { + return val.(DetonationChainable) + } + return nil +} +// GetDetonationObservables gets the detonationObservables property value. All observables in the detonation tree. +// returns a DetonationObservablesable when successful +func (m *DetonationDetails) GetDetonationObservables()(DetonationObservablesable) { + val, err := m.GetBackingStore().Get("detonationObservables") + if err != nil { + panic(err) + } + if val != nil { + return val.(DetonationObservablesable) + } + return nil +} +// GetDetonationScreenshotUri gets the detonationScreenshotUri property value. Show any screenshots that were captured during detonation. No screenshots are captured if the URL opens into a link that directly downloads a file. However, you see the downloaded file in the detonation chain. +// returns a *string when successful +func (m *DetonationDetails) GetDetonationScreenshotUri()(*string) { + val, err := m.GetBackingStore().Get("detonationScreenshotUri") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetDetonationVerdict gets the detonationVerdict property value. The verdict of the detonation. +// returns a *string when successful +func (m *DetonationDetails) GetDetonationVerdict()(*string) { + val, err := m.GetBackingStore().Get("detonationVerdict") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetDetonationVerdictReason gets the detonationVerdictReason property value. The reason for the verdict of the detonation. +// returns a *string when successful +func (m *DetonationDetails) GetDetonationVerdictReason()(*string) { + val, err := m.GetBackingStore().Get("detonationVerdictReason") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetEntityMetadata gets the entityMetadata property value. Additional metadata about the entity in JSON format. +// returns a *string when successful +func (m *DetonationDetails) GetEntityMetadata()(*string) { + val, err := m.GetBackingStore().Get("entityMetadata") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *DetonationDetails) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) + res["analysisDateTime"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetTimeValue() + if err != nil { + return err + } + if val != nil { + m.SetAnalysisDateTime(val) + } + return nil + } + res["compromiseIndicators"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(CreateCompromiseIndicatorFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]CompromiseIndicatorable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(CompromiseIndicatorable) + } + } + m.SetCompromiseIndicators(res) + } + return nil + } + res["detonationBehaviourDetails"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetObjectValue(CreateDetonationBehaviourDetailsFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + m.SetDetonationBehaviourDetails(val.(DetonationBehaviourDetailsable)) + } + return nil + } + res["detonationBehaviourDetailsV2"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetDetonationBehaviourDetailsV2(val) + } + return nil + } + res["detonationChain"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetObjectValue(CreateDetonationChainFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + m.SetDetonationChain(val.(DetonationChainable)) + } + return nil + } + res["detonationObservables"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetObjectValue(CreateDetonationObservablesFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + m.SetDetonationObservables(val.(DetonationObservablesable)) + } + return nil + } + res["detonationScreenshotUri"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetDetonationScreenshotUri(val) + } + return nil + } + res["detonationVerdict"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetDetonationVerdict(val) + } + return nil + } + res["detonationVerdictReason"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetDetonationVerdictReason(val) + } + return nil + } + res["entityMetadata"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetEntityMetadata(val) + } + return nil + } + res["mitreTechniques"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetMitreTechniques(val) + } + return nil + } + res["@odata.type"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetOdataType(val) + } + return nil + } + res["staticAnalysis"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetStaticAnalysis(val) + } + return nil + } + res["submissionSource"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetSubmissionSource(val) + } + return nil + } + return res +} +// GetMitreTechniques gets the mitreTechniques property value. The attack techniques, as aligned with the MITRE ATT&CK framework. +// returns a *string when successful +func (m *DetonationDetails) GetMitreTechniques()(*string) { + val, err := m.GetBackingStore().Get("mitreTechniques") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetOdataType gets the @odata.type property value. The OdataType property +// returns a *string when successful +func (m *DetonationDetails) GetOdataType()(*string) { + val, err := m.GetBackingStore().Get("odataType") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetStaticAnalysis gets the staticAnalysis property value. The results of static analysis performed on the file or URL. +// returns a *string when successful +func (m *DetonationDetails) GetStaticAnalysis()(*string) { + val, err := m.GetBackingStore().Get("staticAnalysis") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetSubmissionSource gets the submissionSource property value. The source of the submission. +// returns a *string when successful +func (m *DetonationDetails) GetSubmissionSource()(*string) { + val, err := m.GetBackingStore().Get("submissionSource") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// Serialize serializes information the current object +func (m *DetonationDetails) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + { + err := writer.WriteTimeValue("analysisDateTime", m.GetAnalysisDateTime()) + if err != nil { + return err + } + } + if m.GetCompromiseIndicators() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetCompromiseIndicators())) + for i, v := range m.GetCompromiseIndicators() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err := writer.WriteCollectionOfObjectValues("compromiseIndicators", cast) + if err != nil { + return err + } + } + { + err := writer.WriteObjectValue("detonationBehaviourDetails", m.GetDetonationBehaviourDetails()) + if err != nil { + return err + } + } + { + err := writer.WriteStringValue("detonationBehaviourDetailsV2", m.GetDetonationBehaviourDetailsV2()) + if err != nil { + return err + } + } + { + err := writer.WriteObjectValue("detonationChain", m.GetDetonationChain()) + if err != nil { + return err + } + } + { + err := writer.WriteObjectValue("detonationObservables", m.GetDetonationObservables()) + if err != nil { + return err + } + } + { + err := writer.WriteStringValue("detonationScreenshotUri", m.GetDetonationScreenshotUri()) + if err != nil { + return err + } + } + { + err := writer.WriteStringValue("detonationVerdict", m.GetDetonationVerdict()) + if err != nil { + return err + } + } + { + err := writer.WriteStringValue("detonationVerdictReason", m.GetDetonationVerdictReason()) + if err != nil { + return err + } + } + { + err := writer.WriteStringValue("entityMetadata", m.GetEntityMetadata()) + if err != nil { + return err + } + } + { + err := writer.WriteStringValue("mitreTechniques", m.GetMitreTechniques()) + if err != nil { + return err + } + } + { + err := writer.WriteStringValue("@odata.type", m.GetOdataType()) + if err != nil { + return err + } + } + { + err := writer.WriteStringValue("staticAnalysis", m.GetStaticAnalysis()) + if err != nil { + return err + } + } + { + err := writer.WriteStringValue("submissionSource", m.GetSubmissionSource()) + if err != nil { + return err + } + } + { + err := writer.WriteAdditionalData(m.GetAdditionalData()) + if err != nil { + return err + } + } + return nil +} +// SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +func (m *DetonationDetails) SetAdditionalData(value map[string]any)() { + err := m.GetBackingStore().Set("additionalData", value) + if err != nil { + panic(err) + } +} +// SetAnalysisDateTime sets the analysisDateTime property value. The time of detonation. +func (m *DetonationDetails) SetAnalysisDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() { + err := m.GetBackingStore().Set("analysisDateTime", value) + if err != nil { + panic(err) + } +} +// SetBackingStore sets the BackingStore property value. Stores model information. +func (m *DetonationDetails) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { + m.backingStore = value +} +// SetCompromiseIndicators sets the compromiseIndicators property value. Represents indicators and its associated verdict that suggests whether an email is compromised. +func (m *DetonationDetails) SetCompromiseIndicators(value []CompromiseIndicatorable)() { + err := m.GetBackingStore().Set("compromiseIndicators", value) + if err != nil { + panic(err) + } +} +// SetDetonationBehaviourDetails sets the detonationBehaviourDetails property value. Shows the exact events that took place during detonation, and problematic or benign observations that contain URLs, IPs, domains, and files that were found during detonation. This property is deprecated and still stop returning data in March 2026. Use the detonationBehaviourDetailsV2 property instead. +func (m *DetonationDetails) SetDetonationBehaviourDetails(value DetonationBehaviourDetailsable)() { + err := m.GetBackingStore().Set("detonationBehaviourDetails", value) + if err != nil { + panic(err) + } +} +// SetDetonationBehaviourDetailsV2 sets the detonationBehaviourDetailsV2 property value. Shows the exact events that took place during detonation, and problematic or benign observations that contain URLs, IPs, domains, and files that were found during detonation in a JSON format. +func (m *DetonationDetails) SetDetonationBehaviourDetailsV2(value *string)() { + err := m.GetBackingStore().Set("detonationBehaviourDetailsV2", value) + if err != nil { + panic(err) + } +} +// SetDetonationChain sets the detonationChain property value. The chain of detonation. +func (m *DetonationDetails) SetDetonationChain(value DetonationChainable)() { + err := m.GetBackingStore().Set("detonationChain", value) + if err != nil { + panic(err) + } +} +// SetDetonationObservables sets the detonationObservables property value. All observables in the detonation tree. +func (m *DetonationDetails) SetDetonationObservables(value DetonationObservablesable)() { + err := m.GetBackingStore().Set("detonationObservables", value) + if err != nil { + panic(err) + } +} +// SetDetonationScreenshotUri sets the detonationScreenshotUri property value. Show any screenshots that were captured during detonation. No screenshots are captured if the URL opens into a link that directly downloads a file. However, you see the downloaded file in the detonation chain. +func (m *DetonationDetails) SetDetonationScreenshotUri(value *string)() { + err := m.GetBackingStore().Set("detonationScreenshotUri", value) + if err != nil { + panic(err) + } +} +// SetDetonationVerdict sets the detonationVerdict property value. The verdict of the detonation. +func (m *DetonationDetails) SetDetonationVerdict(value *string)() { + err := m.GetBackingStore().Set("detonationVerdict", value) + if err != nil { + panic(err) + } +} +// SetDetonationVerdictReason sets the detonationVerdictReason property value. The reason for the verdict of the detonation. +func (m *DetonationDetails) SetDetonationVerdictReason(value *string)() { + err := m.GetBackingStore().Set("detonationVerdictReason", value) + if err != nil { + panic(err) + } +} +// SetEntityMetadata sets the entityMetadata property value. Additional metadata about the entity in JSON format. +func (m *DetonationDetails) SetEntityMetadata(value *string)() { + err := m.GetBackingStore().Set("entityMetadata", value) + if err != nil { + panic(err) + } +} +// SetMitreTechniques sets the mitreTechniques property value. The attack techniques, as aligned with the MITRE ATT&CK framework. +func (m *DetonationDetails) SetMitreTechniques(value *string)() { + err := m.GetBackingStore().Set("mitreTechniques", value) + if err != nil { + panic(err) + } +} +// SetOdataType sets the @odata.type property value. The OdataType property +func (m *DetonationDetails) SetOdataType(value *string)() { + err := m.GetBackingStore().Set("odataType", value) + if err != nil { + panic(err) + } +} +// SetStaticAnalysis sets the staticAnalysis property value. The results of static analysis performed on the file or URL. +func (m *DetonationDetails) SetStaticAnalysis(value *string)() { + err := m.GetBackingStore().Set("staticAnalysis", value) + if err != nil { + panic(err) + } +} +// SetSubmissionSource sets the submissionSource property value. The source of the submission. +func (m *DetonationDetails) SetSubmissionSource(value *string)() { + err := m.GetBackingStore().Set("submissionSource", value) + if err != nil { + panic(err) + } +} +type DetonationDetailsable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetAnalysisDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) + GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) + GetCompromiseIndicators()([]CompromiseIndicatorable) + GetDetonationBehaviourDetails()(DetonationBehaviourDetailsable) + GetDetonationBehaviourDetailsV2()(*string) + GetDetonationChain()(DetonationChainable) + GetDetonationObservables()(DetonationObservablesable) + GetDetonationScreenshotUri()(*string) + GetDetonationVerdict()(*string) + GetDetonationVerdictReason()(*string) + GetEntityMetadata()(*string) + GetMitreTechniques()(*string) + GetOdataType()(*string) + GetStaticAnalysis()(*string) + GetSubmissionSource()(*string) + SetAnalysisDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() + SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() + SetCompromiseIndicators(value []CompromiseIndicatorable)() + SetDetonationBehaviourDetails(value DetonationBehaviourDetailsable)() + SetDetonationBehaviourDetailsV2(value *string)() + SetDetonationChain(value DetonationChainable)() + SetDetonationObservables(value DetonationObservablesable)() + SetDetonationScreenshotUri(value *string)() + SetDetonationVerdict(value *string)() + SetDetonationVerdictReason(value *string)() + SetEntityMetadata(value *string)() + SetMitreTechniques(value *string)() + SetOdataType(value *string)() + SetStaticAnalysis(value *string)() + SetSubmissionSource(value *string)() +} diff --git a/models/security/detonation_observables.go b/models/security/detonation_observables.go new file mode 100644 index 0000000000..c80c45d2ab --- /dev/null +++ b/models/security/detonation_observables.go @@ -0,0 +1,245 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package security + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" +) + +type DetonationObservables struct { + // Stores model information. + backingStore ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore +} +// NewDetonationObservables instantiates a new DetonationObservables and sets the default values. +func NewDetonationObservables()(*DetonationObservables) { + m := &DetonationObservables{ + } + m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); + m.SetAdditionalData(make(map[string]any)) + return m +} +// CreateDetonationObservablesFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateDetonationObservablesFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewDetonationObservables(), nil +} +// GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +// returns a map[string]any when successful +func (m *DetonationObservables) GetAdditionalData()(map[string]any) { + val , err := m.backingStore.Get("additionalData") + if err != nil { + panic(err) + } + if val == nil { + var value = make(map[string]any); + m.SetAdditionalData(value); + } + return val.(map[string]any) +} +// GetBackingStore gets the BackingStore property value. Stores model information. +// returns a BackingStore when successful +func (m *DetonationObservables) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) { + return m.backingStore +} +// GetContactedIps gets the contactedIps property value. The list of all contacted IPs in the detonation. +// returns a []string when successful +func (m *DetonationObservables) GetContactedIps()([]string) { + val, err := m.GetBackingStore().Get("contactedIps") + if err != nil { + panic(err) + } + if val != nil { + return val.([]string) + } + return nil +} +// GetContactedUrls gets the contactedUrls property value. The list of all URLs found in the detonation. +// returns a []string when successful +func (m *DetonationObservables) GetContactedUrls()([]string) { + val, err := m.GetBackingStore().Get("contactedUrls") + if err != nil { + panic(err) + } + if val != nil { + return val.([]string) + } + return nil +} +// GetDroppedfiles gets the droppedfiles property value. The list of all dropped files in the detonation. +// returns a []string when successful +func (m *DetonationObservables) GetDroppedfiles()([]string) { + val, err := m.GetBackingStore().Get("droppedfiles") + if err != nil { + panic(err) + } + if val != nil { + return val.([]string) + } + return nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *DetonationObservables) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) + res["contactedIps"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfPrimitiveValues("string") + if err != nil { + return err + } + if val != nil { + res := make([]string, len(val)) + for i, v := range val { + if v != nil { + res[i] = *(v.(*string)) + } + } + m.SetContactedIps(res) + } + return nil + } + res["contactedUrls"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfPrimitiveValues("string") + if err != nil { + return err + } + if val != nil { + res := make([]string, len(val)) + for i, v := range val { + if v != nil { + res[i] = *(v.(*string)) + } + } + m.SetContactedUrls(res) + } + return nil + } + res["droppedfiles"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfPrimitiveValues("string") + if err != nil { + return err + } + if val != nil { + res := make([]string, len(val)) + for i, v := range val { + if v != nil { + res[i] = *(v.(*string)) + } + } + m.SetDroppedfiles(res) + } + return nil + } + res["@odata.type"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetOdataType(val) + } + return nil + } + return res +} +// GetOdataType gets the @odata.type property value. The OdataType property +// returns a *string when successful +func (m *DetonationObservables) GetOdataType()(*string) { + val, err := m.GetBackingStore().Get("odataType") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// Serialize serializes information the current object +func (m *DetonationObservables) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + if m.GetContactedIps() != nil { + err := writer.WriteCollectionOfStringValues("contactedIps", m.GetContactedIps()) + if err != nil { + return err + } + } + if m.GetContactedUrls() != nil { + err := writer.WriteCollectionOfStringValues("contactedUrls", m.GetContactedUrls()) + if err != nil { + return err + } + } + if m.GetDroppedfiles() != nil { + err := writer.WriteCollectionOfStringValues("droppedfiles", m.GetDroppedfiles()) + if err != nil { + return err + } + } + { + err := writer.WriteStringValue("@odata.type", m.GetOdataType()) + if err != nil { + return err + } + } + { + err := writer.WriteAdditionalData(m.GetAdditionalData()) + if err != nil { + return err + } + } + return nil +} +// SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +func (m *DetonationObservables) SetAdditionalData(value map[string]any)() { + err := m.GetBackingStore().Set("additionalData", value) + if err != nil { + panic(err) + } +} +// SetBackingStore sets the BackingStore property value. Stores model information. +func (m *DetonationObservables) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { + m.backingStore = value +} +// SetContactedIps sets the contactedIps property value. The list of all contacted IPs in the detonation. +func (m *DetonationObservables) SetContactedIps(value []string)() { + err := m.GetBackingStore().Set("contactedIps", value) + if err != nil { + panic(err) + } +} +// SetContactedUrls sets the contactedUrls property value. The list of all URLs found in the detonation. +func (m *DetonationObservables) SetContactedUrls(value []string)() { + err := m.GetBackingStore().Set("contactedUrls", value) + if err != nil { + panic(err) + } +} +// SetDroppedfiles sets the droppedfiles property value. The list of all dropped files in the detonation. +func (m *DetonationObservables) SetDroppedfiles(value []string)() { + err := m.GetBackingStore().Set("droppedfiles", value) + if err != nil { + panic(err) + } +} +// SetOdataType sets the @odata.type property value. The OdataType property +func (m *DetonationObservables) SetOdataType(value *string)() { + err := m.GetBackingStore().Set("odataType", value) + if err != nil { + panic(err) + } +} +type DetonationObservablesable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) + GetContactedIps()([]string) + GetContactedUrls()([]string) + GetDroppedfiles()([]string) + GetOdataType()(*string) + SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() + SetContactedIps(value []string)() + SetContactedUrls(value []string)() + SetDroppedfiles(value []string)() + SetOdataType(value *string)() +} diff --git a/models/security/ediscovery_add_to_review_set_operation.go b/models/security/ediscovery_add_to_review_set_operation.go index d8a5b6cfb9..5976f553d8 100644 --- a/models/security/ediscovery_add_to_review_set_operation.go +++ b/models/security/ediscovery_add_to_review_set_operation.go @@ -22,7 +22,7 @@ func NewEdiscoveryAddToReviewSetOperation()(*EdiscoveryAddToReviewSetOperation) func CreateEdiscoveryAddToReviewSetOperationFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { return NewEdiscoveryAddToReviewSetOperation(), nil } -// GetAdditionalDataOptions gets the additionalDataOptions property value. The options to add items to the review set. The possible values are: allVersions, linkedFiles, unknownFutureValue, advancedIndexing, listAttachments, htmlTranscripts, messageConversationExpansion, locationsWithoutHits, allItemsInFolder. Use the Prefer: include-unknown-enum-members request header to get the following values from this evolvable enum: advancedIndexing, listAttachments, htmlTranscripts, messageConversationExpansion, locationsWithoutHits, allItemsInFolder. +// GetAdditionalDataOptions gets the additionalDataOptions property value. The options to add items to the review set. The possible values are: allVersions, linkedFiles, unknownFutureValue, advancedIndexing, listAttachments, htmlTranscripts, messageConversationExpansion, locationsWithoutHits, allItemsInFolder, cloudNativeHtmlConversion. Use the Prefer: include-unknown-enum-members request header to get the following values from this evolvable enum: advancedIndexing, listAttachments, htmlTranscripts, messageConversationExpansion, locationsWithoutHits, allItemsInFolder, cloudNativeHtmlConversion. // returns a *AdditionalDataOptions when successful func (m *EdiscoveryAddToReviewSetOperation) GetAdditionalDataOptions()(*AdditionalDataOptions) { val, err := m.GetBackingStore().Get("additionalDataOptions") @@ -248,7 +248,7 @@ func (m *EdiscoveryAddToReviewSetOperation) Serialize(writer i878a80d2330e89d268 } return nil } -// SetAdditionalDataOptions sets the additionalDataOptions property value. The options to add items to the review set. The possible values are: allVersions, linkedFiles, unknownFutureValue, advancedIndexing, listAttachments, htmlTranscripts, messageConversationExpansion, locationsWithoutHits, allItemsInFolder. Use the Prefer: include-unknown-enum-members request header to get the following values from this evolvable enum: advancedIndexing, listAttachments, htmlTranscripts, messageConversationExpansion, locationsWithoutHits, allItemsInFolder. +// SetAdditionalDataOptions sets the additionalDataOptions property value. The options to add items to the review set. The possible values are: allVersions, linkedFiles, unknownFutureValue, advancedIndexing, listAttachments, htmlTranscripts, messageConversationExpansion, locationsWithoutHits, allItemsInFolder, cloudNativeHtmlConversion. Use the Prefer: include-unknown-enum-members request header to get the following values from this evolvable enum: advancedIndexing, listAttachments, htmlTranscripts, messageConversationExpansion, locationsWithoutHits, allItemsInFolder, cloudNativeHtmlConversion. func (m *EdiscoveryAddToReviewSetOperation) SetAdditionalDataOptions(value *AdditionalDataOptions)() { err := m.GetBackingStore().Set("additionalDataOptions", value) if err != nil { diff --git a/models/security/event_source.go b/models/security/event_source.go new file mode 100644 index 0000000000..e8889a2ff9 --- /dev/null +++ b/models/security/event_source.go @@ -0,0 +1,42 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package security +type EventSource int + +const ( + SYSTEM_EVENTSOURCE EventSource = iota + ADMIN_EVENTSOURCE + USER_EVENTSOURCE + UNKNOWNFUTUREVALUE_EVENTSOURCE +) + +func (i EventSource) String() string { + return []string{"system", "admin", "user", "unknownFutureValue"}[i] +} +func ParseEventSource(v string) (any, error) { + result := SYSTEM_EVENTSOURCE + switch v { + case "system": + result = SYSTEM_EVENTSOURCE + case "admin": + result = ADMIN_EVENTSOURCE + case "user": + result = USER_EVENTSOURCE + case "unknownFutureValue": + result = UNKNOWNFUTUREVALUE_EVENTSOURCE + default: + return nil, nil + } + return &result, nil +} +func SerializeEventSource(values []EventSource) []string { + result := make([]string, len(values)) + for i, v := range values { + result[i] = v.String() + } + return result +} +func (i EventSource) isMultiValue() bool { + return false +} diff --git a/models/security/merge_response.go b/models/security/merge_response.go new file mode 100644 index 0000000000..831f162a94 --- /dev/null +++ b/models/security/merge_response.go @@ -0,0 +1,153 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package security + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" +) + +type MergeResponse struct { + // Stores model information. + backingStore ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore +} +// NewMergeResponse instantiates a new MergeResponse and sets the default values. +func NewMergeResponse()(*MergeResponse) { + m := &MergeResponse{ + } + m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); + m.SetAdditionalData(make(map[string]any)) + return m +} +// CreateMergeResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateMergeResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewMergeResponse(), nil +} +// GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +// returns a map[string]any when successful +func (m *MergeResponse) GetAdditionalData()(map[string]any) { + val , err := m.backingStore.Get("additionalData") + if err != nil { + panic(err) + } + if val == nil { + var value = make(map[string]any); + m.SetAdditionalData(value); + } + return val.(map[string]any) +} +// GetBackingStore gets the BackingStore property value. Stores model information. +// returns a BackingStore when successful +func (m *MergeResponse) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) { + return m.backingStore +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *MergeResponse) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) + res["@odata.type"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetOdataType(val) + } + return nil + } + res["targetIncidentId"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetTargetIncidentId(val) + } + return nil + } + return res +} +// GetOdataType gets the @odata.type property value. The OdataType property +// returns a *string when successful +func (m *MergeResponse) GetOdataType()(*string) { + val, err := m.GetBackingStore().Get("odataType") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetTargetIncidentId gets the targetIncidentId property value. The ID of the target incident after the operation completes. +// returns a *string when successful +func (m *MergeResponse) GetTargetIncidentId()(*string) { + val, err := m.GetBackingStore().Get("targetIncidentId") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// Serialize serializes information the current object +func (m *MergeResponse) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + { + err := writer.WriteStringValue("@odata.type", m.GetOdataType()) + if err != nil { + return err + } + } + { + err := writer.WriteStringValue("targetIncidentId", m.GetTargetIncidentId()) + if err != nil { + return err + } + } + { + err := writer.WriteAdditionalData(m.GetAdditionalData()) + if err != nil { + return err + } + } + return nil +} +// SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +func (m *MergeResponse) SetAdditionalData(value map[string]any)() { + err := m.GetBackingStore().Set("additionalData", value) + if err != nil { + panic(err) + } +} +// SetBackingStore sets the BackingStore property value. Stores model information. +func (m *MergeResponse) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { + m.backingStore = value +} +// SetOdataType sets the @odata.type property value. The OdataType property +func (m *MergeResponse) SetOdataType(value *string)() { + err := m.GetBackingStore().Set("odataType", value) + if err != nil { + panic(err) + } +} +// SetTargetIncidentId sets the targetIncidentId property value. The ID of the target incident after the operation completes. +func (m *MergeResponse) SetTargetIncidentId(value *string)() { + err := m.GetBackingStore().Set("targetIncidentId", value) + if err != nil { + panic(err) + } +} +type MergeResponseable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) + GetOdataType()(*string) + GetTargetIncidentId()(*string) + SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() + SetOdataType(value *string)() + SetTargetIncidentId(value *string)() +} diff --git a/models/security/remediation_action.go b/models/security/remediation_action.go new file mode 100644 index 0000000000..6256730935 --- /dev/null +++ b/models/security/remediation_action.go @@ -0,0 +1,51 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package security +type RemediationAction int + +const ( + MOVETOJUNK_REMEDIATIONACTION RemediationAction = iota + MOVETOINBOX_REMEDIATIONACTION + HARDDELETE_REMEDIATIONACTION + SOFTDELETE_REMEDIATIONACTION + MOVETODELETEDITEMS_REMEDIATIONACTION + UNKNOWNFUTUREVALUE_REMEDIATIONACTION + MOVETOQUARANTINE_REMEDIATIONACTION +) + +func (i RemediationAction) String() string { + return []string{"moveToJunk", "moveToInbox", "hardDelete", "softDelete", "moveToDeletedItems", "unknownFutureValue", "moveToQuarantine"}[i] +} +func ParseRemediationAction(v string) (any, error) { + result := MOVETOJUNK_REMEDIATIONACTION + switch v { + case "moveToJunk": + result = MOVETOJUNK_REMEDIATIONACTION + case "moveToInbox": + result = MOVETOINBOX_REMEDIATIONACTION + case "hardDelete": + result = HARDDELETE_REMEDIATIONACTION + case "softDelete": + result = SOFTDELETE_REMEDIATIONACTION + case "moveToDeletedItems": + result = MOVETODELETEDITEMS_REMEDIATIONACTION + case "unknownFutureValue": + result = UNKNOWNFUTUREVALUE_REMEDIATIONACTION + case "moveToQuarantine": + result = MOVETOQUARANTINE_REMEDIATIONACTION + default: + return nil, nil + } + return &result, nil +} +func SerializeRemediationAction(values []RemediationAction) []string { + result := make([]string, len(values)) + for i, v := range values { + result[i] = v.String() + } + return result +} +func (i RemediationAction) isMultiValue() bool { + return false +} diff --git a/models/security/remediation_severity.go b/models/security/remediation_severity.go new file mode 100644 index 0000000000..d3de714356 --- /dev/null +++ b/models/security/remediation_severity.go @@ -0,0 +1,42 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package security +type RemediationSeverity int + +const ( + LOW_REMEDIATIONSEVERITY RemediationSeverity = iota + MEDIUM_REMEDIATIONSEVERITY + HIGH_REMEDIATIONSEVERITY + UNKNOWNFUTUREVALUE_REMEDIATIONSEVERITY +) + +func (i RemediationSeverity) String() string { + return []string{"low", "medium", "high", "unknownFutureValue"}[i] +} +func ParseRemediationSeverity(v string) (any, error) { + result := LOW_REMEDIATIONSEVERITY + switch v { + case "low": + result = LOW_REMEDIATIONSEVERITY + case "medium": + result = MEDIUM_REMEDIATIONSEVERITY + case "high": + result = HIGH_REMEDIATIONSEVERITY + case "unknownFutureValue": + result = UNKNOWNFUTUREVALUE_REMEDIATIONSEVERITY + default: + return nil, nil + } + return &result, nil +} +func SerializeRemediationSeverity(values []RemediationSeverity) []string { + result := make([]string, len(values)) + for i, v := range values { + result[i] = v.String() + } + return result +} +func (i RemediationSeverity) isMultiValue() bool { + return false +} diff --git a/models/security/service_source.go b/models/security/service_source.go index 362b0ecddf..f584c64af4 100644 --- a/models/security/service_source.go +++ b/models/security/service_source.go @@ -19,10 +19,11 @@ const ( MICROSOFTSENTINEL_SERVICESOURCE MICROSOFTINSIDERRISKMANAGEMENT_SERVICESOURCE MICROSOFTTHREATINTELLIGENCE_SERVICESOURCE + MICROSOFTSECURITYFORAI_SERVICESOURCE ) func (i ServiceSource) String() string { - return []string{"unknown", "microsoftDefenderForEndpoint", "microsoftDefenderForIdentity", "microsoftDefenderForCloudApps", "microsoftDefenderForOffice365", "microsoft365Defender", "azureAdIdentityProtection", "microsoftAppGovernance", "dataLossPrevention", "unknownFutureValue", "microsoftDefenderForCloud", "microsoftSentinel", "microsoftInsiderRiskManagement", "microsoftThreatIntelligence"}[i] + return []string{"unknown", "microsoftDefenderForEndpoint", "microsoftDefenderForIdentity", "microsoftDefenderForCloudApps", "microsoftDefenderForOffice365", "microsoft365Defender", "azureAdIdentityProtection", "microsoftAppGovernance", "dataLossPrevention", "unknownFutureValue", "microsoftDefenderForCloud", "microsoftSentinel", "microsoftInsiderRiskManagement", "microsoftThreatIntelligence", "microsoftSecurityForAI"}[i] } func ParseServiceSource(v string) (any, error) { result := UNKNOWN_SERVICESOURCE @@ -55,6 +56,8 @@ func ParseServiceSource(v string) (any, error) { result = MICROSOFTINSIDERRISKMANAGEMENT_SERVICESOURCE case "microsoftThreatIntelligence": result = MICROSOFTTHREATINTELLIGENCE_SERVICESOURCE + case "microsoftSecurityForAI": + result = MICROSOFTSECURITYFORAI_SERVICESOURCE default: return nil, nil } diff --git a/models/security/threat_detection_detail.go b/models/security/threat_detection_detail.go new file mode 100644 index 0000000000..7f85baf817 --- /dev/null +++ b/models/security/threat_detection_detail.go @@ -0,0 +1,227 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package security + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" +) + +type ThreatDetectionDetail struct { + // Stores model information. + backingStore ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore +} +// NewThreatDetectionDetail instantiates a new ThreatDetectionDetail and sets the default values. +func NewThreatDetectionDetail()(*ThreatDetectionDetail) { + m := &ThreatDetectionDetail{ + } + m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); + m.SetAdditionalData(make(map[string]any)) + return m +} +// CreateThreatDetectionDetailFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateThreatDetectionDetailFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewThreatDetectionDetail(), nil +} +// GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +// returns a map[string]any when successful +func (m *ThreatDetectionDetail) GetAdditionalData()(map[string]any) { + val , err := m.backingStore.Get("additionalData") + if err != nil { + panic(err) + } + if val == nil { + var value = make(map[string]any); + m.SetAdditionalData(value); + } + return val.(map[string]any) +} +// GetBackingStore gets the BackingStore property value. Stores model information. +// returns a BackingStore when successful +func (m *ThreatDetectionDetail) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) { + return m.backingStore +} +// GetConfidenceLevel gets the confidenceLevel property value. Indicates the confidence level in the threat detection. +// returns a *string when successful +func (m *ThreatDetectionDetail) GetConfidenceLevel()(*string) { + val, err := m.GetBackingStore().Get("confidenceLevel") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *ThreatDetectionDetail) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) + res["confidenceLevel"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetConfidenceLevel(val) + } + return nil + } + res["@odata.type"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetOdataType(val) + } + return nil + } + res["priorityAccountProtection"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetPriorityAccountProtection(val) + } + return nil + } + res["threats"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetThreats(val) + } + return nil + } + return res +} +// GetOdataType gets the @odata.type property value. The OdataType property +// returns a *string when successful +func (m *ThreatDetectionDetail) GetOdataType()(*string) { + val, err := m.GetBackingStore().Get("odataType") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetPriorityAccountProtection gets the priorityAccountProtection property value. Indicates if the account has priority protection enabled. +// returns a *string when successful +func (m *ThreatDetectionDetail) GetPriorityAccountProtection()(*string) { + val, err := m.GetBackingStore().Get("priorityAccountProtection") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetThreats gets the threats property value. Lists the detected threats. +// returns a *string when successful +func (m *ThreatDetectionDetail) GetThreats()(*string) { + val, err := m.GetBackingStore().Get("threats") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// Serialize serializes information the current object +func (m *ThreatDetectionDetail) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + { + err := writer.WriteStringValue("confidenceLevel", m.GetConfidenceLevel()) + if err != nil { + return err + } + } + { + err := writer.WriteStringValue("@odata.type", m.GetOdataType()) + if err != nil { + return err + } + } + { + err := writer.WriteStringValue("priorityAccountProtection", m.GetPriorityAccountProtection()) + if err != nil { + return err + } + } + { + err := writer.WriteStringValue("threats", m.GetThreats()) + if err != nil { + return err + } + } + { + err := writer.WriteAdditionalData(m.GetAdditionalData()) + if err != nil { + return err + } + } + return nil +} +// SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +func (m *ThreatDetectionDetail) SetAdditionalData(value map[string]any)() { + err := m.GetBackingStore().Set("additionalData", value) + if err != nil { + panic(err) + } +} +// SetBackingStore sets the BackingStore property value. Stores model information. +func (m *ThreatDetectionDetail) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { + m.backingStore = value +} +// SetConfidenceLevel sets the confidenceLevel property value. Indicates the confidence level in the threat detection. +func (m *ThreatDetectionDetail) SetConfidenceLevel(value *string)() { + err := m.GetBackingStore().Set("confidenceLevel", value) + if err != nil { + panic(err) + } +} +// SetOdataType sets the @odata.type property value. The OdataType property +func (m *ThreatDetectionDetail) SetOdataType(value *string)() { + err := m.GetBackingStore().Set("odataType", value) + if err != nil { + panic(err) + } +} +// SetPriorityAccountProtection sets the priorityAccountProtection property value. Indicates if the account has priority protection enabled. +func (m *ThreatDetectionDetail) SetPriorityAccountProtection(value *string)() { + err := m.GetBackingStore().Set("priorityAccountProtection", value) + if err != nil { + panic(err) + } +} +// SetThreats sets the threats property value. Lists the detected threats. +func (m *ThreatDetectionDetail) SetThreats(value *string)() { + err := m.GetBackingStore().Set("threats", value) + if err != nil { + panic(err) + } +} +type ThreatDetectionDetailable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) + GetConfidenceLevel()(*string) + GetOdataType()(*string) + GetPriorityAccountProtection()(*string) + GetThreats()(*string) + SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() + SetConfidenceLevel(value *string)() + SetOdataType(value *string)() + SetPriorityAccountProtection(value *string)() + SetThreats(value *string)() +} diff --git a/models/security/threat_type.go b/models/security/threat_type.go new file mode 100644 index 0000000000..0d87e3d8a8 --- /dev/null +++ b/models/security/threat_type.go @@ -0,0 +1,48 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package security +type ThreatType int + +const ( + UNKNOWN_THREATTYPE ThreatType = iota + SPAM_THREATTYPE + MALWARE_THREATTYPE + PHISH_THREATTYPE + NONE_THREATTYPE + UNKNOWNFUTUREVALUE_THREATTYPE +) + +func (i ThreatType) String() string { + return []string{"unknown", "spam", "malware", "phish", "none", "unknownFutureValue"}[i] +} +func ParseThreatType(v string) (any, error) { + result := UNKNOWN_THREATTYPE + switch v { + case "unknown": + result = UNKNOWN_THREATTYPE + case "spam": + result = SPAM_THREATTYPE + case "malware": + result = MALWARE_THREATTYPE + case "phish": + result = PHISH_THREATTYPE + case "none": + result = NONE_THREATTYPE + case "unknownFutureValue": + result = UNKNOWNFUTUREVALUE_THREATTYPE + default: + return nil, nil + } + return &result, nil +} +func SerializeThreatType(values []ThreatType) []string { + result := make([]string, len(values)) + for i, v := range values { + result[i] = v.String() + } + return result +} +func (i ThreatType) isMultiValue() bool { + return false +} diff --git a/models/security/timeline_event.go b/models/security/timeline_event.go new file mode 100644 index 0000000000..aea07b0ddc --- /dev/null +++ b/models/security/timeline_event.go @@ -0,0 +1,347 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package security + +import ( + i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e "time" + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" +) + +type TimelineEvent struct { + // Stores model information. + backingStore ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore +} +// NewTimelineEvent instantiates a new TimelineEvent and sets the default values. +func NewTimelineEvent()(*TimelineEvent) { + m := &TimelineEvent{ + } + m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); + m.SetAdditionalData(make(map[string]any)) + return m +} +// CreateTimelineEventFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateTimelineEventFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewTimelineEvent(), nil +} +// GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +// returns a map[string]any when successful +func (m *TimelineEvent) GetAdditionalData()(map[string]any) { + val , err := m.backingStore.Get("additionalData") + if err != nil { + panic(err) + } + if val == nil { + var value = make(map[string]any); + m.SetAdditionalData(value); + } + return val.(map[string]any) +} +// GetBackingStore gets the BackingStore property value. Stores model information. +// returns a BackingStore when successful +func (m *TimelineEvent) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) { + return m.backingStore +} +// GetEventDateTime gets the eventDateTime property value. The date and time when the event occurred. +// returns a *Time when successful +func (m *TimelineEvent) GetEventDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) { + val, err := m.GetBackingStore().Get("eventDateTime") + if err != nil { + panic(err) + } + if val != nil { + return val.(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) + } + return nil +} +// GetEventDetails gets the eventDetails property value. Additional details or context about the event. +// returns a *string when successful +func (m *TimelineEvent) GetEventDetails()(*string) { + val, err := m.GetBackingStore().Get("eventDetails") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetEventResult gets the eventResult property value. The outcome or result of the event, such as delivery location or action taken. +// returns a *string when successful +func (m *TimelineEvent) GetEventResult()(*string) { + val, err := m.GetBackingStore().Get("eventResult") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetEventSource gets the eventSource property value. The origin or actor that triggered the event. The possible values are: system, admin, user, unknownFutureValue. +// returns a *EventSource when successful +func (m *TimelineEvent) GetEventSource()(*EventSource) { + val, err := m.GetBackingStore().Get("eventSource") + if err != nil { + panic(err) + } + if val != nil { + return val.(*EventSource) + } + return nil +} +// GetEventThreats gets the eventThreats property value. Collection of threats identified or associated with this event. +// returns a []string when successful +func (m *TimelineEvent) GetEventThreats()([]string) { + val, err := m.GetBackingStore().Get("eventThreats") + if err != nil { + panic(err) + } + if val != nil { + return val.([]string) + } + return nil +} +// GetEventType gets the eventType property value. The type of event that occurred. The possible values are: originalDelivery, systemTimeTravel, dynamicDelivery, userUrlClick, reprocessed, zap, quarantineRelease, air, unknown, unknownFutureValue. +// returns a *TimelineEventType when successful +func (m *TimelineEvent) GetEventType()(*TimelineEventType) { + val, err := m.GetBackingStore().Get("eventType") + if err != nil { + panic(err) + } + if val != nil { + return val.(*TimelineEventType) + } + return nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *TimelineEvent) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) + res["eventDateTime"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetTimeValue() + if err != nil { + return err + } + if val != nil { + m.SetEventDateTime(val) + } + return nil + } + res["eventDetails"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetEventDetails(val) + } + return nil + } + res["eventResult"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetEventResult(val) + } + return nil + } + res["eventSource"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetEnumValue(ParseEventSource) + if err != nil { + return err + } + if val != nil { + m.SetEventSource(val.(*EventSource)) + } + return nil + } + res["eventThreats"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfPrimitiveValues("string") + if err != nil { + return err + } + if val != nil { + res := make([]string, len(val)) + for i, v := range val { + if v != nil { + res[i] = *(v.(*string)) + } + } + m.SetEventThreats(res) + } + return nil + } + res["eventType"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetEnumValue(ParseTimelineEventType) + if err != nil { + return err + } + if val != nil { + m.SetEventType(val.(*TimelineEventType)) + } + return nil + } + res["@odata.type"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetOdataType(val) + } + return nil + } + return res +} +// GetOdataType gets the @odata.type property value. The OdataType property +// returns a *string when successful +func (m *TimelineEvent) GetOdataType()(*string) { + val, err := m.GetBackingStore().Get("odataType") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// Serialize serializes information the current object +func (m *TimelineEvent) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + { + err := writer.WriteTimeValue("eventDateTime", m.GetEventDateTime()) + if err != nil { + return err + } + } + { + err := writer.WriteStringValue("eventDetails", m.GetEventDetails()) + if err != nil { + return err + } + } + { + err := writer.WriteStringValue("eventResult", m.GetEventResult()) + if err != nil { + return err + } + } + if m.GetEventSource() != nil { + cast := (*m.GetEventSource()).String() + err := writer.WriteStringValue("eventSource", &cast) + if err != nil { + return err + } + } + if m.GetEventThreats() != nil { + err := writer.WriteCollectionOfStringValues("eventThreats", m.GetEventThreats()) + if err != nil { + return err + } + } + if m.GetEventType() != nil { + cast := (*m.GetEventType()).String() + err := writer.WriteStringValue("eventType", &cast) + if err != nil { + return err + } + } + { + err := writer.WriteStringValue("@odata.type", m.GetOdataType()) + if err != nil { + return err + } + } + { + err := writer.WriteAdditionalData(m.GetAdditionalData()) + if err != nil { + return err + } + } + return nil +} +// SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +func (m *TimelineEvent) SetAdditionalData(value map[string]any)() { + err := m.GetBackingStore().Set("additionalData", value) + if err != nil { + panic(err) + } +} +// SetBackingStore sets the BackingStore property value. Stores model information. +func (m *TimelineEvent) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { + m.backingStore = value +} +// SetEventDateTime sets the eventDateTime property value. The date and time when the event occurred. +func (m *TimelineEvent) SetEventDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() { + err := m.GetBackingStore().Set("eventDateTime", value) + if err != nil { + panic(err) + } +} +// SetEventDetails sets the eventDetails property value. Additional details or context about the event. +func (m *TimelineEvent) SetEventDetails(value *string)() { + err := m.GetBackingStore().Set("eventDetails", value) + if err != nil { + panic(err) + } +} +// SetEventResult sets the eventResult property value. The outcome or result of the event, such as delivery location or action taken. +func (m *TimelineEvent) SetEventResult(value *string)() { + err := m.GetBackingStore().Set("eventResult", value) + if err != nil { + panic(err) + } +} +// SetEventSource sets the eventSource property value. The origin or actor that triggered the event. The possible values are: system, admin, user, unknownFutureValue. +func (m *TimelineEvent) SetEventSource(value *EventSource)() { + err := m.GetBackingStore().Set("eventSource", value) + if err != nil { + panic(err) + } +} +// SetEventThreats sets the eventThreats property value. Collection of threats identified or associated with this event. +func (m *TimelineEvent) SetEventThreats(value []string)() { + err := m.GetBackingStore().Set("eventThreats", value) + if err != nil { + panic(err) + } +} +// SetEventType sets the eventType property value. The type of event that occurred. The possible values are: originalDelivery, systemTimeTravel, dynamicDelivery, userUrlClick, reprocessed, zap, quarantineRelease, air, unknown, unknownFutureValue. +func (m *TimelineEvent) SetEventType(value *TimelineEventType)() { + err := m.GetBackingStore().Set("eventType", value) + if err != nil { + panic(err) + } +} +// SetOdataType sets the @odata.type property value. The OdataType property +func (m *TimelineEvent) SetOdataType(value *string)() { + err := m.GetBackingStore().Set("odataType", value) + if err != nil { + panic(err) + } +} +type TimelineEventable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) + GetEventDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) + GetEventDetails()(*string) + GetEventResult()(*string) + GetEventSource()(*EventSource) + GetEventThreats()([]string) + GetEventType()(*TimelineEventType) + GetOdataType()(*string) + SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() + SetEventDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() + SetEventDetails(value *string)() + SetEventResult(value *string)() + SetEventSource(value *EventSource)() + SetEventThreats(value []string)() + SetEventType(value *TimelineEventType)() + SetOdataType(value *string)() +} diff --git a/models/security/timeline_event_type.go b/models/security/timeline_event_type.go new file mode 100644 index 0000000000..0e8f070f97 --- /dev/null +++ b/models/security/timeline_event_type.go @@ -0,0 +1,60 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package security +type TimelineEventType int + +const ( + ORIGINALDELIVERY_TIMELINEEVENTTYPE TimelineEventType = iota + SYSTEMTIMETRAVEL_TIMELINEEVENTTYPE + DYNAMICDELIVERY_TIMELINEEVENTTYPE + USERURLCLICK_TIMELINEEVENTTYPE + REPROCESSED_TIMELINEEVENTTYPE + ZAP_TIMELINEEVENTTYPE + QUARANTINERELEASE_TIMELINEEVENTTYPE + AIR_TIMELINEEVENTTYPE + UNKNOWN_TIMELINEEVENTTYPE + UNKNOWNFUTUREVALUE_TIMELINEEVENTTYPE +) + +func (i TimelineEventType) String() string { + return []string{"originalDelivery", "systemTimeTravel", "dynamicDelivery", "userUrlClick", "reprocessed", "zap", "quarantineRelease", "air", "unknown", "unknownFutureValue"}[i] +} +func ParseTimelineEventType(v string) (any, error) { + result := ORIGINALDELIVERY_TIMELINEEVENTTYPE + switch v { + case "originalDelivery": + result = ORIGINALDELIVERY_TIMELINEEVENTTYPE + case "systemTimeTravel": + result = SYSTEMTIMETRAVEL_TIMELINEEVENTTYPE + case "dynamicDelivery": + result = DYNAMICDELIVERY_TIMELINEEVENTTYPE + case "userUrlClick": + result = USERURLCLICK_TIMELINEEVENTTYPE + case "reprocessed": + result = REPROCESSED_TIMELINEEVENTTYPE + case "zap": + result = ZAP_TIMELINEEVENTTYPE + case "quarantineRelease": + result = QUARANTINERELEASE_TIMELINEEVENTTYPE + case "air": + result = AIR_TIMELINEEVENTTYPE + case "unknown": + result = UNKNOWN_TIMELINEEVENTTYPE + case "unknownFutureValue": + result = UNKNOWNFUTUREVALUE_TIMELINEEVENTTYPE + default: + return nil, nil + } + return &result, nil +} +func SerializeTimelineEventType(values []TimelineEventType) []string { + result := make([]string, len(values)) + for i, v := range values { + result[i] = v.String() + } + return result +} +func (i TimelineEventType) isMultiValue() bool { + return false +} diff --git a/models/security/user_account.go b/models/security/user_account.go index 351654aa9c..eca1665117 100644 --- a/models/security/user_account.go +++ b/models/security/user_account.go @@ -184,6 +184,16 @@ func (m *UserAccount) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26 } return nil } + res["tenantId"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetTenantId(val) + } + return nil + } res["userPrincipalName"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { val, err := n.GetStringValue() if err != nil { @@ -230,6 +240,18 @@ func (m *UserAccount) GetResourceAccessEvents()([]ResourceAccessEventable) { } return nil } +// GetTenantId gets the tenantId property value. The Microsoft Entra tenant ID of the user account. +// returns a *string when successful +func (m *UserAccount) GetTenantId()(*string) { + val, err := m.GetBackingStore().Get("tenantId") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} // GetUserPrincipalName gets the userPrincipalName property value. The user principal name of the account in Microsoft Entra ID. // returns a *string when successful func (m *UserAccount) GetUserPrincipalName()(*string) { @@ -304,6 +326,12 @@ func (m *UserAccount) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6 return err } } + { + err := writer.WriteStringValue("tenantId", m.GetTenantId()) + if err != nil { + return err + } + } { err := writer.WriteStringValue("userPrincipalName", m.GetUserPrincipalName()) if err != nil { @@ -384,6 +412,13 @@ func (m *UserAccount) SetResourceAccessEvents(value []ResourceAccessEventable)() panic(err) } } +// SetTenantId sets the tenantId property value. The Microsoft Entra tenant ID of the user account. +func (m *UserAccount) SetTenantId(value *string)() { + err := m.GetBackingStore().Set("tenantId", value) + if err != nil { + panic(err) + } +} // SetUserPrincipalName sets the userPrincipalName property value. The user principal name of the account in Microsoft Entra ID. func (m *UserAccount) SetUserPrincipalName(value *string)() { err := m.GetBackingStore().Set("userPrincipalName", value) @@ -410,6 +445,7 @@ type UserAccountable interface { GetDomainName()(*string) GetOdataType()(*string) GetResourceAccessEvents()([]ResourceAccessEventable) + GetTenantId()(*string) GetUserPrincipalName()(*string) GetUserSid()(*string) SetAccountName(value *string)() @@ -420,6 +456,7 @@ type UserAccountable interface { SetDomainName(value *string)() SetOdataType(value *string)() SetResourceAccessEvents(value []ResourceAccessEventable)() + SetTenantId(value *string)() SetUserPrincipalName(value *string)() SetUserSid(value *string)() } diff --git a/models/security/verdict_category.go b/models/security/verdict_category.go new file mode 100644 index 0000000000..f6c7be0b4f --- /dev/null +++ b/models/security/verdict_category.go @@ -0,0 +1,60 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package security +type VerdictCategory int + +const ( + NONE_VERDICTCATEGORY VerdictCategory = iota + MALWARE_VERDICTCATEGORY + PHISH_VERDICTCATEGORY + SITEUNAVAILABLE_VERDICTCATEGORY + SPAM_VERDICTCATEGORY + DECRYPTIONFAILED_VERDICTCATEGORY + UNSUPPORTEDURISCHEME_VERDICTCATEGORY + UNSUPPORTEDFILETYPE_VERDICTCATEGORY + UNDEFINED_VERDICTCATEGORY + UNKNOWNFUTUREVALUE_VERDICTCATEGORY +) + +func (i VerdictCategory) String() string { + return []string{"none", "malware", "phish", "siteUnavailable", "spam", "decryptionFailed", "unsupportedUriScheme", "unsupportedFileType", "undefined", "unknownFutureValue"}[i] +} +func ParseVerdictCategory(v string) (any, error) { + result := NONE_VERDICTCATEGORY + switch v { + case "none": + result = NONE_VERDICTCATEGORY + case "malware": + result = MALWARE_VERDICTCATEGORY + case "phish": + result = PHISH_VERDICTCATEGORY + case "siteUnavailable": + result = SITEUNAVAILABLE_VERDICTCATEGORY + case "spam": + result = SPAM_VERDICTCATEGORY + case "decryptionFailed": + result = DECRYPTIONFAILED_VERDICTCATEGORY + case "unsupportedUriScheme": + result = UNSUPPORTEDURISCHEME_VERDICTCATEGORY + case "unsupportedFileType": + result = UNSUPPORTEDFILETYPE_VERDICTCATEGORY + case "undefined": + result = UNDEFINED_VERDICTCATEGORY + case "unknownFutureValue": + result = UNKNOWNFUTUREVALUE_VERDICTCATEGORY + default: + return nil, nil + } + return &result, nil +} +func SerializeVerdictCategory(values []VerdictCategory) []string { + result := make([]string, len(values)) + for i, v := range values { + result[i] = v.String() + } + return result +} +func (i VerdictCategory) isMultiValue() bool { + return false +} diff --git a/models/service_announcement.go b/models/service_announcement.go index ec43f958c3..f7f6d663e2 100644 --- a/models/service_announcement.go +++ b/models/service_announcement.go @@ -76,7 +76,7 @@ func (m *ServiceAnnouncement) GetFieldDeserializers()(map[string]func(i878a80d23 } return res } -// GetHealthOverviews gets the healthOverviews property value. A collection of service health information for tenant. This property is a contained navigation property, it is nullable and readonly. +// GetHealthOverviews gets the healthOverviews property value. A collection of service health information for tenant. This property is a contained navigation property, it is nullable and read-only. // returns a []ServiceHealthable when successful func (m *ServiceAnnouncement) GetHealthOverviews()([]ServiceHealthable) { val, err := m.GetBackingStore().Get("healthOverviews") @@ -88,7 +88,7 @@ func (m *ServiceAnnouncement) GetHealthOverviews()([]ServiceHealthable) { } return nil } -// GetIssues gets the issues property value. A collection of service issues for tenant. This property is a contained navigation property, it is nullable and readonly. +// GetIssues gets the issues property value. A collection of service issues for tenant. This property is a contained navigation property, it is nullable and read-only. // returns a []ServiceHealthIssueable when successful func (m *ServiceAnnouncement) GetIssues()([]ServiceHealthIssueable) { val, err := m.GetBackingStore().Get("issues") @@ -100,7 +100,7 @@ func (m *ServiceAnnouncement) GetIssues()([]ServiceHealthIssueable) { } return nil } -// GetMessages gets the messages property value. A collection of service messages for tenant. This property is a contained navigation property, it is nullable and readonly. +// GetMessages gets the messages property value. A collection of service messages for tenant. This property is a contained navigation property, it is nullable and read-only. // returns a []ServiceUpdateMessageable when successful func (m *ServiceAnnouncement) GetMessages()([]ServiceUpdateMessageable) { val, err := m.GetBackingStore().Get("messages") @@ -156,21 +156,21 @@ func (m *ServiceAnnouncement) Serialize(writer i878a80d2330e89d26896388a3f487eef } return nil } -// SetHealthOverviews sets the healthOverviews property value. A collection of service health information for tenant. This property is a contained navigation property, it is nullable and readonly. +// SetHealthOverviews sets the healthOverviews property value. A collection of service health information for tenant. This property is a contained navigation property, it is nullable and read-only. func (m *ServiceAnnouncement) SetHealthOverviews(value []ServiceHealthable)() { err := m.GetBackingStore().Set("healthOverviews", value) if err != nil { panic(err) } } -// SetIssues sets the issues property value. A collection of service issues for tenant. This property is a contained navigation property, it is nullable and readonly. +// SetIssues sets the issues property value. A collection of service issues for tenant. This property is a contained navigation property, it is nullable and read-only. func (m *ServiceAnnouncement) SetIssues(value []ServiceHealthIssueable)() { err := m.GetBackingStore().Set("issues", value) if err != nil { panic(err) } } -// SetMessages sets the messages property value. A collection of service messages for tenant. This property is a contained navigation property, it is nullable and readonly. +// SetMessages sets the messages property value. A collection of service messages for tenant. This property is a contained navigation property, it is nullable and read-only. func (m *ServiceAnnouncement) SetMessages(value []ServiceUpdateMessageable)() { err := m.GetBackingStore().Set("messages", value) if err != nil { diff --git a/models/shared_insight.go b/models/shared_insight.go index 7d411ee7b3..0e5a9b16e7 100644 --- a/models/shared_insight.go +++ b/models/shared_insight.go @@ -94,7 +94,7 @@ func (m *SharedInsight) GetFieldDeserializers()(map[string]func(i878a80d2330e89d } return res } -// GetLastShared gets the lastShared property value. Details about the shared item. Read only. +// GetLastShared gets the lastShared property value. Details about the shared item. Read-only. // returns a SharingDetailable when successful func (m *SharedInsight) GetLastShared()(SharingDetailable) { val, err := m.GetBackingStore().Get("lastShared") @@ -204,7 +204,7 @@ func (m *SharedInsight) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0 } return nil } -// SetLastShared sets the lastShared property value. Details about the shared item. Read only. +// SetLastShared sets the lastShared property value. Details about the shared item. Read-only. func (m *SharedInsight) SetLastShared(value SharingDetailable)() { err := m.GetBackingStore().Set("lastShared", value) if err != nil { diff --git a/models/ssl_version.go b/models/ssl_version.go new file mode 100644 index 0000000000..57ee84bb22 --- /dev/null +++ b/models/ssl_version.go @@ -0,0 +1,54 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package models +type SslVersion int + +const ( + NONE_SSLVERSION SslVersion = iota + SSL3_0_SSLVERSION + TLS1_0_SSLVERSION + TLS1_1_SSLVERSION + TLS1_2_SSLVERSION + TLS1_3_SSLVERSION + NOTSUPPORTED_SSLVERSION + UNKNOWNFUTUREVALUE_SSLVERSION +) + +func (i SslVersion) String() string { + return []string{"none", "ssl3_0", "tls1_0", "tls1_1", "tls1_2", "tls1_3", "notSupported", "unknownFutureValue"}[i] +} +func ParseSslVersion(v string) (any, error) { + result := NONE_SSLVERSION + switch v { + case "none": + result = NONE_SSLVERSION + case "ssl3_0": + result = SSL3_0_SSLVERSION + case "tls1_0": + result = TLS1_0_SSLVERSION + case "tls1_1": + result = TLS1_1_SSLVERSION + case "tls1_2": + result = TLS1_2_SSLVERSION + case "tls1_3": + result = TLS1_3_SSLVERSION + case "notSupported": + result = NOTSUPPORTED_SSLVERSION + case "unknownFutureValue": + result = UNKNOWNFUTUREVALUE_SSLVERSION + default: + return nil, nil + } + return &result, nil +} +func SerializeSslVersion(values []SslVersion) []string { + result := make([]string, len(values)) + for i, v := range values { + result[i] = v.String() + } + return result +} +func (i SslVersion) isMultiValue() bool { + return false +} diff --git a/models/targeted_chat_message.go b/models/targeted_chat_message.go new file mode 100644 index 0000000000..fdb975aa64 --- /dev/null +++ b/models/targeted_chat_message.go @@ -0,0 +1,81 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +type TargetedChatMessage struct { + ChatMessage +} +// NewTargetedChatMessage instantiates a new TargetedChatMessage and sets the default values. +func NewTargetedChatMessage()(*TargetedChatMessage) { + m := &TargetedChatMessage{ + ChatMessage: *NewChatMessage(), + } + odataTypeValue := "#microsoft.graph.targetedChatMessage" + m.SetOdataType(&odataTypeValue) + return m +} +// CreateTargetedChatMessageFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateTargetedChatMessageFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewTargetedChatMessage(), nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *TargetedChatMessage) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.ChatMessage.GetFieldDeserializers() + res["recipient"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetObjectValue(CreateIdentityFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + m.SetRecipient(val.(Identityable)) + } + return nil + } + return res +} +// GetRecipient gets the recipient property value. The recipient property +// returns a Identityable when successful +func (m *TargetedChatMessage) GetRecipient()(Identityable) { + val, err := m.GetBackingStore().Get("recipient") + if err != nil { + panic(err) + } + if val != nil { + return val.(Identityable) + } + return nil +} +// Serialize serializes information the current object +func (m *TargetedChatMessage) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.ChatMessage.Serialize(writer) + if err != nil { + return err + } + { + err = writer.WriteObjectValue("recipient", m.GetRecipient()) + if err != nil { + return err + } + } + return nil +} +// SetRecipient sets the recipient property value. The recipient property +func (m *TargetedChatMessage) SetRecipient(value Identityable)() { + err := m.GetBackingStore().Set("recipient", value) + if err != nil { + panic(err) + } +} +type TargetedChatMessageable interface { + ChatMessageable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetRecipient()(Identityable) + SetRecipient(value Identityable)() +} diff --git a/models/targeted_chat_message_collection_response.go b/models/targeted_chat_message_collection_response.go new file mode 100644 index 0000000000..4681757984 --- /dev/null +++ b/models/targeted_chat_message_collection_response.go @@ -0,0 +1,91 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +type TargetedChatMessageCollectionResponse struct { + BaseCollectionPaginationCountResponse +} +// NewTargetedChatMessageCollectionResponse instantiates a new TargetedChatMessageCollectionResponse and sets the default values. +func NewTargetedChatMessageCollectionResponse()(*TargetedChatMessageCollectionResponse) { + m := &TargetedChatMessageCollectionResponse{ + BaseCollectionPaginationCountResponse: *NewBaseCollectionPaginationCountResponse(), + } + return m +} +// CreateTargetedChatMessageCollectionResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateTargetedChatMessageCollectionResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewTargetedChatMessageCollectionResponse(), nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *TargetedChatMessageCollectionResponse) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.BaseCollectionPaginationCountResponse.GetFieldDeserializers() + res["value"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(CreateTargetedChatMessageFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]TargetedChatMessageable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(TargetedChatMessageable) + } + } + m.SetValue(res) + } + return nil + } + return res +} +// GetValue gets the value property value. The value property +// returns a []TargetedChatMessageable when successful +func (m *TargetedChatMessageCollectionResponse) GetValue()([]TargetedChatMessageable) { + val, err := m.GetBackingStore().Get("value") + if err != nil { + panic(err) + } + if val != nil { + return val.([]TargetedChatMessageable) + } + return nil +} +// Serialize serializes information the current object +func (m *TargetedChatMessageCollectionResponse) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.BaseCollectionPaginationCountResponse.Serialize(writer) + if err != nil { + return err + } + if m.GetValue() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetValue())) + for i, v := range m.GetValue() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err = writer.WriteCollectionOfObjectValues("value", cast) + if err != nil { + return err + } + } + return nil +} +// SetValue sets the value property value. The value property +func (m *TargetedChatMessageCollectionResponse) SetValue(value []TargetedChatMessageable)() { + err := m.GetBackingStore().Set("value", value) + if err != nil { + panic(err) + } +} +type TargetedChatMessageCollectionResponseable interface { + BaseCollectionPaginationCountResponseable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetValue()([]TargetedChatMessageable) + SetValue(value []TargetedChatMessageable)() +} diff --git a/models/user_ownership.go b/models/user_ownership.go new file mode 100644 index 0000000000..e7f1488beb --- /dev/null +++ b/models/user_ownership.go @@ -0,0 +1,75 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package models +import ( + "math" + "strings" +) +type UserOwnership int + +const ( + NONE_USEROWNERSHIP = 1 + LAWFULBASISFORPROCESSING_USEROWNERSHIP = 2 + RIGHTTOACCESS_USEROWNERSHIP = 4 + RIGHTTOBEINFORMED_USEROWNERSHIP = 8 + RIGHTTODATAPORTABILITY_USEROWNERSHIP = 16 + RIGHTTOOBJECT_USEROWNERSHIP = 32 + RIGHTTORECTIFICATION_USEROWNERSHIP = 64 + RIGHTTORESTRICTIONOFPROCESSING_USEROWNERSHIP = 128 + RIGHTSRELATEDTOAUTOMATEDDECISIONMAKING_USEROWNERSHIP = 256 + UNKNOWNFUTUREVALUE_USEROWNERSHIP = 512 +) + +func (i UserOwnership) String() string { + var values []string + options := []string{"none", "lawfulBasisForProcessing", "rightToAccess", "rightToBeInformed", "rightToDataPortability", "rightToObject", "rightToRectification", "rightToRestrictionOfProcessing", "rightsRelatedToAutomatedDecisionMaking", "unknownFutureValue"} + for p := 0; p < 10; p++ { + mantis := UserOwnership(int(math.Pow(2, float64(p)))) + if i&mantis == mantis { + values = append(values, options[p]) + } + } + return strings.Join(values, ",") +} +func ParseUserOwnership(v string) (any, error) { + var result UserOwnership + values := strings.Split(v, ",") + for _, str := range values { + switch str { + case "none": + result |= NONE_USEROWNERSHIP + case "lawfulBasisForProcessing": + result |= LAWFULBASISFORPROCESSING_USEROWNERSHIP + case "rightToAccess": + result |= RIGHTTOACCESS_USEROWNERSHIP + case "rightToBeInformed": + result |= RIGHTTOBEINFORMED_USEROWNERSHIP + case "rightToDataPortability": + result |= RIGHTTODATAPORTABILITY_USEROWNERSHIP + case "rightToObject": + result |= RIGHTTOOBJECT_USEROWNERSHIP + case "rightToRectification": + result |= RIGHTTORECTIFICATION_USEROWNERSHIP + case "rightToRestrictionOfProcessing": + result |= RIGHTTORESTRICTIONOFPROCESSING_USEROWNERSHIP + case "rightsRelatedToAutomatedDecisionMaking": + result |= RIGHTSRELATEDTOAUTOMATEDDECISIONMAKING_USEROWNERSHIP + case "unknownFutureValue": + result |= UNKNOWNFUTUREVALUE_USEROWNERSHIP + default: + return nil, nil + } + } + return &result, nil +} +func SerializeUserOwnership(values []UserOwnership) []string { + result := make([]string, len(values)) + for i, v := range values { + result[i] = v.String() + } + return result +} +func (i UserOwnership) isMultiValue() bool { + return true +} diff --git a/models/validating_domains.go b/models/validating_domains.go new file mode 100644 index 0000000000..c1f28e71d0 --- /dev/null +++ b/models/validating_domains.go @@ -0,0 +1,174 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" +) + +type ValidatingDomains struct { + // Stores model information. + backingStore ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore +} +// NewValidatingDomains instantiates a new ValidatingDomains and sets the default values. +func NewValidatingDomains()(*ValidatingDomains) { + m := &ValidatingDomains{ + } + m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); + m.SetAdditionalData(make(map[string]any)) + return m +} +// CreateValidatingDomainsFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateValidatingDomainsFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + if parseNode != nil { + mappingValueNode, err := parseNode.GetChildNode("@odata.type") + if err != nil { + return nil, err + } + if mappingValueNode != nil { + mappingValue, err := mappingValueNode.GetStringValue() + if err != nil { + return nil, err + } + if mappingValue != nil { + switch *mappingValue { + case "#microsoft.graph.allDomains": + return NewAllDomains(), nil + case "#microsoft.graph.enumeratedDomains": + return NewEnumeratedDomains(), nil + } + } + } + } + return NewValidatingDomains(), nil +} +// GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +// returns a map[string]any when successful +func (m *ValidatingDomains) GetAdditionalData()(map[string]any) { + val , err := m.backingStore.Get("additionalData") + if err != nil { + panic(err) + } + if val == nil { + var value = make(map[string]any); + m.SetAdditionalData(value); + } + return val.(map[string]any) +} +// GetBackingStore gets the BackingStore property value. Stores model information. +// returns a BackingStore when successful +func (m *ValidatingDomains) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) { + return m.backingStore +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *ValidatingDomains) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) + res["@odata.type"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetOdataType(val) + } + return nil + } + res["rootDomains"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetEnumValue(ParseRootDomains) + if err != nil { + return err + } + if val != nil { + m.SetRootDomains(val.(*RootDomains)) + } + return nil + } + return res +} +// GetOdataType gets the @odata.type property value. The OdataType property +// returns a *string when successful +func (m *ValidatingDomains) GetOdataType()(*string) { + val, err := m.GetBackingStore().Get("odataType") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetRootDomains gets the rootDomains property value. The rootDomains property +// returns a *RootDomains when successful +func (m *ValidatingDomains) GetRootDomains()(*RootDomains) { + val, err := m.GetBackingStore().Get("rootDomains") + if err != nil { + panic(err) + } + if val != nil { + return val.(*RootDomains) + } + return nil +} +// Serialize serializes information the current object +func (m *ValidatingDomains) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + { + err := writer.WriteStringValue("@odata.type", m.GetOdataType()) + if err != nil { + return err + } + } + if m.GetRootDomains() != nil { + cast := (*m.GetRootDomains()).String() + err := writer.WriteStringValue("rootDomains", &cast) + if err != nil { + return err + } + } + { + err := writer.WriteAdditionalData(m.GetAdditionalData()) + if err != nil { + return err + } + } + return nil +} +// SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +func (m *ValidatingDomains) SetAdditionalData(value map[string]any)() { + err := m.GetBackingStore().Set("additionalData", value) + if err != nil { + panic(err) + } +} +// SetBackingStore sets the BackingStore property value. Stores model information. +func (m *ValidatingDomains) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { + m.backingStore = value +} +// SetOdataType sets the @odata.type property value. The OdataType property +func (m *ValidatingDomains) SetOdataType(value *string)() { + err := m.GetBackingStore().Set("odataType", value) + if err != nil { + panic(err) + } +} +// SetRootDomains sets the rootDomains property value. The rootDomains property +func (m *ValidatingDomains) SetRootDomains(value *RootDomains)() { + err := m.GetBackingStore().Set("rootDomains", value) + if err != nil { + panic(err) + } +} +type ValidatingDomainsable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) + GetOdataType()(*string) + GetRootDomains()(*RootDomains) + SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() + SetOdataType(value *string)() + SetRootDomains(value *RootDomains)() +} diff --git a/models/webauthn_authenticator_attestation_response.go b/models/webauthn_authenticator_attestation_response.go index a73181355d..a03cb25f83 100644 --- a/models/webauthn_authenticator_attestation_response.go +++ b/models/webauthn_authenticator_attestation_response.go @@ -38,7 +38,7 @@ func (m *WebauthnAuthenticatorAttestationResponse) GetAdditionalData()(map[strin } return val.(map[string]any) } -// GetAttestationObject gets the attestationObject property value. The attestationObject property +// GetAttestationObject gets the attestationObject property value. A CBOR-encoded attestation object containing the authenticator data and attestation statement. This value is Base64URL-encoded without padding. // returns a *string when successful func (m *WebauthnAuthenticatorAttestationResponse) GetAttestationObject()(*string) { val, err := m.GetBackingStore().Get("attestationObject") @@ -55,7 +55,7 @@ func (m *WebauthnAuthenticatorAttestationResponse) GetAttestationObject()(*strin func (m *WebauthnAuthenticatorAttestationResponse) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) { return m.backingStore } -// GetClientDataJSON gets the clientDataJSON property value. The clientDataJSON property +// GetClientDataJSON gets the clientDataJSON property value. Contains the JSON-compatible serialization of client data passed to the authenticator by the client. This value is Base64URL-encoded without padding. // returns a *string when successful func (m *WebauthnAuthenticatorAttestationResponse) GetClientDataJSON()(*string) { val, err := m.GetBackingStore().Get("clientDataJSON") @@ -150,7 +150,7 @@ func (m *WebauthnAuthenticatorAttestationResponse) SetAdditionalData(value map[s panic(err) } } -// SetAttestationObject sets the attestationObject property value. The attestationObject property +// SetAttestationObject sets the attestationObject property value. A CBOR-encoded attestation object containing the authenticator data and attestation statement. This value is Base64URL-encoded without padding. func (m *WebauthnAuthenticatorAttestationResponse) SetAttestationObject(value *string)() { err := m.GetBackingStore().Set("attestationObject", value) if err != nil { @@ -161,7 +161,7 @@ func (m *WebauthnAuthenticatorAttestationResponse) SetAttestationObject(value *s func (m *WebauthnAuthenticatorAttestationResponse) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { m.backingStore = value } -// SetClientDataJSON sets the clientDataJSON property value. The clientDataJSON property +// SetClientDataJSON sets the clientDataJSON property value. Contains the JSON-compatible serialization of client data passed to the authenticator by the client. This value is Base64URL-encoded without padding. func (m *WebauthnAuthenticatorAttestationResponse) SetClientDataJSON(value *string)() { err := m.GetBackingStore().Set("clientDataJSON", value) if err != nil { diff --git a/models/webauthn_authenticator_selection_criteria.go b/models/webauthn_authenticator_selection_criteria.go index 13c6fe6c4f..538d8e0403 100644 --- a/models/webauthn_authenticator_selection_criteria.go +++ b/models/webauthn_authenticator_selection_criteria.go @@ -38,7 +38,7 @@ func (m *WebauthnAuthenticatorSelectionCriteria) GetAdditionalData()(map[string] } return val.(map[string]any) } -// GetAuthenticatorAttachment gets the authenticatorAttachment property value. The authenticatorAttachment property +// GetAuthenticatorAttachment gets the authenticatorAttachment property value. Specifies the preferred attachment modality for the authenticator. Possible values: platform (device-bound authenticator, such as Windows Hello), cross-platform (removable authenticator, such as a USB security key), or null (no preference). // returns a *string when successful func (m *WebauthnAuthenticatorSelectionCriteria) GetAuthenticatorAttachment()(*string) { val, err := m.GetBackingStore().Get("authenticatorAttachment") @@ -113,7 +113,7 @@ func (m *WebauthnAuthenticatorSelectionCriteria) GetOdataType()(*string) { } return nil } -// GetRequireResidentKey gets the requireResidentKey property value. The requireResidentKey property +// GetRequireResidentKey gets the requireResidentKey property value. Indicates whether the authenticator must create a client-side-resident credential (also known as a discoverable credential). If true, the credential can be used without providing a credential ID. // returns a *bool when successful func (m *WebauthnAuthenticatorSelectionCriteria) GetRequireResidentKey()(*bool) { val, err := m.GetBackingStore().Get("requireResidentKey") @@ -125,7 +125,7 @@ func (m *WebauthnAuthenticatorSelectionCriteria) GetRequireResidentKey()(*bool) } return nil } -// GetUserVerification gets the userVerification property value. The userVerification property +// GetUserVerification gets the userVerification property value. Specifies the relying party's preference for user verification during credential creation. Possible values: required, preferred, or discouraged. // returns a *string when successful func (m *WebauthnAuthenticatorSelectionCriteria) GetUserVerification()(*string) { val, err := m.GetBackingStore().Get("userVerification") @@ -178,7 +178,7 @@ func (m *WebauthnAuthenticatorSelectionCriteria) SetAdditionalData(value map[str panic(err) } } -// SetAuthenticatorAttachment sets the authenticatorAttachment property value. The authenticatorAttachment property +// SetAuthenticatorAttachment sets the authenticatorAttachment property value. Specifies the preferred attachment modality for the authenticator. Possible values: platform (device-bound authenticator, such as Windows Hello), cross-platform (removable authenticator, such as a USB security key), or null (no preference). func (m *WebauthnAuthenticatorSelectionCriteria) SetAuthenticatorAttachment(value *string)() { err := m.GetBackingStore().Set("authenticatorAttachment", value) if err != nil { @@ -196,14 +196,14 @@ func (m *WebauthnAuthenticatorSelectionCriteria) SetOdataType(value *string)() { panic(err) } } -// SetRequireResidentKey sets the requireResidentKey property value. The requireResidentKey property +// SetRequireResidentKey sets the requireResidentKey property value. Indicates whether the authenticator must create a client-side-resident credential (also known as a discoverable credential). If true, the credential can be used without providing a credential ID. func (m *WebauthnAuthenticatorSelectionCriteria) SetRequireResidentKey(value *bool)() { err := m.GetBackingStore().Set("requireResidentKey", value) if err != nil { panic(err) } } -// SetUserVerification sets the userVerification property value. The userVerification property +// SetUserVerification sets the userVerification property value. Specifies the relying party's preference for user verification during credential creation. Possible values: required, preferred, or discouraged. func (m *WebauthnAuthenticatorSelectionCriteria) SetUserVerification(value *string)() { err := m.GetBackingStore().Set("userVerification", value) if err != nil { diff --git a/models/webauthn_credential_creation_options.go b/models/webauthn_credential_creation_options.go index f429da0dfc..465d7bfb09 100644 --- a/models/webauthn_credential_creation_options.go +++ b/models/webauthn_credential_creation_options.go @@ -44,7 +44,7 @@ func (m *WebauthnCredentialCreationOptions) GetAdditionalData()(map[string]any) func (m *WebauthnCredentialCreationOptions) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) { return m.backingStore } -// GetChallengeTimeoutDateTime gets the challengeTimeoutDateTime property value. The challengeTimeoutDateTime property +// GetChallengeTimeoutDateTime gets the challengeTimeoutDateTime property value. The date and time when the challenge times out and can no longer be used to create a credential. // returns a *Time when successful func (m *WebauthnCredentialCreationOptions) GetChallengeTimeoutDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) { val, err := m.GetBackingStore().Get("challengeTimeoutDateTime") @@ -104,7 +104,7 @@ func (m *WebauthnCredentialCreationOptions) GetOdataType()(*string) { } return nil } -// GetPublicKey gets the publicKey property value. The publicKey property +// GetPublicKey gets the publicKey property value. The WebAuthn public key creation options. // returns a WebauthnPublicKeyCredentialCreationOptionsable when successful func (m *WebauthnCredentialCreationOptions) GetPublicKey()(WebauthnPublicKeyCredentialCreationOptionsable) { val, err := m.GetBackingStore().Get("publicKey") @@ -155,7 +155,7 @@ func (m *WebauthnCredentialCreationOptions) SetAdditionalData(value map[string]a func (m *WebauthnCredentialCreationOptions) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { m.backingStore = value } -// SetChallengeTimeoutDateTime sets the challengeTimeoutDateTime property value. The challengeTimeoutDateTime property +// SetChallengeTimeoutDateTime sets the challengeTimeoutDateTime property value. The date and time when the challenge times out and can no longer be used to create a credential. func (m *WebauthnCredentialCreationOptions) SetChallengeTimeoutDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() { err := m.GetBackingStore().Set("challengeTimeoutDateTime", value) if err != nil { @@ -169,7 +169,7 @@ func (m *WebauthnCredentialCreationOptions) SetOdataType(value *string)() { panic(err) } } -// SetPublicKey sets the publicKey property value. The publicKey property +// SetPublicKey sets the publicKey property value. The WebAuthn public key creation options. func (m *WebauthnCredentialCreationOptions) SetPublicKey(value WebauthnPublicKeyCredentialCreationOptionsable)() { err := m.GetBackingStore().Set("publicKey", value) if err != nil { diff --git a/models/webauthn_public_key_credential.go b/models/webauthn_public_key_credential.go index a3dbbf5680..c6d6d884e4 100644 --- a/models/webauthn_public_key_credential.go +++ b/models/webauthn_public_key_credential.go @@ -43,7 +43,7 @@ func (m *WebauthnPublicKeyCredential) GetAdditionalData()(map[string]any) { func (m *WebauthnPublicKeyCredential) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) { return m.backingStore } -// GetClientExtensionResults gets the clientExtensionResults property value. The clientExtensionResults property +// GetClientExtensionResults gets the clientExtensionResults property value. The output of the WebAuthn extension processing. // returns a WebauthnAuthenticationExtensionsClientOutputsable when successful func (m *WebauthnPublicKeyCredential) GetClientExtensionResults()(WebauthnAuthenticationExtensionsClientOutputsable) { val, err := m.GetBackingStore().Get("clientExtensionResults") @@ -101,7 +101,7 @@ func (m *WebauthnPublicKeyCredential) GetFieldDeserializers()(map[string]func(i8 } return res } -// GetId gets the id property value. The id property +// GetId gets the id property value. The credential ID created by the WebAuthn Authenticator. This value is Base64URL-encoded without padding. // returns a *string when successful func (m *WebauthnPublicKeyCredential) GetId()(*string) { val, err := m.GetBackingStore().Get("id") @@ -125,7 +125,7 @@ func (m *WebauthnPublicKeyCredential) GetOdataType()(*string) { } return nil } -// GetResponse gets the response property value. The response property +// GetResponse gets the response property value. The response from the WebAuthn Authenticator after generating an attestation. // returns a WebauthnAuthenticatorAttestationResponseable when successful func (m *WebauthnPublicKeyCredential) GetResponse()(WebauthnAuthenticatorAttestationResponseable) { val, err := m.GetBackingStore().Get("response") @@ -182,14 +182,14 @@ func (m *WebauthnPublicKeyCredential) SetAdditionalData(value map[string]any)() func (m *WebauthnPublicKeyCredential) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { m.backingStore = value } -// SetClientExtensionResults sets the clientExtensionResults property value. The clientExtensionResults property +// SetClientExtensionResults sets the clientExtensionResults property value. The output of the WebAuthn extension processing. func (m *WebauthnPublicKeyCredential) SetClientExtensionResults(value WebauthnAuthenticationExtensionsClientOutputsable)() { err := m.GetBackingStore().Set("clientExtensionResults", value) if err != nil { panic(err) } } -// SetId sets the id property value. The id property +// SetId sets the id property value. The credential ID created by the WebAuthn Authenticator. This value is Base64URL-encoded without padding. func (m *WebauthnPublicKeyCredential) SetId(value *string)() { err := m.GetBackingStore().Set("id", value) if err != nil { @@ -203,7 +203,7 @@ func (m *WebauthnPublicKeyCredential) SetOdataType(value *string)() { panic(err) } } -// SetResponse sets the response property value. The response property +// SetResponse sets the response property value. The response from the WebAuthn Authenticator after generating an attestation. func (m *WebauthnPublicKeyCredential) SetResponse(value WebauthnAuthenticatorAttestationResponseable)() { err := m.GetBackingStore().Set("response", value) if err != nil { diff --git a/models/webauthn_public_key_credential_creation_options.go b/models/webauthn_public_key_credential_creation_options.go index 195ec24922..817fc5329d 100644 --- a/models/webauthn_public_key_credential_creation_options.go +++ b/models/webauthn_public_key_credential_creation_options.go @@ -38,7 +38,7 @@ func (m *WebauthnPublicKeyCredentialCreationOptions) GetAdditionalData()(map[str } return val.(map[string]any) } -// GetAttestation gets the attestation property value. The attestation property +// GetAttestation gets the attestation property value. Specifies the relying party's preference for attestation conveyance. // returns a *string when successful func (m *WebauthnPublicKeyCredentialCreationOptions) GetAttestation()(*string) { val, err := m.GetBackingStore().Get("attestation") @@ -50,7 +50,7 @@ func (m *WebauthnPublicKeyCredentialCreationOptions) GetAttestation()(*string) { } return nil } -// GetAuthenticatorSelection gets the authenticatorSelection property value. The authenticatorSelection property +// GetAuthenticatorSelection gets the authenticatorSelection property value. Criteria for selecting an appropriate authenticator for credential creation. // returns a WebauthnAuthenticatorSelectionCriteriaable when successful func (m *WebauthnPublicKeyCredentialCreationOptions) GetAuthenticatorSelection()(WebauthnAuthenticatorSelectionCriteriaable) { val, err := m.GetBackingStore().Get("authenticatorSelection") @@ -67,7 +67,7 @@ func (m *WebauthnPublicKeyCredentialCreationOptions) GetAuthenticatorSelection() func (m *WebauthnPublicKeyCredentialCreationOptions) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) { return m.backingStore } -// GetChallenge gets the challenge property value. The challenge property +// GetChallenge gets the challenge property value. The challenge that the authenticator must sign to prove possession of the credential. This value is Base64URL-encoded without padding. // returns a *string when successful func (m *WebauthnPublicKeyCredentialCreationOptions) GetChallenge()(*string) { val, err := m.GetBackingStore().Get("challenge") @@ -79,7 +79,7 @@ func (m *WebauthnPublicKeyCredentialCreationOptions) GetChallenge()(*string) { } return nil } -// GetExcludeCredentials gets the excludeCredentials property value. The excludeCredentials property +// GetExcludeCredentials gets the excludeCredentials property value. A list of credentials that are already registered for this user, which should be excluded from selection. // returns a []WebauthnPublicKeyCredentialDescriptorable when successful func (m *WebauthnPublicKeyCredentialCreationOptions) GetExcludeCredentials()([]WebauthnPublicKeyCredentialDescriptorable) { val, err := m.GetBackingStore().Get("excludeCredentials") @@ -91,7 +91,7 @@ func (m *WebauthnPublicKeyCredentialCreationOptions) GetExcludeCredentials()([]W } return nil } -// GetExtensions gets the extensions property value. The extensions property +// GetExtensions gets the extensions property value. Inputs for requested WebAuthn extensions. // returns a WebauthnAuthenticationExtensionsClientInputsable when successful func (m *WebauthnPublicKeyCredentialCreationOptions) GetExtensions()(WebauthnAuthenticationExtensionsClientInputsable) { val, err := m.GetBackingStore().Get("extensions") @@ -233,7 +233,7 @@ func (m *WebauthnPublicKeyCredentialCreationOptions) GetOdataType()(*string) { } return nil } -// GetPubKeyCredParams gets the pubKeyCredParams property value. The pubKeyCredParams property +// GetPubKeyCredParams gets the pubKeyCredParams property value. The cryptographic parameters that the relying party supports, in order of preference. // returns a []WebauthnPublicKeyCredentialParametersable when successful func (m *WebauthnPublicKeyCredentialCreationOptions) GetPubKeyCredParams()([]WebauthnPublicKeyCredentialParametersable) { val, err := m.GetBackingStore().Get("pubKeyCredParams") @@ -245,7 +245,7 @@ func (m *WebauthnPublicKeyCredentialCreationOptions) GetPubKeyCredParams()([]Web } return nil } -// GetRp gets the rp property value. The rp property +// GetRp gets the rp property value. Information about the relying party (RP) requesting credential creation. // returns a WebauthnPublicKeyCredentialRpEntityable when successful func (m *WebauthnPublicKeyCredentialCreationOptions) GetRp()(WebauthnPublicKeyCredentialRpEntityable) { val, err := m.GetBackingStore().Get("rp") @@ -257,7 +257,7 @@ func (m *WebauthnPublicKeyCredentialCreationOptions) GetRp()(WebauthnPublicKeyCr } return nil } -// GetTimeout gets the timeout property value. The timeout property +// GetTimeout gets the timeout property value. The time, in milliseconds, that the caller is willing to wait for the operation to complete. // returns a *int32 when successful func (m *WebauthnPublicKeyCredentialCreationOptions) GetTimeout()(*int32) { val, err := m.GetBackingStore().Get("timeout") @@ -269,7 +269,7 @@ func (m *WebauthnPublicKeyCredentialCreationOptions) GetTimeout()(*int32) { } return nil } -// GetUser gets the user property value. The user property +// GetUser gets the user property value. Information about the user account for which the credential is being created. // returns a WebauthnPublicKeyCredentialUserEntityable when successful func (m *WebauthnPublicKeyCredentialCreationOptions) GetUser()(WebauthnPublicKeyCredentialUserEntityable) { val, err := m.GetBackingStore().Get("user") @@ -370,14 +370,14 @@ func (m *WebauthnPublicKeyCredentialCreationOptions) SetAdditionalData(value map panic(err) } } -// SetAttestation sets the attestation property value. The attestation property +// SetAttestation sets the attestation property value. Specifies the relying party's preference for attestation conveyance. func (m *WebauthnPublicKeyCredentialCreationOptions) SetAttestation(value *string)() { err := m.GetBackingStore().Set("attestation", value) if err != nil { panic(err) } } -// SetAuthenticatorSelection sets the authenticatorSelection property value. The authenticatorSelection property +// SetAuthenticatorSelection sets the authenticatorSelection property value. Criteria for selecting an appropriate authenticator for credential creation. func (m *WebauthnPublicKeyCredentialCreationOptions) SetAuthenticatorSelection(value WebauthnAuthenticatorSelectionCriteriaable)() { err := m.GetBackingStore().Set("authenticatorSelection", value) if err != nil { @@ -388,21 +388,21 @@ func (m *WebauthnPublicKeyCredentialCreationOptions) SetAuthenticatorSelection(v func (m *WebauthnPublicKeyCredentialCreationOptions) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { m.backingStore = value } -// SetChallenge sets the challenge property value. The challenge property +// SetChallenge sets the challenge property value. The challenge that the authenticator must sign to prove possession of the credential. This value is Base64URL-encoded without padding. func (m *WebauthnPublicKeyCredentialCreationOptions) SetChallenge(value *string)() { err := m.GetBackingStore().Set("challenge", value) if err != nil { panic(err) } } -// SetExcludeCredentials sets the excludeCredentials property value. The excludeCredentials property +// SetExcludeCredentials sets the excludeCredentials property value. A list of credentials that are already registered for this user, which should be excluded from selection. func (m *WebauthnPublicKeyCredentialCreationOptions) SetExcludeCredentials(value []WebauthnPublicKeyCredentialDescriptorable)() { err := m.GetBackingStore().Set("excludeCredentials", value) if err != nil { panic(err) } } -// SetExtensions sets the extensions property value. The extensions property +// SetExtensions sets the extensions property value. Inputs for requested WebAuthn extensions. func (m *WebauthnPublicKeyCredentialCreationOptions) SetExtensions(value WebauthnAuthenticationExtensionsClientInputsable)() { err := m.GetBackingStore().Set("extensions", value) if err != nil { @@ -416,28 +416,28 @@ func (m *WebauthnPublicKeyCredentialCreationOptions) SetOdataType(value *string) panic(err) } } -// SetPubKeyCredParams sets the pubKeyCredParams property value. The pubKeyCredParams property +// SetPubKeyCredParams sets the pubKeyCredParams property value. The cryptographic parameters that the relying party supports, in order of preference. func (m *WebauthnPublicKeyCredentialCreationOptions) SetPubKeyCredParams(value []WebauthnPublicKeyCredentialParametersable)() { err := m.GetBackingStore().Set("pubKeyCredParams", value) if err != nil { panic(err) } } -// SetRp sets the rp property value. The rp property +// SetRp sets the rp property value. Information about the relying party (RP) requesting credential creation. func (m *WebauthnPublicKeyCredentialCreationOptions) SetRp(value WebauthnPublicKeyCredentialRpEntityable)() { err := m.GetBackingStore().Set("rp", value) if err != nil { panic(err) } } -// SetTimeout sets the timeout property value. The timeout property +// SetTimeout sets the timeout property value. The time, in milliseconds, that the caller is willing to wait for the operation to complete. func (m *WebauthnPublicKeyCredentialCreationOptions) SetTimeout(value *int32)() { err := m.GetBackingStore().Set("timeout", value) if err != nil { panic(err) } } -// SetUser sets the user property value. The user property +// SetUser sets the user property value. Information about the user account for which the credential is being created. func (m *WebauthnPublicKeyCredentialCreationOptions) SetUser(value WebauthnPublicKeyCredentialUserEntityable)() { err := m.GetBackingStore().Set("user", value) if err != nil { diff --git a/models/webauthn_public_key_credential_descriptor.go b/models/webauthn_public_key_credential_descriptor.go index efb9826ddc..760d73e3a9 100644 --- a/models/webauthn_public_key_credential_descriptor.go +++ b/models/webauthn_public_key_credential_descriptor.go @@ -95,7 +95,7 @@ func (m *WebauthnPublicKeyCredentialDescriptor) GetFieldDeserializers()(map[stri } return res } -// GetId gets the id property value. The id property +// GetId gets the id property value. The credential ID of the credential being described. This value is Base64URL-encoded without padding. // returns a *string when successful func (m *WebauthnPublicKeyCredentialDescriptor) GetId()(*string) { val, err := m.GetBackingStore().Get("id") @@ -119,7 +119,7 @@ func (m *WebauthnPublicKeyCredentialDescriptor) GetOdataType()(*string) { } return nil } -// GetTransports gets the transports property value. The transports property +// GetTransports gets the transports property value. A hint about the types of transport that the authenticator supports. Possible values include: usb, nfc, ble, internal. // returns a []string when successful func (m *WebauthnPublicKeyCredentialDescriptor) GetTransports()([]string) { val, err := m.GetBackingStore().Get("transports") @@ -131,7 +131,7 @@ func (m *WebauthnPublicKeyCredentialDescriptor) GetTransports()([]string) { } return nil } -// GetTypeEscaped gets the type property value. The type property +// GetTypeEscaped gets the type property value. The type of credential. Currently, the only supported value is public-key. // returns a *string when successful func (m *WebauthnPublicKeyCredentialDescriptor) GetTypeEscaped()(*string) { val, err := m.GetBackingStore().Get("typeEscaped") @@ -188,7 +188,7 @@ func (m *WebauthnPublicKeyCredentialDescriptor) SetAdditionalData(value map[stri func (m *WebauthnPublicKeyCredentialDescriptor) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { m.backingStore = value } -// SetId sets the id property value. The id property +// SetId sets the id property value. The credential ID of the credential being described. This value is Base64URL-encoded without padding. func (m *WebauthnPublicKeyCredentialDescriptor) SetId(value *string)() { err := m.GetBackingStore().Set("id", value) if err != nil { @@ -202,14 +202,14 @@ func (m *WebauthnPublicKeyCredentialDescriptor) SetOdataType(value *string)() { panic(err) } } -// SetTransports sets the transports property value. The transports property +// SetTransports sets the transports property value. A hint about the types of transport that the authenticator supports. Possible values include: usb, nfc, ble, internal. func (m *WebauthnPublicKeyCredentialDescriptor) SetTransports(value []string)() { err := m.GetBackingStore().Set("transports", value) if err != nil { panic(err) } } -// SetTypeEscaped sets the type property value. The type property +// SetTypeEscaped sets the type property value. The type of credential. Currently, the only supported value is public-key. func (m *WebauthnPublicKeyCredentialDescriptor) SetTypeEscaped(value *string)() { err := m.GetBackingStore().Set("typeEscaped", value) if err != nil { diff --git a/models/webauthn_public_key_credential_parameters.go b/models/webauthn_public_key_credential_parameters.go index f210e69001..cdb01ad187 100644 --- a/models/webauthn_public_key_credential_parameters.go +++ b/models/webauthn_public_key_credential_parameters.go @@ -38,7 +38,7 @@ func (m *WebauthnPublicKeyCredentialParameters) GetAdditionalData()(map[string]a } return val.(map[string]any) } -// GetAlg gets the alg property value. The alg property +// GetAlg gets the alg property value. A COSE algorithm identifier representing the cryptographic algorithm to use for this credential type. For example, -7 represents ES256. // returns a *int32 when successful func (m *WebauthnPublicKeyCredentialParameters) GetAlg()(*int32) { val, err := m.GetBackingStore().Get("alg") @@ -103,7 +103,7 @@ func (m *WebauthnPublicKeyCredentialParameters) GetOdataType()(*string) { } return nil } -// GetTypeEscaped gets the type property value. The type property +// GetTypeEscaped gets the type property value. The type of credential to create. Currently, the only supported value is public-key. // returns a *string when successful func (m *WebauthnPublicKeyCredentialParameters) GetTypeEscaped()(*string) { val, err := m.GetBackingStore().Get("typeEscaped") @@ -150,7 +150,7 @@ func (m *WebauthnPublicKeyCredentialParameters) SetAdditionalData(value map[stri panic(err) } } -// SetAlg sets the alg property value. The alg property +// SetAlg sets the alg property value. A COSE algorithm identifier representing the cryptographic algorithm to use for this credential type. For example, -7 represents ES256. func (m *WebauthnPublicKeyCredentialParameters) SetAlg(value *int32)() { err := m.GetBackingStore().Set("alg", value) if err != nil { @@ -168,7 +168,7 @@ func (m *WebauthnPublicKeyCredentialParameters) SetOdataType(value *string)() { panic(err) } } -// SetTypeEscaped sets the type property value. The type property +// SetTypeEscaped sets the type property value. The type of credential to create. Currently, the only supported value is public-key. func (m *WebauthnPublicKeyCredentialParameters) SetTypeEscaped(value *string)() { err := m.GetBackingStore().Set("typeEscaped", value) if err != nil { diff --git a/models/webauthn_public_key_credential_rp_entity.go b/models/webauthn_public_key_credential_rp_entity.go index c9802ee7c0..e03c0ae3e3 100644 --- a/models/webauthn_public_key_credential_rp_entity.go +++ b/models/webauthn_public_key_credential_rp_entity.go @@ -79,7 +79,7 @@ func (m *WebauthnPublicKeyCredentialRpEntity) GetFieldDeserializers()(map[string } return res } -// GetId gets the id property value. The id property +// GetId gets the id property value. The relying party identifier. For web applications, this value is typically the domain name. // returns a *string when successful func (m *WebauthnPublicKeyCredentialRpEntity) GetId()(*string) { val, err := m.GetBackingStore().Get("id") @@ -91,7 +91,7 @@ func (m *WebauthnPublicKeyCredentialRpEntity) GetId()(*string) { } return nil } -// GetName gets the name property value. The name property +// GetName gets the name property value. The human-readable name for the relying party. // returns a *string when successful func (m *WebauthnPublicKeyCredentialRpEntity) GetName()(*string) { val, err := m.GetBackingStore().Get("name") @@ -154,14 +154,14 @@ func (m *WebauthnPublicKeyCredentialRpEntity) SetAdditionalData(value map[string func (m *WebauthnPublicKeyCredentialRpEntity) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { m.backingStore = value } -// SetId sets the id property value. The id property +// SetId sets the id property value. The relying party identifier. For web applications, this value is typically the domain name. func (m *WebauthnPublicKeyCredentialRpEntity) SetId(value *string)() { err := m.GetBackingStore().Set("id", value) if err != nil { panic(err) } } -// SetName sets the name property value. The name property +// SetName sets the name property value. The human-readable name for the relying party. func (m *WebauthnPublicKeyCredentialRpEntity) SetName(value *string)() { err := m.GetBackingStore().Set("name", value) if err != nil { diff --git a/models/webauthn_public_key_credential_user_entity.go b/models/webauthn_public_key_credential_user_entity.go index b9a111d48d..1c7330a7e0 100644 --- a/models/webauthn_public_key_credential_user_entity.go +++ b/models/webauthn_public_key_credential_user_entity.go @@ -43,7 +43,7 @@ func (m *WebauthnPublicKeyCredentialUserEntity) GetAdditionalData()(map[string]a func (m *WebauthnPublicKeyCredentialUserEntity) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) { return m.backingStore } -// GetDisplayName gets the displayName property value. The displayName property +// GetDisplayName gets the displayName property value. A human-readable name for the user account, intended for display. // returns a *string when successful func (m *WebauthnPublicKeyCredentialUserEntity) GetDisplayName()(*string) { val, err := m.GetBackingStore().Get("displayName") @@ -101,7 +101,7 @@ func (m *WebauthnPublicKeyCredentialUserEntity) GetFieldDeserializers()(map[stri } return res } -// GetId gets the id property value. The id property +// GetId gets the id property value. A user identifier, determined by the relying party. This value is opaque to the authenticator and is Base64URL-encoded without padding. // returns a *string when successful func (m *WebauthnPublicKeyCredentialUserEntity) GetId()(*string) { val, err := m.GetBackingStore().Get("id") @@ -113,7 +113,7 @@ func (m *WebauthnPublicKeyCredentialUserEntity) GetId()(*string) { } return nil } -// GetName gets the name property value. The name property +// GetName gets the name property value. A human-readable identifier for the user account, such as a username or email address. // returns a *string when successful func (m *WebauthnPublicKeyCredentialUserEntity) GetName()(*string) { val, err := m.GetBackingStore().Get("name") @@ -182,21 +182,21 @@ func (m *WebauthnPublicKeyCredentialUserEntity) SetAdditionalData(value map[stri func (m *WebauthnPublicKeyCredentialUserEntity) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { m.backingStore = value } -// SetDisplayName sets the displayName property value. The displayName property +// SetDisplayName sets the displayName property value. A human-readable name for the user account, intended for display. func (m *WebauthnPublicKeyCredentialUserEntity) SetDisplayName(value *string)() { err := m.GetBackingStore().Set("displayName", value) if err != nil { panic(err) } } -// SetId sets the id property value. The id property +// SetId sets the id property value. A user identifier, determined by the relying party. This value is opaque to the authenticator and is Base64URL-encoded without padding. func (m *WebauthnPublicKeyCredentialUserEntity) SetId(value *string)() { err := m.GetBackingStore().Set("id", value) if err != nil { panic(err) } } -// SetName sets the name property value. The name property +// SetName sets the name property value. A human-readable identifier for the user account, such as a username or email address. func (m *WebauthnPublicKeyCredentialUserEntity) SetName(value *string)() { err := m.GetBackingStore().Set("name", value) if err != nil { diff --git a/organization/get_available_extension_properties_post_request_body.go b/organization/get_available_extension_properties_post_request_body.go index aa58f9fcfe..c6d9cde63a 100644 --- a/organization/get_available_extension_properties_post_request_body.go +++ b/organization/get_available_extension_properties_post_request_body.go @@ -18,6 +18,8 @@ func NewGetAvailableExtensionPropertiesPostRequestBody()(*GetAvailableExtensionP } m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); m.SetAdditionalData(make(map[string]any)) + isSyncedFromOnPremisesValue := false + m.SetIsSyncedFromOnPremises(&isSyncedFromOnPremisesValue) return m } // CreateGetAvailableExtensionPropertiesPostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value diff --git a/organization/item_get_member_groups_post_request_body.go b/organization/item_get_member_groups_post_request_body.go index f3b7c82a2c..b8539f5e83 100644 --- a/organization/item_get_member_groups_post_request_body.go +++ b/organization/item_get_member_groups_post_request_body.go @@ -18,6 +18,8 @@ func NewItemGetMemberGroupsPostRequestBody()(*ItemGetMemberGroupsPostRequestBody } m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); m.SetAdditionalData(make(map[string]any)) + securityEnabledOnlyValue := false + m.SetSecurityEnabledOnly(&securityEnabledOnlyValue) return m } // CreateItemGetMemberGroupsPostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value diff --git a/organization/item_get_member_objects_post_request_body.go b/organization/item_get_member_objects_post_request_body.go index 280893fed5..c6b3b75366 100644 --- a/organization/item_get_member_objects_post_request_body.go +++ b/organization/item_get_member_objects_post_request_body.go @@ -18,6 +18,8 @@ func NewItemGetMemberObjectsPostRequestBody()(*ItemGetMemberObjectsPostRequestBo } m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); m.SetAdditionalData(make(map[string]any)) + securityEnabledOnlyValue := false + m.SetSecurityEnabledOnly(&securityEnabledOnlyValue) return m } // CreateItemGetMemberObjectsPostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value diff --git a/permissiongrants/get_available_extension_properties_post_request_body.go b/permissiongrants/get_available_extension_properties_post_request_body.go index b9ac8f8fad..152540cc84 100644 --- a/permissiongrants/get_available_extension_properties_post_request_body.go +++ b/permissiongrants/get_available_extension_properties_post_request_body.go @@ -18,6 +18,8 @@ func NewGetAvailableExtensionPropertiesPostRequestBody()(*GetAvailableExtensionP } m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); m.SetAdditionalData(make(map[string]any)) + isSyncedFromOnPremisesValue := false + m.SetIsSyncedFromOnPremises(&isSyncedFromOnPremisesValue) return m } // CreateGetAvailableExtensionPropertiesPostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value diff --git a/permissiongrants/item_get_member_groups_post_request_body.go b/permissiongrants/item_get_member_groups_post_request_body.go index e51d7cc5ef..9eb4f47c62 100644 --- a/permissiongrants/item_get_member_groups_post_request_body.go +++ b/permissiongrants/item_get_member_groups_post_request_body.go @@ -18,6 +18,8 @@ func NewItemGetMemberGroupsPostRequestBody()(*ItemGetMemberGroupsPostRequestBody } m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); m.SetAdditionalData(make(map[string]any)) + securityEnabledOnlyValue := false + m.SetSecurityEnabledOnly(&securityEnabledOnlyValue) return m } // CreateItemGetMemberGroupsPostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value diff --git a/permissiongrants/item_get_member_objects_post_request_body.go b/permissiongrants/item_get_member_objects_post_request_body.go index d9e23d191f..fdf534d424 100644 --- a/permissiongrants/item_get_member_objects_post_request_body.go +++ b/permissiongrants/item_get_member_objects_post_request_body.go @@ -18,6 +18,8 @@ func NewItemGetMemberObjectsPostRequestBody()(*ItemGetMemberObjectsPostRequestBo } m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); m.SetAdditionalData(make(map[string]any)) + securityEnabledOnlyValue := false + m.SetSecurityEnabledOnly(&securityEnabledOnlyValue) return m } // CreateItemGetMemberObjectsPostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value diff --git a/policies/authentication_strength_policies_item_usage_request_builder.go b/policies/authentication_strength_policies_item_usage_request_builder.go index 339ff7fc48..7e6b019b09 100644 --- a/policies/authentication_strength_policies_item_usage_request_builder.go +++ b/policies/authentication_strength_policies_item_usage_request_builder.go @@ -34,7 +34,7 @@ func NewAuthenticationStrengthPoliciesItemUsageRequestBuilder(rawUrl string, req urlParams["request-raw-url"] = rawUrl return NewAuthenticationStrengthPoliciesItemUsageRequestBuilderInternal(urlParams, requestAdapter) } -// Get allows the caller to see which Conditional Access policies reference a specified authentication strength policy. The policies are returned in two collections, one containing Conditional Access policies that require an MFA claim and the other containing Conditional Access policies that do not require such a claim. Policies in the former category are restricted in what kinds of changes may be made to them to prevent undermining the MFA requirement of those policies. +// Get allows the caller to see which Conditional Access policies reference a specified authentication strength policy. The policies are returned in two collections, one containing Conditional Access policies that require an MFA claim and the other containing Conditional Access policies that don't require such a claim. Policies in the former category are restricted in what kinds of changes may be made to them to prevent undermining the MFA requirement of those policies. // returns a AuthenticationStrengthUsageable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] @@ -57,7 +57,7 @@ func (m *AuthenticationStrengthPoliciesItemUsageRequestBuilder) Get(ctx context. } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.AuthenticationStrengthUsageable), nil } -// ToGetRequestInformation allows the caller to see which Conditional Access policies reference a specified authentication strength policy. The policies are returned in two collections, one containing Conditional Access policies that require an MFA claim and the other containing Conditional Access policies that do not require such a claim. Policies in the former category are restricted in what kinds of changes may be made to them to prevent undermining the MFA requirement of those policies. +// ToGetRequestInformation allows the caller to see which Conditional Access policies reference a specified authentication strength policy. The policies are returned in two collections, one containing Conditional Access policies that require an MFA claim and the other containing Conditional Access policies that don't require such a claim. Policies in the former category are restricted in what kinds of changes may be made to them to prevent undermining the MFA requirement of those policies. // returns a *RequestInformation when successful func (m *AuthenticationStrengthPoliciesItemUsageRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *AuthenticationStrengthPoliciesItemUsageRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/policies/feature_rollout_policies_item_applies_to_ref_request_builder.go b/policies/feature_rollout_policies_item_applies_to_ref_request_builder.go index e034f53be5..01835379f3 100644 --- a/policies/feature_rollout_policies_item_applies_to_ref_request_builder.go +++ b/policies/feature_rollout_policies_item_applies_to_ref_request_builder.go @@ -62,7 +62,7 @@ type FeatureRolloutPoliciesItemAppliesToRefRequestBuilderPostRequestConfiguratio // NewFeatureRolloutPoliciesItemAppliesToRefRequestBuilderInternal instantiates a new FeatureRolloutPoliciesItemAppliesToRefRequestBuilder and sets the default values. func NewFeatureRolloutPoliciesItemAppliesToRefRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*FeatureRolloutPoliciesItemAppliesToRefRequestBuilder) { m := &FeatureRolloutPoliciesItemAppliesToRefRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/policies/featureRolloutPolicies/{featureRolloutPolicy%2Did}/appliesTo/$ref?@id={%40id}{&%24count,%24filter,%24orderby,%24search,%24skip,%24top}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/policies/featureRolloutPolicies/{featureRolloutPolicy%2Did}/appliesTo/$ref{?%24count,%24filter,%24orderby,%24search,%24skip,%24top}", pathParameters), } return m } @@ -147,7 +147,7 @@ func (m *FeatureRolloutPoliciesItemAppliesToRefRequestBuilder) ToDeleteRequestIn // ToGetRequestInformation nullable. Specifies a list of directoryObject resources that feature is enabled for. // returns a *RequestInformation when successful func (m *FeatureRolloutPoliciesItemAppliesToRefRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *FeatureRolloutPoliciesItemAppliesToRefRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { - requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, "{+baseurl}/policies/featureRolloutPolicies/{featureRolloutPolicy%2Did}/appliesTo/$ref{?%24count,%24filter,%24orderby,%24search,%24skip,%24top}", m.BaseRequestBuilder.PathParameters) + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) if requestConfiguration != nil { if requestConfiguration.QueryParameters != nil { requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) @@ -161,7 +161,7 @@ func (m *FeatureRolloutPoliciesItemAppliesToRefRequestBuilder) ToGetRequestInfor // ToPostRequestInformation add an appliesTo on a featureRolloutPolicy object to specify the directoryObject to which the featureRolloutPolicy should be applied. // returns a *RequestInformation when successful func (m *FeatureRolloutPoliciesItemAppliesToRefRequestBuilder) ToPostRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ReferenceCreateable, requestConfiguration *FeatureRolloutPoliciesItemAppliesToRefRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { - requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, "{+baseurl}/policies/featureRolloutPolicies/{featureRolloutPolicy%2Did}/appliesTo/$ref", m.BaseRequestBuilder.PathParameters) + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) if requestConfiguration != nil { requestInfo.Headers.AddAll(requestConfiguration.Headers) requestInfo.AddRequestOptions(requestConfiguration.Options) diff --git a/policies/federated_token_validation_policy_request_builder.go b/policies/federated_token_validation_policy_request_builder.go new file mode 100644 index 0000000000..e2e4be7e8d --- /dev/null +++ b/policies/federated_token_validation_policy_request_builder.go @@ -0,0 +1,160 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package policies + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// FederatedTokenValidationPolicyRequestBuilder provides operations to manage the federatedTokenValidationPolicy property of the microsoft.graph.policyRoot entity. +type FederatedTokenValidationPolicyRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// FederatedTokenValidationPolicyRequestBuilderDeleteRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type FederatedTokenValidationPolicyRequestBuilderDeleteRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// FederatedTokenValidationPolicyRequestBuilderGetQueryParameters get federatedTokenValidationPolicy from policies +type FederatedTokenValidationPolicyRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string "uriparametername:\"%24expand\"" + // Select properties to be returned + Select []string "uriparametername:\"%24select\"" +} +// FederatedTokenValidationPolicyRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type FederatedTokenValidationPolicyRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *FederatedTokenValidationPolicyRequestBuilderGetQueryParameters +} +// FederatedTokenValidationPolicyRequestBuilderPatchRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type FederatedTokenValidationPolicyRequestBuilderPatchRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewFederatedTokenValidationPolicyRequestBuilderInternal instantiates a new FederatedTokenValidationPolicyRequestBuilder and sets the default values. +func NewFederatedTokenValidationPolicyRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*FederatedTokenValidationPolicyRequestBuilder) { + m := &FederatedTokenValidationPolicyRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/policies/federatedTokenValidationPolicy{?%24expand,%24select}", pathParameters), + } + return m +} +// NewFederatedTokenValidationPolicyRequestBuilder instantiates a new FederatedTokenValidationPolicyRequestBuilder and sets the default values. +func NewFederatedTokenValidationPolicyRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*FederatedTokenValidationPolicyRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewFederatedTokenValidationPolicyRequestBuilderInternal(urlParams, requestAdapter) +} +// Delete delete navigation property federatedTokenValidationPolicy for policies +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *FederatedTokenValidationPolicyRequestBuilder) Delete(ctx context.Context, requestConfiguration *FederatedTokenValidationPolicyRequestBuilderDeleteRequestConfiguration)(error) { + requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); + if err != nil { + return err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + err = m.BaseRequestBuilder.RequestAdapter.SendNoContent(ctx, requestInfo, errorMapping) + if err != nil { + return err + } + return nil +} +// Get get federatedTokenValidationPolicy from policies +// returns a FederatedTokenValidationPolicyable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *FederatedTokenValidationPolicyRequestBuilder) Get(ctx context.Context, requestConfiguration *FederatedTokenValidationPolicyRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.FederatedTokenValidationPolicyable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateFederatedTokenValidationPolicyFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.FederatedTokenValidationPolicyable), nil +} +// Patch update the navigation property federatedTokenValidationPolicy in policies +// returns a FederatedTokenValidationPolicyable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *FederatedTokenValidationPolicyRequestBuilder) Patch(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.FederatedTokenValidationPolicyable, requestConfiguration *FederatedTokenValidationPolicyRequestBuilderPatchRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.FederatedTokenValidationPolicyable, error) { + requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateFederatedTokenValidationPolicyFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.FederatedTokenValidationPolicyable), nil +} +// ToDeleteRequestInformation delete navigation property federatedTokenValidationPolicy for policies +// returns a *RequestInformation when successful +func (m *FederatedTokenValidationPolicyRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *FederatedTokenValidationPolicyRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToGetRequestInformation get federatedTokenValidationPolicy from policies +// returns a *RequestInformation when successful +func (m *FederatedTokenValidationPolicyRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *FederatedTokenValidationPolicyRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToPatchRequestInformation update the navigation property federatedTokenValidationPolicy in policies +// returns a *RequestInformation when successful +func (m *FederatedTokenValidationPolicyRequestBuilder) ToPatchRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.FederatedTokenValidationPolicyable, requestConfiguration *FederatedTokenValidationPolicyRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *FederatedTokenValidationPolicyRequestBuilder when successful +func (m *FederatedTokenValidationPolicyRequestBuilder) WithUrl(rawUrl string)(*FederatedTokenValidationPolicyRequestBuilder) { + return NewFederatedTokenValidationPolicyRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/policies/policies_request_builder.go b/policies/policies_request_builder.go index be4039740f..2492059bf2 100644 --- a/policies/policies_request_builder.go +++ b/policies/policies_request_builder.go @@ -115,6 +115,11 @@ func (m *PoliciesRequestBuilder) DeviceRegistrationPolicy()(*DeviceRegistrationP func (m *PoliciesRequestBuilder) FeatureRolloutPolicies()(*FeatureRolloutPoliciesRequestBuilder) { return NewFeatureRolloutPoliciesRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } +// FederatedTokenValidationPolicy provides operations to manage the federatedTokenValidationPolicy property of the microsoft.graph.policyRoot entity. +// returns a *FederatedTokenValidationPolicyRequestBuilder when successful +func (m *PoliciesRequestBuilder) FederatedTokenValidationPolicy()(*FederatedTokenValidationPolicyRequestBuilder) { + return NewFederatedTokenValidationPolicyRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} // Get get policies // returns a PolicyRootable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code diff --git a/print/printers_create_post_request_body.go b/print/printers_create_post_request_body.go index 0c37f7eed7..c5ef9f2fe5 100644 --- a/print/printers_create_post_request_body.go +++ b/print/printers_create_post_request_body.go @@ -19,6 +19,8 @@ func NewPrintersCreatePostRequestBody()(*PrintersCreatePostRequestBody) { } m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); m.SetAdditionalData(make(map[string]any)) + hasPhysicalDeviceValue := false + m.SetHasPhysicalDevice(&hasPhysicalDeviceValue) return m } // CreatePrintersCreatePostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value diff --git a/print/shares_item_allowed_groups_ref_request_builder.go b/print/shares_item_allowed_groups_ref_request_builder.go index e9b1a6d869..517767c673 100644 --- a/print/shares_item_allowed_groups_ref_request_builder.go +++ b/print/shares_item_allowed_groups_ref_request_builder.go @@ -62,7 +62,7 @@ type SharesItemAllowedGroupsRefRequestBuilderPostRequestConfiguration struct { // NewSharesItemAllowedGroupsRefRequestBuilderInternal instantiates a new SharesItemAllowedGroupsRefRequestBuilder and sets the default values. func NewSharesItemAllowedGroupsRefRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*SharesItemAllowedGroupsRefRequestBuilder) { m := &SharesItemAllowedGroupsRefRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/print/shares/{printerShare%2Did}/allowedGroups/$ref?@id={%40id}{&%24count,%24filter,%24orderby,%24search,%24skip,%24top}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/print/shares/{printerShare%2Did}/allowedGroups/$ref{?%24count,%24filter,%24orderby,%24search,%24skip,%24top}", pathParameters), } return m } @@ -150,7 +150,7 @@ func (m *SharesItemAllowedGroupsRefRequestBuilder) ToDeleteRequestInformation(ct // ToGetRequestInformation retrieve a list of groups that have been granted access to submit print jobs to the associated printerShare. // returns a *RequestInformation when successful func (m *SharesItemAllowedGroupsRefRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *SharesItemAllowedGroupsRefRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { - requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, "{+baseurl}/print/shares/{printerShare%2Did}/allowedGroups/$ref{?%24count,%24filter,%24orderby,%24search,%24skip,%24top}", m.BaseRequestBuilder.PathParameters) + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) if requestConfiguration != nil { if requestConfiguration.QueryParameters != nil { requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) @@ -164,7 +164,7 @@ func (m *SharesItemAllowedGroupsRefRequestBuilder) ToGetRequestInformation(ctx c // ToPostRequestInformation grant the specified group access to submit print jobs to the associated printerShare. // returns a *RequestInformation when successful func (m *SharesItemAllowedGroupsRefRequestBuilder) ToPostRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ReferenceCreateable, requestConfiguration *SharesItemAllowedGroupsRefRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { - requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, "{+baseurl}/print/shares/{printerShare%2Did}/allowedGroups/$ref", m.BaseRequestBuilder.PathParameters) + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) if requestConfiguration != nil { requestInfo.Headers.AddAll(requestConfiguration.Headers) requestInfo.AddRequestOptions(requestConfiguration.Options) diff --git a/print/shares_item_allowed_users_ref_request_builder.go b/print/shares_item_allowed_users_ref_request_builder.go index 9730ebd98a..0c024e4ff3 100644 --- a/print/shares_item_allowed_users_ref_request_builder.go +++ b/print/shares_item_allowed_users_ref_request_builder.go @@ -62,7 +62,7 @@ type SharesItemAllowedUsersRefRequestBuilderPostRequestConfiguration struct { // NewSharesItemAllowedUsersRefRequestBuilderInternal instantiates a new SharesItemAllowedUsersRefRequestBuilder and sets the default values. func NewSharesItemAllowedUsersRefRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*SharesItemAllowedUsersRefRequestBuilder) { m := &SharesItemAllowedUsersRefRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/print/shares/{printerShare%2Did}/allowedUsers/$ref?@id={%40id}{&%24count,%24filter,%24orderby,%24search,%24skip,%24top}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/print/shares/{printerShare%2Did}/allowedUsers/$ref{?%24count,%24filter,%24orderby,%24search,%24skip,%24top}", pathParameters), } return m } @@ -150,7 +150,7 @@ func (m *SharesItemAllowedUsersRefRequestBuilder) ToDeleteRequestInformation(ctx // ToGetRequestInformation retrieve a list of users who have been granted access to submit print jobs to the associated printerShare. // returns a *RequestInformation when successful func (m *SharesItemAllowedUsersRefRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *SharesItemAllowedUsersRefRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { - requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, "{+baseurl}/print/shares/{printerShare%2Did}/allowedUsers/$ref{?%24count,%24filter,%24orderby,%24search,%24skip,%24top}", m.BaseRequestBuilder.PathParameters) + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) if requestConfiguration != nil { if requestConfiguration.QueryParameters != nil { requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) @@ -164,7 +164,7 @@ func (m *SharesItemAllowedUsersRefRequestBuilder) ToGetRequestInformation(ctx co // ToPostRequestInformation grant the specified user access to submit print jobs to the associated printerShare. // returns a *RequestInformation when successful func (m *SharesItemAllowedUsersRefRequestBuilder) ToPostRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ReferenceCreateable, requestConfiguration *SharesItemAllowedUsersRefRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { - requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, "{+baseurl}/print/shares/{printerShare%2Did}/allowedUsers/$ref", m.BaseRequestBuilder.PathParameters) + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) if requestConfiguration != nil { requestInfo.Headers.AddAll(requestConfiguration.Headers) requestInfo.AddRequestOptions(requestConfiguration.Options) diff --git a/schemaextensions/schema_extension_item_request_builder.go b/schemaextensions/schema_extension_item_request_builder.go index 697d79ab59..72d55fd491 100644 --- a/schemaextensions/schema_extension_item_request_builder.go +++ b/schemaextensions/schema_extension_item_request_builder.go @@ -57,7 +57,7 @@ func NewSchemaExtensionItemRequestBuilder(rawUrl string, requestAdapter i2ae4187 urlParams["request-raw-url"] = rawUrl return NewSchemaExtensionItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete the definition of a schema extension. Only the app that created the schema extension (owner app) can delete the schema extension definition, and only when the extension is in the InDevelopment state. Deleting a schema extension definition does not affect accessing custom data that has been added to resource instances based on that definition. +// Delete delete the definition of a schema extension. Only the app that created the schema extension (owner app) can delete the schema extension definition, and only when the extension is in the InDevelopment state. Deleting a schema extension definition doesn't affect accessing custom data that has been added to resource instances based on that definition. // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // @@ -122,7 +122,7 @@ func (m *SchemaExtensionItemRequestBuilder) Patch(ctx context.Context, body iadc } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SchemaExtensionable), nil } -// ToDeleteRequestInformation delete the definition of a schema extension. Only the app that created the schema extension (owner app) can delete the schema extension definition, and only when the extension is in the InDevelopment state. Deleting a schema extension definition does not affect accessing custom data that has been added to resource instances based on that definition. +// ToDeleteRequestInformation delete the definition of a schema extension. Only the app that created the schema extension (owner app) can delete the schema extension definition, and only when the extension is in the InDevelopment state. Deleting a schema extension definition doesn't affect accessing custom data that has been added to resource instances based on that definition. // returns a *RequestInformation when successful func (m *SchemaExtensionItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *SchemaExtensionItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/security/alerts_escaped_v2_microsoft_graph_security_move_alerts_move_alerts_post_request_body.go b/security/alerts_escaped_v2_microsoft_graph_security_move_alerts_move_alerts_post_request_body.go new file mode 100644 index 0000000000..f9904a343b --- /dev/null +++ b/security/alerts_escaped_v2_microsoft_graph_security_move_alerts_move_alerts_post_request_body.go @@ -0,0 +1,235 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package security + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" + idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae "github.com/microsoftgraph/msgraph-sdk-go/models/security" +) + +type Alerts_v2MicrosoftGraphSecurityMoveAlertsMoveAlertsPostRequestBody struct { + // Stores model information. + backingStore ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore +} +// NewAlerts_v2MicrosoftGraphSecurityMoveAlertsMoveAlertsPostRequestBody instantiates a new Alerts_v2MicrosoftGraphSecurityMoveAlertsMoveAlertsPostRequestBody and sets the default values. +func NewAlerts_v2MicrosoftGraphSecurityMoveAlertsMoveAlertsPostRequestBody()(*Alerts_v2MicrosoftGraphSecurityMoveAlertsMoveAlertsPostRequestBody) { + m := &Alerts_v2MicrosoftGraphSecurityMoveAlertsMoveAlertsPostRequestBody{ + } + m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); + m.SetAdditionalData(make(map[string]any)) + return m +} +// CreateAlerts_v2MicrosoftGraphSecurityMoveAlertsMoveAlertsPostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateAlerts_v2MicrosoftGraphSecurityMoveAlertsMoveAlertsPostRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewAlerts_v2MicrosoftGraphSecurityMoveAlertsMoveAlertsPostRequestBody(), nil +} +// GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +// returns a map[string]any when successful +func (m *Alerts_v2MicrosoftGraphSecurityMoveAlertsMoveAlertsPostRequestBody) GetAdditionalData()(map[string]any) { + val , err := m.backingStore.Get("additionalData") + if err != nil { + panic(err) + } + if val == nil { + var value = make(map[string]any); + m.SetAdditionalData(value); + } + return val.(map[string]any) +} +// GetAlertComment gets the alertComment property value. The alertComment property +// returns a *string when successful +func (m *Alerts_v2MicrosoftGraphSecurityMoveAlertsMoveAlertsPostRequestBody) GetAlertComment()(*string) { + val, err := m.GetBackingStore().Get("alertComment") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetAlertIds gets the alertIds property value. The alertIds property +// returns a []string when successful +func (m *Alerts_v2MicrosoftGraphSecurityMoveAlertsMoveAlertsPostRequestBody) GetAlertIds()([]string) { + val, err := m.GetBackingStore().Get("alertIds") + if err != nil { + panic(err) + } + if val != nil { + return val.([]string) + } + return nil +} +// GetBackingStore gets the BackingStore property value. Stores model information. +// returns a BackingStore when successful +func (m *Alerts_v2MicrosoftGraphSecurityMoveAlertsMoveAlertsPostRequestBody) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) { + return m.backingStore +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *Alerts_v2MicrosoftGraphSecurityMoveAlertsMoveAlertsPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) + res["alertComment"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetAlertComment(val) + } + return nil + } + res["alertIds"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfPrimitiveValues("string") + if err != nil { + return err + } + if val != nil { + res := make([]string, len(val)) + for i, v := range val { + if v != nil { + res[i] = *(v.(*string)) + } + } + m.SetAlertIds(res) + } + return nil + } + res["incidentId"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetIncidentId(val) + } + return nil + } + res["newCorrelationReasons"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetEnumValue(idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.ParseCorrelationReason) + if err != nil { + return err + } + if val != nil { + m.SetNewCorrelationReasons(val.(*idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.CorrelationReason)) + } + return nil + } + return res +} +// GetIncidentId gets the incidentId property value. The incidentId property +// returns a *string when successful +func (m *Alerts_v2MicrosoftGraphSecurityMoveAlertsMoveAlertsPostRequestBody) GetIncidentId()(*string) { + val, err := m.GetBackingStore().Get("incidentId") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetNewCorrelationReasons gets the newCorrelationReasons property value. The newCorrelationReasons property +// returns a *CorrelationReason when successful +func (m *Alerts_v2MicrosoftGraphSecurityMoveAlertsMoveAlertsPostRequestBody) GetNewCorrelationReasons()(*idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.CorrelationReason) { + val, err := m.GetBackingStore().Get("newCorrelationReasons") + if err != nil { + panic(err) + } + if val != nil { + return val.(*idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.CorrelationReason) + } + return nil +} +// Serialize serializes information the current object +func (m *Alerts_v2MicrosoftGraphSecurityMoveAlertsMoveAlertsPostRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + { + err := writer.WriteStringValue("alertComment", m.GetAlertComment()) + if err != nil { + return err + } + } + if m.GetAlertIds() != nil { + err := writer.WriteCollectionOfStringValues("alertIds", m.GetAlertIds()) + if err != nil { + return err + } + } + { + err := writer.WriteStringValue("incidentId", m.GetIncidentId()) + if err != nil { + return err + } + } + if m.GetNewCorrelationReasons() != nil { + cast := (*m.GetNewCorrelationReasons()).String() + err := writer.WriteStringValue("newCorrelationReasons", &cast) + if err != nil { + return err + } + } + { + err := writer.WriteAdditionalData(m.GetAdditionalData()) + if err != nil { + return err + } + } + return nil +} +// SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +func (m *Alerts_v2MicrosoftGraphSecurityMoveAlertsMoveAlertsPostRequestBody) SetAdditionalData(value map[string]any)() { + err := m.GetBackingStore().Set("additionalData", value) + if err != nil { + panic(err) + } +} +// SetAlertComment sets the alertComment property value. The alertComment property +func (m *Alerts_v2MicrosoftGraphSecurityMoveAlertsMoveAlertsPostRequestBody) SetAlertComment(value *string)() { + err := m.GetBackingStore().Set("alertComment", value) + if err != nil { + panic(err) + } +} +// SetAlertIds sets the alertIds property value. The alertIds property +func (m *Alerts_v2MicrosoftGraphSecurityMoveAlertsMoveAlertsPostRequestBody) SetAlertIds(value []string)() { + err := m.GetBackingStore().Set("alertIds", value) + if err != nil { + panic(err) + } +} +// SetBackingStore sets the BackingStore property value. Stores model information. +func (m *Alerts_v2MicrosoftGraphSecurityMoveAlertsMoveAlertsPostRequestBody) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { + m.backingStore = value +} +// SetIncidentId sets the incidentId property value. The incidentId property +func (m *Alerts_v2MicrosoftGraphSecurityMoveAlertsMoveAlertsPostRequestBody) SetIncidentId(value *string)() { + err := m.GetBackingStore().Set("incidentId", value) + if err != nil { + panic(err) + } +} +// SetNewCorrelationReasons sets the newCorrelationReasons property value. The newCorrelationReasons property +func (m *Alerts_v2MicrosoftGraphSecurityMoveAlertsMoveAlertsPostRequestBody) SetNewCorrelationReasons(value *idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.CorrelationReason)() { + err := m.GetBackingStore().Set("newCorrelationReasons", value) + if err != nil { + panic(err) + } +} +type Alerts_v2MicrosoftGraphSecurityMoveAlertsMoveAlertsPostRequestBodyable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetAlertComment()(*string) + GetAlertIds()([]string) + GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) + GetIncidentId()(*string) + GetNewCorrelationReasons()(*idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.CorrelationReason) + SetAlertComment(value *string)() + SetAlertIds(value []string)() + SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() + SetIncidentId(value *string)() + SetNewCorrelationReasons(value *idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.CorrelationReason)() +} diff --git a/security/alerts_escaped_v2_microsoft_graph_security_move_alerts_request_builder.go b/security/alerts_escaped_v2_microsoft_graph_security_move_alerts_request_builder.go new file mode 100644 index 0000000000..20268cd4ec --- /dev/null +++ b/security/alerts_escaped_v2_microsoft_graph_security_move_alerts_request_builder.go @@ -0,0 +1,76 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package security + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" + idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae "github.com/microsoftgraph/msgraph-sdk-go/models/security" +) + +// Alerts_v2MicrosoftGraphSecurityMoveAlertsRequestBuilder provides operations to call the moveAlerts method. +type Alerts_v2MicrosoftGraphSecurityMoveAlertsRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// Alerts_v2MicrosoftGraphSecurityMoveAlertsRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type Alerts_v2MicrosoftGraphSecurityMoveAlertsRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewAlerts_v2MicrosoftGraphSecurityMoveAlertsRequestBuilderInternal instantiates a new Alerts_v2MicrosoftGraphSecurityMoveAlertsRequestBuilder and sets the default values. +func NewAlerts_v2MicrosoftGraphSecurityMoveAlertsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*Alerts_v2MicrosoftGraphSecurityMoveAlertsRequestBuilder) { + m := &Alerts_v2MicrosoftGraphSecurityMoveAlertsRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/security/alerts_v2/microsoft.graph.security.moveAlerts", pathParameters), + } + return m +} +// NewAlerts_v2MicrosoftGraphSecurityMoveAlertsRequestBuilder instantiates a new Alerts_v2MicrosoftGraphSecurityMoveAlertsRequestBuilder and sets the default values. +func NewAlerts_v2MicrosoftGraphSecurityMoveAlertsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*Alerts_v2MicrosoftGraphSecurityMoveAlertsRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewAlerts_v2MicrosoftGraphSecurityMoveAlertsRequestBuilderInternal(urlParams, requestAdapter) +} +// Post move one or more alert resources to a new or existing incident. +// returns a MergeResponseable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *Alerts_v2MicrosoftGraphSecurityMoveAlertsRequestBuilder) Post(ctx context.Context, body Alerts_v2MicrosoftGraphSecurityMoveAlertsMoveAlertsPostRequestBodyable, requestConfiguration *Alerts_v2MicrosoftGraphSecurityMoveAlertsRequestBuilderPostRequestConfiguration)(idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.MergeResponseable, error) { + requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.CreateMergeResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.MergeResponseable), nil +} +// ToPostRequestInformation move one or more alert resources to a new or existing incident. +// returns a *RequestInformation when successful +func (m *Alerts_v2MicrosoftGraphSecurityMoveAlertsRequestBuilder) ToPostRequestInformation(ctx context.Context, body Alerts_v2MicrosoftGraphSecurityMoveAlertsMoveAlertsPostRequestBodyable, requestConfiguration *Alerts_v2MicrosoftGraphSecurityMoveAlertsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *Alerts_v2MicrosoftGraphSecurityMoveAlertsRequestBuilder when successful +func (m *Alerts_v2MicrosoftGraphSecurityMoveAlertsRequestBuilder) WithUrl(rawUrl string)(*Alerts_v2MicrosoftGraphSecurityMoveAlertsRequestBuilder) { + return NewAlerts_v2MicrosoftGraphSecurityMoveAlertsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/alerts_escaped_v2_request_builder.go b/security/alerts_escaped_v2_request_builder.go index 93215fdf0f..05d3d1737c 100644 --- a/security/alerts_escaped_v2_request_builder.go +++ b/security/alerts_escaped_v2_request_builder.go @@ -102,6 +102,11 @@ func (m *Alerts_v2RequestBuilder) Get(ctx context.Context, requestConfiguration } return res.(idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.AlertCollectionResponseable), nil } +// MicrosoftGraphSecurityMoveAlerts provides operations to call the moveAlerts method. +// returns a *Alerts_v2MicrosoftGraphSecurityMoveAlertsRequestBuilder when successful +func (m *Alerts_v2RequestBuilder) MicrosoftGraphSecurityMoveAlerts()(*Alerts_v2MicrosoftGraphSecurityMoveAlertsRequestBuilder) { + return NewAlerts_v2MicrosoftGraphSecurityMoveAlertsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} // Post create new navigation property to alerts_v2 for security // returns a Alertable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code diff --git a/security/attack_simulation_simulations_simulation_item_request_builder.go b/security/attack_simulation_simulations_simulation_item_request_builder.go index 513000e16f..c6d838ce55 100644 --- a/security/attack_simulation_simulations_simulation_item_request_builder.go +++ b/security/attack_simulation_simulations_simulation_item_request_builder.go @@ -109,7 +109,7 @@ func (m *AttackSimulationSimulationsSimulationItemRequestBuilder) LandingPage()( func (m *AttackSimulationSimulationsSimulationItemRequestBuilder) LoginPage()(*AttackSimulationSimulationsItemLoginPageRequestBuilder) { return NewAttackSimulationSimulationsItemLoginPageRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Patch update an attack simulation campaign for a tenant. +// Patch update an attack simulation campaign for a tenant. You can only update simulations that are in draft status. // returns a Simulationable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] @@ -162,7 +162,7 @@ func (m *AttackSimulationSimulationsSimulationItemRequestBuilder) ToGetRequestIn requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update an attack simulation campaign for a tenant. +// ToPatchRequestInformation update an attack simulation campaign for a tenant. You can only update simulations that are in draft status. // returns a *RequestInformation when successful func (m *AttackSimulationSimulationsSimulationItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Simulationable, requestConfiguration *AttackSimulationSimulationsSimulationItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/security/b0fee81224494425ca475ab773280f54b1958842efdfc22e5b020d3af8d1f771.go b/security/b0fee81224494425ca475ab773280f54b1958842efdfc22e5b020d3af8d1f771.go index 75e815297e..95dde5baf2 100644 --- a/security/b0fee81224494425ca475ab773280f54b1958842efdfc22e5b020d3af8d1f771.go +++ b/security/b0fee81224494425ca475ab773280f54b1958842efdfc22e5b020d3af8d1f771.go @@ -19,6 +19,8 @@ func NewCasesEdiscoveryCasesItemSearchesItemMicrosoftGraphSecurityExportResultEx } m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); m.SetAdditionalData(make(map[string]any)) + exportSingleItemsValue := false + m.SetExportSingleItems(&exportSingleItemsValue) return m } // CreateCasesEdiscoveryCasesItemSearchesItemMicrosoftGraphSecurityExportResultExportResultPostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value diff --git a/security/collaboration_analyzed_emails_analyzed_email_item_request_builder.go b/security/collaboration_analyzed_emails_analyzed_email_item_request_builder.go new file mode 100644 index 0000000000..321e397e83 --- /dev/null +++ b/security/collaboration_analyzed_emails_analyzed_email_item_request_builder.go @@ -0,0 +1,163 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package security + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" + idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae "github.com/microsoftgraph/msgraph-sdk-go/models/security" +) + +// CollaborationAnalyzedEmailsAnalyzedEmailItemRequestBuilder provides operations to manage the analyzedEmails property of the microsoft.graph.security.collaborationRoot entity. +type CollaborationAnalyzedEmailsAnalyzedEmailItemRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// CollaborationAnalyzedEmailsAnalyzedEmailItemRequestBuilderDeleteRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type CollaborationAnalyzedEmailsAnalyzedEmailItemRequestBuilderDeleteRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// CollaborationAnalyzedEmailsAnalyzedEmailItemRequestBuilderGetQueryParameters read the properties and relationships of an analyzedEmail object. +type CollaborationAnalyzedEmailsAnalyzedEmailItemRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string "uriparametername:\"%24expand\"" + // Select properties to be returned + Select []string "uriparametername:\"%24select\"" +} +// CollaborationAnalyzedEmailsAnalyzedEmailItemRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type CollaborationAnalyzedEmailsAnalyzedEmailItemRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *CollaborationAnalyzedEmailsAnalyzedEmailItemRequestBuilderGetQueryParameters +} +// CollaborationAnalyzedEmailsAnalyzedEmailItemRequestBuilderPatchRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type CollaborationAnalyzedEmailsAnalyzedEmailItemRequestBuilderPatchRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewCollaborationAnalyzedEmailsAnalyzedEmailItemRequestBuilderInternal instantiates a new CollaborationAnalyzedEmailsAnalyzedEmailItemRequestBuilder and sets the default values. +func NewCollaborationAnalyzedEmailsAnalyzedEmailItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*CollaborationAnalyzedEmailsAnalyzedEmailItemRequestBuilder) { + m := &CollaborationAnalyzedEmailsAnalyzedEmailItemRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/security/collaboration/analyzedEmails/{analyzedEmail%2Did}{?%24expand,%24select}", pathParameters), + } + return m +} +// NewCollaborationAnalyzedEmailsAnalyzedEmailItemRequestBuilder instantiates a new CollaborationAnalyzedEmailsAnalyzedEmailItemRequestBuilder and sets the default values. +func NewCollaborationAnalyzedEmailsAnalyzedEmailItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*CollaborationAnalyzedEmailsAnalyzedEmailItemRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewCollaborationAnalyzedEmailsAnalyzedEmailItemRequestBuilderInternal(urlParams, requestAdapter) +} +// Delete delete navigation property analyzedEmails for security +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *CollaborationAnalyzedEmailsAnalyzedEmailItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *CollaborationAnalyzedEmailsAnalyzedEmailItemRequestBuilderDeleteRequestConfiguration)(error) { + requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); + if err != nil { + return err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + err = m.BaseRequestBuilder.RequestAdapter.SendNoContent(ctx, requestInfo, errorMapping) + if err != nil { + return err + } + return nil +} +// Get read the properties and relationships of an analyzedEmail object. +// returns a AnalyzedEmailable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/security-analyzedemail-get?view=graph-rest-1.0 +func (m *CollaborationAnalyzedEmailsAnalyzedEmailItemRequestBuilder) Get(ctx context.Context, requestConfiguration *CollaborationAnalyzedEmailsAnalyzedEmailItemRequestBuilderGetRequestConfiguration)(idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.AnalyzedEmailable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.CreateAnalyzedEmailFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.AnalyzedEmailable), nil +} +// Patch update the navigation property analyzedEmails in security +// returns a AnalyzedEmailable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *CollaborationAnalyzedEmailsAnalyzedEmailItemRequestBuilder) Patch(ctx context.Context, body idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.AnalyzedEmailable, requestConfiguration *CollaborationAnalyzedEmailsAnalyzedEmailItemRequestBuilderPatchRequestConfiguration)(idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.AnalyzedEmailable, error) { + requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.CreateAnalyzedEmailFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.AnalyzedEmailable), nil +} +// ToDeleteRequestInformation delete navigation property analyzedEmails for security +// returns a *RequestInformation when successful +func (m *CollaborationAnalyzedEmailsAnalyzedEmailItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *CollaborationAnalyzedEmailsAnalyzedEmailItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToGetRequestInformation read the properties and relationships of an analyzedEmail object. +// returns a *RequestInformation when successful +func (m *CollaborationAnalyzedEmailsAnalyzedEmailItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *CollaborationAnalyzedEmailsAnalyzedEmailItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToPatchRequestInformation update the navigation property analyzedEmails in security +// returns a *RequestInformation when successful +func (m *CollaborationAnalyzedEmailsAnalyzedEmailItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.AnalyzedEmailable, requestConfiguration *CollaborationAnalyzedEmailsAnalyzedEmailItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *CollaborationAnalyzedEmailsAnalyzedEmailItemRequestBuilder when successful +func (m *CollaborationAnalyzedEmailsAnalyzedEmailItemRequestBuilder) WithUrl(rawUrl string)(*CollaborationAnalyzedEmailsAnalyzedEmailItemRequestBuilder) { + return NewCollaborationAnalyzedEmailsAnalyzedEmailItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/collaboration_analyzed_emails_count_request_builder.go b/security/collaboration_analyzed_emails_count_request_builder.go new file mode 100644 index 0000000000..30a888732e --- /dev/null +++ b/security/collaboration_analyzed_emails_count_request_builder.go @@ -0,0 +1,83 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package security + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// CollaborationAnalyzedEmailsCountRequestBuilder provides operations to count the resources in the collection. +type CollaborationAnalyzedEmailsCountRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// CollaborationAnalyzedEmailsCountRequestBuilderGetQueryParameters get the number of the resource +type CollaborationAnalyzedEmailsCountRequestBuilderGetQueryParameters struct { + // Filter items by property values + Filter *string "uriparametername:\"%24filter\"" + // Search items by search phrases + Search *string "uriparametername:\"%24search\"" +} +// CollaborationAnalyzedEmailsCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type CollaborationAnalyzedEmailsCountRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *CollaborationAnalyzedEmailsCountRequestBuilderGetQueryParameters +} +// NewCollaborationAnalyzedEmailsCountRequestBuilderInternal instantiates a new CollaborationAnalyzedEmailsCountRequestBuilder and sets the default values. +func NewCollaborationAnalyzedEmailsCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*CollaborationAnalyzedEmailsCountRequestBuilder) { + m := &CollaborationAnalyzedEmailsCountRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/security/collaboration/analyzedEmails/$count{?%24filter,%24search}", pathParameters), + } + return m +} +// NewCollaborationAnalyzedEmailsCountRequestBuilder instantiates a new CollaborationAnalyzedEmailsCountRequestBuilder and sets the default values. +func NewCollaborationAnalyzedEmailsCountRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*CollaborationAnalyzedEmailsCountRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewCollaborationAnalyzedEmailsCountRequestBuilderInternal(urlParams, requestAdapter) +} +// Get get the number of the resource +// returns a *int32 when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *CollaborationAnalyzedEmailsCountRequestBuilder) Get(ctx context.Context, requestConfiguration *CollaborationAnalyzedEmailsCountRequestBuilderGetRequestConfiguration)(*int32, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.SendPrimitive(ctx, requestInfo, "int32", errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(*int32), nil +} +// ToGetRequestInformation get the number of the resource +// returns a *RequestInformation when successful +func (m *CollaborationAnalyzedEmailsCountRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *CollaborationAnalyzedEmailsCountRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9") + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *CollaborationAnalyzedEmailsCountRequestBuilder when successful +func (m *CollaborationAnalyzedEmailsCountRequestBuilder) WithUrl(rawUrl string)(*CollaborationAnalyzedEmailsCountRequestBuilder) { + return NewCollaborationAnalyzedEmailsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/collaboration_analyzed_emails_microsoft_graph_security_remediate_remediate_post_request_body.go b/security/collaboration_analyzed_emails_microsoft_graph_security_remediate_remediate_post_request_body.go new file mode 100644 index 0000000000..603c861311 --- /dev/null +++ b/security/collaboration_analyzed_emails_microsoft_graph_security_remediate_remediate_post_request_body.go @@ -0,0 +1,318 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package security + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" + idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae "github.com/microsoftgraph/msgraph-sdk-go/models/security" +) + +type CollaborationAnalyzedEmailsMicrosoftGraphSecurityRemediateRemediatePostRequestBody struct { + // Stores model information. + backingStore ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore +} +// NewCollaborationAnalyzedEmailsMicrosoftGraphSecurityRemediateRemediatePostRequestBody instantiates a new CollaborationAnalyzedEmailsMicrosoftGraphSecurityRemediateRemediatePostRequestBody and sets the default values. +func NewCollaborationAnalyzedEmailsMicrosoftGraphSecurityRemediateRemediatePostRequestBody()(*CollaborationAnalyzedEmailsMicrosoftGraphSecurityRemediateRemediatePostRequestBody) { + m := &CollaborationAnalyzedEmailsMicrosoftGraphSecurityRemediateRemediatePostRequestBody{ + } + m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); + m.SetAdditionalData(make(map[string]any)) + remediateSendersCopyValue := false + m.SetRemediateSendersCopy(&remediateSendersCopyValue) + return m +} +// CreateCollaborationAnalyzedEmailsMicrosoftGraphSecurityRemediateRemediatePostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateCollaborationAnalyzedEmailsMicrosoftGraphSecurityRemediateRemediatePostRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewCollaborationAnalyzedEmailsMicrosoftGraphSecurityRemediateRemediatePostRequestBody(), nil +} +// GetAction gets the action property value. The action property +// returns a *RemediationAction when successful +func (m *CollaborationAnalyzedEmailsMicrosoftGraphSecurityRemediateRemediatePostRequestBody) GetAction()(*idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.RemediationAction) { + val, err := m.GetBackingStore().Get("action") + if err != nil { + panic(err) + } + if val != nil { + return val.(*idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.RemediationAction) + } + return nil +} +// GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +// returns a map[string]any when successful +func (m *CollaborationAnalyzedEmailsMicrosoftGraphSecurityRemediateRemediatePostRequestBody) GetAdditionalData()(map[string]any) { + val , err := m.backingStore.Get("additionalData") + if err != nil { + panic(err) + } + if val == nil { + var value = make(map[string]any); + m.SetAdditionalData(value); + } + return val.(map[string]any) +} +// GetAnalyzedEmails gets the analyzedEmails property value. The analyzedEmails property +// returns a []AnalyzedEmailable when successful +func (m *CollaborationAnalyzedEmailsMicrosoftGraphSecurityRemediateRemediatePostRequestBody) GetAnalyzedEmails()([]idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.AnalyzedEmailable) { + val, err := m.GetBackingStore().Get("analyzedEmails") + if err != nil { + panic(err) + } + if val != nil { + return val.([]idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.AnalyzedEmailable) + } + return nil +} +// GetBackingStore gets the BackingStore property value. Stores model information. +// returns a BackingStore when successful +func (m *CollaborationAnalyzedEmailsMicrosoftGraphSecurityRemediateRemediatePostRequestBody) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) { + return m.backingStore +} +// GetDescription gets the description property value. The description property +// returns a *string when successful +func (m *CollaborationAnalyzedEmailsMicrosoftGraphSecurityRemediateRemediatePostRequestBody) GetDescription()(*string) { + val, err := m.GetBackingStore().Get("description") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetDisplayName gets the displayName property value. The displayName property +// returns a *string when successful +func (m *CollaborationAnalyzedEmailsMicrosoftGraphSecurityRemediateRemediatePostRequestBody) GetDisplayName()(*string) { + val, err := m.GetBackingStore().Get("displayName") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *CollaborationAnalyzedEmailsMicrosoftGraphSecurityRemediateRemediatePostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) + res["action"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetEnumValue(idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.ParseRemediationAction) + if err != nil { + return err + } + if val != nil { + m.SetAction(val.(*idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.RemediationAction)) + } + return nil + } + res["analyzedEmails"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.CreateAnalyzedEmailFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.AnalyzedEmailable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.AnalyzedEmailable) + } + } + m.SetAnalyzedEmails(res) + } + return nil + } + res["description"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetDescription(val) + } + return nil + } + res["displayName"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetDisplayName(val) + } + return nil + } + res["remediateSendersCopy"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetBoolValue() + if err != nil { + return err + } + if val != nil { + m.SetRemediateSendersCopy(val) + } + return nil + } + res["severity"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetEnumValue(idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.ParseRemediationSeverity) + if err != nil { + return err + } + if val != nil { + m.SetSeverity(val.(*idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.RemediationSeverity)) + } + return nil + } + return res +} +// GetRemediateSendersCopy gets the remediateSendersCopy property value. The remediateSendersCopy property +// returns a *bool when successful +func (m *CollaborationAnalyzedEmailsMicrosoftGraphSecurityRemediateRemediatePostRequestBody) GetRemediateSendersCopy()(*bool) { + val, err := m.GetBackingStore().Get("remediateSendersCopy") + if err != nil { + panic(err) + } + if val != nil { + return val.(*bool) + } + return nil +} +// GetSeverity gets the severity property value. The severity property +// returns a *RemediationSeverity when successful +func (m *CollaborationAnalyzedEmailsMicrosoftGraphSecurityRemediateRemediatePostRequestBody) GetSeverity()(*idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.RemediationSeverity) { + val, err := m.GetBackingStore().Get("severity") + if err != nil { + panic(err) + } + if val != nil { + return val.(*idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.RemediationSeverity) + } + return nil +} +// Serialize serializes information the current object +func (m *CollaborationAnalyzedEmailsMicrosoftGraphSecurityRemediateRemediatePostRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + if m.GetAction() != nil { + cast := (*m.GetAction()).String() + err := writer.WriteStringValue("action", &cast) + if err != nil { + return err + } + } + if m.GetAnalyzedEmails() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetAnalyzedEmails())) + for i, v := range m.GetAnalyzedEmails() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err := writer.WriteCollectionOfObjectValues("analyzedEmails", cast) + if err != nil { + return err + } + } + { + err := writer.WriteStringValue("description", m.GetDescription()) + if err != nil { + return err + } + } + { + err := writer.WriteStringValue("displayName", m.GetDisplayName()) + if err != nil { + return err + } + } + { + err := writer.WriteBoolValue("remediateSendersCopy", m.GetRemediateSendersCopy()) + if err != nil { + return err + } + } + if m.GetSeverity() != nil { + cast := (*m.GetSeverity()).String() + err := writer.WriteStringValue("severity", &cast) + if err != nil { + return err + } + } + { + err := writer.WriteAdditionalData(m.GetAdditionalData()) + if err != nil { + return err + } + } + return nil +} +// SetAction sets the action property value. The action property +func (m *CollaborationAnalyzedEmailsMicrosoftGraphSecurityRemediateRemediatePostRequestBody) SetAction(value *idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.RemediationAction)() { + err := m.GetBackingStore().Set("action", value) + if err != nil { + panic(err) + } +} +// SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +func (m *CollaborationAnalyzedEmailsMicrosoftGraphSecurityRemediateRemediatePostRequestBody) SetAdditionalData(value map[string]any)() { + err := m.GetBackingStore().Set("additionalData", value) + if err != nil { + panic(err) + } +} +// SetAnalyzedEmails sets the analyzedEmails property value. The analyzedEmails property +func (m *CollaborationAnalyzedEmailsMicrosoftGraphSecurityRemediateRemediatePostRequestBody) SetAnalyzedEmails(value []idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.AnalyzedEmailable)() { + err := m.GetBackingStore().Set("analyzedEmails", value) + if err != nil { + panic(err) + } +} +// SetBackingStore sets the BackingStore property value. Stores model information. +func (m *CollaborationAnalyzedEmailsMicrosoftGraphSecurityRemediateRemediatePostRequestBody) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { + m.backingStore = value +} +// SetDescription sets the description property value. The description property +func (m *CollaborationAnalyzedEmailsMicrosoftGraphSecurityRemediateRemediatePostRequestBody) SetDescription(value *string)() { + err := m.GetBackingStore().Set("description", value) + if err != nil { + panic(err) + } +} +// SetDisplayName sets the displayName property value. The displayName property +func (m *CollaborationAnalyzedEmailsMicrosoftGraphSecurityRemediateRemediatePostRequestBody) SetDisplayName(value *string)() { + err := m.GetBackingStore().Set("displayName", value) + if err != nil { + panic(err) + } +} +// SetRemediateSendersCopy sets the remediateSendersCopy property value. The remediateSendersCopy property +func (m *CollaborationAnalyzedEmailsMicrosoftGraphSecurityRemediateRemediatePostRequestBody) SetRemediateSendersCopy(value *bool)() { + err := m.GetBackingStore().Set("remediateSendersCopy", value) + if err != nil { + panic(err) + } +} +// SetSeverity sets the severity property value. The severity property +func (m *CollaborationAnalyzedEmailsMicrosoftGraphSecurityRemediateRemediatePostRequestBody) SetSeverity(value *idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.RemediationSeverity)() { + err := m.GetBackingStore().Set("severity", value) + if err != nil { + panic(err) + } +} +type CollaborationAnalyzedEmailsMicrosoftGraphSecurityRemediateRemediatePostRequestBodyable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetAction()(*idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.RemediationAction) + GetAnalyzedEmails()([]idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.AnalyzedEmailable) + GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) + GetDescription()(*string) + GetDisplayName()(*string) + GetRemediateSendersCopy()(*bool) + GetSeverity()(*idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.RemediationSeverity) + SetAction(value *idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.RemediationAction)() + SetAnalyzedEmails(value []idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.AnalyzedEmailable)() + SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() + SetDescription(value *string)() + SetDisplayName(value *string)() + SetRemediateSendersCopy(value *bool)() + SetSeverity(value *idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.RemediationSeverity)() +} diff --git a/security/collaboration_analyzed_emails_microsoft_graph_security_remediate_request_builder.go b/security/collaboration_analyzed_emails_microsoft_graph_security_remediate_request_builder.go new file mode 100644 index 0000000000..4ddfdb7342 --- /dev/null +++ b/security/collaboration_analyzed_emails_microsoft_graph_security_remediate_request_builder.go @@ -0,0 +1,71 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package security + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// CollaborationAnalyzedEmailsMicrosoftGraphSecurityRemediateRequestBuilder provides operations to call the remediate method. +type CollaborationAnalyzedEmailsMicrosoftGraphSecurityRemediateRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// CollaborationAnalyzedEmailsMicrosoftGraphSecurityRemediateRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type CollaborationAnalyzedEmailsMicrosoftGraphSecurityRemediateRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewCollaborationAnalyzedEmailsMicrosoftGraphSecurityRemediateRequestBuilderInternal instantiates a new CollaborationAnalyzedEmailsMicrosoftGraphSecurityRemediateRequestBuilder and sets the default values. +func NewCollaborationAnalyzedEmailsMicrosoftGraphSecurityRemediateRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*CollaborationAnalyzedEmailsMicrosoftGraphSecurityRemediateRequestBuilder) { + m := &CollaborationAnalyzedEmailsMicrosoftGraphSecurityRemediateRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/security/collaboration/analyzedEmails/microsoft.graph.security.remediate", pathParameters), + } + return m +} +// NewCollaborationAnalyzedEmailsMicrosoftGraphSecurityRemediateRequestBuilder instantiates a new CollaborationAnalyzedEmailsMicrosoftGraphSecurityRemediateRequestBuilder and sets the default values. +func NewCollaborationAnalyzedEmailsMicrosoftGraphSecurityRemediateRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*CollaborationAnalyzedEmailsMicrosoftGraphSecurityRemediateRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewCollaborationAnalyzedEmailsMicrosoftGraphSecurityRemediateRequestBuilderInternal(urlParams, requestAdapter) +} +// Post remove a potential threat from end users' mailboxes. Remediation means to take prescribed action against a threat. This API can trigger email purge actions like move to junk, move to deleted items, soft delete, hard delete, or move to Inbox. This API enables scenarios and use cases such as SOAR integration, playbooks, and automations. For more information read email remediation, trigger action and track actions. If there is false positives admins can take move to inbox action. +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *CollaborationAnalyzedEmailsMicrosoftGraphSecurityRemediateRequestBuilder) Post(ctx context.Context, body CollaborationAnalyzedEmailsMicrosoftGraphSecurityRemediateRemediatePostRequestBodyable, requestConfiguration *CollaborationAnalyzedEmailsMicrosoftGraphSecurityRemediateRequestBuilderPostRequestConfiguration)(error) { + requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + err = m.BaseRequestBuilder.RequestAdapter.SendNoContent(ctx, requestInfo, errorMapping) + if err != nil { + return err + } + return nil +} +// ToPostRequestInformation remove a potential threat from end users' mailboxes. Remediation means to take prescribed action against a threat. This API can trigger email purge actions like move to junk, move to deleted items, soft delete, hard delete, or move to Inbox. This API enables scenarios and use cases such as SOAR integration, playbooks, and automations. For more information read email remediation, trigger action and track actions. If there is false positives admins can take move to inbox action. +// returns a *RequestInformation when successful +func (m *CollaborationAnalyzedEmailsMicrosoftGraphSecurityRemediateRequestBuilder) ToPostRequestInformation(ctx context.Context, body CollaborationAnalyzedEmailsMicrosoftGraphSecurityRemediateRemediatePostRequestBodyable, requestConfiguration *CollaborationAnalyzedEmailsMicrosoftGraphSecurityRemediateRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *CollaborationAnalyzedEmailsMicrosoftGraphSecurityRemediateRequestBuilder when successful +func (m *CollaborationAnalyzedEmailsMicrosoftGraphSecurityRemediateRequestBuilder) WithUrl(rawUrl string)(*CollaborationAnalyzedEmailsMicrosoftGraphSecurityRemediateRequestBuilder) { + return NewCollaborationAnalyzedEmailsMicrosoftGraphSecurityRemediateRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/collaboration_analyzed_emails_request_builder.go b/security/collaboration_analyzed_emails_request_builder.go new file mode 100644 index 0000000000..a69a7653ee --- /dev/null +++ b/security/collaboration_analyzed_emails_request_builder.go @@ -0,0 +1,163 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package security + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" + idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae "github.com/microsoftgraph/msgraph-sdk-go/models/security" +) + +// CollaborationAnalyzedEmailsRequestBuilder provides operations to manage the analyzedEmails property of the microsoft.graph.security.collaborationRoot entity. +type CollaborationAnalyzedEmailsRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// CollaborationAnalyzedEmailsRequestBuilderGetQueryParameters get a list of analyzedEmail objects and their properties. This API allows Security Operations teams to have direct access to hunt (query) for threats, IOCs, attack vectors, and evidences for a tenant. It is a powerful, near real-time tool to help Security Operations teams investigate and respond to threats. It consists of email metadata, verdict information, related underlying entities (attachments/URL), filters, and more. +type CollaborationAnalyzedEmailsRequestBuilderGetQueryParameters struct { + // Include count of items + Count *bool "uriparametername:\"%24count\"" + // Expand related entities + Expand []string "uriparametername:\"%24expand\"" + // Filter items by property values + Filter *string "uriparametername:\"%24filter\"" + // Order items by property values + Orderby []string "uriparametername:\"%24orderby\"" + // Search items by search phrases + Search *string "uriparametername:\"%24search\"" + // Select properties to be returned + Select []string "uriparametername:\"%24select\"" + // Skip the first n items + Skip *int32 "uriparametername:\"%24skip\"" + // Show only the first n items + Top *int32 "uriparametername:\"%24top\"" +} +// CollaborationAnalyzedEmailsRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type CollaborationAnalyzedEmailsRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *CollaborationAnalyzedEmailsRequestBuilderGetQueryParameters +} +// CollaborationAnalyzedEmailsRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type CollaborationAnalyzedEmailsRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// ByAnalyzedEmailId provides operations to manage the analyzedEmails property of the microsoft.graph.security.collaborationRoot entity. +// returns a *CollaborationAnalyzedEmailsAnalyzedEmailItemRequestBuilder when successful +func (m *CollaborationAnalyzedEmailsRequestBuilder) ByAnalyzedEmailId(analyzedEmailId string)(*CollaborationAnalyzedEmailsAnalyzedEmailItemRequestBuilder) { + urlTplParams := make(map[string]string) + for idx, item := range m.BaseRequestBuilder.PathParameters { + urlTplParams[idx] = item + } + if analyzedEmailId != "" { + urlTplParams["analyzedEmail%2Did"] = analyzedEmailId + } + return NewCollaborationAnalyzedEmailsAnalyzedEmailItemRequestBuilderInternal(urlTplParams, m.BaseRequestBuilder.RequestAdapter) +} +// NewCollaborationAnalyzedEmailsRequestBuilderInternal instantiates a new CollaborationAnalyzedEmailsRequestBuilder and sets the default values. +func NewCollaborationAnalyzedEmailsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*CollaborationAnalyzedEmailsRequestBuilder) { + m := &CollaborationAnalyzedEmailsRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/security/collaboration/analyzedEmails{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), + } + return m +} +// NewCollaborationAnalyzedEmailsRequestBuilder instantiates a new CollaborationAnalyzedEmailsRequestBuilder and sets the default values. +func NewCollaborationAnalyzedEmailsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*CollaborationAnalyzedEmailsRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewCollaborationAnalyzedEmailsRequestBuilderInternal(urlParams, requestAdapter) +} +// Count provides operations to count the resources in the collection. +// returns a *CollaborationAnalyzedEmailsCountRequestBuilder when successful +func (m *CollaborationAnalyzedEmailsRequestBuilder) Count()(*CollaborationAnalyzedEmailsCountRequestBuilder) { + return NewCollaborationAnalyzedEmailsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Get get a list of analyzedEmail objects and their properties. This API allows Security Operations teams to have direct access to hunt (query) for threats, IOCs, attack vectors, and evidences for a tenant. It is a powerful, near real-time tool to help Security Operations teams investigate and respond to threats. It consists of email metadata, verdict information, related underlying entities (attachments/URL), filters, and more. +// returns a AnalyzedEmailCollectionResponseable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/security-collaborationroot-list-analyzedemails?view=graph-rest-1.0 +func (m *CollaborationAnalyzedEmailsRequestBuilder) Get(ctx context.Context, requestConfiguration *CollaborationAnalyzedEmailsRequestBuilderGetRequestConfiguration)(idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.AnalyzedEmailCollectionResponseable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.CreateAnalyzedEmailCollectionResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.AnalyzedEmailCollectionResponseable), nil +} +// MicrosoftGraphSecurityRemediate provides operations to call the remediate method. +// returns a *CollaborationAnalyzedEmailsMicrosoftGraphSecurityRemediateRequestBuilder when successful +func (m *CollaborationAnalyzedEmailsRequestBuilder) MicrosoftGraphSecurityRemediate()(*CollaborationAnalyzedEmailsMicrosoftGraphSecurityRemediateRequestBuilder) { + return NewCollaborationAnalyzedEmailsMicrosoftGraphSecurityRemediateRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Post create new navigation property to analyzedEmails for security +// returns a AnalyzedEmailable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *CollaborationAnalyzedEmailsRequestBuilder) Post(ctx context.Context, body idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.AnalyzedEmailable, requestConfiguration *CollaborationAnalyzedEmailsRequestBuilderPostRequestConfiguration)(idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.AnalyzedEmailable, error) { + requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.CreateAnalyzedEmailFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.AnalyzedEmailable), nil +} +// ToGetRequestInformation get a list of analyzedEmail objects and their properties. This API allows Security Operations teams to have direct access to hunt (query) for threats, IOCs, attack vectors, and evidences for a tenant. It is a powerful, near real-time tool to help Security Operations teams investigate and respond to threats. It consists of email metadata, verdict information, related underlying entities (attachments/URL), filters, and more. +// returns a *RequestInformation when successful +func (m *CollaborationAnalyzedEmailsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *CollaborationAnalyzedEmailsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToPostRequestInformation create new navigation property to analyzedEmails for security +// returns a *RequestInformation when successful +func (m *CollaborationAnalyzedEmailsRequestBuilder) ToPostRequestInformation(ctx context.Context, body idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.AnalyzedEmailable, requestConfiguration *CollaborationAnalyzedEmailsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *CollaborationAnalyzedEmailsRequestBuilder when successful +func (m *CollaborationAnalyzedEmailsRequestBuilder) WithUrl(rawUrl string)(*CollaborationAnalyzedEmailsRequestBuilder) { + return NewCollaborationAnalyzedEmailsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/collaboration_request_builder.go b/security/collaboration_request_builder.go new file mode 100644 index 0000000000..a61ca6f698 --- /dev/null +++ b/security/collaboration_request_builder.go @@ -0,0 +1,165 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package security + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" + idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae "github.com/microsoftgraph/msgraph-sdk-go/models/security" +) + +// CollaborationRequestBuilder provides operations to manage the collaboration property of the microsoft.graph.security entity. +type CollaborationRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// CollaborationRequestBuilderDeleteRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type CollaborationRequestBuilderDeleteRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// CollaborationRequestBuilderGetQueryParameters get collaboration from security +type CollaborationRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string "uriparametername:\"%24expand\"" + // Select properties to be returned + Select []string "uriparametername:\"%24select\"" +} +// CollaborationRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type CollaborationRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *CollaborationRequestBuilderGetQueryParameters +} +// CollaborationRequestBuilderPatchRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type CollaborationRequestBuilderPatchRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// AnalyzedEmails provides operations to manage the analyzedEmails property of the microsoft.graph.security.collaborationRoot entity. +// returns a *CollaborationAnalyzedEmailsRequestBuilder when successful +func (m *CollaborationRequestBuilder) AnalyzedEmails()(*CollaborationAnalyzedEmailsRequestBuilder) { + return NewCollaborationAnalyzedEmailsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// NewCollaborationRequestBuilderInternal instantiates a new CollaborationRequestBuilder and sets the default values. +func NewCollaborationRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*CollaborationRequestBuilder) { + m := &CollaborationRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/security/collaboration{?%24expand,%24select}", pathParameters), + } + return m +} +// NewCollaborationRequestBuilder instantiates a new CollaborationRequestBuilder and sets the default values. +func NewCollaborationRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*CollaborationRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewCollaborationRequestBuilderInternal(urlParams, requestAdapter) +} +// Delete delete navigation property collaboration for security +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *CollaborationRequestBuilder) Delete(ctx context.Context, requestConfiguration *CollaborationRequestBuilderDeleteRequestConfiguration)(error) { + requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); + if err != nil { + return err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + err = m.BaseRequestBuilder.RequestAdapter.SendNoContent(ctx, requestInfo, errorMapping) + if err != nil { + return err + } + return nil +} +// Get get collaboration from security +// returns a CollaborationRootable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *CollaborationRequestBuilder) Get(ctx context.Context, requestConfiguration *CollaborationRequestBuilderGetRequestConfiguration)(idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.CollaborationRootable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.CreateCollaborationRootFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.CollaborationRootable), nil +} +// Patch update the navigation property collaboration in security +// returns a CollaborationRootable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *CollaborationRequestBuilder) Patch(ctx context.Context, body idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.CollaborationRootable, requestConfiguration *CollaborationRequestBuilderPatchRequestConfiguration)(idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.CollaborationRootable, error) { + requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.CreateCollaborationRootFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.CollaborationRootable), nil +} +// ToDeleteRequestInformation delete navigation property collaboration for security +// returns a *RequestInformation when successful +func (m *CollaborationRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *CollaborationRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToGetRequestInformation get collaboration from security +// returns a *RequestInformation when successful +func (m *CollaborationRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *CollaborationRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToPatchRequestInformation update the navigation property collaboration in security +// returns a *RequestInformation when successful +func (m *CollaborationRequestBuilder) ToPatchRequestInformation(ctx context.Context, body idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.CollaborationRootable, requestConfiguration *CollaborationRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *CollaborationRequestBuilder when successful +func (m *CollaborationRequestBuilder) WithUrl(rawUrl string)(*CollaborationRequestBuilder) { + return NewCollaborationRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/incidents_microsoft_graph_security_merge_incidents_merge_incidents_post_request_body.go b/security/incidents_microsoft_graph_security_merge_incidents_merge_incidents_post_request_body.go new file mode 100644 index 0000000000..24b95b3fb1 --- /dev/null +++ b/security/incidents_microsoft_graph_security_merge_incidents_merge_incidents_post_request_body.go @@ -0,0 +1,198 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package security + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" + idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae "github.com/microsoftgraph/msgraph-sdk-go/models/security" +) + +type IncidentsMicrosoftGraphSecurityMergeIncidentsMergeIncidentsPostRequestBody struct { + // Stores model information. + backingStore ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore +} +// NewIncidentsMicrosoftGraphSecurityMergeIncidentsMergeIncidentsPostRequestBody instantiates a new IncidentsMicrosoftGraphSecurityMergeIncidentsMergeIncidentsPostRequestBody and sets the default values. +func NewIncidentsMicrosoftGraphSecurityMergeIncidentsMergeIncidentsPostRequestBody()(*IncidentsMicrosoftGraphSecurityMergeIncidentsMergeIncidentsPostRequestBody) { + m := &IncidentsMicrosoftGraphSecurityMergeIncidentsMergeIncidentsPostRequestBody{ + } + m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); + m.SetAdditionalData(make(map[string]any)) + return m +} +// CreateIncidentsMicrosoftGraphSecurityMergeIncidentsMergeIncidentsPostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateIncidentsMicrosoftGraphSecurityMergeIncidentsMergeIncidentsPostRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewIncidentsMicrosoftGraphSecurityMergeIncidentsMergeIncidentsPostRequestBody(), nil +} +// GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +// returns a map[string]any when successful +func (m *IncidentsMicrosoftGraphSecurityMergeIncidentsMergeIncidentsPostRequestBody) GetAdditionalData()(map[string]any) { + val , err := m.backingStore.Get("additionalData") + if err != nil { + panic(err) + } + if val == nil { + var value = make(map[string]any); + m.SetAdditionalData(value); + } + return val.(map[string]any) +} +// GetBackingStore gets the BackingStore property value. Stores model information. +// returns a BackingStore when successful +func (m *IncidentsMicrosoftGraphSecurityMergeIncidentsMergeIncidentsPostRequestBody) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) { + return m.backingStore +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *IncidentsMicrosoftGraphSecurityMergeIncidentsMergeIncidentsPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) + res["incidentComment"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetIncidentComment(val) + } + return nil + } + res["incidentIds"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfPrimitiveValues("string") + if err != nil { + return err + } + if val != nil { + res := make([]string, len(val)) + for i, v := range val { + if v != nil { + res[i] = *(v.(*string)) + } + } + m.SetIncidentIds(res) + } + return nil + } + res["mergeReasons"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetEnumValue(idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.ParseCorrelationReason) + if err != nil { + return err + } + if val != nil { + m.SetMergeReasons(val.(*idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.CorrelationReason)) + } + return nil + } + return res +} +// GetIncidentComment gets the incidentComment property value. The incidentComment property +// returns a *string when successful +func (m *IncidentsMicrosoftGraphSecurityMergeIncidentsMergeIncidentsPostRequestBody) GetIncidentComment()(*string) { + val, err := m.GetBackingStore().Get("incidentComment") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetIncidentIds gets the incidentIds property value. The incidentIds property +// returns a []string when successful +func (m *IncidentsMicrosoftGraphSecurityMergeIncidentsMergeIncidentsPostRequestBody) GetIncidentIds()([]string) { + val, err := m.GetBackingStore().Get("incidentIds") + if err != nil { + panic(err) + } + if val != nil { + return val.([]string) + } + return nil +} +// GetMergeReasons gets the mergeReasons property value. The mergeReasons property +// returns a *CorrelationReason when successful +func (m *IncidentsMicrosoftGraphSecurityMergeIncidentsMergeIncidentsPostRequestBody) GetMergeReasons()(*idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.CorrelationReason) { + val, err := m.GetBackingStore().Get("mergeReasons") + if err != nil { + panic(err) + } + if val != nil { + return val.(*idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.CorrelationReason) + } + return nil +} +// Serialize serializes information the current object +func (m *IncidentsMicrosoftGraphSecurityMergeIncidentsMergeIncidentsPostRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + { + err := writer.WriteStringValue("incidentComment", m.GetIncidentComment()) + if err != nil { + return err + } + } + if m.GetIncidentIds() != nil { + err := writer.WriteCollectionOfStringValues("incidentIds", m.GetIncidentIds()) + if err != nil { + return err + } + } + if m.GetMergeReasons() != nil { + cast := (*m.GetMergeReasons()).String() + err := writer.WriteStringValue("mergeReasons", &cast) + if err != nil { + return err + } + } + { + err := writer.WriteAdditionalData(m.GetAdditionalData()) + if err != nil { + return err + } + } + return nil +} +// SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +func (m *IncidentsMicrosoftGraphSecurityMergeIncidentsMergeIncidentsPostRequestBody) SetAdditionalData(value map[string]any)() { + err := m.GetBackingStore().Set("additionalData", value) + if err != nil { + panic(err) + } +} +// SetBackingStore sets the BackingStore property value. Stores model information. +func (m *IncidentsMicrosoftGraphSecurityMergeIncidentsMergeIncidentsPostRequestBody) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { + m.backingStore = value +} +// SetIncidentComment sets the incidentComment property value. The incidentComment property +func (m *IncidentsMicrosoftGraphSecurityMergeIncidentsMergeIncidentsPostRequestBody) SetIncidentComment(value *string)() { + err := m.GetBackingStore().Set("incidentComment", value) + if err != nil { + panic(err) + } +} +// SetIncidentIds sets the incidentIds property value. The incidentIds property +func (m *IncidentsMicrosoftGraphSecurityMergeIncidentsMergeIncidentsPostRequestBody) SetIncidentIds(value []string)() { + err := m.GetBackingStore().Set("incidentIds", value) + if err != nil { + panic(err) + } +} +// SetMergeReasons sets the mergeReasons property value. The mergeReasons property +func (m *IncidentsMicrosoftGraphSecurityMergeIncidentsMergeIncidentsPostRequestBody) SetMergeReasons(value *idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.CorrelationReason)() { + err := m.GetBackingStore().Set("mergeReasons", value) + if err != nil { + panic(err) + } +} +type IncidentsMicrosoftGraphSecurityMergeIncidentsMergeIncidentsPostRequestBodyable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) + GetIncidentComment()(*string) + GetIncidentIds()([]string) + GetMergeReasons()(*idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.CorrelationReason) + SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() + SetIncidentComment(value *string)() + SetIncidentIds(value []string)() + SetMergeReasons(value *idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.CorrelationReason)() +} diff --git a/security/incidents_microsoft_graph_security_merge_incidents_request_builder.go b/security/incidents_microsoft_graph_security_merge_incidents_request_builder.go new file mode 100644 index 0000000000..20df98487c --- /dev/null +++ b/security/incidents_microsoft_graph_security_merge_incidents_request_builder.go @@ -0,0 +1,76 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package security + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" + idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae "github.com/microsoftgraph/msgraph-sdk-go/models/security" +) + +// IncidentsMicrosoftGraphSecurityMergeIncidentsRequestBuilder provides operations to call the mergeIncidents method. +type IncidentsMicrosoftGraphSecurityMergeIncidentsRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// IncidentsMicrosoftGraphSecurityMergeIncidentsRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type IncidentsMicrosoftGraphSecurityMergeIncidentsRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewIncidentsMicrosoftGraphSecurityMergeIncidentsRequestBuilderInternal instantiates a new IncidentsMicrosoftGraphSecurityMergeIncidentsRequestBuilder and sets the default values. +func NewIncidentsMicrosoftGraphSecurityMergeIncidentsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*IncidentsMicrosoftGraphSecurityMergeIncidentsRequestBuilder) { + m := &IncidentsMicrosoftGraphSecurityMergeIncidentsRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/security/incidents/microsoft.graph.security.mergeIncidents", pathParameters), + } + return m +} +// NewIncidentsMicrosoftGraphSecurityMergeIncidentsRequestBuilder instantiates a new IncidentsMicrosoftGraphSecurityMergeIncidentsRequestBuilder and sets the default values. +func NewIncidentsMicrosoftGraphSecurityMergeIncidentsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*IncidentsMicrosoftGraphSecurityMergeIncidentsRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewIncidentsMicrosoftGraphSecurityMergeIncidentsRequestBuilderInternal(urlParams, requestAdapter) +} +// Post merge multiple incident resources into a single incident. +// returns a MergeResponseable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *IncidentsMicrosoftGraphSecurityMergeIncidentsRequestBuilder) Post(ctx context.Context, body IncidentsMicrosoftGraphSecurityMergeIncidentsMergeIncidentsPostRequestBodyable, requestConfiguration *IncidentsMicrosoftGraphSecurityMergeIncidentsRequestBuilderPostRequestConfiguration)(idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.MergeResponseable, error) { + requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.CreateMergeResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.MergeResponseable), nil +} +// ToPostRequestInformation merge multiple incident resources into a single incident. +// returns a *RequestInformation when successful +func (m *IncidentsMicrosoftGraphSecurityMergeIncidentsRequestBuilder) ToPostRequestInformation(ctx context.Context, body IncidentsMicrosoftGraphSecurityMergeIncidentsMergeIncidentsPostRequestBodyable, requestConfiguration *IncidentsMicrosoftGraphSecurityMergeIncidentsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *IncidentsMicrosoftGraphSecurityMergeIncidentsRequestBuilder when successful +func (m *IncidentsMicrosoftGraphSecurityMergeIncidentsRequestBuilder) WithUrl(rawUrl string)(*IncidentsMicrosoftGraphSecurityMergeIncidentsRequestBuilder) { + return NewIncidentsMicrosoftGraphSecurityMergeIncidentsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/incidents_request_builder.go b/security/incidents_request_builder.go index c793b948a6..85cdf80d51 100644 --- a/security/incidents_request_builder.go +++ b/security/incidents_request_builder.go @@ -102,6 +102,11 @@ func (m *IncidentsRequestBuilder) Get(ctx context.Context, requestConfiguration } return res.(idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.IncidentCollectionResponseable), nil } +// MicrosoftGraphSecurityMergeIncidents provides operations to call the mergeIncidents method. +// returns a *IncidentsMicrosoftGraphSecurityMergeIncidentsRequestBuilder when successful +func (m *IncidentsRequestBuilder) MicrosoftGraphSecurityMergeIncidents()(*IncidentsMicrosoftGraphSecurityMergeIncidentsRequestBuilder) { + return NewIncidentsMicrosoftGraphSecurityMergeIncidentsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} // Post create new navigation property to incidents for security // returns a Incidentable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code diff --git a/security/labels_retention_labels_retention_label_item_request_builder.go b/security/labels_retention_labels_retention_label_item_request_builder.go index 162aaf6ee8..eb980c5844 100644 --- a/security/labels_retention_labels_retention_label_item_request_builder.go +++ b/security/labels_retention_labels_retention_label_item_request_builder.go @@ -21,7 +21,7 @@ type LabelsRetentionLabelsRetentionLabelItemRequestBuilderDeleteRequestConfigura // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// LabelsRetentionLabelsRetentionLabelItemRequestBuilderGetQueryParameters represents how customers can manage their data, whether and for how long to retain or delete it. +// LabelsRetentionLabelsRetentionLabelItemRequestBuilderGetQueryParameters read the properties and relationships of a retentionLabel object. type LabelsRetentionLabelsRetentionLabelItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string "uriparametername:\"%24expand\"" @@ -86,9 +86,12 @@ func (m *LabelsRetentionLabelsRetentionLabelItemRequestBuilder) Descriptors()(*L func (m *LabelsRetentionLabelsRetentionLabelItemRequestBuilder) DispositionReviewStages()(*LabelsRetentionLabelsItemDispositionReviewStagesRequestBuilder) { return NewLabelsRetentionLabelsItemDispositionReviewStagesRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get represents how customers can manage their data, whether and for how long to retain or delete it. +// Get read the properties and relationships of a retentionLabel object. // returns a RetentionLabelable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/security-retentionlabel-get?view=graph-rest-1.0 func (m *LabelsRetentionLabelsRetentionLabelItemRequestBuilder) Get(ctx context.Context, requestConfiguration *LabelsRetentionLabelsRetentionLabelItemRequestBuilderGetRequestConfiguration)(idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.RetentionLabelable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -145,7 +148,7 @@ func (m *LabelsRetentionLabelsRetentionLabelItemRequestBuilder) ToDeleteRequestI requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation represents how customers can manage their data, whether and for how long to retain or delete it. +// ToGetRequestInformation read the properties and relationships of a retentionLabel object. // returns a *RequestInformation when successful func (m *LabelsRetentionLabelsRetentionLabelItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *LabelsRetentionLabelsRetentionLabelItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/security/security_request_builder.go b/security/security_request_builder.go index 22ae1f6178..3f4941a9f2 100644 --- a/security/security_request_builder.go +++ b/security/security_request_builder.go @@ -57,6 +57,11 @@ func (m *SecurityRequestBuilder) AttackSimulation()(*AttackSimulationRequestBuil func (m *SecurityRequestBuilder) Cases()(*CasesRequestBuilder) { return NewCasesRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } +// Collaboration provides operations to manage the collaboration property of the microsoft.graph.security entity. +// returns a *CollaborationRequestBuilder when successful +func (m *SecurityRequestBuilder) Collaboration()(*CollaborationRequestBuilder) { + return NewCollaborationRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} // NewSecurityRequestBuilderInternal instantiates a new SecurityRequestBuilder and sets the default values. func NewSecurityRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*SecurityRequestBuilder) { m := &SecurityRequestBuilder{ diff --git a/serviceprincipals/get_available_extension_properties_post_request_body.go b/serviceprincipals/get_available_extension_properties_post_request_body.go index 122e5853d4..b05fcde35c 100644 --- a/serviceprincipals/get_available_extension_properties_post_request_body.go +++ b/serviceprincipals/get_available_extension_properties_post_request_body.go @@ -18,6 +18,8 @@ func NewGetAvailableExtensionPropertiesPostRequestBody()(*GetAvailableExtensionP } m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); m.SetAdditionalData(make(map[string]any)) + isSyncedFromOnPremisesValue := false + m.SetIsSyncedFromOnPremises(&isSyncedFromOnPremisesValue) return m } // CreateGetAvailableExtensionPropertiesPostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value diff --git a/serviceprincipals/item_claims_mapping_policies_ref_request_builder.go b/serviceprincipals/item_claims_mapping_policies_ref_request_builder.go index fa28aabab5..872bfed004 100644 --- a/serviceprincipals/item_claims_mapping_policies_ref_request_builder.go +++ b/serviceprincipals/item_claims_mapping_policies_ref_request_builder.go @@ -62,7 +62,7 @@ type ItemClaimsMappingPoliciesRefRequestBuilderPostRequestConfiguration struct { // NewItemClaimsMappingPoliciesRefRequestBuilderInternal instantiates a new ItemClaimsMappingPoliciesRefRequestBuilder and sets the default values. func NewItemClaimsMappingPoliciesRefRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemClaimsMappingPoliciesRefRequestBuilder) { m := &ItemClaimsMappingPoliciesRefRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/servicePrincipals/{servicePrincipal%2Did}/claimsMappingPolicies/$ref?@id={%40id}{&%24count,%24filter,%24orderby,%24search,%24skip,%24top}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/servicePrincipals/{servicePrincipal%2Did}/claimsMappingPolicies/$ref{?%24count,%24filter,%24orderby,%24search,%24skip,%24top}", pathParameters), } return m } @@ -150,7 +150,7 @@ func (m *ItemClaimsMappingPoliciesRefRequestBuilder) ToDeleteRequestInformation( // ToGetRequestInformation list the claimsMappingPolicy objects that are assigned to a servicePrincipal. // returns a *RequestInformation when successful func (m *ItemClaimsMappingPoliciesRefRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemClaimsMappingPoliciesRefRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { - requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, "{+baseurl}/servicePrincipals/{servicePrincipal%2Did}/claimsMappingPolicies/$ref{?%24count,%24filter,%24orderby,%24search,%24skip,%24top}", m.BaseRequestBuilder.PathParameters) + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) if requestConfiguration != nil { if requestConfiguration.QueryParameters != nil { requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) @@ -164,7 +164,7 @@ func (m *ItemClaimsMappingPoliciesRefRequestBuilder) ToGetRequestInformation(ctx // ToPostRequestInformation assign a claimsMappingPolicy to a servicePrincipal. // returns a *RequestInformation when successful func (m *ItemClaimsMappingPoliciesRefRequestBuilder) ToPostRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ReferenceCreateable, requestConfiguration *ItemClaimsMappingPoliciesRefRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { - requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, "{+baseurl}/servicePrincipals/{servicePrincipal%2Did}/claimsMappingPolicies/$ref", m.BaseRequestBuilder.PathParameters) + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) if requestConfiguration != nil { requestInfo.Headers.AddAll(requestConfiguration.Headers) requestInfo.AddRequestOptions(requestConfiguration.Options) diff --git a/serviceprincipals/item_get_member_groups_post_request_body.go b/serviceprincipals/item_get_member_groups_post_request_body.go index 6551848344..2310559854 100644 --- a/serviceprincipals/item_get_member_groups_post_request_body.go +++ b/serviceprincipals/item_get_member_groups_post_request_body.go @@ -18,6 +18,8 @@ func NewItemGetMemberGroupsPostRequestBody()(*ItemGetMemberGroupsPostRequestBody } m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); m.SetAdditionalData(make(map[string]any)) + securityEnabledOnlyValue := false + m.SetSecurityEnabledOnly(&securityEnabledOnlyValue) return m } // CreateItemGetMemberGroupsPostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value diff --git a/serviceprincipals/item_get_member_objects_post_request_body.go b/serviceprincipals/item_get_member_objects_post_request_body.go index 94a9edaca6..eda9082acc 100644 --- a/serviceprincipals/item_get_member_objects_post_request_body.go +++ b/serviceprincipals/item_get_member_objects_post_request_body.go @@ -18,6 +18,8 @@ func NewItemGetMemberObjectsPostRequestBody()(*ItemGetMemberObjectsPostRequestBo } m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); m.SetAdditionalData(make(map[string]any)) + securityEnabledOnlyValue := false + m.SetSecurityEnabledOnly(&securityEnabledOnlyValue) return m } // CreateItemGetMemberObjectsPostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value diff --git a/serviceprincipals/item_home_realm_discovery_policies_ref_request_builder.go b/serviceprincipals/item_home_realm_discovery_policies_ref_request_builder.go index 2e1afdc1e5..e45ef86ac0 100644 --- a/serviceprincipals/item_home_realm_discovery_policies_ref_request_builder.go +++ b/serviceprincipals/item_home_realm_discovery_policies_ref_request_builder.go @@ -62,7 +62,7 @@ type ItemHomeRealmDiscoveryPoliciesRefRequestBuilderPostRequestConfiguration str // NewItemHomeRealmDiscoveryPoliciesRefRequestBuilderInternal instantiates a new ItemHomeRealmDiscoveryPoliciesRefRequestBuilder and sets the default values. func NewItemHomeRealmDiscoveryPoliciesRefRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemHomeRealmDiscoveryPoliciesRefRequestBuilder) { m := &ItemHomeRealmDiscoveryPoliciesRefRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/servicePrincipals/{servicePrincipal%2Did}/homeRealmDiscoveryPolicies/$ref?@id={%40id}{&%24count,%24filter,%24orderby,%24search,%24skip,%24top}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/servicePrincipals/{servicePrincipal%2Did}/homeRealmDiscoveryPolicies/$ref{?%24count,%24filter,%24orderby,%24search,%24skip,%24top}", pathParameters), } return m } @@ -150,7 +150,7 @@ func (m *ItemHomeRealmDiscoveryPoliciesRefRequestBuilder) ToDeleteRequestInforma // ToGetRequestInformation list the homeRealmDiscoveryPolicy objects that are assigned to a servicePrincipal. // returns a *RequestInformation when successful func (m *ItemHomeRealmDiscoveryPoliciesRefRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemHomeRealmDiscoveryPoliciesRefRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { - requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, "{+baseurl}/servicePrincipals/{servicePrincipal%2Did}/homeRealmDiscoveryPolicies/$ref{?%24count,%24filter,%24orderby,%24search,%24skip,%24top}", m.BaseRequestBuilder.PathParameters) + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) if requestConfiguration != nil { if requestConfiguration.QueryParameters != nil { requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) @@ -164,7 +164,7 @@ func (m *ItemHomeRealmDiscoveryPoliciesRefRequestBuilder) ToGetRequestInformatio // ToPostRequestInformation assign a homeRealmDiscoveryPolicy to a servicePrincipal. // returns a *RequestInformation when successful func (m *ItemHomeRealmDiscoveryPoliciesRefRequestBuilder) ToPostRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ReferenceCreateable, requestConfiguration *ItemHomeRealmDiscoveryPoliciesRefRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { - requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, "{+baseurl}/servicePrincipals/{servicePrincipal%2Did}/homeRealmDiscoveryPolicies/$ref", m.BaseRequestBuilder.PathParameters) + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) if requestConfiguration != nil { requestInfo.Headers.AddAll(requestConfiguration.Headers) requestInfo.AddRequestOptions(requestConfiguration.Options) diff --git a/serviceprincipals/item_owners_ref_request_builder.go b/serviceprincipals/item_owners_ref_request_builder.go index d8bf4ce02d..c684fb4cf9 100644 --- a/serviceprincipals/item_owners_ref_request_builder.go +++ b/serviceprincipals/item_owners_ref_request_builder.go @@ -62,7 +62,7 @@ type ItemOwnersRefRequestBuilderPostRequestConfiguration struct { // NewItemOwnersRefRequestBuilderInternal instantiates a new ItemOwnersRefRequestBuilder and sets the default values. func NewItemOwnersRefRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemOwnersRefRequestBuilder) { m := &ItemOwnersRefRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/servicePrincipals/{servicePrincipal%2Did}/owners/$ref?@id={%40id}{&%24count,%24filter,%24orderby,%24search,%24skip,%24top}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/servicePrincipals/{servicePrincipal%2Did}/owners/$ref{?%24count,%24filter,%24orderby,%24search,%24skip,%24top}", pathParameters), } return m } @@ -147,7 +147,7 @@ func (m *ItemOwnersRefRequestBuilder) ToDeleteRequestInformation(ctx context.Con // ToGetRequestInformation directory objects that are owners of this servicePrincipal. The owners are a set of nonadmin users or servicePrincipals who are allowed to modify this object. Supports $expand, $filter (/$count eq 0, /$count ne 0, /$count eq 1, /$count ne 1), and $select nested in $expand. // returns a *RequestInformation when successful func (m *ItemOwnersRefRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemOwnersRefRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { - requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, "{+baseurl}/servicePrincipals/{servicePrincipal%2Did}/owners/$ref{?%24count,%24filter,%24orderby,%24search,%24skip,%24top}", m.BaseRequestBuilder.PathParameters) + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) if requestConfiguration != nil { if requestConfiguration.QueryParameters != nil { requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) @@ -161,7 +161,7 @@ func (m *ItemOwnersRefRequestBuilder) ToGetRequestInformation(ctx context.Contex // ToPostRequestInformation use this API to add an owner for the servicePrincipal. Service principal owners can be users, the service principal itself, or other service principals. // returns a *RequestInformation when successful func (m *ItemOwnersRefRequestBuilder) ToPostRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ReferenceCreateable, requestConfiguration *ItemOwnersRefRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { - requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, "{+baseurl}/servicePrincipals/{servicePrincipal%2Did}/owners/$ref", m.BaseRequestBuilder.PathParameters) + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) if requestConfiguration != nil { requestInfo.Headers.AddAll(requestConfiguration.Headers) requestInfo.AddRequestOptions(requestConfiguration.Options) diff --git a/serviceprincipals/item_synchronization_jobs_item_validate_credentials_post_request_body.go b/serviceprincipals/item_synchronization_jobs_item_validate_credentials_post_request_body.go index ca8d55b8b1..d4a6cc41c2 100644 --- a/serviceprincipals/item_synchronization_jobs_item_validate_credentials_post_request_body.go +++ b/serviceprincipals/item_synchronization_jobs_item_validate_credentials_post_request_body.go @@ -19,6 +19,8 @@ func NewItemSynchronizationJobsItemValidateCredentialsPostRequestBody()(*ItemSyn } m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); m.SetAdditionalData(make(map[string]any)) + useSavedCredentialsValue := false + m.SetUseSavedCredentials(&useSavedCredentialsValue) return m } // CreateItemSynchronizationJobsItemValidateCredentialsPostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value diff --git a/serviceprincipals/item_synchronization_jobs_validate_credentials_post_request_body.go b/serviceprincipals/item_synchronization_jobs_validate_credentials_post_request_body.go index fd46b4cedf..38e2bc0e94 100644 --- a/serviceprincipals/item_synchronization_jobs_validate_credentials_post_request_body.go +++ b/serviceprincipals/item_synchronization_jobs_validate_credentials_post_request_body.go @@ -19,6 +19,8 @@ func NewItemSynchronizationJobsValidateCredentialsPostRequestBody()(*ItemSynchro } m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); m.SetAdditionalData(make(map[string]any)) + useSavedCredentialsValue := false + m.SetUseSavedCredentials(&useSavedCredentialsValue) return m } // CreateItemSynchronizationJobsValidateCredentialsPostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value diff --git a/serviceprincipals/item_token_issuance_policies_ref_request_builder.go b/serviceprincipals/item_token_issuance_policies_ref_request_builder.go index 98dd18bdde..e4c8cb8db2 100644 --- a/serviceprincipals/item_token_issuance_policies_ref_request_builder.go +++ b/serviceprincipals/item_token_issuance_policies_ref_request_builder.go @@ -62,7 +62,7 @@ type ItemTokenIssuancePoliciesRefRequestBuilderPostRequestConfiguration struct { // NewItemTokenIssuancePoliciesRefRequestBuilderInternal instantiates a new ItemTokenIssuancePoliciesRefRequestBuilder and sets the default values. func NewItemTokenIssuancePoliciesRefRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemTokenIssuancePoliciesRefRequestBuilder) { m := &ItemTokenIssuancePoliciesRefRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/servicePrincipals/{servicePrincipal%2Did}/tokenIssuancePolicies/$ref?@id={%40id}{&%24count,%24filter,%24orderby,%24search,%24skip,%24top}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/servicePrincipals/{servicePrincipal%2Did}/tokenIssuancePolicies/$ref{?%24count,%24filter,%24orderby,%24search,%24skip,%24top}", pathParameters), } return m } @@ -141,7 +141,7 @@ func (m *ItemTokenIssuancePoliciesRefRequestBuilder) ToDeleteRequestInformation( // ToGetRequestInformation the tokenIssuancePolicies assigned to this service principal. // returns a *RequestInformation when successful func (m *ItemTokenIssuancePoliciesRefRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemTokenIssuancePoliciesRefRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { - requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, "{+baseurl}/servicePrincipals/{servicePrincipal%2Did}/tokenIssuancePolicies/$ref{?%24count,%24filter,%24orderby,%24search,%24skip,%24top}", m.BaseRequestBuilder.PathParameters) + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) if requestConfiguration != nil { if requestConfiguration.QueryParameters != nil { requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) @@ -155,7 +155,7 @@ func (m *ItemTokenIssuancePoliciesRefRequestBuilder) ToGetRequestInformation(ctx // ToPostRequestInformation create new navigation property ref to tokenIssuancePolicies for servicePrincipals // returns a *RequestInformation when successful func (m *ItemTokenIssuancePoliciesRefRequestBuilder) ToPostRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ReferenceCreateable, requestConfiguration *ItemTokenIssuancePoliciesRefRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { - requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, "{+baseurl}/servicePrincipals/{servicePrincipal%2Did}/tokenIssuancePolicies/$ref", m.BaseRequestBuilder.PathParameters) + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) if requestConfiguration != nil { requestInfo.Headers.AddAll(requestConfiguration.Headers) requestInfo.AddRequestOptions(requestConfiguration.Options) diff --git a/serviceprincipals/item_token_lifetime_policies_ref_request_builder.go b/serviceprincipals/item_token_lifetime_policies_ref_request_builder.go index 57b8c98524..de70f90e03 100644 --- a/serviceprincipals/item_token_lifetime_policies_ref_request_builder.go +++ b/serviceprincipals/item_token_lifetime_policies_ref_request_builder.go @@ -62,7 +62,7 @@ type ItemTokenLifetimePoliciesRefRequestBuilderPostRequestConfiguration struct { // NewItemTokenLifetimePoliciesRefRequestBuilderInternal instantiates a new ItemTokenLifetimePoliciesRefRequestBuilder and sets the default values. func NewItemTokenLifetimePoliciesRefRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemTokenLifetimePoliciesRefRequestBuilder) { m := &ItemTokenLifetimePoliciesRefRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/servicePrincipals/{servicePrincipal%2Did}/tokenLifetimePolicies/$ref?@id={%40id}{&%24count,%24filter,%24orderby,%24search,%24skip,%24top}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/servicePrincipals/{servicePrincipal%2Did}/tokenLifetimePolicies/$ref{?%24count,%24filter,%24orderby,%24search,%24skip,%24top}", pathParameters), } return m } @@ -150,7 +150,7 @@ func (m *ItemTokenLifetimePoliciesRefRequestBuilder) ToDeleteRequestInformation( // ToGetRequestInformation list the tokenLifetimePolicy objects that are assigned to a servicePrincipal. Only one object is returned in the collection because only one tokenLifetimePolicy can be assigned to a service principal. // returns a *RequestInformation when successful func (m *ItemTokenLifetimePoliciesRefRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemTokenLifetimePoliciesRefRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { - requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, "{+baseurl}/servicePrincipals/{servicePrincipal%2Did}/tokenLifetimePolicies/$ref{?%24count,%24filter,%24orderby,%24search,%24skip,%24top}", m.BaseRequestBuilder.PathParameters) + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) if requestConfiguration != nil { if requestConfiguration.QueryParameters != nil { requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) @@ -164,7 +164,7 @@ func (m *ItemTokenLifetimePoliciesRefRequestBuilder) ToGetRequestInformation(ctx // ToPostRequestInformation assign a tokenLifetimePolicy to a servicePrincipal. You can have multiple tokenLifetimePolicy policies in a tenant but can assign only one tokenLifetimePolicy per service principal. // returns a *RequestInformation when successful func (m *ItemTokenLifetimePoliciesRefRequestBuilder) ToPostRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ReferenceCreateable, requestConfiguration *ItemTokenLifetimePoliciesRefRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { - requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, "{+baseurl}/servicePrincipals/{servicePrincipal%2Did}/tokenLifetimePolicies/$ref", m.BaseRequestBuilder.PathParameters) + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) if requestConfiguration != nil { requestInfo.Headers.AddAll(requestConfiguration.Headers) requestInfo.AddRequestOptions(requestConfiguration.Options) diff --git a/shares/item_list_content_types_item_associate_with_hub_sites_post_request_body.go b/shares/item_list_content_types_item_associate_with_hub_sites_post_request_body.go index 98bff16391..fe3cdc68f3 100644 --- a/shares/item_list_content_types_item_associate_with_hub_sites_post_request_body.go +++ b/shares/item_list_content_types_item_associate_with_hub_sites_post_request_body.go @@ -18,6 +18,8 @@ func NewItemListContentTypesItemAssociateWithHubSitesPostRequestBody()(*ItemList } m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); m.SetAdditionalData(make(map[string]any)) + propagateToExistingListsValue := false + m.SetPropagateToExistingLists(&propagateToExistingListsValue) return m } // CreateItemListContentTypesItemAssociateWithHubSitesPostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value diff --git a/shares/item_list_content_types_item_is_published_get_response.go b/shares/item_list_content_types_item_is_published_get_response.go index 7a3d1f5adc..59e50a4ee5 100644 --- a/shares/item_list_content_types_item_is_published_get_response.go +++ b/shares/item_list_content_types_item_is_published_get_response.go @@ -18,6 +18,8 @@ func NewItemListContentTypesItemIsPublishedGetResponse()(*ItemListContentTypesIt } m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); m.SetAdditionalData(make(map[string]any)) + valueValue := false + m.SetValue(&valueValue) return m } // CreateItemListContentTypesItemIsPublishedGetResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value diff --git a/shares/item_list_items_item_create_link_post_request_body.go b/shares/item_list_items_item_create_link_post_request_body.go index a1b187aba9..ea1f0e1241 100644 --- a/shares/item_list_items_item_create_link_post_request_body.go +++ b/shares/item_list_items_item_create_link_post_request_body.go @@ -20,6 +20,10 @@ func NewItemListItemsItemCreateLinkPostRequestBody()(*ItemListItemsItemCreateLin } m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); m.SetAdditionalData(make(map[string]any)) + retainInheritedPermissionsValue := false + m.SetRetainInheritedPermissions(&retainInheritedPermissionsValue) + sendNotificationValue := false + m.SetSendNotification(&sendNotificationValue) return m } // CreateItemListItemsItemCreateLinkPostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value diff --git a/sites/item_content_types_item_associate_with_hub_sites_post_request_body.go b/sites/item_content_types_item_associate_with_hub_sites_post_request_body.go index b4d7a2a1dd..2a675699ae 100644 --- a/sites/item_content_types_item_associate_with_hub_sites_post_request_body.go +++ b/sites/item_content_types_item_associate_with_hub_sites_post_request_body.go @@ -18,6 +18,8 @@ func NewItemContentTypesItemAssociateWithHubSitesPostRequestBody()(*ItemContentT } m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); m.SetAdditionalData(make(map[string]any)) + propagateToExistingListsValue := false + m.SetPropagateToExistingLists(&propagateToExistingListsValue) return m } // CreateItemContentTypesItemAssociateWithHubSitesPostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value diff --git a/sites/item_content_types_item_is_published_get_response.go b/sites/item_content_types_item_is_published_get_response.go index 039154d86f..a6f73be825 100644 --- a/sites/item_content_types_item_is_published_get_response.go +++ b/sites/item_content_types_item_is_published_get_response.go @@ -18,6 +18,8 @@ func NewItemContentTypesItemIsPublishedGetResponse()(*ItemContentTypesItemIsPubl } m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); m.SetAdditionalData(make(map[string]any)) + valueValue := false + m.SetValue(&valueValue) return m } // CreateItemContentTypesItemIsPublishedGetResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value diff --git a/sites/item_lists_item_content_types_item_associate_with_hub_sites_post_request_body.go b/sites/item_lists_item_content_types_item_associate_with_hub_sites_post_request_body.go index f8bb48cd51..92dce88a9f 100644 --- a/sites/item_lists_item_content_types_item_associate_with_hub_sites_post_request_body.go +++ b/sites/item_lists_item_content_types_item_associate_with_hub_sites_post_request_body.go @@ -18,6 +18,8 @@ func NewItemListsItemContentTypesItemAssociateWithHubSitesPostRequestBody()(*Ite } m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); m.SetAdditionalData(make(map[string]any)) + propagateToExistingListsValue := false + m.SetPropagateToExistingLists(&propagateToExistingListsValue) return m } // CreateItemListsItemContentTypesItemAssociateWithHubSitesPostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value diff --git a/sites/item_lists_item_content_types_item_is_published_get_response.go b/sites/item_lists_item_content_types_item_is_published_get_response.go index 7481d5769f..c8041b37a1 100644 --- a/sites/item_lists_item_content_types_item_is_published_get_response.go +++ b/sites/item_lists_item_content_types_item_is_published_get_response.go @@ -18,6 +18,8 @@ func NewItemListsItemContentTypesItemIsPublishedGetResponse()(*ItemListsItemCont } m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); m.SetAdditionalData(make(map[string]any)) + valueValue := false + m.SetValue(&valueValue) return m } // CreateItemListsItemContentTypesItemIsPublishedGetResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value diff --git a/sites/item_lists_item_items_item_create_link_post_request_body.go b/sites/item_lists_item_items_item_create_link_post_request_body.go index 7f26424469..414d17731c 100644 --- a/sites/item_lists_item_items_item_create_link_post_request_body.go +++ b/sites/item_lists_item_items_item_create_link_post_request_body.go @@ -20,6 +20,10 @@ func NewItemListsItemItemsItemCreateLinkPostRequestBody()(*ItemListsItemItemsIte } m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); m.SetAdditionalData(make(map[string]any)) + retainInheritedPermissionsValue := false + m.SetRetainInheritedPermissions(&retainInheritedPermissionsValue) + sendNotificationValue := false + m.SetSendNotification(&sendNotificationValue) return m } // CreateItemListsItemItemsItemCreateLinkPostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value diff --git a/solutions/backup_restore_email_notifications_setting_request_builder.go b/solutions/backup_restore_email_notifications_setting_request_builder.go new file mode 100644 index 0000000000..8227845281 --- /dev/null +++ b/solutions/backup_restore_email_notifications_setting_request_builder.go @@ -0,0 +1,166 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package solutions + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// BackupRestoreEmailNotificationsSettingRequestBuilder provides operations to manage the emailNotificationsSetting property of the microsoft.graph.backupRestoreRoot entity. +type BackupRestoreEmailNotificationsSettingRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// BackupRestoreEmailNotificationsSettingRequestBuilderDeleteRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type BackupRestoreEmailNotificationsSettingRequestBuilderDeleteRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// BackupRestoreEmailNotificationsSettingRequestBuilderGetQueryParameters read the properties and relationships of an emailNotificationsSetting object. +type BackupRestoreEmailNotificationsSettingRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string "uriparametername:\"%24expand\"" + // Select properties to be returned + Select []string "uriparametername:\"%24select\"" +} +// BackupRestoreEmailNotificationsSettingRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type BackupRestoreEmailNotificationsSettingRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *BackupRestoreEmailNotificationsSettingRequestBuilderGetQueryParameters +} +// BackupRestoreEmailNotificationsSettingRequestBuilderPatchRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type BackupRestoreEmailNotificationsSettingRequestBuilderPatchRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewBackupRestoreEmailNotificationsSettingRequestBuilderInternal instantiates a new BackupRestoreEmailNotificationsSettingRequestBuilder and sets the default values. +func NewBackupRestoreEmailNotificationsSettingRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*BackupRestoreEmailNotificationsSettingRequestBuilder) { + m := &BackupRestoreEmailNotificationsSettingRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/solutions/backupRestore/emailNotificationsSetting{?%24expand,%24select}", pathParameters), + } + return m +} +// NewBackupRestoreEmailNotificationsSettingRequestBuilder instantiates a new BackupRestoreEmailNotificationsSettingRequestBuilder and sets the default values. +func NewBackupRestoreEmailNotificationsSettingRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*BackupRestoreEmailNotificationsSettingRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewBackupRestoreEmailNotificationsSettingRequestBuilderInternal(urlParams, requestAdapter) +} +// Delete delete navigation property emailNotificationsSetting for solutions +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *BackupRestoreEmailNotificationsSettingRequestBuilder) Delete(ctx context.Context, requestConfiguration *BackupRestoreEmailNotificationsSettingRequestBuilderDeleteRequestConfiguration)(error) { + requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); + if err != nil { + return err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + err = m.BaseRequestBuilder.RequestAdapter.SendNoContent(ctx, requestInfo, errorMapping) + if err != nil { + return err + } + return nil +} +// Get read the properties and relationships of an emailNotificationsSetting object. +// returns a EmailNotificationsSettingable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/emailnotificationssetting-get?view=graph-rest-1.0 +func (m *BackupRestoreEmailNotificationsSettingRequestBuilder) Get(ctx context.Context, requestConfiguration *BackupRestoreEmailNotificationsSettingRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EmailNotificationsSettingable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateEmailNotificationsSettingFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EmailNotificationsSettingable), nil +} +// Patch update the properties of an emailNotificationsSetting object. +// returns a EmailNotificationsSettingable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/emailnotificationssetting-update?view=graph-rest-1.0 +func (m *BackupRestoreEmailNotificationsSettingRequestBuilder) Patch(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EmailNotificationsSettingable, requestConfiguration *BackupRestoreEmailNotificationsSettingRequestBuilderPatchRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EmailNotificationsSettingable, error) { + requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateEmailNotificationsSettingFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EmailNotificationsSettingable), nil +} +// ToDeleteRequestInformation delete navigation property emailNotificationsSetting for solutions +// returns a *RequestInformation when successful +func (m *BackupRestoreEmailNotificationsSettingRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *BackupRestoreEmailNotificationsSettingRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToGetRequestInformation read the properties and relationships of an emailNotificationsSetting object. +// returns a *RequestInformation when successful +func (m *BackupRestoreEmailNotificationsSettingRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *BackupRestoreEmailNotificationsSettingRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToPatchRequestInformation update the properties of an emailNotificationsSetting object. +// returns a *RequestInformation when successful +func (m *BackupRestoreEmailNotificationsSettingRequestBuilder) ToPatchRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EmailNotificationsSettingable, requestConfiguration *BackupRestoreEmailNotificationsSettingRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *BackupRestoreEmailNotificationsSettingRequestBuilder when successful +func (m *BackupRestoreEmailNotificationsSettingRequestBuilder) WithUrl(rawUrl string)(*BackupRestoreEmailNotificationsSettingRequestBuilder) { + return NewBackupRestoreEmailNotificationsSettingRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/solutions/backup_restore_request_builder.go b/solutions/backup_restore_request_builder.go index 23dd44e90c..2be7b88389 100644 --- a/solutions/backup_restore_request_builder.go +++ b/solutions/backup_restore_request_builder.go @@ -93,6 +93,11 @@ func (m *BackupRestoreRequestBuilder) DriveProtectionUnits()(*BackupRestoreDrive func (m *BackupRestoreRequestBuilder) DriveProtectionUnitsBulkAdditionJobs()(*BackupRestoreDriveProtectionUnitsBulkAdditionJobsRequestBuilder) { return NewBackupRestoreDriveProtectionUnitsBulkAdditionJobsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } +// EmailNotificationsSetting provides operations to manage the emailNotificationsSetting property of the microsoft.graph.backupRestoreRoot entity. +// returns a *BackupRestoreEmailNotificationsSettingRequestBuilder when successful +func (m *BackupRestoreRequestBuilder) EmailNotificationsSetting()(*BackupRestoreEmailNotificationsSettingRequestBuilder) { + return NewBackupRestoreEmailNotificationsSettingRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} // Enable provides operations to call the enable method. // returns a *BackupRestoreEnableRequestBuilder when successful func (m *BackupRestoreRequestBuilder) Enable()(*BackupRestoreEnableRequestBuilder) { diff --git a/solutions/booking_businesses_item_calendar_view_booking_appointment_item_request_builder.go b/solutions/booking_businesses_item_calendar_view_booking_appointment_item_request_builder.go index 8c5d9b4623..84f2f63025 100644 --- a/solutions/booking_businesses_item_calendar_view_booking_appointment_item_request_builder.go +++ b/solutions/booking_businesses_item_calendar_view_booking_appointment_item_request_builder.go @@ -56,7 +56,7 @@ func (m *BookingBusinessesItemCalendarViewBookingAppointmentItemRequestBuilder) // NewBookingBusinessesItemCalendarViewBookingAppointmentItemRequestBuilderInternal instantiates a new BookingBusinessesItemCalendarViewBookingAppointmentItemRequestBuilder and sets the default values. func NewBookingBusinessesItemCalendarViewBookingAppointmentItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*BookingBusinessesItemCalendarViewBookingAppointmentItemRequestBuilder) { m := &BookingBusinessesItemCalendarViewBookingAppointmentItemRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/solutions/bookingBusinesses/{bookingBusiness%2Did}/calendarView/{bookingAppointment%2Did}?end={end}&start={start}{&%24expand,%24select}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/solutions/bookingBusinesses/{bookingBusiness%2Did}/calendarView/{bookingAppointment%2Did}{?%24expand,%24select}", pathParameters), } return m } @@ -125,7 +125,7 @@ func (m *BookingBusinessesItemCalendarViewBookingAppointmentItemRequestBuilder) // ToDeleteRequestInformation delete navigation property calendarView for solutions // returns a *RequestInformation when successful func (m *BookingBusinessesItemCalendarViewBookingAppointmentItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *BookingBusinessesItemCalendarViewBookingAppointmentItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { - requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, "{+baseurl}/solutions/bookingBusinesses/{bookingBusiness%2Did}/calendarView/{bookingAppointment%2Did}", m.BaseRequestBuilder.PathParameters) + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) if requestConfiguration != nil { requestInfo.Headers.AddAll(requestConfiguration.Headers) requestInfo.AddRequestOptions(requestConfiguration.Options) @@ -136,7 +136,7 @@ func (m *BookingBusinessesItemCalendarViewBookingAppointmentItemRequestBuilder) // ToGetRequestInformation the set of appointments of this business in a specified date range. Read-only. Nullable. // returns a *RequestInformation when successful func (m *BookingBusinessesItemCalendarViewBookingAppointmentItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *BookingBusinessesItemCalendarViewBookingAppointmentItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { - requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, "{+baseurl}/solutions/bookingBusinesses/{bookingBusiness%2Did}/calendarView/{bookingAppointment%2Did}?end={end}&start={start}{&%24expand,%24select}", m.BaseRequestBuilder.PathParameters) if requestConfiguration != nil { if requestConfiguration.QueryParameters != nil { requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) @@ -150,7 +150,7 @@ func (m *BookingBusinessesItemCalendarViewBookingAppointmentItemRequestBuilder) // ToPatchRequestInformation update the navigation property calendarView in solutions // returns a *RequestInformation when successful func (m *BookingBusinessesItemCalendarViewBookingAppointmentItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.BookingAppointmentable, requestConfiguration *BookingBusinessesItemCalendarViewBookingAppointmentItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { - requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, "{+baseurl}/solutions/bookingBusinesses/{bookingBusiness%2Did}/calendarView/{bookingAppointment%2Did}", m.BaseRequestBuilder.PathParameters) + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) if requestConfiguration != nil { requestInfo.Headers.AddAll(requestConfiguration.Headers) requestInfo.AddRequestOptions(requestConfiguration.Options) diff --git a/solutions/booking_businesses_item_calendar_view_request_builder.go b/solutions/booking_businesses_item_calendar_view_request_builder.go index 9d6f6871b7..97504aea68 100644 --- a/solutions/booking_businesses_item_calendar_view_request_builder.go +++ b/solutions/booking_businesses_item_calendar_view_request_builder.go @@ -68,7 +68,7 @@ func (m *BookingBusinessesItemCalendarViewRequestBuilder) ByBookingAppointmentId // NewBookingBusinessesItemCalendarViewRequestBuilderInternal instantiates a new BookingBusinessesItemCalendarViewRequestBuilder and sets the default values. func NewBookingBusinessesItemCalendarViewRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*BookingBusinessesItemCalendarViewRequestBuilder) { m := &BookingBusinessesItemCalendarViewRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/solutions/bookingBusinesses/{bookingBusiness%2Did}/calendarView?end={end}&start={start}{&%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/solutions/bookingBusinesses/{bookingBusiness%2Did}/calendarView{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), } return m } @@ -129,7 +129,7 @@ func (m *BookingBusinessesItemCalendarViewRequestBuilder) Post(ctx context.Conte // ToGetRequestInformation get the collection of bookingAppointment objects for a bookingBusiness that occurs in the specified date range. // returns a *RequestInformation when successful func (m *BookingBusinessesItemCalendarViewRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *BookingBusinessesItemCalendarViewRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { - requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, "{+baseurl}/solutions/bookingBusinesses/{bookingBusiness%2Did}/calendarView?end={end}&start={start}{&%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", m.BaseRequestBuilder.PathParameters) if requestConfiguration != nil { if requestConfiguration.QueryParameters != nil { requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) @@ -143,7 +143,7 @@ func (m *BookingBusinessesItemCalendarViewRequestBuilder) ToGetRequestInformatio // ToPostRequestInformation create new navigation property to calendarView for solutions // returns a *RequestInformation when successful func (m *BookingBusinessesItemCalendarViewRequestBuilder) ToPostRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.BookingAppointmentable, requestConfiguration *BookingBusinessesItemCalendarViewRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { - requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, "{+baseurl}/solutions/bookingBusinesses/{bookingBusiness%2Did}/calendarView", m.BaseRequestBuilder.PathParameters) + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) if requestConfiguration != nil { requestInfo.Headers.AddAll(requestConfiguration.Headers) requestInfo.AddRequestOptions(requestConfiguration.Options) diff --git a/solutions/booking_businesses_request_builder.go b/solutions/booking_businesses_request_builder.go index 222d70c9df..09d1384193 100644 --- a/solutions/booking_businesses_request_builder.go +++ b/solutions/booking_businesses_request_builder.go @@ -14,7 +14,7 @@ import ( type BookingBusinessesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// BookingBusinessesRequestBuilderGetQueryParameters get a collection of bookingBusiness objects that has been created for the tenant. This operation returns only the id and displayName of each Microsoft Bookings business in the collection. For performance considerations, it does not return other properties. You can get the other properties of a Bookings business by specifying its id in a GET operation. +// BookingBusinessesRequestBuilderGetQueryParameters get a collection of bookingBusiness objects that has been created for the tenant. This operation returns only the id and displayName of each Microsoft Bookings business in the collection. For performance considerations, it doesn't return other properties. You can get the other properties of a Bookings business by specifying its id in a GET operation. type BookingBusinessesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool "uriparametername:\"%24count\"" @@ -79,7 +79,7 @@ func NewBookingBusinessesRequestBuilder(rawUrl string, requestAdapter i2ae4187f7 func (m *BookingBusinessesRequestBuilder) Count()(*BookingBusinessesCountRequestBuilder) { return NewBookingBusinessesCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get a collection of bookingBusiness objects that has been created for the tenant. This operation returns only the id and displayName of each Microsoft Bookings business in the collection. For performance considerations, it does not return other properties. You can get the other properties of a Bookings business by specifying its id in a GET operation. +// Get get a collection of bookingBusiness objects that has been created for the tenant. This operation returns only the id and displayName of each Microsoft Bookings business in the collection. For performance considerations, it doesn't return other properties. You can get the other properties of a Bookings business by specifying its id in a GET operation. // returns a BookingBusinessCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] @@ -125,7 +125,7 @@ func (m *BookingBusinessesRequestBuilder) Post(ctx context.Context, body iadcd81 } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.BookingBusinessable), nil } -// ToGetRequestInformation get a collection of bookingBusiness objects that has been created for the tenant. This operation returns only the id and displayName of each Microsoft Bookings business in the collection. For performance considerations, it does not return other properties. You can get the other properties of a Bookings business by specifying its id in a GET operation. +// ToGetRequestInformation get a collection of bookingBusiness objects that has been created for the tenant. This operation returns only the id and displayName of each Microsoft Bookings business in the collection. For performance considerations, it doesn't return other properties. You can get the other properties of a Bookings business by specifying its id in a GET operation. // returns a *RequestInformation when successful func (m *BookingBusinessesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *BookingBusinessesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/teams/3fae68e1ef76588d6b9d6e65c526405ff0fd5c98b8eb068a23fe538e9244cae7.go b/teams/3fae68e1ef76588d6b9d6e65c526405ff0fd5c98b8eb068a23fe538e9244cae7.go index 80dd971226..f003dfb4bc 100644 --- a/teams/3fae68e1ef76588d6b9d6e65c526405ff0fd5c98b8eb068a23fe538e9244cae7.go +++ b/teams/3fae68e1ef76588d6b9d6e65c526405ff0fd5c98b8eb068a23fe538e9244cae7.go @@ -18,6 +18,8 @@ func NewItemPrimaryChannelDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrin } m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); m.SetAdditionalData(make(map[string]any)) + valueValue := false + m.SetValue(&valueValue) return m } // CreateItemPrimaryChannelDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameGetResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value diff --git a/teams/aeca5988750364c3dde6b21629d1752d9619c5a36b19353e8a335bd823ac94e9.go b/teams/aeca5988750364c3dde6b21629d1752d9619c5a36b19353e8a335bd823ac94e9.go index 1b323cbdf7..e89ad6c5ef 100644 --- a/teams/aeca5988750364c3dde6b21629d1752d9619c5a36b19353e8a335bd823ac94e9.go +++ b/teams/aeca5988750364c3dde6b21629d1752d9619c5a36b19353e8a335bd823ac94e9.go @@ -18,6 +18,8 @@ func NewItemChannelsItemDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrinci } m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); m.SetAdditionalData(make(map[string]any)) + valueValue := false + m.SetValue(&valueValue) return m } // CreateItemChannelsItemDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameGetResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value diff --git a/teams/item_archive_post_request_body.go b/teams/item_archive_post_request_body.go index 88ad997724..dce79e7b22 100644 --- a/teams/item_archive_post_request_body.go +++ b/teams/item_archive_post_request_body.go @@ -18,6 +18,8 @@ func NewItemArchivePostRequestBody()(*ItemArchivePostRequestBody) { } m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); m.SetAdditionalData(make(map[string]any)) + shouldSetSpoSiteReadOnlyForMembersValue := false + m.SetShouldSetSpoSiteReadOnlyForMembers(&shouldSetSpoSiteReadOnlyForMembersValue) return m } // CreateItemArchivePostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value diff --git a/teams/item_channels_item_archive_post_request_body.go b/teams/item_channels_item_archive_post_request_body.go index 728627780f..78401dfb32 100644 --- a/teams/item_channels_item_archive_post_request_body.go +++ b/teams/item_channels_item_archive_post_request_body.go @@ -18,6 +18,8 @@ func NewItemChannelsItemArchivePostRequestBody()(*ItemChannelsItemArchivePostReq } m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); m.SetAdditionalData(make(map[string]any)) + shouldSetSpoSiteReadOnlyForMembersValue := false + m.SetShouldSetSpoSiteReadOnlyForMembers(&shouldSetSpoSiteReadOnlyForMembersValue) return m } // CreateItemChannelsItemArchivePostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value diff --git a/teams/item_channels_item_shared_with_teams_item_allowed_members_request_builder.go b/teams/item_channels_item_shared_with_teams_item_allowed_members_request_builder.go index 40ba63b6fd..945c293d71 100644 --- a/teams/item_channels_item_shared_with_teams_item_allowed_members_request_builder.go +++ b/teams/item_channels_item_shared_with_teams_item_allowed_members_request_builder.go @@ -14,7 +14,7 @@ import ( type ItemChannelsItemSharedWithTeamsItemAllowedMembersRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemChannelsItemSharedWithTeamsItemAllowedMembersRequestBuilderGetQueryParameters get the list of conversationMembers who can access a shared channel. This method does not return the following conversationMembers from the team:- Users with Guest role- Users who are externally authenticated in the tenant +// ItemChannelsItemSharedWithTeamsItemAllowedMembersRequestBuilderGetQueryParameters get the list of conversationMembers who can access a shared channel. This method doesn't return the following conversationMembers from the team:- Users with Guest role- Users who are externally authenticated in the tenant type ItemChannelsItemSharedWithTeamsItemAllowedMembersRequestBuilderGetQueryParameters struct { // Include count of items Count *bool "uriparametername:\"%24count\"" @@ -72,7 +72,7 @@ func NewItemChannelsItemSharedWithTeamsItemAllowedMembersRequestBuilder(rawUrl s func (m *ItemChannelsItemSharedWithTeamsItemAllowedMembersRequestBuilder) Count()(*ItemChannelsItemSharedWithTeamsItemAllowedMembersCountRequestBuilder) { return NewItemChannelsItemSharedWithTeamsItemAllowedMembersCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get the list of conversationMembers who can access a shared channel. This method does not return the following conversationMembers from the team:- Users with Guest role- Users who are externally authenticated in the tenant +// Get get the list of conversationMembers who can access a shared channel. This method doesn't return the following conversationMembers from the team:- Users with Guest role- Users who are externally authenticated in the tenant // returns a ConversationMemberCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] @@ -95,7 +95,7 @@ func (m *ItemChannelsItemSharedWithTeamsItemAllowedMembersRequestBuilder) Get(ct } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ConversationMemberCollectionResponseable), nil } -// ToGetRequestInformation get the list of conversationMembers who can access a shared channel. This method does not return the following conversationMembers from the team:- Users with Guest role- Users who are externally authenticated in the tenant +// ToGetRequestInformation get the list of conversationMembers who can access a shared channel. This method doesn't return the following conversationMembers from the team:- Users with Guest role- Users who are externally authenticated in the tenant // returns a *RequestInformation when successful func (m *ItemChannelsItemSharedWithTeamsItemAllowedMembersRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemChannelsItemSharedWithTeamsItemAllowedMembersRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/teams/item_primary_channel_archive_post_request_body.go b/teams/item_primary_channel_archive_post_request_body.go index a0cbab31b9..a1a126657d 100644 --- a/teams/item_primary_channel_archive_post_request_body.go +++ b/teams/item_primary_channel_archive_post_request_body.go @@ -18,6 +18,8 @@ func NewItemPrimaryChannelArchivePostRequestBody()(*ItemPrimaryChannelArchivePos } m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); m.SetAdditionalData(make(map[string]any)) + shouldSetSpoSiteReadOnlyForMembersValue := false + m.SetShouldSetSpoSiteReadOnlyForMembers(&shouldSetSpoSiteReadOnlyForMembersValue) return m } // CreateItemPrimaryChannelArchivePostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value diff --git a/teams/item_schedule_scheduling_groups_scheduling_group_item_request_builder.go b/teams/item_schedule_scheduling_groups_scheduling_group_item_request_builder.go index 931ce80b42..f99033f647 100644 --- a/teams/item_schedule_scheduling_groups_scheduling_group_item_request_builder.go +++ b/teams/item_schedule_scheduling_groups_scheduling_group_item_request_builder.go @@ -57,7 +57,7 @@ func NewItemScheduleSchedulingGroupsSchedulingGroupItemRequestBuilder(rawUrl str urlParams["request-raw-url"] = rawUrl return NewItemScheduleSchedulingGroupsSchedulingGroupItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete mark a schedulingGroup as inactive by setting its isActive property.This method does not remove the schedulingGroup from the schedule. Existing shift instances assigned to the scheduling group remain part of the group. +// Delete mark a schedulingGroup as inactive by setting its isActive property.This method doesn't remove the schedulingGroup from the schedule. Existing shift instances assigned to the scheduling group remain part of the group. // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // @@ -122,7 +122,7 @@ func (m *ItemScheduleSchedulingGroupsSchedulingGroupItemRequestBuilder) Patch(ct } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SchedulingGroupable), nil } -// ToDeleteRequestInformation mark a schedulingGroup as inactive by setting its isActive property.This method does not remove the schedulingGroup from the schedule. Existing shift instances assigned to the scheduling group remain part of the group. +// ToDeleteRequestInformation mark a schedulingGroup as inactive by setting its isActive property.This method doesn't remove the schedulingGroup from the schedule. Existing shift instances assigned to the scheduling group remain part of the group. // returns a *RequestInformation when successful func (m *ItemScheduleSchedulingGroupsSchedulingGroupItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemScheduleSchedulingGroupsSchedulingGroupItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/teams/item_schedule_share_post_request_body.go b/teams/item_schedule_share_post_request_body.go index 4b0b1eae2a..2ab077749b 100644 --- a/teams/item_schedule_share_post_request_body.go +++ b/teams/item_schedule_share_post_request_body.go @@ -19,6 +19,8 @@ func NewItemScheduleSharePostRequestBody()(*ItemScheduleSharePostRequestBody) { } m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); m.SetAdditionalData(make(map[string]any)) + notifyTeamValue := false + m.SetNotifyTeam(¬ifyTeamValue) return m } // CreateItemScheduleSharePostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value diff --git a/teams/item_schedule_time_cards_clock_in_post_request_body.go b/teams/item_schedule_time_cards_clock_in_post_request_body.go index 02bbc3a15b..b880869f6d 100644 --- a/teams/item_schedule_time_cards_clock_in_post_request_body.go +++ b/teams/item_schedule_time_cards_clock_in_post_request_body.go @@ -19,6 +19,8 @@ func NewItemScheduleTimeCardsClockInPostRequestBody()(*ItemScheduleTimeCardsCloc } m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); m.SetAdditionalData(make(map[string]any)) + isAtApprovedLocationValue := false + m.SetIsAtApprovedLocation(&isAtApprovedLocationValue) return m } // CreateItemScheduleTimeCardsClockInPostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value diff --git a/teams/item_schedule_time_cards_item_clock_out_post_request_body.go b/teams/item_schedule_time_cards_item_clock_out_post_request_body.go index 661ce16b69..2462052746 100644 --- a/teams/item_schedule_time_cards_item_clock_out_post_request_body.go +++ b/teams/item_schedule_time_cards_item_clock_out_post_request_body.go @@ -19,6 +19,8 @@ func NewItemScheduleTimeCardsItemClockOutPostRequestBody()(*ItemScheduleTimeCard } m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); m.SetAdditionalData(make(map[string]any)) + isAtApprovedLocationValue := false + m.SetIsAtApprovedLocation(&isAtApprovedLocationValue) return m } // CreateItemScheduleTimeCardsItemClockOutPostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value diff --git a/teams/item_schedule_time_cards_item_end_break_post_request_body.go b/teams/item_schedule_time_cards_item_end_break_post_request_body.go index 0fc96207a4..d4dd9b5027 100644 --- a/teams/item_schedule_time_cards_item_end_break_post_request_body.go +++ b/teams/item_schedule_time_cards_item_end_break_post_request_body.go @@ -19,6 +19,8 @@ func NewItemScheduleTimeCardsItemEndBreakPostRequestBody()(*ItemScheduleTimeCard } m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); m.SetAdditionalData(make(map[string]any)) + isAtApprovedLocationValue := false + m.SetIsAtApprovedLocation(&isAtApprovedLocationValue) return m } // CreateItemScheduleTimeCardsItemEndBreakPostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value diff --git a/teams/item_schedule_time_cards_item_start_break_post_request_body.go b/teams/item_schedule_time_cards_item_start_break_post_request_body.go index 7bdfde173d..1b865a19e9 100644 --- a/teams/item_schedule_time_cards_item_start_break_post_request_body.go +++ b/teams/item_schedule_time_cards_item_start_break_post_request_body.go @@ -19,6 +19,8 @@ func NewItemScheduleTimeCardsItemStartBreakPostRequestBody()(*ItemScheduleTimeCa } m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); m.SetAdditionalData(make(map[string]any)) + isAtApprovedLocationValue := false + m.SetIsAtApprovedLocation(&isAtApprovedLocationValue) return m } // CreateItemScheduleTimeCardsItemStartBreakPostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value diff --git a/teamwork/9d8088ca4f002c380e2caf1b7b013ddf314f8c9201a9b0314f1adefa164137d8.go b/teamwork/9d8088ca4f002c380e2caf1b7b013ddf314f8c9201a9b0314f1adefa164137d8.go index 75dd0ed095..2540b3a70e 100644 --- a/teamwork/9d8088ca4f002c380e2caf1b7b013ddf314f8c9201a9b0314f1adefa164137d8.go +++ b/teamwork/9d8088ca4f002c380e2caf1b7b013ddf314f8c9201a9b0314f1adefa164137d8.go @@ -18,6 +18,8 @@ func NewDeletedTeamsItemChannelsItemDoesUserHaveAccessuserIdUserIdTenantIdTenant } m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); m.SetAdditionalData(make(map[string]any)) + valueValue := false + m.SetValue(&valueValue) return m } // CreateDeletedTeamsItemChannelsItemDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameGetResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value diff --git a/teamwork/deleted_teams_item_channels_item_archive_post_request_body.go b/teamwork/deleted_teams_item_channels_item_archive_post_request_body.go index 50e495e047..8104e2b874 100644 --- a/teamwork/deleted_teams_item_channels_item_archive_post_request_body.go +++ b/teamwork/deleted_teams_item_channels_item_archive_post_request_body.go @@ -18,6 +18,8 @@ func NewDeletedTeamsItemChannelsItemArchivePostRequestBody()(*DeletedTeamsItemCh } m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); m.SetAdditionalData(make(map[string]any)) + shouldSetSpoSiteReadOnlyForMembersValue := false + m.SetShouldSetSpoSiteReadOnlyForMembers(&shouldSetSpoSiteReadOnlyForMembersValue) return m } // CreateDeletedTeamsItemChannelsItemArchivePostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value diff --git a/users/001f9421a1f86f3b7dcdddf3cf6f996dc4e09d16ac73522885b93fc590fe59e5.go b/users/001f9421a1f86f3b7dcdddf3cf6f996dc4e09d16ac73522885b93fc590fe59e5.go index e781f7766e..7f63245c40 100644 --- a/users/001f9421a1f86f3b7dcdddf3cf6f996dc4e09d16ac73522885b93fc590fe59e5.go +++ b/users/001f9421a1f86f3b7dcdddf3cf6f996dc4e09d16ac73522885b93fc590fe59e5.go @@ -18,6 +18,8 @@ func NewItemJoinedTeamsItemChannelsItemDoesUserHaveAccessuserIdUserIdTenantIdTen } m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); m.SetAdditionalData(make(map[string]any)) + valueValue := false + m.SetValue(&valueValue) return m } // CreateItemJoinedTeamsItemChannelsItemDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameGetResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value diff --git a/users/441a3b99cc3f3213dd5e98a84a9bc2a76e7476ca3ef8acb6e8710f2c469f7981.go b/users/441a3b99cc3f3213dd5e98a84a9bc2a76e7476ca3ef8acb6e8710f2c469f7981.go index 34d66db1c1..368cf77fba 100644 --- a/users/441a3b99cc3f3213dd5e98a84a9bc2a76e7476ca3ef8acb6e8710f2c469f7981.go +++ b/users/441a3b99cc3f3213dd5e98a84a9bc2a76e7476ca3ef8acb6e8710f2c469f7981.go @@ -18,6 +18,8 @@ func NewItemJoinedTeamsItemPrimaryChannelDoesUserHaveAccessuserIdUserIdTenantIdT } m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); m.SetAdditionalData(make(map[string]any)) + valueValue := false + m.SetValue(&valueValue) return m } // CreateItemJoinedTeamsItemPrimaryChannelDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameGetResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value diff --git a/users/4be8900981131b3792f5ab3c6ef47cd89d57de8968022cd10528e1b330429743.go b/users/4be8900981131b3792f5ab3c6ef47cd89d57de8968022cd10528e1b330429743.go new file mode 100644 index 0000000000..834013028e --- /dev/null +++ b/users/4be8900981131b3792f5ab3c6ef47cd89d57de8968022cd10528e1b330429743.go @@ -0,0 +1,165 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package users + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// ItemChatsItemTargetedMessagesItemHostedContentsChatMessageHostedContentItemRequestBuilder provides operations to manage the hostedContents property of the microsoft.graph.chatMessage entity. +type ItemChatsItemTargetedMessagesItemHostedContentsChatMessageHostedContentItemRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ItemChatsItemTargetedMessagesItemHostedContentsChatMessageHostedContentItemRequestBuilderDeleteRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemChatsItemTargetedMessagesItemHostedContentsChatMessageHostedContentItemRequestBuilderDeleteRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// ItemChatsItemTargetedMessagesItemHostedContentsChatMessageHostedContentItemRequestBuilderGetQueryParameters content in a message hosted by Microsoft Teams - for example, images or code snippets. +type ItemChatsItemTargetedMessagesItemHostedContentsChatMessageHostedContentItemRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string "uriparametername:\"%24expand\"" + // Select properties to be returned + Select []string "uriparametername:\"%24select\"" +} +// ItemChatsItemTargetedMessagesItemHostedContentsChatMessageHostedContentItemRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemChatsItemTargetedMessagesItemHostedContentsChatMessageHostedContentItemRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *ItemChatsItemTargetedMessagesItemHostedContentsChatMessageHostedContentItemRequestBuilderGetQueryParameters +} +// ItemChatsItemTargetedMessagesItemHostedContentsChatMessageHostedContentItemRequestBuilderPatchRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemChatsItemTargetedMessagesItemHostedContentsChatMessageHostedContentItemRequestBuilderPatchRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewItemChatsItemTargetedMessagesItemHostedContentsChatMessageHostedContentItemRequestBuilderInternal instantiates a new ItemChatsItemTargetedMessagesItemHostedContentsChatMessageHostedContentItemRequestBuilder and sets the default values. +func NewItemChatsItemTargetedMessagesItemHostedContentsChatMessageHostedContentItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemChatsItemTargetedMessagesItemHostedContentsChatMessageHostedContentItemRequestBuilder) { + m := &ItemChatsItemTargetedMessagesItemHostedContentsChatMessageHostedContentItemRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/chats/{chat%2Did}/targetedMessages/{targetedChatMessage%2Did}/hostedContents/{chatMessageHostedContent%2Did}{?%24expand,%24select}", pathParameters), + } + return m +} +// NewItemChatsItemTargetedMessagesItemHostedContentsChatMessageHostedContentItemRequestBuilder instantiates a new ItemChatsItemTargetedMessagesItemHostedContentsChatMessageHostedContentItemRequestBuilder and sets the default values. +func NewItemChatsItemTargetedMessagesItemHostedContentsChatMessageHostedContentItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemChatsItemTargetedMessagesItemHostedContentsChatMessageHostedContentItemRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewItemChatsItemTargetedMessagesItemHostedContentsChatMessageHostedContentItemRequestBuilderInternal(urlParams, requestAdapter) +} +// Content provides operations to manage the media for the user entity. +// returns a *ItemChatsItemTargetedMessagesItemHostedContentsItemValueContentRequestBuilder when successful +func (m *ItemChatsItemTargetedMessagesItemHostedContentsChatMessageHostedContentItemRequestBuilder) Content()(*ItemChatsItemTargetedMessagesItemHostedContentsItemValueContentRequestBuilder) { + return NewItemChatsItemTargetedMessagesItemHostedContentsItemValueContentRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Delete delete navigation property hostedContents for users +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemChatsItemTargetedMessagesItemHostedContentsChatMessageHostedContentItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemChatsItemTargetedMessagesItemHostedContentsChatMessageHostedContentItemRequestBuilderDeleteRequestConfiguration)(error) { + requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); + if err != nil { + return err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + err = m.BaseRequestBuilder.RequestAdapter.SendNoContent(ctx, requestInfo, errorMapping) + if err != nil { + return err + } + return nil +} +// Get content in a message hosted by Microsoft Teams - for example, images or code snippets. +// returns a ChatMessageHostedContentable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemChatsItemTargetedMessagesItemHostedContentsChatMessageHostedContentItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemChatsItemTargetedMessagesItemHostedContentsChatMessageHostedContentItemRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageHostedContentable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateChatMessageHostedContentFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageHostedContentable), nil +} +// Patch update the navigation property hostedContents in users +// returns a ChatMessageHostedContentable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemChatsItemTargetedMessagesItemHostedContentsChatMessageHostedContentItemRequestBuilder) Patch(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageHostedContentable, requestConfiguration *ItemChatsItemTargetedMessagesItemHostedContentsChatMessageHostedContentItemRequestBuilderPatchRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageHostedContentable, error) { + requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateChatMessageHostedContentFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageHostedContentable), nil +} +// ToDeleteRequestInformation delete navigation property hostedContents for users +// returns a *RequestInformation when successful +func (m *ItemChatsItemTargetedMessagesItemHostedContentsChatMessageHostedContentItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemChatsItemTargetedMessagesItemHostedContentsChatMessageHostedContentItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToGetRequestInformation content in a message hosted by Microsoft Teams - for example, images or code snippets. +// returns a *RequestInformation when successful +func (m *ItemChatsItemTargetedMessagesItemHostedContentsChatMessageHostedContentItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemChatsItemTargetedMessagesItemHostedContentsChatMessageHostedContentItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToPatchRequestInformation update the navigation property hostedContents in users +// returns a *RequestInformation when successful +func (m *ItemChatsItemTargetedMessagesItemHostedContentsChatMessageHostedContentItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageHostedContentable, requestConfiguration *ItemChatsItemTargetedMessagesItemHostedContentsChatMessageHostedContentItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *ItemChatsItemTargetedMessagesItemHostedContentsChatMessageHostedContentItemRequestBuilder when successful +func (m *ItemChatsItemTargetedMessagesItemHostedContentsChatMessageHostedContentItemRequestBuilder) WithUrl(rawUrl string)(*ItemChatsItemTargetedMessagesItemHostedContentsChatMessageHostedContentItemRequestBuilder) { + return NewItemChatsItemTargetedMessagesItemHostedContentsChatMessageHostedContentItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/6dfc44fc426f5675d4d913e29ba30b705621d153a0f68cbc71d15eff765a6eef.go b/users/6dfc44fc426f5675d4d913e29ba30b705621d153a0f68cbc71d15eff765a6eef.go new file mode 100644 index 0000000000..c42195c59d --- /dev/null +++ b/users/6dfc44fc426f5675d4d913e29ba30b705621d153a0f68cbc71d15eff765a6eef.go @@ -0,0 +1,165 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package users + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// ItemChatsItemTargetedMessagesItemRepliesItemHostedContentsChatMessageHostedContentItemRequestBuilder provides operations to manage the hostedContents property of the microsoft.graph.chatMessage entity. +type ItemChatsItemTargetedMessagesItemRepliesItemHostedContentsChatMessageHostedContentItemRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ItemChatsItemTargetedMessagesItemRepliesItemHostedContentsChatMessageHostedContentItemRequestBuilderDeleteRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemChatsItemTargetedMessagesItemRepliesItemHostedContentsChatMessageHostedContentItemRequestBuilderDeleteRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// ItemChatsItemTargetedMessagesItemRepliesItemHostedContentsChatMessageHostedContentItemRequestBuilderGetQueryParameters content in a message hosted by Microsoft Teams - for example, images or code snippets. +type ItemChatsItemTargetedMessagesItemRepliesItemHostedContentsChatMessageHostedContentItemRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string "uriparametername:\"%24expand\"" + // Select properties to be returned + Select []string "uriparametername:\"%24select\"" +} +// ItemChatsItemTargetedMessagesItemRepliesItemHostedContentsChatMessageHostedContentItemRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemChatsItemTargetedMessagesItemRepliesItemHostedContentsChatMessageHostedContentItemRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *ItemChatsItemTargetedMessagesItemRepliesItemHostedContentsChatMessageHostedContentItemRequestBuilderGetQueryParameters +} +// ItemChatsItemTargetedMessagesItemRepliesItemHostedContentsChatMessageHostedContentItemRequestBuilderPatchRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemChatsItemTargetedMessagesItemRepliesItemHostedContentsChatMessageHostedContentItemRequestBuilderPatchRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewItemChatsItemTargetedMessagesItemRepliesItemHostedContentsChatMessageHostedContentItemRequestBuilderInternal instantiates a new ItemChatsItemTargetedMessagesItemRepliesItemHostedContentsChatMessageHostedContentItemRequestBuilder and sets the default values. +func NewItemChatsItemTargetedMessagesItemRepliesItemHostedContentsChatMessageHostedContentItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemChatsItemTargetedMessagesItemRepliesItemHostedContentsChatMessageHostedContentItemRequestBuilder) { + m := &ItemChatsItemTargetedMessagesItemRepliesItemHostedContentsChatMessageHostedContentItemRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/chats/{chat%2Did}/targetedMessages/{targetedChatMessage%2Did}/replies/{chatMessage%2Did}/hostedContents/{chatMessageHostedContent%2Did}{?%24expand,%24select}", pathParameters), + } + return m +} +// NewItemChatsItemTargetedMessagesItemRepliesItemHostedContentsChatMessageHostedContentItemRequestBuilder instantiates a new ItemChatsItemTargetedMessagesItemRepliesItemHostedContentsChatMessageHostedContentItemRequestBuilder and sets the default values. +func NewItemChatsItemTargetedMessagesItemRepliesItemHostedContentsChatMessageHostedContentItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemChatsItemTargetedMessagesItemRepliesItemHostedContentsChatMessageHostedContentItemRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewItemChatsItemTargetedMessagesItemRepliesItemHostedContentsChatMessageHostedContentItemRequestBuilderInternal(urlParams, requestAdapter) +} +// Content provides operations to manage the media for the user entity. +// returns a *ItemChatsItemTargetedMessagesItemRepliesItemHostedContentsItemValueContentRequestBuilder when successful +func (m *ItemChatsItemTargetedMessagesItemRepliesItemHostedContentsChatMessageHostedContentItemRequestBuilder) Content()(*ItemChatsItemTargetedMessagesItemRepliesItemHostedContentsItemValueContentRequestBuilder) { + return NewItemChatsItemTargetedMessagesItemRepliesItemHostedContentsItemValueContentRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Delete delete navigation property hostedContents for users +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemChatsItemTargetedMessagesItemRepliesItemHostedContentsChatMessageHostedContentItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemChatsItemTargetedMessagesItemRepliesItemHostedContentsChatMessageHostedContentItemRequestBuilderDeleteRequestConfiguration)(error) { + requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); + if err != nil { + return err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + err = m.BaseRequestBuilder.RequestAdapter.SendNoContent(ctx, requestInfo, errorMapping) + if err != nil { + return err + } + return nil +} +// Get content in a message hosted by Microsoft Teams - for example, images or code snippets. +// returns a ChatMessageHostedContentable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemChatsItemTargetedMessagesItemRepliesItemHostedContentsChatMessageHostedContentItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemChatsItemTargetedMessagesItemRepliesItemHostedContentsChatMessageHostedContentItemRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageHostedContentable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateChatMessageHostedContentFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageHostedContentable), nil +} +// Patch update the navigation property hostedContents in users +// returns a ChatMessageHostedContentable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemChatsItemTargetedMessagesItemRepliesItemHostedContentsChatMessageHostedContentItemRequestBuilder) Patch(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageHostedContentable, requestConfiguration *ItemChatsItemTargetedMessagesItemRepliesItemHostedContentsChatMessageHostedContentItemRequestBuilderPatchRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageHostedContentable, error) { + requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateChatMessageHostedContentFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageHostedContentable), nil +} +// ToDeleteRequestInformation delete navigation property hostedContents for users +// returns a *RequestInformation when successful +func (m *ItemChatsItemTargetedMessagesItemRepliesItemHostedContentsChatMessageHostedContentItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemChatsItemTargetedMessagesItemRepliesItemHostedContentsChatMessageHostedContentItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToGetRequestInformation content in a message hosted by Microsoft Teams - for example, images or code snippets. +// returns a *RequestInformation when successful +func (m *ItemChatsItemTargetedMessagesItemRepliesItemHostedContentsChatMessageHostedContentItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemChatsItemTargetedMessagesItemRepliesItemHostedContentsChatMessageHostedContentItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToPatchRequestInformation update the navigation property hostedContents in users +// returns a *RequestInformation when successful +func (m *ItemChatsItemTargetedMessagesItemRepliesItemHostedContentsChatMessageHostedContentItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageHostedContentable, requestConfiguration *ItemChatsItemTargetedMessagesItemRepliesItemHostedContentsChatMessageHostedContentItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *ItemChatsItemTargetedMessagesItemRepliesItemHostedContentsChatMessageHostedContentItemRequestBuilder when successful +func (m *ItemChatsItemTargetedMessagesItemRepliesItemHostedContentsChatMessageHostedContentItemRequestBuilder) WithUrl(rawUrl string)(*ItemChatsItemTargetedMessagesItemRepliesItemHostedContentsChatMessageHostedContentItemRequestBuilder) { + return NewItemChatsItemTargetedMessagesItemRepliesItemHostedContentsChatMessageHostedContentItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/e6ec4f6800ebf4a1b56ba058514a024bb16c717cdf1ec2b51398035bfefae926.go b/users/e6ec4f6800ebf4a1b56ba058514a024bb16c717cdf1ec2b51398035bfefae926.go new file mode 100644 index 0000000000..f9f2bfcb48 --- /dev/null +++ b/users/e6ec4f6800ebf4a1b56ba058514a024bb16c717cdf1ec2b51398035bfefae926.go @@ -0,0 +1,144 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package users + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// ItemChatsItemTargetedMessagesItemRepliesItemHostedContentsItemValueContentRequestBuilder provides operations to manage the media for the user entity. +type ItemChatsItemTargetedMessagesItemRepliesItemHostedContentsItemValueContentRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ItemChatsItemTargetedMessagesItemRepliesItemHostedContentsItemValueContentRequestBuilderDeleteRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemChatsItemTargetedMessagesItemRepliesItemHostedContentsItemValueContentRequestBuilderDeleteRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// ItemChatsItemTargetedMessagesItemRepliesItemHostedContentsItemValueContentRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemChatsItemTargetedMessagesItemRepliesItemHostedContentsItemValueContentRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// ItemChatsItemTargetedMessagesItemRepliesItemHostedContentsItemValueContentRequestBuilderPutRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemChatsItemTargetedMessagesItemRepliesItemHostedContentsItemValueContentRequestBuilderPutRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewItemChatsItemTargetedMessagesItemRepliesItemHostedContentsItemValueContentRequestBuilderInternal instantiates a new ItemChatsItemTargetedMessagesItemRepliesItemHostedContentsItemValueContentRequestBuilder and sets the default values. +func NewItemChatsItemTargetedMessagesItemRepliesItemHostedContentsItemValueContentRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemChatsItemTargetedMessagesItemRepliesItemHostedContentsItemValueContentRequestBuilder) { + m := &ItemChatsItemTargetedMessagesItemRepliesItemHostedContentsItemValueContentRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/chats/{chat%2Did}/targetedMessages/{targetedChatMessage%2Did}/replies/{chatMessage%2Did}/hostedContents/{chatMessageHostedContent%2Did}/$value", pathParameters), + } + return m +} +// NewItemChatsItemTargetedMessagesItemRepliesItemHostedContentsItemValueContentRequestBuilder instantiates a new ItemChatsItemTargetedMessagesItemRepliesItemHostedContentsItemValueContentRequestBuilder and sets the default values. +func NewItemChatsItemTargetedMessagesItemRepliesItemHostedContentsItemValueContentRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemChatsItemTargetedMessagesItemRepliesItemHostedContentsItemValueContentRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewItemChatsItemTargetedMessagesItemRepliesItemHostedContentsItemValueContentRequestBuilderInternal(urlParams, requestAdapter) +} +// Delete the unique identifier for an entity. Read-only. +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemChatsItemTargetedMessagesItemRepliesItemHostedContentsItemValueContentRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemChatsItemTargetedMessagesItemRepliesItemHostedContentsItemValueContentRequestBuilderDeleteRequestConfiguration)(error) { + requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); + if err != nil { + return err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + err = m.BaseRequestBuilder.RequestAdapter.SendNoContent(ctx, requestInfo, errorMapping) + if err != nil { + return err + } + return nil +} +// Get the unique identifier for an entity. Read-only. +// returns a []byte when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemChatsItemTargetedMessagesItemRepliesItemHostedContentsItemValueContentRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemChatsItemTargetedMessagesItemRepliesItemHostedContentsItemValueContentRequestBuilderGetRequestConfiguration)([]byte, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.SendPrimitive(ctx, requestInfo, "[]byte", errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.([]byte), nil +} +// Put the unique identifier for an entity. Read-only. +// returns a []byte when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemChatsItemTargetedMessagesItemRepliesItemHostedContentsItemValueContentRequestBuilder) Put(ctx context.Context, body []byte, requestConfiguration *ItemChatsItemTargetedMessagesItemRepliesItemHostedContentsItemValueContentRequestBuilderPutRequestConfiguration)([]byte, error) { + requestInfo, err := m.ToPutRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.SendPrimitive(ctx, requestInfo, "[]byte", errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.([]byte), nil +} +// ToDeleteRequestInformation the unique identifier for an entity. Read-only. +// returns a *RequestInformation when successful +func (m *ItemChatsItemTargetedMessagesItemRepliesItemHostedContentsItemValueContentRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemChatsItemTargetedMessagesItemRepliesItemHostedContentsItemValueContentRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToGetRequestInformation the unique identifier for an entity. Read-only. +// returns a *RequestInformation when successful +func (m *ItemChatsItemTargetedMessagesItemRepliesItemHostedContentsItemValueContentRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemChatsItemTargetedMessagesItemRepliesItemHostedContentsItemValueContentRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") + return requestInfo, nil +} +// ToPutRequestInformation the unique identifier for an entity. Read-only. +// returns a *RequestInformation when successful +func (m *ItemChatsItemTargetedMessagesItemRepliesItemHostedContentsItemValueContentRequestBuilder) ToPutRequestInformation(ctx context.Context, body []byte, requestConfiguration *ItemChatsItemTargetedMessagesItemRepliesItemHostedContentsItemValueContentRequestBuilderPutRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PUT, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + requestInfo.SetStreamContentAndContentType(body, "application/octet-stream") + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *ItemChatsItemTargetedMessagesItemRepliesItemHostedContentsItemValueContentRequestBuilder when successful +func (m *ItemChatsItemTargetedMessagesItemRepliesItemHostedContentsItemValueContentRequestBuilder) WithUrl(rawUrl string)(*ItemChatsItemTargetedMessagesItemRepliesItemHostedContentsItemValueContentRequestBuilder) { + return NewItemChatsItemTargetedMessagesItemRepliesItemHostedContentsItemValueContentRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/get_available_extension_properties_post_request_body.go b/users/get_available_extension_properties_post_request_body.go index 5d6166d2bc..63507934fe 100644 --- a/users/get_available_extension_properties_post_request_body.go +++ b/users/get_available_extension_properties_post_request_body.go @@ -18,6 +18,8 @@ func NewGetAvailableExtensionPropertiesPostRequestBody()(*GetAvailableExtensionP } m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); m.SetAdditionalData(make(map[string]any)) + isSyncedFromOnPremisesValue := false + m.SetIsSyncedFromOnPremises(&isSyncedFromOnPremisesValue) return m } // CreateGetAvailableExtensionPropertiesPostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value diff --git a/users/item_authentication_fido2_methods_creation_options_request_builder.go b/users/item_authentication_fido2_methods_creation_options_request_builder.go index 7336434616..d8b002c25f 100644 --- a/users/item_authentication_fido2_methods_creation_options_request_builder.go +++ b/users/item_authentication_fido2_methods_creation_options_request_builder.go @@ -34,9 +34,12 @@ func NewItemAuthenticationFido2MethodsCreationOptionsRequestBuilder(rawUrl strin urlParams["request-raw-url"] = rawUrl return NewItemAuthenticationFido2MethodsCreationOptionsRequestBuilderInternal(urlParams, requestAdapter) } -// Get invoke function creationOptions +// Get retrieve creation options required to generate and register a Microsoft Entra ID-compatible passkey. This function returns WebAuthn credential creation options that include a challenge, relying party information, and user information, which are used by the client to create a new FIDO2 credential. The challenge property and credential IDs in excludeCredentials are Base64URL-encoded without padding. All binary data in the response follows Base64URL encoding as defined in RFC 4648 Section 5. // returns a WebauthnCredentialCreationOptionsable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/fido2authenticationmethod-creationoptions?view=graph-rest-1.0 func (m *ItemAuthenticationFido2MethodsCreationOptionsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemAuthenticationFido2MethodsCreationOptionsRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.WebauthnCredentialCreationOptionsable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -54,7 +57,7 @@ func (m *ItemAuthenticationFido2MethodsCreationOptionsRequestBuilder) Get(ctx co } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.WebauthnCredentialCreationOptionsable), nil } -// ToGetRequestInformation invoke function creationOptions +// ToGetRequestInformation retrieve creation options required to generate and register a Microsoft Entra ID-compatible passkey. This function returns WebAuthn credential creation options that include a challenge, relying party information, and user information, which are used by the client to create a new FIDO2 credential. The challenge property and credential IDs in excludeCredentials are Base64URL-encoded without padding. All binary data in the response follows Base64URL encoding as defined in RFC 4648 Section 5. // returns a *RequestInformation when successful func (m *ItemAuthenticationFido2MethodsCreationOptionsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemAuthenticationFido2MethodsCreationOptionsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_calendar_events_item_accept_post_request_body.go b/users/item_calendar_events_item_accept_post_request_body.go index d1a6ce728d..7c1b7b0a96 100644 --- a/users/item_calendar_events_item_accept_post_request_body.go +++ b/users/item_calendar_events_item_accept_post_request_body.go @@ -18,6 +18,8 @@ func NewItemCalendarEventsItemAcceptPostRequestBody()(*ItemCalendarEventsItemAcc } m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); m.SetAdditionalData(make(map[string]any)) + sendResponseValue := false + m.SetSendResponse(&sendResponseValue) return m } // CreateItemCalendarEventsItemAcceptPostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value diff --git a/users/item_calendar_events_item_decline_post_request_body.go b/users/item_calendar_events_item_decline_post_request_body.go index b7c7e84254..8084cd59d2 100644 --- a/users/item_calendar_events_item_decline_post_request_body.go +++ b/users/item_calendar_events_item_decline_post_request_body.go @@ -19,6 +19,8 @@ func NewItemCalendarEventsItemDeclinePostRequestBody()(*ItemCalendarEventsItemDe } m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); m.SetAdditionalData(make(map[string]any)) + sendResponseValue := false + m.SetSendResponse(&sendResponseValue) return m } // CreateItemCalendarEventsItemDeclinePostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value diff --git a/users/item_calendar_events_item_tentatively_accept_post_request_body.go b/users/item_calendar_events_item_tentatively_accept_post_request_body.go index df66c70a55..505f3b2742 100644 --- a/users/item_calendar_events_item_tentatively_accept_post_request_body.go +++ b/users/item_calendar_events_item_tentatively_accept_post_request_body.go @@ -19,6 +19,8 @@ func NewItemCalendarEventsItemTentativelyAcceptPostRequestBody()(*ItemCalendarEv } m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); m.SetAdditionalData(make(map[string]any)) + sendResponseValue := false + m.SetSendResponse(&sendResponseValue) return m } // CreateItemCalendarEventsItemTentativelyAcceptPostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value diff --git a/users/item_calendar_groups_item_calendars_item_events_item_accept_post_request_body.go b/users/item_calendar_groups_item_calendars_item_events_item_accept_post_request_body.go index dcc0a06b50..48ebb4ca64 100644 --- a/users/item_calendar_groups_item_calendars_item_events_item_accept_post_request_body.go +++ b/users/item_calendar_groups_item_calendars_item_events_item_accept_post_request_body.go @@ -18,6 +18,8 @@ func NewItemCalendarGroupsItemCalendarsItemEventsItemAcceptPostRequestBody()(*It } m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); m.SetAdditionalData(make(map[string]any)) + sendResponseValue := false + m.SetSendResponse(&sendResponseValue) return m } // CreateItemCalendarGroupsItemCalendarsItemEventsItemAcceptPostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value diff --git a/users/item_calendar_groups_item_calendars_item_events_item_decline_post_request_body.go b/users/item_calendar_groups_item_calendars_item_events_item_decline_post_request_body.go index 2b5af2528f..c587528530 100644 --- a/users/item_calendar_groups_item_calendars_item_events_item_decline_post_request_body.go +++ b/users/item_calendar_groups_item_calendars_item_events_item_decline_post_request_body.go @@ -19,6 +19,8 @@ func NewItemCalendarGroupsItemCalendarsItemEventsItemDeclinePostRequestBody()(*I } m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); m.SetAdditionalData(make(map[string]any)) + sendResponseValue := false + m.SetSendResponse(&sendResponseValue) return m } // CreateItemCalendarGroupsItemCalendarsItemEventsItemDeclinePostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value diff --git a/users/item_calendar_groups_item_calendars_item_events_item_tentatively_accept_post_request_body.go b/users/item_calendar_groups_item_calendars_item_events_item_tentatively_accept_post_request_body.go index 08ab7d6763..197f04fb8f 100644 --- a/users/item_calendar_groups_item_calendars_item_events_item_tentatively_accept_post_request_body.go +++ b/users/item_calendar_groups_item_calendars_item_events_item_tentatively_accept_post_request_body.go @@ -19,6 +19,8 @@ func NewItemCalendarGroupsItemCalendarsItemEventsItemTentativelyAcceptPostReques } m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); m.SetAdditionalData(make(map[string]any)) + sendResponseValue := false + m.SetSendResponse(&sendResponseValue) return m } // CreateItemCalendarGroupsItemCalendarsItemEventsItemTentativelyAcceptPostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value diff --git a/users/item_calendars_item_events_item_accept_post_request_body.go b/users/item_calendars_item_events_item_accept_post_request_body.go index 34e17fe42a..802bdd542f 100644 --- a/users/item_calendars_item_events_item_accept_post_request_body.go +++ b/users/item_calendars_item_events_item_accept_post_request_body.go @@ -18,6 +18,8 @@ func NewItemCalendarsItemEventsItemAcceptPostRequestBody()(*ItemCalendarsItemEve } m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); m.SetAdditionalData(make(map[string]any)) + sendResponseValue := false + m.SetSendResponse(&sendResponseValue) return m } // CreateItemCalendarsItemEventsItemAcceptPostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value diff --git a/users/item_calendars_item_events_item_decline_post_request_body.go b/users/item_calendars_item_events_item_decline_post_request_body.go index 4b4ec35971..a0a64a7313 100644 --- a/users/item_calendars_item_events_item_decline_post_request_body.go +++ b/users/item_calendars_item_events_item_decline_post_request_body.go @@ -19,6 +19,8 @@ func NewItemCalendarsItemEventsItemDeclinePostRequestBody()(*ItemCalendarsItemEv } m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); m.SetAdditionalData(make(map[string]any)) + sendResponseValue := false + m.SetSendResponse(&sendResponseValue) return m } // CreateItemCalendarsItemEventsItemDeclinePostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value diff --git a/users/item_calendars_item_events_item_tentatively_accept_post_request_body.go b/users/item_calendars_item_events_item_tentatively_accept_post_request_body.go index 1df36d5af6..16c3c02d84 100644 --- a/users/item_calendars_item_events_item_tentatively_accept_post_request_body.go +++ b/users/item_calendars_item_events_item_tentatively_accept_post_request_body.go @@ -19,6 +19,8 @@ func NewItemCalendarsItemEventsItemTentativelyAcceptPostRequestBody()(*ItemCalen } m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); m.SetAdditionalData(make(map[string]any)) + sendResponseValue := false + m.SetSendResponse(&sendResponseValue) return m } // CreateItemCalendarsItemEventsItemTentativelyAcceptPostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value diff --git a/users/item_chats_chat_item_request_builder.go b/users/item_chats_chat_item_request_builder.go index f53081dbbd..4ad25cb30f 100644 --- a/users/item_chats_chat_item_request_builder.go +++ b/users/item_chats_chat_item_request_builder.go @@ -186,6 +186,11 @@ func (m *ItemChatsChatItemRequestBuilder) StartMigration()(*ItemChatsItemStartMi func (m *ItemChatsChatItemRequestBuilder) Tabs()(*ItemChatsItemTabsRequestBuilder) { return NewItemChatsItemTabsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } +// TargetedMessages provides operations to manage the targetedMessages property of the microsoft.graph.chat entity. +// returns a *ItemChatsItemTargetedMessagesRequestBuilder when successful +func (m *ItemChatsChatItemRequestBuilder) TargetedMessages()(*ItemChatsItemTargetedMessagesRequestBuilder) { + return NewItemChatsItemTargetedMessagesRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} // ToDeleteRequestInformation delete navigation property chats for users // returns a *RequestInformation when successful func (m *ItemChatsChatItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemChatsChatItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { diff --git a/users/item_chats_item_targeted_messages_count_request_builder.go b/users/item_chats_item_targeted_messages_count_request_builder.go new file mode 100644 index 0000000000..30ea8be806 --- /dev/null +++ b/users/item_chats_item_targeted_messages_count_request_builder.go @@ -0,0 +1,83 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package users + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// ItemChatsItemTargetedMessagesCountRequestBuilder provides operations to count the resources in the collection. +type ItemChatsItemTargetedMessagesCountRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ItemChatsItemTargetedMessagesCountRequestBuilderGetQueryParameters get the number of the resource +type ItemChatsItemTargetedMessagesCountRequestBuilderGetQueryParameters struct { + // Filter items by property values + Filter *string "uriparametername:\"%24filter\"" + // Search items by search phrases + Search *string "uriparametername:\"%24search\"" +} +// ItemChatsItemTargetedMessagesCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemChatsItemTargetedMessagesCountRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *ItemChatsItemTargetedMessagesCountRequestBuilderGetQueryParameters +} +// NewItemChatsItemTargetedMessagesCountRequestBuilderInternal instantiates a new ItemChatsItemTargetedMessagesCountRequestBuilder and sets the default values. +func NewItemChatsItemTargetedMessagesCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemChatsItemTargetedMessagesCountRequestBuilder) { + m := &ItemChatsItemTargetedMessagesCountRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/chats/{chat%2Did}/targetedMessages/$count{?%24filter,%24search}", pathParameters), + } + return m +} +// NewItemChatsItemTargetedMessagesCountRequestBuilder instantiates a new ItemChatsItemTargetedMessagesCountRequestBuilder and sets the default values. +func NewItemChatsItemTargetedMessagesCountRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemChatsItemTargetedMessagesCountRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewItemChatsItemTargetedMessagesCountRequestBuilderInternal(urlParams, requestAdapter) +} +// Get get the number of the resource +// returns a *int32 when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemChatsItemTargetedMessagesCountRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemChatsItemTargetedMessagesCountRequestBuilderGetRequestConfiguration)(*int32, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.SendPrimitive(ctx, requestInfo, "int32", errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(*int32), nil +} +// ToGetRequestInformation get the number of the resource +// returns a *RequestInformation when successful +func (m *ItemChatsItemTargetedMessagesCountRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemChatsItemTargetedMessagesCountRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9") + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *ItemChatsItemTargetedMessagesCountRequestBuilder when successful +func (m *ItemChatsItemTargetedMessagesCountRequestBuilder) WithUrl(rawUrl string)(*ItemChatsItemTargetedMessagesCountRequestBuilder) { + return NewItemChatsItemTargetedMessagesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_chats_item_targeted_messages_item_hosted_contents_count_request_builder.go b/users/item_chats_item_targeted_messages_item_hosted_contents_count_request_builder.go new file mode 100644 index 0000000000..e70365673f --- /dev/null +++ b/users/item_chats_item_targeted_messages_item_hosted_contents_count_request_builder.go @@ -0,0 +1,83 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package users + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// ItemChatsItemTargetedMessagesItemHostedContentsCountRequestBuilder provides operations to count the resources in the collection. +type ItemChatsItemTargetedMessagesItemHostedContentsCountRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ItemChatsItemTargetedMessagesItemHostedContentsCountRequestBuilderGetQueryParameters get the number of the resource +type ItemChatsItemTargetedMessagesItemHostedContentsCountRequestBuilderGetQueryParameters struct { + // Filter items by property values + Filter *string "uriparametername:\"%24filter\"" + // Search items by search phrases + Search *string "uriparametername:\"%24search\"" +} +// ItemChatsItemTargetedMessagesItemHostedContentsCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemChatsItemTargetedMessagesItemHostedContentsCountRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *ItemChatsItemTargetedMessagesItemHostedContentsCountRequestBuilderGetQueryParameters +} +// NewItemChatsItemTargetedMessagesItemHostedContentsCountRequestBuilderInternal instantiates a new ItemChatsItemTargetedMessagesItemHostedContentsCountRequestBuilder and sets the default values. +func NewItemChatsItemTargetedMessagesItemHostedContentsCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemChatsItemTargetedMessagesItemHostedContentsCountRequestBuilder) { + m := &ItemChatsItemTargetedMessagesItemHostedContentsCountRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/chats/{chat%2Did}/targetedMessages/{targetedChatMessage%2Did}/hostedContents/$count{?%24filter,%24search}", pathParameters), + } + return m +} +// NewItemChatsItemTargetedMessagesItemHostedContentsCountRequestBuilder instantiates a new ItemChatsItemTargetedMessagesItemHostedContentsCountRequestBuilder and sets the default values. +func NewItemChatsItemTargetedMessagesItemHostedContentsCountRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemChatsItemTargetedMessagesItemHostedContentsCountRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewItemChatsItemTargetedMessagesItemHostedContentsCountRequestBuilderInternal(urlParams, requestAdapter) +} +// Get get the number of the resource +// returns a *int32 when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemChatsItemTargetedMessagesItemHostedContentsCountRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemChatsItemTargetedMessagesItemHostedContentsCountRequestBuilderGetRequestConfiguration)(*int32, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.SendPrimitive(ctx, requestInfo, "int32", errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(*int32), nil +} +// ToGetRequestInformation get the number of the resource +// returns a *RequestInformation when successful +func (m *ItemChatsItemTargetedMessagesItemHostedContentsCountRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemChatsItemTargetedMessagesItemHostedContentsCountRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9") + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *ItemChatsItemTargetedMessagesItemHostedContentsCountRequestBuilder when successful +func (m *ItemChatsItemTargetedMessagesItemHostedContentsCountRequestBuilder) WithUrl(rawUrl string)(*ItemChatsItemTargetedMessagesItemHostedContentsCountRequestBuilder) { + return NewItemChatsItemTargetedMessagesItemHostedContentsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_chats_item_targeted_messages_item_hosted_contents_item_value_content_request_builder.go b/users/item_chats_item_targeted_messages_item_hosted_contents_item_value_content_request_builder.go new file mode 100644 index 0000000000..13917f748d --- /dev/null +++ b/users/item_chats_item_targeted_messages_item_hosted_contents_item_value_content_request_builder.go @@ -0,0 +1,144 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package users + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// ItemChatsItemTargetedMessagesItemHostedContentsItemValueContentRequestBuilder provides operations to manage the media for the user entity. +type ItemChatsItemTargetedMessagesItemHostedContentsItemValueContentRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ItemChatsItemTargetedMessagesItemHostedContentsItemValueContentRequestBuilderDeleteRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemChatsItemTargetedMessagesItemHostedContentsItemValueContentRequestBuilderDeleteRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// ItemChatsItemTargetedMessagesItemHostedContentsItemValueContentRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemChatsItemTargetedMessagesItemHostedContentsItemValueContentRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// ItemChatsItemTargetedMessagesItemHostedContentsItemValueContentRequestBuilderPutRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemChatsItemTargetedMessagesItemHostedContentsItemValueContentRequestBuilderPutRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewItemChatsItemTargetedMessagesItemHostedContentsItemValueContentRequestBuilderInternal instantiates a new ItemChatsItemTargetedMessagesItemHostedContentsItemValueContentRequestBuilder and sets the default values. +func NewItemChatsItemTargetedMessagesItemHostedContentsItemValueContentRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemChatsItemTargetedMessagesItemHostedContentsItemValueContentRequestBuilder) { + m := &ItemChatsItemTargetedMessagesItemHostedContentsItemValueContentRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/chats/{chat%2Did}/targetedMessages/{targetedChatMessage%2Did}/hostedContents/{chatMessageHostedContent%2Did}/$value", pathParameters), + } + return m +} +// NewItemChatsItemTargetedMessagesItemHostedContentsItemValueContentRequestBuilder instantiates a new ItemChatsItemTargetedMessagesItemHostedContentsItemValueContentRequestBuilder and sets the default values. +func NewItemChatsItemTargetedMessagesItemHostedContentsItemValueContentRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemChatsItemTargetedMessagesItemHostedContentsItemValueContentRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewItemChatsItemTargetedMessagesItemHostedContentsItemValueContentRequestBuilderInternal(urlParams, requestAdapter) +} +// Delete the unique identifier for an entity. Read-only. +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemChatsItemTargetedMessagesItemHostedContentsItemValueContentRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemChatsItemTargetedMessagesItemHostedContentsItemValueContentRequestBuilderDeleteRequestConfiguration)(error) { + requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); + if err != nil { + return err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + err = m.BaseRequestBuilder.RequestAdapter.SendNoContent(ctx, requestInfo, errorMapping) + if err != nil { + return err + } + return nil +} +// Get the unique identifier for an entity. Read-only. +// returns a []byte when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemChatsItemTargetedMessagesItemHostedContentsItemValueContentRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemChatsItemTargetedMessagesItemHostedContentsItemValueContentRequestBuilderGetRequestConfiguration)([]byte, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.SendPrimitive(ctx, requestInfo, "[]byte", errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.([]byte), nil +} +// Put the unique identifier for an entity. Read-only. +// returns a []byte when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemChatsItemTargetedMessagesItemHostedContentsItemValueContentRequestBuilder) Put(ctx context.Context, body []byte, requestConfiguration *ItemChatsItemTargetedMessagesItemHostedContentsItemValueContentRequestBuilderPutRequestConfiguration)([]byte, error) { + requestInfo, err := m.ToPutRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.SendPrimitive(ctx, requestInfo, "[]byte", errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.([]byte), nil +} +// ToDeleteRequestInformation the unique identifier for an entity. Read-only. +// returns a *RequestInformation when successful +func (m *ItemChatsItemTargetedMessagesItemHostedContentsItemValueContentRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemChatsItemTargetedMessagesItemHostedContentsItemValueContentRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToGetRequestInformation the unique identifier for an entity. Read-only. +// returns a *RequestInformation when successful +func (m *ItemChatsItemTargetedMessagesItemHostedContentsItemValueContentRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemChatsItemTargetedMessagesItemHostedContentsItemValueContentRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") + return requestInfo, nil +} +// ToPutRequestInformation the unique identifier for an entity. Read-only. +// returns a *RequestInformation when successful +func (m *ItemChatsItemTargetedMessagesItemHostedContentsItemValueContentRequestBuilder) ToPutRequestInformation(ctx context.Context, body []byte, requestConfiguration *ItemChatsItemTargetedMessagesItemHostedContentsItemValueContentRequestBuilderPutRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PUT, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + requestInfo.SetStreamContentAndContentType(body, "application/octet-stream") + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *ItemChatsItemTargetedMessagesItemHostedContentsItemValueContentRequestBuilder when successful +func (m *ItemChatsItemTargetedMessagesItemHostedContentsItemValueContentRequestBuilder) WithUrl(rawUrl string)(*ItemChatsItemTargetedMessagesItemHostedContentsItemValueContentRequestBuilder) { + return NewItemChatsItemTargetedMessagesItemHostedContentsItemValueContentRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_chats_item_targeted_messages_item_hosted_contents_request_builder.go b/users/item_chats_item_targeted_messages_item_hosted_contents_request_builder.go new file mode 100644 index 0000000000..6fbf9fb656 --- /dev/null +++ b/users/item_chats_item_targeted_messages_item_hosted_contents_request_builder.go @@ -0,0 +1,155 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package users + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// ItemChatsItemTargetedMessagesItemHostedContentsRequestBuilder provides operations to manage the hostedContents property of the microsoft.graph.chatMessage entity. +type ItemChatsItemTargetedMessagesItemHostedContentsRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ItemChatsItemTargetedMessagesItemHostedContentsRequestBuilderGetQueryParameters content in a message hosted by Microsoft Teams - for example, images or code snippets. +type ItemChatsItemTargetedMessagesItemHostedContentsRequestBuilderGetQueryParameters struct { + // Include count of items + Count *bool "uriparametername:\"%24count\"" + // Expand related entities + Expand []string "uriparametername:\"%24expand\"" + // Filter items by property values + Filter *string "uriparametername:\"%24filter\"" + // Order items by property values + Orderby []string "uriparametername:\"%24orderby\"" + // Search items by search phrases + Search *string "uriparametername:\"%24search\"" + // Select properties to be returned + Select []string "uriparametername:\"%24select\"" + // Skip the first n items + Skip *int32 "uriparametername:\"%24skip\"" + // Show only the first n items + Top *int32 "uriparametername:\"%24top\"" +} +// ItemChatsItemTargetedMessagesItemHostedContentsRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemChatsItemTargetedMessagesItemHostedContentsRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *ItemChatsItemTargetedMessagesItemHostedContentsRequestBuilderGetQueryParameters +} +// ItemChatsItemTargetedMessagesItemHostedContentsRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemChatsItemTargetedMessagesItemHostedContentsRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// ByChatMessageHostedContentId provides operations to manage the hostedContents property of the microsoft.graph.chatMessage entity. +// returns a *ItemChatsItemTargetedMessagesItemHostedContentsChatMessageHostedContentItemRequestBuilder when successful +func (m *ItemChatsItemTargetedMessagesItemHostedContentsRequestBuilder) ByChatMessageHostedContentId(chatMessageHostedContentId string)(*ItemChatsItemTargetedMessagesItemHostedContentsChatMessageHostedContentItemRequestBuilder) { + urlTplParams := make(map[string]string) + for idx, item := range m.BaseRequestBuilder.PathParameters { + urlTplParams[idx] = item + } + if chatMessageHostedContentId != "" { + urlTplParams["chatMessageHostedContent%2Did"] = chatMessageHostedContentId + } + return NewItemChatsItemTargetedMessagesItemHostedContentsChatMessageHostedContentItemRequestBuilderInternal(urlTplParams, m.BaseRequestBuilder.RequestAdapter) +} +// NewItemChatsItemTargetedMessagesItemHostedContentsRequestBuilderInternal instantiates a new ItemChatsItemTargetedMessagesItemHostedContentsRequestBuilder and sets the default values. +func NewItemChatsItemTargetedMessagesItemHostedContentsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemChatsItemTargetedMessagesItemHostedContentsRequestBuilder) { + m := &ItemChatsItemTargetedMessagesItemHostedContentsRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/chats/{chat%2Did}/targetedMessages/{targetedChatMessage%2Did}/hostedContents{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), + } + return m +} +// NewItemChatsItemTargetedMessagesItemHostedContentsRequestBuilder instantiates a new ItemChatsItemTargetedMessagesItemHostedContentsRequestBuilder and sets the default values. +func NewItemChatsItemTargetedMessagesItemHostedContentsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemChatsItemTargetedMessagesItemHostedContentsRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewItemChatsItemTargetedMessagesItemHostedContentsRequestBuilderInternal(urlParams, requestAdapter) +} +// Count provides operations to count the resources in the collection. +// returns a *ItemChatsItemTargetedMessagesItemHostedContentsCountRequestBuilder when successful +func (m *ItemChatsItemTargetedMessagesItemHostedContentsRequestBuilder) Count()(*ItemChatsItemTargetedMessagesItemHostedContentsCountRequestBuilder) { + return NewItemChatsItemTargetedMessagesItemHostedContentsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Get content in a message hosted by Microsoft Teams - for example, images or code snippets. +// returns a ChatMessageHostedContentCollectionResponseable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemChatsItemTargetedMessagesItemHostedContentsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemChatsItemTargetedMessagesItemHostedContentsRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageHostedContentCollectionResponseable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateChatMessageHostedContentCollectionResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageHostedContentCollectionResponseable), nil +} +// Post create new navigation property to hostedContents for users +// returns a ChatMessageHostedContentable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemChatsItemTargetedMessagesItemHostedContentsRequestBuilder) Post(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageHostedContentable, requestConfiguration *ItemChatsItemTargetedMessagesItemHostedContentsRequestBuilderPostRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageHostedContentable, error) { + requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateChatMessageHostedContentFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageHostedContentable), nil +} +// ToGetRequestInformation content in a message hosted by Microsoft Teams - for example, images or code snippets. +// returns a *RequestInformation when successful +func (m *ItemChatsItemTargetedMessagesItemHostedContentsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemChatsItemTargetedMessagesItemHostedContentsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToPostRequestInformation create new navigation property to hostedContents for users +// returns a *RequestInformation when successful +func (m *ItemChatsItemTargetedMessagesItemHostedContentsRequestBuilder) ToPostRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageHostedContentable, requestConfiguration *ItemChatsItemTargetedMessagesItemHostedContentsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *ItemChatsItemTargetedMessagesItemHostedContentsRequestBuilder when successful +func (m *ItemChatsItemTargetedMessagesItemHostedContentsRequestBuilder) WithUrl(rawUrl string)(*ItemChatsItemTargetedMessagesItemHostedContentsRequestBuilder) { + return NewItemChatsItemTargetedMessagesItemHostedContentsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_chats_item_targeted_messages_item_replies_chat_message_item_request_builder.go b/users/item_chats_item_targeted_messages_item_replies_chat_message_item_request_builder.go new file mode 100644 index 0000000000..3e8dd1a022 --- /dev/null +++ b/users/item_chats_item_targeted_messages_item_replies_chat_message_item_request_builder.go @@ -0,0 +1,185 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package users + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// ItemChatsItemTargetedMessagesItemRepliesChatMessageItemRequestBuilder provides operations to manage the replies property of the microsoft.graph.chatMessage entity. +type ItemChatsItemTargetedMessagesItemRepliesChatMessageItemRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ItemChatsItemTargetedMessagesItemRepliesChatMessageItemRequestBuilderDeleteRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemChatsItemTargetedMessagesItemRepliesChatMessageItemRequestBuilderDeleteRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// ItemChatsItemTargetedMessagesItemRepliesChatMessageItemRequestBuilderGetQueryParameters replies for a specified message. Supports $expand for channel messages. +type ItemChatsItemTargetedMessagesItemRepliesChatMessageItemRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string "uriparametername:\"%24expand\"" + // Select properties to be returned + Select []string "uriparametername:\"%24select\"" +} +// ItemChatsItemTargetedMessagesItemRepliesChatMessageItemRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemChatsItemTargetedMessagesItemRepliesChatMessageItemRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *ItemChatsItemTargetedMessagesItemRepliesChatMessageItemRequestBuilderGetQueryParameters +} +// ItemChatsItemTargetedMessagesItemRepliesChatMessageItemRequestBuilderPatchRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemChatsItemTargetedMessagesItemRepliesChatMessageItemRequestBuilderPatchRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewItemChatsItemTargetedMessagesItemRepliesChatMessageItemRequestBuilderInternal instantiates a new ItemChatsItemTargetedMessagesItemRepliesChatMessageItemRequestBuilder and sets the default values. +func NewItemChatsItemTargetedMessagesItemRepliesChatMessageItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemChatsItemTargetedMessagesItemRepliesChatMessageItemRequestBuilder) { + m := &ItemChatsItemTargetedMessagesItemRepliesChatMessageItemRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/chats/{chat%2Did}/targetedMessages/{targetedChatMessage%2Did}/replies/{chatMessage%2Did}{?%24expand,%24select}", pathParameters), + } + return m +} +// NewItemChatsItemTargetedMessagesItemRepliesChatMessageItemRequestBuilder instantiates a new ItemChatsItemTargetedMessagesItemRepliesChatMessageItemRequestBuilder and sets the default values. +func NewItemChatsItemTargetedMessagesItemRepliesChatMessageItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemChatsItemTargetedMessagesItemRepliesChatMessageItemRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewItemChatsItemTargetedMessagesItemRepliesChatMessageItemRequestBuilderInternal(urlParams, requestAdapter) +} +// Delete delete navigation property replies for users +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemChatsItemTargetedMessagesItemRepliesChatMessageItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemChatsItemTargetedMessagesItemRepliesChatMessageItemRequestBuilderDeleteRequestConfiguration)(error) { + requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); + if err != nil { + return err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + err = m.BaseRequestBuilder.RequestAdapter.SendNoContent(ctx, requestInfo, errorMapping) + if err != nil { + return err + } + return nil +} +// Get replies for a specified message. Supports $expand for channel messages. +// returns a ChatMessageable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemChatsItemTargetedMessagesItemRepliesChatMessageItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemChatsItemTargetedMessagesItemRepliesChatMessageItemRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateChatMessageFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable), nil +} +// HostedContents provides operations to manage the hostedContents property of the microsoft.graph.chatMessage entity. +// returns a *ItemChatsItemTargetedMessagesItemRepliesItemHostedContentsRequestBuilder when successful +func (m *ItemChatsItemTargetedMessagesItemRepliesChatMessageItemRequestBuilder) HostedContents()(*ItemChatsItemTargetedMessagesItemRepliesItemHostedContentsRequestBuilder) { + return NewItemChatsItemTargetedMessagesItemRepliesItemHostedContentsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Patch update the navigation property replies in users +// returns a ChatMessageable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemChatsItemTargetedMessagesItemRepliesChatMessageItemRequestBuilder) Patch(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable, requestConfiguration *ItemChatsItemTargetedMessagesItemRepliesChatMessageItemRequestBuilderPatchRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable, error) { + requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateChatMessageFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable), nil +} +// SetReaction provides operations to call the setReaction method. +// returns a *ItemChatsItemTargetedMessagesItemRepliesItemSetReactionRequestBuilder when successful +func (m *ItemChatsItemTargetedMessagesItemRepliesChatMessageItemRequestBuilder) SetReaction()(*ItemChatsItemTargetedMessagesItemRepliesItemSetReactionRequestBuilder) { + return NewItemChatsItemTargetedMessagesItemRepliesItemSetReactionRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// SoftDelete provides operations to call the softDelete method. +// returns a *ItemChatsItemTargetedMessagesItemRepliesItemSoftDeleteRequestBuilder when successful +func (m *ItemChatsItemTargetedMessagesItemRepliesChatMessageItemRequestBuilder) SoftDelete()(*ItemChatsItemTargetedMessagesItemRepliesItemSoftDeleteRequestBuilder) { + return NewItemChatsItemTargetedMessagesItemRepliesItemSoftDeleteRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// ToDeleteRequestInformation delete navigation property replies for users +// returns a *RequestInformation when successful +func (m *ItemChatsItemTargetedMessagesItemRepliesChatMessageItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemChatsItemTargetedMessagesItemRepliesChatMessageItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToGetRequestInformation replies for a specified message. Supports $expand for channel messages. +// returns a *RequestInformation when successful +func (m *ItemChatsItemTargetedMessagesItemRepliesChatMessageItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemChatsItemTargetedMessagesItemRepliesChatMessageItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToPatchRequestInformation update the navigation property replies in users +// returns a *RequestInformation when successful +func (m *ItemChatsItemTargetedMessagesItemRepliesChatMessageItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable, requestConfiguration *ItemChatsItemTargetedMessagesItemRepliesChatMessageItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// UndoSoftDelete provides operations to call the undoSoftDelete method. +// returns a *ItemChatsItemTargetedMessagesItemRepliesItemUndoSoftDeleteRequestBuilder when successful +func (m *ItemChatsItemTargetedMessagesItemRepliesChatMessageItemRequestBuilder) UndoSoftDelete()(*ItemChatsItemTargetedMessagesItemRepliesItemUndoSoftDeleteRequestBuilder) { + return NewItemChatsItemTargetedMessagesItemRepliesItemUndoSoftDeleteRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// UnsetReaction provides operations to call the unsetReaction method. +// returns a *ItemChatsItemTargetedMessagesItemRepliesItemUnsetReactionRequestBuilder when successful +func (m *ItemChatsItemTargetedMessagesItemRepliesChatMessageItemRequestBuilder) UnsetReaction()(*ItemChatsItemTargetedMessagesItemRepliesItemUnsetReactionRequestBuilder) { + return NewItemChatsItemTargetedMessagesItemRepliesItemUnsetReactionRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *ItemChatsItemTargetedMessagesItemRepliesChatMessageItemRequestBuilder when successful +func (m *ItemChatsItemTargetedMessagesItemRepliesChatMessageItemRequestBuilder) WithUrl(rawUrl string)(*ItemChatsItemTargetedMessagesItemRepliesChatMessageItemRequestBuilder) { + return NewItemChatsItemTargetedMessagesItemRepliesChatMessageItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_chats_item_targeted_messages_item_replies_count_request_builder.go b/users/item_chats_item_targeted_messages_item_replies_count_request_builder.go new file mode 100644 index 0000000000..f046d2c580 --- /dev/null +++ b/users/item_chats_item_targeted_messages_item_replies_count_request_builder.go @@ -0,0 +1,83 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package users + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// ItemChatsItemTargetedMessagesItemRepliesCountRequestBuilder provides operations to count the resources in the collection. +type ItemChatsItemTargetedMessagesItemRepliesCountRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ItemChatsItemTargetedMessagesItemRepliesCountRequestBuilderGetQueryParameters get the number of the resource +type ItemChatsItemTargetedMessagesItemRepliesCountRequestBuilderGetQueryParameters struct { + // Filter items by property values + Filter *string "uriparametername:\"%24filter\"" + // Search items by search phrases + Search *string "uriparametername:\"%24search\"" +} +// ItemChatsItemTargetedMessagesItemRepliesCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemChatsItemTargetedMessagesItemRepliesCountRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *ItemChatsItemTargetedMessagesItemRepliesCountRequestBuilderGetQueryParameters +} +// NewItemChatsItemTargetedMessagesItemRepliesCountRequestBuilderInternal instantiates a new ItemChatsItemTargetedMessagesItemRepliesCountRequestBuilder and sets the default values. +func NewItemChatsItemTargetedMessagesItemRepliesCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemChatsItemTargetedMessagesItemRepliesCountRequestBuilder) { + m := &ItemChatsItemTargetedMessagesItemRepliesCountRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/chats/{chat%2Did}/targetedMessages/{targetedChatMessage%2Did}/replies/$count{?%24filter,%24search}", pathParameters), + } + return m +} +// NewItemChatsItemTargetedMessagesItemRepliesCountRequestBuilder instantiates a new ItemChatsItemTargetedMessagesItemRepliesCountRequestBuilder and sets the default values. +func NewItemChatsItemTargetedMessagesItemRepliesCountRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemChatsItemTargetedMessagesItemRepliesCountRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewItemChatsItemTargetedMessagesItemRepliesCountRequestBuilderInternal(urlParams, requestAdapter) +} +// Get get the number of the resource +// returns a *int32 when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemChatsItemTargetedMessagesItemRepliesCountRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemChatsItemTargetedMessagesItemRepliesCountRequestBuilderGetRequestConfiguration)(*int32, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.SendPrimitive(ctx, requestInfo, "int32", errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(*int32), nil +} +// ToGetRequestInformation get the number of the resource +// returns a *RequestInformation when successful +func (m *ItemChatsItemTargetedMessagesItemRepliesCountRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemChatsItemTargetedMessagesItemRepliesCountRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9") + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *ItemChatsItemTargetedMessagesItemRepliesCountRequestBuilder when successful +func (m *ItemChatsItemTargetedMessagesItemRepliesCountRequestBuilder) WithUrl(rawUrl string)(*ItemChatsItemTargetedMessagesItemRepliesCountRequestBuilder) { + return NewItemChatsItemTargetedMessagesItemRepliesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_chats_item_targeted_messages_item_replies_delta_get_response.go b/users/item_chats_item_targeted_messages_item_replies_delta_get_response.go new file mode 100644 index 0000000000..0550c3cc49 --- /dev/null +++ b/users/item_chats_item_targeted_messages_item_replies_delta_get_response.go @@ -0,0 +1,92 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package users + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" +) + +type ItemChatsItemTargetedMessagesItemRepliesDeltaGetResponse struct { + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.BaseDeltaFunctionResponse +} +// NewItemChatsItemTargetedMessagesItemRepliesDeltaGetResponse instantiates a new ItemChatsItemTargetedMessagesItemRepliesDeltaGetResponse and sets the default values. +func NewItemChatsItemTargetedMessagesItemRepliesDeltaGetResponse()(*ItemChatsItemTargetedMessagesItemRepliesDeltaGetResponse) { + m := &ItemChatsItemTargetedMessagesItemRepliesDeltaGetResponse{ + BaseDeltaFunctionResponse: *iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.NewBaseDeltaFunctionResponse(), + } + return m +} +// CreateItemChatsItemTargetedMessagesItemRepliesDeltaGetResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateItemChatsItemTargetedMessagesItemRepliesDeltaGetResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewItemChatsItemTargetedMessagesItemRepliesDeltaGetResponse(), nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *ItemChatsItemTargetedMessagesItemRepliesDeltaGetResponse) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.BaseDeltaFunctionResponse.GetFieldDeserializers() + res["value"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateChatMessageFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable) + } + } + m.SetValue(res) + } + return nil + } + return res +} +// GetValue gets the value property value. The value property +// returns a []ChatMessageable when successful +func (m *ItemChatsItemTargetedMessagesItemRepliesDeltaGetResponse) GetValue()([]iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable) { + val, err := m.GetBackingStore().Get("value") + if err != nil { + panic(err) + } + if val != nil { + return val.([]iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable) + } + return nil +} +// Serialize serializes information the current object +func (m *ItemChatsItemTargetedMessagesItemRepliesDeltaGetResponse) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.BaseDeltaFunctionResponse.Serialize(writer) + if err != nil { + return err + } + if m.GetValue() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetValue())) + for i, v := range m.GetValue() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err = writer.WriteCollectionOfObjectValues("value", cast) + if err != nil { + return err + } + } + return nil +} +// SetValue sets the value property value. The value property +func (m *ItemChatsItemTargetedMessagesItemRepliesDeltaGetResponse) SetValue(value []iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable)() { + err := m.GetBackingStore().Set("value", value) + if err != nil { + panic(err) + } +} +type ItemChatsItemTargetedMessagesItemRepliesDeltaGetResponseable interface { + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.BaseDeltaFunctionResponseable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetValue()([]iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable) + SetValue(value []iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable)() +} diff --git a/users/item_chats_item_targeted_messages_item_replies_delta_request_builder.go b/users/item_chats_item_targeted_messages_item_replies_delta_request_builder.go new file mode 100644 index 0000000000..7b0c646f6f --- /dev/null +++ b/users/item_chats_item_targeted_messages_item_replies_delta_request_builder.go @@ -0,0 +1,122 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package users + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// ItemChatsItemTargetedMessagesItemRepliesDeltaRequestBuilder provides operations to call the delta method. +type ItemChatsItemTargetedMessagesItemRepliesDeltaRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ItemChatsItemTargetedMessagesItemRepliesDeltaRequestBuilderGetQueryParameters 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. +type ItemChatsItemTargetedMessagesItemRepliesDeltaRequestBuilderGetQueryParameters struct { + // Include count of items + Count *bool "uriparametername:\"%24count\"" + // Expand related entities + Expand []string "uriparametername:\"%24expand\"" + // Filter items by property values + Filter *string "uriparametername:\"%24filter\"" + // Order items by property values + Orderby []string "uriparametername:\"%24orderby\"" + // Search items by search phrases + Search *string "uriparametername:\"%24search\"" + // Select properties to be returned + Select []string "uriparametername:\"%24select\"" + // Skip the first n items + Skip *int32 "uriparametername:\"%24skip\"" + // Show only the first n items + Top *int32 "uriparametername:\"%24top\"" +} +// ItemChatsItemTargetedMessagesItemRepliesDeltaRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemChatsItemTargetedMessagesItemRepliesDeltaRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *ItemChatsItemTargetedMessagesItemRepliesDeltaRequestBuilderGetQueryParameters +} +// NewItemChatsItemTargetedMessagesItemRepliesDeltaRequestBuilderInternal instantiates a new ItemChatsItemTargetedMessagesItemRepliesDeltaRequestBuilder and sets the default values. +func NewItemChatsItemTargetedMessagesItemRepliesDeltaRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemChatsItemTargetedMessagesItemRepliesDeltaRequestBuilder) { + m := &ItemChatsItemTargetedMessagesItemRepliesDeltaRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/chats/{chat%2Did}/targetedMessages/{targetedChatMessage%2Did}/replies/delta(){?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), + } + return m +} +// NewItemChatsItemTargetedMessagesItemRepliesDeltaRequestBuilder instantiates a new ItemChatsItemTargetedMessagesItemRepliesDeltaRequestBuilder and sets the default values. +func NewItemChatsItemTargetedMessagesItemRepliesDeltaRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemChatsItemTargetedMessagesItemRepliesDeltaRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewItemChatsItemTargetedMessagesItemRepliesDeltaRequestBuilderInternal(urlParams, requestAdapter) +} +// Get 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. +// Deprecated: This method is obsolete. Use GetAsDeltaGetResponse instead. +// returns a ItemChatsItemTargetedMessagesItemRepliesDeltaResponseable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/chatmessage-delta?view=graph-rest-1.0 +func (m *ItemChatsItemTargetedMessagesItemRepliesDeltaRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemChatsItemTargetedMessagesItemRepliesDeltaRequestBuilderGetRequestConfiguration)(ItemChatsItemTargetedMessagesItemRepliesDeltaResponseable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, CreateItemChatsItemTargetedMessagesItemRepliesDeltaResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ItemChatsItemTargetedMessagesItemRepliesDeltaResponseable), nil +} +// GetAsDeltaGetResponse 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. +// returns a ItemChatsItemTargetedMessagesItemRepliesDeltaGetResponseable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/chatmessage-delta?view=graph-rest-1.0 +func (m *ItemChatsItemTargetedMessagesItemRepliesDeltaRequestBuilder) GetAsDeltaGetResponse(ctx context.Context, requestConfiguration *ItemChatsItemTargetedMessagesItemRepliesDeltaRequestBuilderGetRequestConfiguration)(ItemChatsItemTargetedMessagesItemRepliesDeltaGetResponseable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, CreateItemChatsItemTargetedMessagesItemRepliesDeltaGetResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ItemChatsItemTargetedMessagesItemRepliesDeltaGetResponseable), nil +} +// ToGetRequestInformation 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. +// returns a *RequestInformation when successful +func (m *ItemChatsItemTargetedMessagesItemRepliesDeltaRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemChatsItemTargetedMessagesItemRepliesDeltaRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *ItemChatsItemTargetedMessagesItemRepliesDeltaRequestBuilder when successful +func (m *ItemChatsItemTargetedMessagesItemRepliesDeltaRequestBuilder) WithUrl(rawUrl string)(*ItemChatsItemTargetedMessagesItemRepliesDeltaRequestBuilder) { + return NewItemChatsItemTargetedMessagesItemRepliesDeltaRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_chats_item_targeted_messages_item_replies_delta_response.go b/users/item_chats_item_targeted_messages_item_replies_delta_response.go new file mode 100644 index 0000000000..13b8b79768 --- /dev/null +++ b/users/item_chats_item_targeted_messages_item_replies_delta_response.go @@ -0,0 +1,30 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package users + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +// Deprecated: This class is obsolete. Use ItemChatsItemTargetedMessagesItemRepliesDeltaGetResponseable instead. +type ItemChatsItemTargetedMessagesItemRepliesDeltaResponse struct { + ItemChatsItemTargetedMessagesItemRepliesDeltaGetResponse +} +// NewItemChatsItemTargetedMessagesItemRepliesDeltaResponse instantiates a new ItemChatsItemTargetedMessagesItemRepliesDeltaResponse and sets the default values. +func NewItemChatsItemTargetedMessagesItemRepliesDeltaResponse()(*ItemChatsItemTargetedMessagesItemRepliesDeltaResponse) { + m := &ItemChatsItemTargetedMessagesItemRepliesDeltaResponse{ + ItemChatsItemTargetedMessagesItemRepliesDeltaGetResponse: *NewItemChatsItemTargetedMessagesItemRepliesDeltaGetResponse(), + } + return m +} +// CreateItemChatsItemTargetedMessagesItemRepliesDeltaResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateItemChatsItemTargetedMessagesItemRepliesDeltaResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewItemChatsItemTargetedMessagesItemRepliesDeltaResponse(), nil +} +// Deprecated: This class is obsolete. Use ItemChatsItemTargetedMessagesItemRepliesDeltaGetResponseable instead. +type ItemChatsItemTargetedMessagesItemRepliesDeltaResponseable interface { + ItemChatsItemTargetedMessagesItemRepliesDeltaGetResponseable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +} diff --git a/users/item_chats_item_targeted_messages_item_replies_item_hosted_contents_count_request_builder.go b/users/item_chats_item_targeted_messages_item_replies_item_hosted_contents_count_request_builder.go new file mode 100644 index 0000000000..aea29102e1 --- /dev/null +++ b/users/item_chats_item_targeted_messages_item_replies_item_hosted_contents_count_request_builder.go @@ -0,0 +1,83 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package users + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// ItemChatsItemTargetedMessagesItemRepliesItemHostedContentsCountRequestBuilder provides operations to count the resources in the collection. +type ItemChatsItemTargetedMessagesItemRepliesItemHostedContentsCountRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ItemChatsItemTargetedMessagesItemRepliesItemHostedContentsCountRequestBuilderGetQueryParameters get the number of the resource +type ItemChatsItemTargetedMessagesItemRepliesItemHostedContentsCountRequestBuilderGetQueryParameters struct { + // Filter items by property values + Filter *string "uriparametername:\"%24filter\"" + // Search items by search phrases + Search *string "uriparametername:\"%24search\"" +} +// ItemChatsItemTargetedMessagesItemRepliesItemHostedContentsCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemChatsItemTargetedMessagesItemRepliesItemHostedContentsCountRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *ItemChatsItemTargetedMessagesItemRepliesItemHostedContentsCountRequestBuilderGetQueryParameters +} +// NewItemChatsItemTargetedMessagesItemRepliesItemHostedContentsCountRequestBuilderInternal instantiates a new ItemChatsItemTargetedMessagesItemRepliesItemHostedContentsCountRequestBuilder and sets the default values. +func NewItemChatsItemTargetedMessagesItemRepliesItemHostedContentsCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemChatsItemTargetedMessagesItemRepliesItemHostedContentsCountRequestBuilder) { + m := &ItemChatsItemTargetedMessagesItemRepliesItemHostedContentsCountRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/chats/{chat%2Did}/targetedMessages/{targetedChatMessage%2Did}/replies/{chatMessage%2Did}/hostedContents/$count{?%24filter,%24search}", pathParameters), + } + return m +} +// NewItemChatsItemTargetedMessagesItemRepliesItemHostedContentsCountRequestBuilder instantiates a new ItemChatsItemTargetedMessagesItemRepliesItemHostedContentsCountRequestBuilder and sets the default values. +func NewItemChatsItemTargetedMessagesItemRepliesItemHostedContentsCountRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemChatsItemTargetedMessagesItemRepliesItemHostedContentsCountRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewItemChatsItemTargetedMessagesItemRepliesItemHostedContentsCountRequestBuilderInternal(urlParams, requestAdapter) +} +// Get get the number of the resource +// returns a *int32 when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemChatsItemTargetedMessagesItemRepliesItemHostedContentsCountRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemChatsItemTargetedMessagesItemRepliesItemHostedContentsCountRequestBuilderGetRequestConfiguration)(*int32, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.SendPrimitive(ctx, requestInfo, "int32", errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(*int32), nil +} +// ToGetRequestInformation get the number of the resource +// returns a *RequestInformation when successful +func (m *ItemChatsItemTargetedMessagesItemRepliesItemHostedContentsCountRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemChatsItemTargetedMessagesItemRepliesItemHostedContentsCountRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9") + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *ItemChatsItemTargetedMessagesItemRepliesItemHostedContentsCountRequestBuilder when successful +func (m *ItemChatsItemTargetedMessagesItemRepliesItemHostedContentsCountRequestBuilder) WithUrl(rawUrl string)(*ItemChatsItemTargetedMessagesItemRepliesItemHostedContentsCountRequestBuilder) { + return NewItemChatsItemTargetedMessagesItemRepliesItemHostedContentsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_chats_item_targeted_messages_item_replies_item_hosted_contents_request_builder.go b/users/item_chats_item_targeted_messages_item_replies_item_hosted_contents_request_builder.go new file mode 100644 index 0000000000..ed4189e2e9 --- /dev/null +++ b/users/item_chats_item_targeted_messages_item_replies_item_hosted_contents_request_builder.go @@ -0,0 +1,155 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package users + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// ItemChatsItemTargetedMessagesItemRepliesItemHostedContentsRequestBuilder provides operations to manage the hostedContents property of the microsoft.graph.chatMessage entity. +type ItemChatsItemTargetedMessagesItemRepliesItemHostedContentsRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ItemChatsItemTargetedMessagesItemRepliesItemHostedContentsRequestBuilderGetQueryParameters content in a message hosted by Microsoft Teams - for example, images or code snippets. +type ItemChatsItemTargetedMessagesItemRepliesItemHostedContentsRequestBuilderGetQueryParameters struct { + // Include count of items + Count *bool "uriparametername:\"%24count\"" + // Expand related entities + Expand []string "uriparametername:\"%24expand\"" + // Filter items by property values + Filter *string "uriparametername:\"%24filter\"" + // Order items by property values + Orderby []string "uriparametername:\"%24orderby\"" + // Search items by search phrases + Search *string "uriparametername:\"%24search\"" + // Select properties to be returned + Select []string "uriparametername:\"%24select\"" + // Skip the first n items + Skip *int32 "uriparametername:\"%24skip\"" + // Show only the first n items + Top *int32 "uriparametername:\"%24top\"" +} +// ItemChatsItemTargetedMessagesItemRepliesItemHostedContentsRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemChatsItemTargetedMessagesItemRepliesItemHostedContentsRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *ItemChatsItemTargetedMessagesItemRepliesItemHostedContentsRequestBuilderGetQueryParameters +} +// ItemChatsItemTargetedMessagesItemRepliesItemHostedContentsRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemChatsItemTargetedMessagesItemRepliesItemHostedContentsRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// ByChatMessageHostedContentId provides operations to manage the hostedContents property of the microsoft.graph.chatMessage entity. +// returns a *ItemChatsItemTargetedMessagesItemRepliesItemHostedContentsChatMessageHostedContentItemRequestBuilder when successful +func (m *ItemChatsItemTargetedMessagesItemRepliesItemHostedContentsRequestBuilder) ByChatMessageHostedContentId(chatMessageHostedContentId string)(*ItemChatsItemTargetedMessagesItemRepliesItemHostedContentsChatMessageHostedContentItemRequestBuilder) { + urlTplParams := make(map[string]string) + for idx, item := range m.BaseRequestBuilder.PathParameters { + urlTplParams[idx] = item + } + if chatMessageHostedContentId != "" { + urlTplParams["chatMessageHostedContent%2Did"] = chatMessageHostedContentId + } + return NewItemChatsItemTargetedMessagesItemRepliesItemHostedContentsChatMessageHostedContentItemRequestBuilderInternal(urlTplParams, m.BaseRequestBuilder.RequestAdapter) +} +// NewItemChatsItemTargetedMessagesItemRepliesItemHostedContentsRequestBuilderInternal instantiates a new ItemChatsItemTargetedMessagesItemRepliesItemHostedContentsRequestBuilder and sets the default values. +func NewItemChatsItemTargetedMessagesItemRepliesItemHostedContentsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemChatsItemTargetedMessagesItemRepliesItemHostedContentsRequestBuilder) { + m := &ItemChatsItemTargetedMessagesItemRepliesItemHostedContentsRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/chats/{chat%2Did}/targetedMessages/{targetedChatMessage%2Did}/replies/{chatMessage%2Did}/hostedContents{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), + } + return m +} +// NewItemChatsItemTargetedMessagesItemRepliesItemHostedContentsRequestBuilder instantiates a new ItemChatsItemTargetedMessagesItemRepliesItemHostedContentsRequestBuilder and sets the default values. +func NewItemChatsItemTargetedMessagesItemRepliesItemHostedContentsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemChatsItemTargetedMessagesItemRepliesItemHostedContentsRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewItemChatsItemTargetedMessagesItemRepliesItemHostedContentsRequestBuilderInternal(urlParams, requestAdapter) +} +// Count provides operations to count the resources in the collection. +// returns a *ItemChatsItemTargetedMessagesItemRepliesItemHostedContentsCountRequestBuilder when successful +func (m *ItemChatsItemTargetedMessagesItemRepliesItemHostedContentsRequestBuilder) Count()(*ItemChatsItemTargetedMessagesItemRepliesItemHostedContentsCountRequestBuilder) { + return NewItemChatsItemTargetedMessagesItemRepliesItemHostedContentsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Get content in a message hosted by Microsoft Teams - for example, images or code snippets. +// returns a ChatMessageHostedContentCollectionResponseable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemChatsItemTargetedMessagesItemRepliesItemHostedContentsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemChatsItemTargetedMessagesItemRepliesItemHostedContentsRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageHostedContentCollectionResponseable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateChatMessageHostedContentCollectionResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageHostedContentCollectionResponseable), nil +} +// Post create new navigation property to hostedContents for users +// returns a ChatMessageHostedContentable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemChatsItemTargetedMessagesItemRepliesItemHostedContentsRequestBuilder) Post(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageHostedContentable, requestConfiguration *ItemChatsItemTargetedMessagesItemRepliesItemHostedContentsRequestBuilderPostRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageHostedContentable, error) { + requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateChatMessageHostedContentFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageHostedContentable), nil +} +// ToGetRequestInformation content in a message hosted by Microsoft Teams - for example, images or code snippets. +// returns a *RequestInformation when successful +func (m *ItemChatsItemTargetedMessagesItemRepliesItemHostedContentsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemChatsItemTargetedMessagesItemRepliesItemHostedContentsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToPostRequestInformation create new navigation property to hostedContents for users +// returns a *RequestInformation when successful +func (m *ItemChatsItemTargetedMessagesItemRepliesItemHostedContentsRequestBuilder) ToPostRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageHostedContentable, requestConfiguration *ItemChatsItemTargetedMessagesItemRepliesItemHostedContentsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *ItemChatsItemTargetedMessagesItemRepliesItemHostedContentsRequestBuilder when successful +func (m *ItemChatsItemTargetedMessagesItemRepliesItemHostedContentsRequestBuilder) WithUrl(rawUrl string)(*ItemChatsItemTargetedMessagesItemRepliesItemHostedContentsRequestBuilder) { + return NewItemChatsItemTargetedMessagesItemRepliesItemHostedContentsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_chats_item_targeted_messages_item_replies_item_set_reaction_post_request_body.go b/users/item_chats_item_targeted_messages_item_replies_item_set_reaction_post_request_body.go new file mode 100644 index 0000000000..cc8fb0960a --- /dev/null +++ b/users/item_chats_item_targeted_messages_item_replies_item_set_reaction_post_request_body.go @@ -0,0 +1,116 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package users + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" +) + +type ItemChatsItemTargetedMessagesItemRepliesItemSetReactionPostRequestBody struct { + // Stores model information. + backingStore ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore +} +// NewItemChatsItemTargetedMessagesItemRepliesItemSetReactionPostRequestBody instantiates a new ItemChatsItemTargetedMessagesItemRepliesItemSetReactionPostRequestBody and sets the default values. +func NewItemChatsItemTargetedMessagesItemRepliesItemSetReactionPostRequestBody()(*ItemChatsItemTargetedMessagesItemRepliesItemSetReactionPostRequestBody) { + m := &ItemChatsItemTargetedMessagesItemRepliesItemSetReactionPostRequestBody{ + } + m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); + m.SetAdditionalData(make(map[string]any)) + return m +} +// CreateItemChatsItemTargetedMessagesItemRepliesItemSetReactionPostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateItemChatsItemTargetedMessagesItemRepliesItemSetReactionPostRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewItemChatsItemTargetedMessagesItemRepliesItemSetReactionPostRequestBody(), nil +} +// GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +// returns a map[string]any when successful +func (m *ItemChatsItemTargetedMessagesItemRepliesItemSetReactionPostRequestBody) GetAdditionalData()(map[string]any) { + val , err := m.backingStore.Get("additionalData") + if err != nil { + panic(err) + } + if val == nil { + var value = make(map[string]any); + m.SetAdditionalData(value); + } + return val.(map[string]any) +} +// GetBackingStore gets the BackingStore property value. Stores model information. +// returns a BackingStore when successful +func (m *ItemChatsItemTargetedMessagesItemRepliesItemSetReactionPostRequestBody) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) { + return m.backingStore +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *ItemChatsItemTargetedMessagesItemRepliesItemSetReactionPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) + res["reactionType"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetReactionType(val) + } + return nil + } + return res +} +// GetReactionType gets the reactionType property value. The reactionType property +// returns a *string when successful +func (m *ItemChatsItemTargetedMessagesItemRepliesItemSetReactionPostRequestBody) GetReactionType()(*string) { + val, err := m.GetBackingStore().Get("reactionType") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// Serialize serializes information the current object +func (m *ItemChatsItemTargetedMessagesItemRepliesItemSetReactionPostRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + { + err := writer.WriteStringValue("reactionType", m.GetReactionType()) + if err != nil { + return err + } + } + { + err := writer.WriteAdditionalData(m.GetAdditionalData()) + if err != nil { + return err + } + } + return nil +} +// SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +func (m *ItemChatsItemTargetedMessagesItemRepliesItemSetReactionPostRequestBody) SetAdditionalData(value map[string]any)() { + err := m.GetBackingStore().Set("additionalData", value) + if err != nil { + panic(err) + } +} +// SetBackingStore sets the BackingStore property value. Stores model information. +func (m *ItemChatsItemTargetedMessagesItemRepliesItemSetReactionPostRequestBody) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { + m.backingStore = value +} +// SetReactionType sets the reactionType property value. The reactionType property +func (m *ItemChatsItemTargetedMessagesItemRepliesItemSetReactionPostRequestBody) SetReactionType(value *string)() { + err := m.GetBackingStore().Set("reactionType", value) + if err != nil { + panic(err) + } +} +type ItemChatsItemTargetedMessagesItemRepliesItemSetReactionPostRequestBodyable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) + GetReactionType()(*string) + SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() + SetReactionType(value *string)() +} diff --git a/users/item_chats_item_targeted_messages_item_replies_item_set_reaction_request_builder.go b/users/item_chats_item_targeted_messages_item_replies_item_set_reaction_request_builder.go new file mode 100644 index 0000000000..d30f7b82f9 --- /dev/null +++ b/users/item_chats_item_targeted_messages_item_replies_item_set_reaction_request_builder.go @@ -0,0 +1,71 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package users + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// ItemChatsItemTargetedMessagesItemRepliesItemSetReactionRequestBuilder provides operations to call the setReaction method. +type ItemChatsItemTargetedMessagesItemRepliesItemSetReactionRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ItemChatsItemTargetedMessagesItemRepliesItemSetReactionRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemChatsItemTargetedMessagesItemRepliesItemSetReactionRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewItemChatsItemTargetedMessagesItemRepliesItemSetReactionRequestBuilderInternal instantiates a new ItemChatsItemTargetedMessagesItemRepliesItemSetReactionRequestBuilder and sets the default values. +func NewItemChatsItemTargetedMessagesItemRepliesItemSetReactionRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemChatsItemTargetedMessagesItemRepliesItemSetReactionRequestBuilder) { + m := &ItemChatsItemTargetedMessagesItemRepliesItemSetReactionRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/chats/{chat%2Did}/targetedMessages/{targetedChatMessage%2Did}/replies/{chatMessage%2Did}/setReaction", pathParameters), + } + return m +} +// NewItemChatsItemTargetedMessagesItemRepliesItemSetReactionRequestBuilder instantiates a new ItemChatsItemTargetedMessagesItemRepliesItemSetReactionRequestBuilder and sets the default values. +func NewItemChatsItemTargetedMessagesItemRepliesItemSetReactionRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemChatsItemTargetedMessagesItemRepliesItemSetReactionRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewItemChatsItemTargetedMessagesItemRepliesItemSetReactionRequestBuilderInternal(urlParams, requestAdapter) +} +// Post invoke action setReaction +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemChatsItemTargetedMessagesItemRepliesItemSetReactionRequestBuilder) Post(ctx context.Context, body ItemChatsItemTargetedMessagesItemRepliesItemSetReactionPostRequestBodyable, requestConfiguration *ItemChatsItemTargetedMessagesItemRepliesItemSetReactionRequestBuilderPostRequestConfiguration)(error) { + requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + err = m.BaseRequestBuilder.RequestAdapter.SendNoContent(ctx, requestInfo, errorMapping) + if err != nil { + return err + } + return nil +} +// ToPostRequestInformation invoke action setReaction +// returns a *RequestInformation when successful +func (m *ItemChatsItemTargetedMessagesItemRepliesItemSetReactionRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemChatsItemTargetedMessagesItemRepliesItemSetReactionPostRequestBodyable, requestConfiguration *ItemChatsItemTargetedMessagesItemRepliesItemSetReactionRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *ItemChatsItemTargetedMessagesItemRepliesItemSetReactionRequestBuilder when successful +func (m *ItemChatsItemTargetedMessagesItemRepliesItemSetReactionRequestBuilder) WithUrl(rawUrl string)(*ItemChatsItemTargetedMessagesItemRepliesItemSetReactionRequestBuilder) { + return NewItemChatsItemTargetedMessagesItemRepliesItemSetReactionRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_chats_item_targeted_messages_item_replies_item_soft_delete_request_builder.go b/users/item_chats_item_targeted_messages_item_replies_item_soft_delete_request_builder.go new file mode 100644 index 0000000000..783e5d5084 --- /dev/null +++ b/users/item_chats_item_targeted_messages_item_replies_item_soft_delete_request_builder.go @@ -0,0 +1,70 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package users + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// ItemChatsItemTargetedMessagesItemRepliesItemSoftDeleteRequestBuilder provides operations to call the softDelete method. +type ItemChatsItemTargetedMessagesItemRepliesItemSoftDeleteRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ItemChatsItemTargetedMessagesItemRepliesItemSoftDeleteRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemChatsItemTargetedMessagesItemRepliesItemSoftDeleteRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewItemChatsItemTargetedMessagesItemRepliesItemSoftDeleteRequestBuilderInternal instantiates a new ItemChatsItemTargetedMessagesItemRepliesItemSoftDeleteRequestBuilder and sets the default values. +func NewItemChatsItemTargetedMessagesItemRepliesItemSoftDeleteRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemChatsItemTargetedMessagesItemRepliesItemSoftDeleteRequestBuilder) { + m := &ItemChatsItemTargetedMessagesItemRepliesItemSoftDeleteRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/chats/{chat%2Did}/targetedMessages/{targetedChatMessage%2Did}/replies/{chatMessage%2Did}/softDelete", pathParameters), + } + return m +} +// NewItemChatsItemTargetedMessagesItemRepliesItemSoftDeleteRequestBuilder instantiates a new ItemChatsItemTargetedMessagesItemRepliesItemSoftDeleteRequestBuilder and sets the default values. +func NewItemChatsItemTargetedMessagesItemRepliesItemSoftDeleteRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemChatsItemTargetedMessagesItemRepliesItemSoftDeleteRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewItemChatsItemTargetedMessagesItemRepliesItemSoftDeleteRequestBuilderInternal(urlParams, requestAdapter) +} +// Post delete a single chatMessage or a chat message reply in a channel or a chat. +// returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/chatmessage-softdelete?view=graph-rest-1.0 +func (m *ItemChatsItemTargetedMessagesItemRepliesItemSoftDeleteRequestBuilder) Post(ctx context.Context, requestConfiguration *ItemChatsItemTargetedMessagesItemRepliesItemSoftDeleteRequestBuilderPostRequestConfiguration)(error) { + requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); + if err != nil { + return err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + err = m.BaseRequestBuilder.RequestAdapter.SendNoContent(ctx, requestInfo, errorMapping) + if err != nil { + return err + } + return nil +} +// ToPostRequestInformation delete a single chatMessage or a chat message reply in a channel or a chat. +// returns a *RequestInformation when successful +func (m *ItemChatsItemTargetedMessagesItemRepliesItemSoftDeleteRequestBuilder) ToPostRequestInformation(ctx context.Context, requestConfiguration *ItemChatsItemTargetedMessagesItemRepliesItemSoftDeleteRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *ItemChatsItemTargetedMessagesItemRepliesItemSoftDeleteRequestBuilder when successful +func (m *ItemChatsItemTargetedMessagesItemRepliesItemSoftDeleteRequestBuilder) WithUrl(rawUrl string)(*ItemChatsItemTargetedMessagesItemRepliesItemSoftDeleteRequestBuilder) { + return NewItemChatsItemTargetedMessagesItemRepliesItemSoftDeleteRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_chats_item_targeted_messages_item_replies_item_undo_soft_delete_request_builder.go b/users/item_chats_item_targeted_messages_item_replies_item_undo_soft_delete_request_builder.go new file mode 100644 index 0000000000..84a51c3f2a --- /dev/null +++ b/users/item_chats_item_targeted_messages_item_replies_item_undo_soft_delete_request_builder.go @@ -0,0 +1,70 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package users + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// ItemChatsItemTargetedMessagesItemRepliesItemUndoSoftDeleteRequestBuilder provides operations to call the undoSoftDelete method. +type ItemChatsItemTargetedMessagesItemRepliesItemUndoSoftDeleteRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ItemChatsItemTargetedMessagesItemRepliesItemUndoSoftDeleteRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemChatsItemTargetedMessagesItemRepliesItemUndoSoftDeleteRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewItemChatsItemTargetedMessagesItemRepliesItemUndoSoftDeleteRequestBuilderInternal instantiates a new ItemChatsItemTargetedMessagesItemRepliesItemUndoSoftDeleteRequestBuilder and sets the default values. +func NewItemChatsItemTargetedMessagesItemRepliesItemUndoSoftDeleteRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemChatsItemTargetedMessagesItemRepliesItemUndoSoftDeleteRequestBuilder) { + m := &ItemChatsItemTargetedMessagesItemRepliesItemUndoSoftDeleteRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/chats/{chat%2Did}/targetedMessages/{targetedChatMessage%2Did}/replies/{chatMessage%2Did}/undoSoftDelete", pathParameters), + } + return m +} +// NewItemChatsItemTargetedMessagesItemRepliesItemUndoSoftDeleteRequestBuilder instantiates a new ItemChatsItemTargetedMessagesItemRepliesItemUndoSoftDeleteRequestBuilder and sets the default values. +func NewItemChatsItemTargetedMessagesItemRepliesItemUndoSoftDeleteRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemChatsItemTargetedMessagesItemRepliesItemUndoSoftDeleteRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewItemChatsItemTargetedMessagesItemRepliesItemUndoSoftDeleteRequestBuilderInternal(urlParams, requestAdapter) +} +// Post undo soft deletion of a single chatMessage or a chat message reply in a channel or a chat. +// returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/chatmessage-undosoftdelete?view=graph-rest-1.0 +func (m *ItemChatsItemTargetedMessagesItemRepliesItemUndoSoftDeleteRequestBuilder) Post(ctx context.Context, requestConfiguration *ItemChatsItemTargetedMessagesItemRepliesItemUndoSoftDeleteRequestBuilderPostRequestConfiguration)(error) { + requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); + if err != nil { + return err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + err = m.BaseRequestBuilder.RequestAdapter.SendNoContent(ctx, requestInfo, errorMapping) + if err != nil { + return err + } + return nil +} +// ToPostRequestInformation undo soft deletion of a single chatMessage or a chat message reply in a channel or a chat. +// returns a *RequestInformation when successful +func (m *ItemChatsItemTargetedMessagesItemRepliesItemUndoSoftDeleteRequestBuilder) ToPostRequestInformation(ctx context.Context, requestConfiguration *ItemChatsItemTargetedMessagesItemRepliesItemUndoSoftDeleteRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *ItemChatsItemTargetedMessagesItemRepliesItemUndoSoftDeleteRequestBuilder when successful +func (m *ItemChatsItemTargetedMessagesItemRepliesItemUndoSoftDeleteRequestBuilder) WithUrl(rawUrl string)(*ItemChatsItemTargetedMessagesItemRepliesItemUndoSoftDeleteRequestBuilder) { + return NewItemChatsItemTargetedMessagesItemRepliesItemUndoSoftDeleteRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_chats_item_targeted_messages_item_replies_item_unset_reaction_post_request_body.go b/users/item_chats_item_targeted_messages_item_replies_item_unset_reaction_post_request_body.go new file mode 100644 index 0000000000..e9a2acc0a0 --- /dev/null +++ b/users/item_chats_item_targeted_messages_item_replies_item_unset_reaction_post_request_body.go @@ -0,0 +1,116 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package users + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" +) + +type ItemChatsItemTargetedMessagesItemRepliesItemUnsetReactionPostRequestBody struct { + // Stores model information. + backingStore ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore +} +// NewItemChatsItemTargetedMessagesItemRepliesItemUnsetReactionPostRequestBody instantiates a new ItemChatsItemTargetedMessagesItemRepliesItemUnsetReactionPostRequestBody and sets the default values. +func NewItemChatsItemTargetedMessagesItemRepliesItemUnsetReactionPostRequestBody()(*ItemChatsItemTargetedMessagesItemRepliesItemUnsetReactionPostRequestBody) { + m := &ItemChatsItemTargetedMessagesItemRepliesItemUnsetReactionPostRequestBody{ + } + m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); + m.SetAdditionalData(make(map[string]any)) + return m +} +// CreateItemChatsItemTargetedMessagesItemRepliesItemUnsetReactionPostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateItemChatsItemTargetedMessagesItemRepliesItemUnsetReactionPostRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewItemChatsItemTargetedMessagesItemRepliesItemUnsetReactionPostRequestBody(), nil +} +// GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +// returns a map[string]any when successful +func (m *ItemChatsItemTargetedMessagesItemRepliesItemUnsetReactionPostRequestBody) GetAdditionalData()(map[string]any) { + val , err := m.backingStore.Get("additionalData") + if err != nil { + panic(err) + } + if val == nil { + var value = make(map[string]any); + m.SetAdditionalData(value); + } + return val.(map[string]any) +} +// GetBackingStore gets the BackingStore property value. Stores model information. +// returns a BackingStore when successful +func (m *ItemChatsItemTargetedMessagesItemRepliesItemUnsetReactionPostRequestBody) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) { + return m.backingStore +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *ItemChatsItemTargetedMessagesItemRepliesItemUnsetReactionPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) + res["reactionType"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetReactionType(val) + } + return nil + } + return res +} +// GetReactionType gets the reactionType property value. The reactionType property +// returns a *string when successful +func (m *ItemChatsItemTargetedMessagesItemRepliesItemUnsetReactionPostRequestBody) GetReactionType()(*string) { + val, err := m.GetBackingStore().Get("reactionType") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// Serialize serializes information the current object +func (m *ItemChatsItemTargetedMessagesItemRepliesItemUnsetReactionPostRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + { + err := writer.WriteStringValue("reactionType", m.GetReactionType()) + if err != nil { + return err + } + } + { + err := writer.WriteAdditionalData(m.GetAdditionalData()) + if err != nil { + return err + } + } + return nil +} +// SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +func (m *ItemChatsItemTargetedMessagesItemRepliesItemUnsetReactionPostRequestBody) SetAdditionalData(value map[string]any)() { + err := m.GetBackingStore().Set("additionalData", value) + if err != nil { + panic(err) + } +} +// SetBackingStore sets the BackingStore property value. Stores model information. +func (m *ItemChatsItemTargetedMessagesItemRepliesItemUnsetReactionPostRequestBody) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { + m.backingStore = value +} +// SetReactionType sets the reactionType property value. The reactionType property +func (m *ItemChatsItemTargetedMessagesItemRepliesItemUnsetReactionPostRequestBody) SetReactionType(value *string)() { + err := m.GetBackingStore().Set("reactionType", value) + if err != nil { + panic(err) + } +} +type ItemChatsItemTargetedMessagesItemRepliesItemUnsetReactionPostRequestBodyable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) + GetReactionType()(*string) + SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() + SetReactionType(value *string)() +} diff --git a/users/item_chats_item_targeted_messages_item_replies_item_unset_reaction_request_builder.go b/users/item_chats_item_targeted_messages_item_replies_item_unset_reaction_request_builder.go new file mode 100644 index 0000000000..7e530ff6f3 --- /dev/null +++ b/users/item_chats_item_targeted_messages_item_replies_item_unset_reaction_request_builder.go @@ -0,0 +1,71 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package users + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// ItemChatsItemTargetedMessagesItemRepliesItemUnsetReactionRequestBuilder provides operations to call the unsetReaction method. +type ItemChatsItemTargetedMessagesItemRepliesItemUnsetReactionRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ItemChatsItemTargetedMessagesItemRepliesItemUnsetReactionRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemChatsItemTargetedMessagesItemRepliesItemUnsetReactionRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewItemChatsItemTargetedMessagesItemRepliesItemUnsetReactionRequestBuilderInternal instantiates a new ItemChatsItemTargetedMessagesItemRepliesItemUnsetReactionRequestBuilder and sets the default values. +func NewItemChatsItemTargetedMessagesItemRepliesItemUnsetReactionRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemChatsItemTargetedMessagesItemRepliesItemUnsetReactionRequestBuilder) { + m := &ItemChatsItemTargetedMessagesItemRepliesItemUnsetReactionRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/chats/{chat%2Did}/targetedMessages/{targetedChatMessage%2Did}/replies/{chatMessage%2Did}/unsetReaction", pathParameters), + } + return m +} +// NewItemChatsItemTargetedMessagesItemRepliesItemUnsetReactionRequestBuilder instantiates a new ItemChatsItemTargetedMessagesItemRepliesItemUnsetReactionRequestBuilder and sets the default values. +func NewItemChatsItemTargetedMessagesItemRepliesItemUnsetReactionRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemChatsItemTargetedMessagesItemRepliesItemUnsetReactionRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewItemChatsItemTargetedMessagesItemRepliesItemUnsetReactionRequestBuilderInternal(urlParams, requestAdapter) +} +// Post invoke action unsetReaction +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemChatsItemTargetedMessagesItemRepliesItemUnsetReactionRequestBuilder) Post(ctx context.Context, body ItemChatsItemTargetedMessagesItemRepliesItemUnsetReactionPostRequestBodyable, requestConfiguration *ItemChatsItemTargetedMessagesItemRepliesItemUnsetReactionRequestBuilderPostRequestConfiguration)(error) { + requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + err = m.BaseRequestBuilder.RequestAdapter.SendNoContent(ctx, requestInfo, errorMapping) + if err != nil { + return err + } + return nil +} +// ToPostRequestInformation invoke action unsetReaction +// returns a *RequestInformation when successful +func (m *ItemChatsItemTargetedMessagesItemRepliesItemUnsetReactionRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemChatsItemTargetedMessagesItemRepliesItemUnsetReactionPostRequestBodyable, requestConfiguration *ItemChatsItemTargetedMessagesItemRepliesItemUnsetReactionRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *ItemChatsItemTargetedMessagesItemRepliesItemUnsetReactionRequestBuilder when successful +func (m *ItemChatsItemTargetedMessagesItemRepliesItemUnsetReactionRequestBuilder) WithUrl(rawUrl string)(*ItemChatsItemTargetedMessagesItemRepliesItemUnsetReactionRequestBuilder) { + return NewItemChatsItemTargetedMessagesItemRepliesItemUnsetReactionRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_chats_item_targeted_messages_item_replies_reply_with_quote_post_request_body.go b/users/item_chats_item_targeted_messages_item_replies_reply_with_quote_post_request_body.go new file mode 100644 index 0000000000..1e2b8e2ae0 --- /dev/null +++ b/users/item_chats_item_targeted_messages_item_replies_reply_with_quote_post_request_body.go @@ -0,0 +1,160 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package users + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" +) + +type ItemChatsItemTargetedMessagesItemRepliesReplyWithQuotePostRequestBody struct { + // Stores model information. + backingStore ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore +} +// NewItemChatsItemTargetedMessagesItemRepliesReplyWithQuotePostRequestBody instantiates a new ItemChatsItemTargetedMessagesItemRepliesReplyWithQuotePostRequestBody and sets the default values. +func NewItemChatsItemTargetedMessagesItemRepliesReplyWithQuotePostRequestBody()(*ItemChatsItemTargetedMessagesItemRepliesReplyWithQuotePostRequestBody) { + m := &ItemChatsItemTargetedMessagesItemRepliesReplyWithQuotePostRequestBody{ + } + m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); + m.SetAdditionalData(make(map[string]any)) + return m +} +// CreateItemChatsItemTargetedMessagesItemRepliesReplyWithQuotePostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateItemChatsItemTargetedMessagesItemRepliesReplyWithQuotePostRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewItemChatsItemTargetedMessagesItemRepliesReplyWithQuotePostRequestBody(), nil +} +// GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +// returns a map[string]any when successful +func (m *ItemChatsItemTargetedMessagesItemRepliesReplyWithQuotePostRequestBody) GetAdditionalData()(map[string]any) { + val , err := m.backingStore.Get("additionalData") + if err != nil { + panic(err) + } + if val == nil { + var value = make(map[string]any); + m.SetAdditionalData(value); + } + return val.(map[string]any) +} +// GetBackingStore gets the BackingStore property value. Stores model information. +// returns a BackingStore when successful +func (m *ItemChatsItemTargetedMessagesItemRepliesReplyWithQuotePostRequestBody) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) { + return m.backingStore +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *ItemChatsItemTargetedMessagesItemRepliesReplyWithQuotePostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) + res["messageIds"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfPrimitiveValues("string") + if err != nil { + return err + } + if val != nil { + res := make([]string, len(val)) + for i, v := range val { + if v != nil { + res[i] = *(v.(*string)) + } + } + m.SetMessageIds(res) + } + return nil + } + res["replyMessage"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetObjectValue(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateChatMessageFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + m.SetReplyMessage(val.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable)) + } + return nil + } + return res +} +// GetMessageIds gets the messageIds property value. The messageIds property +// returns a []string when successful +func (m *ItemChatsItemTargetedMessagesItemRepliesReplyWithQuotePostRequestBody) GetMessageIds()([]string) { + val, err := m.GetBackingStore().Get("messageIds") + if err != nil { + panic(err) + } + if val != nil { + return val.([]string) + } + return nil +} +// GetReplyMessage gets the replyMessage property value. The replyMessage property +// returns a ChatMessageable when successful +func (m *ItemChatsItemTargetedMessagesItemRepliesReplyWithQuotePostRequestBody) GetReplyMessage()(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable) { + val, err := m.GetBackingStore().Get("replyMessage") + if err != nil { + panic(err) + } + if val != nil { + return val.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable) + } + return nil +} +// Serialize serializes information the current object +func (m *ItemChatsItemTargetedMessagesItemRepliesReplyWithQuotePostRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + if m.GetMessageIds() != nil { + err := writer.WriteCollectionOfStringValues("messageIds", m.GetMessageIds()) + if err != nil { + return err + } + } + { + err := writer.WriteObjectValue("replyMessage", m.GetReplyMessage()) + if err != nil { + return err + } + } + { + err := writer.WriteAdditionalData(m.GetAdditionalData()) + if err != nil { + return err + } + } + return nil +} +// SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +func (m *ItemChatsItemTargetedMessagesItemRepliesReplyWithQuotePostRequestBody) SetAdditionalData(value map[string]any)() { + err := m.GetBackingStore().Set("additionalData", value) + if err != nil { + panic(err) + } +} +// SetBackingStore sets the BackingStore property value. Stores model information. +func (m *ItemChatsItemTargetedMessagesItemRepliesReplyWithQuotePostRequestBody) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { + m.backingStore = value +} +// SetMessageIds sets the messageIds property value. The messageIds property +func (m *ItemChatsItemTargetedMessagesItemRepliesReplyWithQuotePostRequestBody) SetMessageIds(value []string)() { + err := m.GetBackingStore().Set("messageIds", value) + if err != nil { + panic(err) + } +} +// SetReplyMessage sets the replyMessage property value. The replyMessage property +func (m *ItemChatsItemTargetedMessagesItemRepliesReplyWithQuotePostRequestBody) SetReplyMessage(value iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable)() { + err := m.GetBackingStore().Set("replyMessage", value) + if err != nil { + panic(err) + } +} +type ItemChatsItemTargetedMessagesItemRepliesReplyWithQuotePostRequestBodyable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) + GetMessageIds()([]string) + GetReplyMessage()(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable) + SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() + SetMessageIds(value []string)() + SetReplyMessage(value iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable)() +} diff --git a/users/item_chats_item_targeted_messages_item_replies_reply_with_quote_request_builder.go b/users/item_chats_item_targeted_messages_item_replies_reply_with_quote_request_builder.go new file mode 100644 index 0000000000..c7703e1064 --- /dev/null +++ b/users/item_chats_item_targeted_messages_item_replies_reply_with_quote_request_builder.go @@ -0,0 +1,79 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package users + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// ItemChatsItemTargetedMessagesItemRepliesReplyWithQuoteRequestBuilder provides operations to call the replyWithQuote method. +type ItemChatsItemTargetedMessagesItemRepliesReplyWithQuoteRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ItemChatsItemTargetedMessagesItemRepliesReplyWithQuoteRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemChatsItemTargetedMessagesItemRepliesReplyWithQuoteRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewItemChatsItemTargetedMessagesItemRepliesReplyWithQuoteRequestBuilderInternal instantiates a new ItemChatsItemTargetedMessagesItemRepliesReplyWithQuoteRequestBuilder and sets the default values. +func NewItemChatsItemTargetedMessagesItemRepliesReplyWithQuoteRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemChatsItemTargetedMessagesItemRepliesReplyWithQuoteRequestBuilder) { + m := &ItemChatsItemTargetedMessagesItemRepliesReplyWithQuoteRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/chats/{chat%2Did}/targetedMessages/{targetedChatMessage%2Did}/replies/replyWithQuote", pathParameters), + } + return m +} +// NewItemChatsItemTargetedMessagesItemRepliesReplyWithQuoteRequestBuilder instantiates a new ItemChatsItemTargetedMessagesItemRepliesReplyWithQuoteRequestBuilder and sets the default values. +func NewItemChatsItemTargetedMessagesItemRepliesReplyWithQuoteRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemChatsItemTargetedMessagesItemRepliesReplyWithQuoteRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewItemChatsItemTargetedMessagesItemRepliesReplyWithQuoteRequestBuilderInternal(urlParams, requestAdapter) +} +// Post reply with quote to a single chat message or multiple chat messages in a chat. +// returns a ChatMessageable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/chatmessage-replywithquote?view=graph-rest-1.0 +func (m *ItemChatsItemTargetedMessagesItemRepliesReplyWithQuoteRequestBuilder) Post(ctx context.Context, body ItemChatsItemTargetedMessagesItemRepliesReplyWithQuotePostRequestBodyable, requestConfiguration *ItemChatsItemTargetedMessagesItemRepliesReplyWithQuoteRequestBuilderPostRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable, error) { + requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateChatMessageFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable), nil +} +// ToPostRequestInformation reply with quote to a single chat message or multiple chat messages in a chat. +// returns a *RequestInformation when successful +func (m *ItemChatsItemTargetedMessagesItemRepliesReplyWithQuoteRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemChatsItemTargetedMessagesItemRepliesReplyWithQuotePostRequestBodyable, requestConfiguration *ItemChatsItemTargetedMessagesItemRepliesReplyWithQuoteRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *ItemChatsItemTargetedMessagesItemRepliesReplyWithQuoteRequestBuilder when successful +func (m *ItemChatsItemTargetedMessagesItemRepliesReplyWithQuoteRequestBuilder) WithUrl(rawUrl string)(*ItemChatsItemTargetedMessagesItemRepliesReplyWithQuoteRequestBuilder) { + return NewItemChatsItemTargetedMessagesItemRepliesReplyWithQuoteRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_chats_item_targeted_messages_item_replies_request_builder.go b/users/item_chats_item_targeted_messages_item_replies_request_builder.go new file mode 100644 index 0000000000..fc91673c65 --- /dev/null +++ b/users/item_chats_item_targeted_messages_item_replies_request_builder.go @@ -0,0 +1,165 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package users + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// ItemChatsItemTargetedMessagesItemRepliesRequestBuilder provides operations to manage the replies property of the microsoft.graph.chatMessage entity. +type ItemChatsItemTargetedMessagesItemRepliesRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ItemChatsItemTargetedMessagesItemRepliesRequestBuilderGetQueryParameters replies for a specified message. Supports $expand for channel messages. +type ItemChatsItemTargetedMessagesItemRepliesRequestBuilderGetQueryParameters struct { + // Include count of items + Count *bool "uriparametername:\"%24count\"" + // Expand related entities + Expand []string "uriparametername:\"%24expand\"" + // Filter items by property values + Filter *string "uriparametername:\"%24filter\"" + // Order items by property values + Orderby []string "uriparametername:\"%24orderby\"" + // Search items by search phrases + Search *string "uriparametername:\"%24search\"" + // Select properties to be returned + Select []string "uriparametername:\"%24select\"" + // Skip the first n items + Skip *int32 "uriparametername:\"%24skip\"" + // Show only the first n items + Top *int32 "uriparametername:\"%24top\"" +} +// ItemChatsItemTargetedMessagesItemRepliesRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemChatsItemTargetedMessagesItemRepliesRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *ItemChatsItemTargetedMessagesItemRepliesRequestBuilderGetQueryParameters +} +// ItemChatsItemTargetedMessagesItemRepliesRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemChatsItemTargetedMessagesItemRepliesRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// ByChatMessageId provides operations to manage the replies property of the microsoft.graph.chatMessage entity. +// returns a *ItemChatsItemTargetedMessagesItemRepliesChatMessageItemRequestBuilder when successful +func (m *ItemChatsItemTargetedMessagesItemRepliesRequestBuilder) ByChatMessageId(chatMessageId string)(*ItemChatsItemTargetedMessagesItemRepliesChatMessageItemRequestBuilder) { + urlTplParams := make(map[string]string) + for idx, item := range m.BaseRequestBuilder.PathParameters { + urlTplParams[idx] = item + } + if chatMessageId != "" { + urlTplParams["chatMessage%2Did"] = chatMessageId + } + return NewItemChatsItemTargetedMessagesItemRepliesChatMessageItemRequestBuilderInternal(urlTplParams, m.BaseRequestBuilder.RequestAdapter) +} +// NewItemChatsItemTargetedMessagesItemRepliesRequestBuilderInternal instantiates a new ItemChatsItemTargetedMessagesItemRepliesRequestBuilder and sets the default values. +func NewItemChatsItemTargetedMessagesItemRepliesRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemChatsItemTargetedMessagesItemRepliesRequestBuilder) { + m := &ItemChatsItemTargetedMessagesItemRepliesRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/chats/{chat%2Did}/targetedMessages/{targetedChatMessage%2Did}/replies{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), + } + return m +} +// NewItemChatsItemTargetedMessagesItemRepliesRequestBuilder instantiates a new ItemChatsItemTargetedMessagesItemRepliesRequestBuilder and sets the default values. +func NewItemChatsItemTargetedMessagesItemRepliesRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemChatsItemTargetedMessagesItemRepliesRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewItemChatsItemTargetedMessagesItemRepliesRequestBuilderInternal(urlParams, requestAdapter) +} +// Count provides operations to count the resources in the collection. +// returns a *ItemChatsItemTargetedMessagesItemRepliesCountRequestBuilder when successful +func (m *ItemChatsItemTargetedMessagesItemRepliesRequestBuilder) Count()(*ItemChatsItemTargetedMessagesItemRepliesCountRequestBuilder) { + return NewItemChatsItemTargetedMessagesItemRepliesCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Delta provides operations to call the delta method. +// returns a *ItemChatsItemTargetedMessagesItemRepliesDeltaRequestBuilder when successful +func (m *ItemChatsItemTargetedMessagesItemRepliesRequestBuilder) Delta()(*ItemChatsItemTargetedMessagesItemRepliesDeltaRequestBuilder) { + return NewItemChatsItemTargetedMessagesItemRepliesDeltaRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Get replies for a specified message. Supports $expand for channel messages. +// returns a ChatMessageCollectionResponseable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemChatsItemTargetedMessagesItemRepliesRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemChatsItemTargetedMessagesItemRepliesRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageCollectionResponseable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateChatMessageCollectionResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageCollectionResponseable), nil +} +// Post create new navigation property to replies for users +// returns a ChatMessageable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemChatsItemTargetedMessagesItemRepliesRequestBuilder) Post(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable, requestConfiguration *ItemChatsItemTargetedMessagesItemRepliesRequestBuilderPostRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable, error) { + requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateChatMessageFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable), nil +} +// ReplyWithQuote provides operations to call the replyWithQuote method. +// returns a *ItemChatsItemTargetedMessagesItemRepliesReplyWithQuoteRequestBuilder when successful +func (m *ItemChatsItemTargetedMessagesItemRepliesRequestBuilder) ReplyWithQuote()(*ItemChatsItemTargetedMessagesItemRepliesReplyWithQuoteRequestBuilder) { + return NewItemChatsItemTargetedMessagesItemRepliesReplyWithQuoteRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// ToGetRequestInformation replies for a specified message. Supports $expand for channel messages. +// returns a *RequestInformation when successful +func (m *ItemChatsItemTargetedMessagesItemRepliesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemChatsItemTargetedMessagesItemRepliesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToPostRequestInformation create new navigation property to replies for users +// returns a *RequestInformation when successful +func (m *ItemChatsItemTargetedMessagesItemRepliesRequestBuilder) ToPostRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable, requestConfiguration *ItemChatsItemTargetedMessagesItemRepliesRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *ItemChatsItemTargetedMessagesItemRepliesRequestBuilder when successful +func (m *ItemChatsItemTargetedMessagesItemRepliesRequestBuilder) WithUrl(rawUrl string)(*ItemChatsItemTargetedMessagesItemRepliesRequestBuilder) { + return NewItemChatsItemTargetedMessagesItemRepliesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_chats_item_targeted_messages_request_builder.go b/users/item_chats_item_targeted_messages_request_builder.go new file mode 100644 index 0000000000..fbfb51ac87 --- /dev/null +++ b/users/item_chats_item_targeted_messages_request_builder.go @@ -0,0 +1,155 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package users + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// ItemChatsItemTargetedMessagesRequestBuilder provides operations to manage the targetedMessages property of the microsoft.graph.chat entity. +type ItemChatsItemTargetedMessagesRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ItemChatsItemTargetedMessagesRequestBuilderGetQueryParameters get targetedMessages from users +type ItemChatsItemTargetedMessagesRequestBuilderGetQueryParameters struct { + // Include count of items + Count *bool "uriparametername:\"%24count\"" + // Expand related entities + Expand []string "uriparametername:\"%24expand\"" + // Filter items by property values + Filter *string "uriparametername:\"%24filter\"" + // Order items by property values + Orderby []string "uriparametername:\"%24orderby\"" + // Search items by search phrases + Search *string "uriparametername:\"%24search\"" + // Select properties to be returned + Select []string "uriparametername:\"%24select\"" + // Skip the first n items + Skip *int32 "uriparametername:\"%24skip\"" + // Show only the first n items + Top *int32 "uriparametername:\"%24top\"" +} +// ItemChatsItemTargetedMessagesRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemChatsItemTargetedMessagesRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *ItemChatsItemTargetedMessagesRequestBuilderGetQueryParameters +} +// ItemChatsItemTargetedMessagesRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemChatsItemTargetedMessagesRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// ByTargetedChatMessageId provides operations to manage the targetedMessages property of the microsoft.graph.chat entity. +// returns a *ItemChatsItemTargetedMessagesTargetedChatMessageItemRequestBuilder when successful +func (m *ItemChatsItemTargetedMessagesRequestBuilder) ByTargetedChatMessageId(targetedChatMessageId string)(*ItemChatsItemTargetedMessagesTargetedChatMessageItemRequestBuilder) { + urlTplParams := make(map[string]string) + for idx, item := range m.BaseRequestBuilder.PathParameters { + urlTplParams[idx] = item + } + if targetedChatMessageId != "" { + urlTplParams["targetedChatMessage%2Did"] = targetedChatMessageId + } + return NewItemChatsItemTargetedMessagesTargetedChatMessageItemRequestBuilderInternal(urlTplParams, m.BaseRequestBuilder.RequestAdapter) +} +// NewItemChatsItemTargetedMessagesRequestBuilderInternal instantiates a new ItemChatsItemTargetedMessagesRequestBuilder and sets the default values. +func NewItemChatsItemTargetedMessagesRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemChatsItemTargetedMessagesRequestBuilder) { + m := &ItemChatsItemTargetedMessagesRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/chats/{chat%2Did}/targetedMessages{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), + } + return m +} +// NewItemChatsItemTargetedMessagesRequestBuilder instantiates a new ItemChatsItemTargetedMessagesRequestBuilder and sets the default values. +func NewItemChatsItemTargetedMessagesRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemChatsItemTargetedMessagesRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewItemChatsItemTargetedMessagesRequestBuilderInternal(urlParams, requestAdapter) +} +// Count provides operations to count the resources in the collection. +// returns a *ItemChatsItemTargetedMessagesCountRequestBuilder when successful +func (m *ItemChatsItemTargetedMessagesRequestBuilder) Count()(*ItemChatsItemTargetedMessagesCountRequestBuilder) { + return NewItemChatsItemTargetedMessagesCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Get get targetedMessages from users +// returns a TargetedChatMessageCollectionResponseable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemChatsItemTargetedMessagesRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemChatsItemTargetedMessagesRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.TargetedChatMessageCollectionResponseable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateTargetedChatMessageCollectionResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.TargetedChatMessageCollectionResponseable), nil +} +// Post create new navigation property to targetedMessages for users +// returns a TargetedChatMessageable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemChatsItemTargetedMessagesRequestBuilder) Post(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.TargetedChatMessageable, requestConfiguration *ItemChatsItemTargetedMessagesRequestBuilderPostRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.TargetedChatMessageable, error) { + requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateTargetedChatMessageFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.TargetedChatMessageable), nil +} +// ToGetRequestInformation get targetedMessages from users +// returns a *RequestInformation when successful +func (m *ItemChatsItemTargetedMessagesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemChatsItemTargetedMessagesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToPostRequestInformation create new navigation property to targetedMessages for users +// returns a *RequestInformation when successful +func (m *ItemChatsItemTargetedMessagesRequestBuilder) ToPostRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.TargetedChatMessageable, requestConfiguration *ItemChatsItemTargetedMessagesRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *ItemChatsItemTargetedMessagesRequestBuilder when successful +func (m *ItemChatsItemTargetedMessagesRequestBuilder) WithUrl(rawUrl string)(*ItemChatsItemTargetedMessagesRequestBuilder) { + return NewItemChatsItemTargetedMessagesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_chats_item_targeted_messages_targeted_chat_message_item_request_builder.go b/users/item_chats_item_targeted_messages_targeted_chat_message_item_request_builder.go new file mode 100644 index 0000000000..a3e6e723ee --- /dev/null +++ b/users/item_chats_item_targeted_messages_targeted_chat_message_item_request_builder.go @@ -0,0 +1,170 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package users + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// ItemChatsItemTargetedMessagesTargetedChatMessageItemRequestBuilder provides operations to manage the targetedMessages property of the microsoft.graph.chat entity. +type ItemChatsItemTargetedMessagesTargetedChatMessageItemRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ItemChatsItemTargetedMessagesTargetedChatMessageItemRequestBuilderDeleteRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemChatsItemTargetedMessagesTargetedChatMessageItemRequestBuilderDeleteRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// ItemChatsItemTargetedMessagesTargetedChatMessageItemRequestBuilderGetQueryParameters get targetedMessages from users +type ItemChatsItemTargetedMessagesTargetedChatMessageItemRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string "uriparametername:\"%24expand\"" + // Select properties to be returned + Select []string "uriparametername:\"%24select\"" +} +// ItemChatsItemTargetedMessagesTargetedChatMessageItemRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemChatsItemTargetedMessagesTargetedChatMessageItemRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *ItemChatsItemTargetedMessagesTargetedChatMessageItemRequestBuilderGetQueryParameters +} +// ItemChatsItemTargetedMessagesTargetedChatMessageItemRequestBuilderPatchRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemChatsItemTargetedMessagesTargetedChatMessageItemRequestBuilderPatchRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewItemChatsItemTargetedMessagesTargetedChatMessageItemRequestBuilderInternal instantiates a new ItemChatsItemTargetedMessagesTargetedChatMessageItemRequestBuilder and sets the default values. +func NewItemChatsItemTargetedMessagesTargetedChatMessageItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemChatsItemTargetedMessagesTargetedChatMessageItemRequestBuilder) { + m := &ItemChatsItemTargetedMessagesTargetedChatMessageItemRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/chats/{chat%2Did}/targetedMessages/{targetedChatMessage%2Did}{?%24expand,%24select}", pathParameters), + } + return m +} +// NewItemChatsItemTargetedMessagesTargetedChatMessageItemRequestBuilder instantiates a new ItemChatsItemTargetedMessagesTargetedChatMessageItemRequestBuilder and sets the default values. +func NewItemChatsItemTargetedMessagesTargetedChatMessageItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemChatsItemTargetedMessagesTargetedChatMessageItemRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewItemChatsItemTargetedMessagesTargetedChatMessageItemRequestBuilderInternal(urlParams, requestAdapter) +} +// Delete delete navigation property targetedMessages for users +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemChatsItemTargetedMessagesTargetedChatMessageItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemChatsItemTargetedMessagesTargetedChatMessageItemRequestBuilderDeleteRequestConfiguration)(error) { + requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); + if err != nil { + return err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + err = m.BaseRequestBuilder.RequestAdapter.SendNoContent(ctx, requestInfo, errorMapping) + if err != nil { + return err + } + return nil +} +// Get get targetedMessages from users +// returns a TargetedChatMessageable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemChatsItemTargetedMessagesTargetedChatMessageItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemChatsItemTargetedMessagesTargetedChatMessageItemRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.TargetedChatMessageable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateTargetedChatMessageFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.TargetedChatMessageable), nil +} +// HostedContents provides operations to manage the hostedContents property of the microsoft.graph.chatMessage entity. +// returns a *ItemChatsItemTargetedMessagesItemHostedContentsRequestBuilder when successful +func (m *ItemChatsItemTargetedMessagesTargetedChatMessageItemRequestBuilder) HostedContents()(*ItemChatsItemTargetedMessagesItemHostedContentsRequestBuilder) { + return NewItemChatsItemTargetedMessagesItemHostedContentsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Patch update the navigation property targetedMessages in users +// returns a TargetedChatMessageable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemChatsItemTargetedMessagesTargetedChatMessageItemRequestBuilder) Patch(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.TargetedChatMessageable, requestConfiguration *ItemChatsItemTargetedMessagesTargetedChatMessageItemRequestBuilderPatchRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.TargetedChatMessageable, error) { + requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateTargetedChatMessageFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.TargetedChatMessageable), nil +} +// Replies provides operations to manage the replies property of the microsoft.graph.chatMessage entity. +// returns a *ItemChatsItemTargetedMessagesItemRepliesRequestBuilder when successful +func (m *ItemChatsItemTargetedMessagesTargetedChatMessageItemRequestBuilder) Replies()(*ItemChatsItemTargetedMessagesItemRepliesRequestBuilder) { + return NewItemChatsItemTargetedMessagesItemRepliesRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// ToDeleteRequestInformation delete navigation property targetedMessages for users +// returns a *RequestInformation when successful +func (m *ItemChatsItemTargetedMessagesTargetedChatMessageItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemChatsItemTargetedMessagesTargetedChatMessageItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToGetRequestInformation get targetedMessages from users +// returns a *RequestInformation when successful +func (m *ItemChatsItemTargetedMessagesTargetedChatMessageItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemChatsItemTargetedMessagesTargetedChatMessageItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToPatchRequestInformation update the navigation property targetedMessages in users +// returns a *RequestInformation when successful +func (m *ItemChatsItemTargetedMessagesTargetedChatMessageItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.TargetedChatMessageable, requestConfiguration *ItemChatsItemTargetedMessagesTargetedChatMessageItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *ItemChatsItemTargetedMessagesTargetedChatMessageItemRequestBuilder when successful +func (m *ItemChatsItemTargetedMessagesTargetedChatMessageItemRequestBuilder) WithUrl(rawUrl string)(*ItemChatsItemTargetedMessagesTargetedChatMessageItemRequestBuilder) { + return NewItemChatsItemTargetedMessagesTargetedChatMessageItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_events_item_accept_post_request_body.go b/users/item_events_item_accept_post_request_body.go index f7e5c2a853..258128c8ee 100644 --- a/users/item_events_item_accept_post_request_body.go +++ b/users/item_events_item_accept_post_request_body.go @@ -18,6 +18,8 @@ func NewItemEventsItemAcceptPostRequestBody()(*ItemEventsItemAcceptPostRequestBo } m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); m.SetAdditionalData(make(map[string]any)) + sendResponseValue := false + m.SetSendResponse(&sendResponseValue) return m } // CreateItemEventsItemAcceptPostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value diff --git a/users/item_events_item_decline_post_request_body.go b/users/item_events_item_decline_post_request_body.go index 53cc320602..37e6ba90de 100644 --- a/users/item_events_item_decline_post_request_body.go +++ b/users/item_events_item_decline_post_request_body.go @@ -19,6 +19,8 @@ func NewItemEventsItemDeclinePostRequestBody()(*ItemEventsItemDeclinePostRequest } m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); m.SetAdditionalData(make(map[string]any)) + sendResponseValue := false + m.SetSendResponse(&sendResponseValue) return m } // CreateItemEventsItemDeclinePostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value diff --git a/users/item_events_item_tentatively_accept_post_request_body.go b/users/item_events_item_tentatively_accept_post_request_body.go index fa725e0260..b66ac2436d 100644 --- a/users/item_events_item_tentatively_accept_post_request_body.go +++ b/users/item_events_item_tentatively_accept_post_request_body.go @@ -19,6 +19,8 @@ func NewItemEventsItemTentativelyAcceptPostRequestBody()(*ItemEventsItemTentativ } m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); m.SetAdditionalData(make(map[string]any)) + sendResponseValue := false + m.SetSendResponse(&sendResponseValue) return m } // CreateItemEventsItemTentativelyAcceptPostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value diff --git a/users/item_find_meeting_times_post_request_body.go b/users/item_find_meeting_times_post_request_body.go index a1b32ffbd5..ec6a8fc759 100644 --- a/users/item_find_meeting_times_post_request_body.go +++ b/users/item_find_meeting_times_post_request_body.go @@ -19,6 +19,10 @@ func NewItemFindMeetingTimesPostRequestBody()(*ItemFindMeetingTimesPostRequestBo } m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); m.SetAdditionalData(make(map[string]any)) + isOrganizerOptionalValue := false + m.SetIsOrganizerOptional(&isOrganizerOptionalValue) + returnSuggestionReasonsValue := false + m.SetReturnSuggestionReasons(&returnSuggestionReasonsValue) return m } // CreateItemFindMeetingTimesPostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value diff --git a/users/item_get_member_groups_post_request_body.go b/users/item_get_member_groups_post_request_body.go index c388a4c3cf..ed8987bc7e 100644 --- a/users/item_get_member_groups_post_request_body.go +++ b/users/item_get_member_groups_post_request_body.go @@ -18,6 +18,8 @@ func NewItemGetMemberGroupsPostRequestBody()(*ItemGetMemberGroupsPostRequestBody } m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); m.SetAdditionalData(make(map[string]any)) + securityEnabledOnlyValue := false + m.SetSecurityEnabledOnly(&securityEnabledOnlyValue) return m } // CreateItemGetMemberGroupsPostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value diff --git a/users/item_get_member_objects_post_request_body.go b/users/item_get_member_objects_post_request_body.go index fb5478381a..9f5eaef813 100644 --- a/users/item_get_member_objects_post_request_body.go +++ b/users/item_get_member_objects_post_request_body.go @@ -18,6 +18,8 @@ func NewItemGetMemberObjectsPostRequestBody()(*ItemGetMemberObjectsPostRequestBo } m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); m.SetAdditionalData(make(map[string]any)) + securityEnabledOnlyValue := false + m.SetSecurityEnabledOnly(&securityEnabledOnlyValue) return m } // CreateItemGetMemberObjectsPostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value diff --git a/users/item_joined_teams_item_archive_post_request_body.go b/users/item_joined_teams_item_archive_post_request_body.go index 53c56cd344..45f4d32f3f 100644 --- a/users/item_joined_teams_item_archive_post_request_body.go +++ b/users/item_joined_teams_item_archive_post_request_body.go @@ -18,6 +18,8 @@ func NewItemJoinedTeamsItemArchivePostRequestBody()(*ItemJoinedTeamsItemArchiveP } m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); m.SetAdditionalData(make(map[string]any)) + shouldSetSpoSiteReadOnlyForMembersValue := false + m.SetShouldSetSpoSiteReadOnlyForMembers(&shouldSetSpoSiteReadOnlyForMembersValue) return m } // CreateItemJoinedTeamsItemArchivePostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value diff --git a/users/item_joined_teams_item_channels_item_archive_post_request_body.go b/users/item_joined_teams_item_channels_item_archive_post_request_body.go index 536bccb65f..8865091b9b 100644 --- a/users/item_joined_teams_item_channels_item_archive_post_request_body.go +++ b/users/item_joined_teams_item_channels_item_archive_post_request_body.go @@ -18,6 +18,8 @@ func NewItemJoinedTeamsItemChannelsItemArchivePostRequestBody()(*ItemJoinedTeams } m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); m.SetAdditionalData(make(map[string]any)) + shouldSetSpoSiteReadOnlyForMembersValue := false + m.SetShouldSetSpoSiteReadOnlyForMembers(&shouldSetSpoSiteReadOnlyForMembersValue) return m } // CreateItemJoinedTeamsItemChannelsItemArchivePostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value diff --git a/users/item_joined_teams_item_primary_channel_archive_post_request_body.go b/users/item_joined_teams_item_primary_channel_archive_post_request_body.go index b8346d6e29..1103e951bc 100644 --- a/users/item_joined_teams_item_primary_channel_archive_post_request_body.go +++ b/users/item_joined_teams_item_primary_channel_archive_post_request_body.go @@ -18,6 +18,8 @@ func NewItemJoinedTeamsItemPrimaryChannelArchivePostRequestBody()(*ItemJoinedTea } m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); m.SetAdditionalData(make(map[string]any)) + shouldSetSpoSiteReadOnlyForMembersValue := false + m.SetShouldSetSpoSiteReadOnlyForMembers(&shouldSetSpoSiteReadOnlyForMembersValue) return m } // CreateItemJoinedTeamsItemPrimaryChannelArchivePostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value diff --git a/users/item_joined_teams_item_schedule_share_post_request_body.go b/users/item_joined_teams_item_schedule_share_post_request_body.go index 952396218c..38d0ecd0bf 100644 --- a/users/item_joined_teams_item_schedule_share_post_request_body.go +++ b/users/item_joined_teams_item_schedule_share_post_request_body.go @@ -19,6 +19,8 @@ func NewItemJoinedTeamsItemScheduleSharePostRequestBody()(*ItemJoinedTeamsItemSc } m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); m.SetAdditionalData(make(map[string]any)) + notifyTeamValue := false + m.SetNotifyTeam(¬ifyTeamValue) return m } // CreateItemJoinedTeamsItemScheduleSharePostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value diff --git a/users/item_joined_teams_item_schedule_time_cards_clock_in_post_request_body.go b/users/item_joined_teams_item_schedule_time_cards_clock_in_post_request_body.go index 85f87347b6..9f83ab2c41 100644 --- a/users/item_joined_teams_item_schedule_time_cards_clock_in_post_request_body.go +++ b/users/item_joined_teams_item_schedule_time_cards_clock_in_post_request_body.go @@ -19,6 +19,8 @@ func NewItemJoinedTeamsItemScheduleTimeCardsClockInPostRequestBody()(*ItemJoined } m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); m.SetAdditionalData(make(map[string]any)) + isAtApprovedLocationValue := false + m.SetIsAtApprovedLocation(&isAtApprovedLocationValue) return m } // CreateItemJoinedTeamsItemScheduleTimeCardsClockInPostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value diff --git a/users/item_joined_teams_item_schedule_time_cards_item_clock_out_post_request_body.go b/users/item_joined_teams_item_schedule_time_cards_item_clock_out_post_request_body.go index f62226756e..f47a644e95 100644 --- a/users/item_joined_teams_item_schedule_time_cards_item_clock_out_post_request_body.go +++ b/users/item_joined_teams_item_schedule_time_cards_item_clock_out_post_request_body.go @@ -19,6 +19,8 @@ func NewItemJoinedTeamsItemScheduleTimeCardsItemClockOutPostRequestBody()(*ItemJ } m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); m.SetAdditionalData(make(map[string]any)) + isAtApprovedLocationValue := false + m.SetIsAtApprovedLocation(&isAtApprovedLocationValue) return m } // CreateItemJoinedTeamsItemScheduleTimeCardsItemClockOutPostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value diff --git a/users/item_joined_teams_item_schedule_time_cards_item_end_break_post_request_body.go b/users/item_joined_teams_item_schedule_time_cards_item_end_break_post_request_body.go index 12e7cc6364..5526bbb8cb 100644 --- a/users/item_joined_teams_item_schedule_time_cards_item_end_break_post_request_body.go +++ b/users/item_joined_teams_item_schedule_time_cards_item_end_break_post_request_body.go @@ -19,6 +19,8 @@ func NewItemJoinedTeamsItemScheduleTimeCardsItemEndBreakPostRequestBody()(*ItemJ } m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); m.SetAdditionalData(make(map[string]any)) + isAtApprovedLocationValue := false + m.SetIsAtApprovedLocation(&isAtApprovedLocationValue) return m } // CreateItemJoinedTeamsItemScheduleTimeCardsItemEndBreakPostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value diff --git a/users/item_joined_teams_item_schedule_time_cards_item_start_break_post_request_body.go b/users/item_joined_teams_item_schedule_time_cards_item_start_break_post_request_body.go index 33b22f717f..1bc8259bd7 100644 --- a/users/item_joined_teams_item_schedule_time_cards_item_start_break_post_request_body.go +++ b/users/item_joined_teams_item_schedule_time_cards_item_start_break_post_request_body.go @@ -19,6 +19,8 @@ func NewItemJoinedTeamsItemScheduleTimeCardsItemStartBreakPostRequestBody()(*Ite } m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); m.SetAdditionalData(make(map[string]any)) + isAtApprovedLocationValue := false + m.SetIsAtApprovedLocation(&isAtApprovedLocationValue) return m } // CreateItemJoinedTeamsItemScheduleTimeCardsItemStartBreakPostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value diff --git a/users/item_managed_devices_item_clean_windows_device_post_request_body.go b/users/item_managed_devices_item_clean_windows_device_post_request_body.go index baf562199a..7ea7e3a7ea 100644 --- a/users/item_managed_devices_item_clean_windows_device_post_request_body.go +++ b/users/item_managed_devices_item_clean_windows_device_post_request_body.go @@ -18,6 +18,8 @@ func NewItemManagedDevicesItemCleanWindowsDevicePostRequestBody()(*ItemManagedDe } m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); m.SetAdditionalData(make(map[string]any)) + keepUserDataValue := false + m.SetKeepUserData(&keepUserDataValue) return m } // CreateItemManagedDevicesItemCleanWindowsDevicePostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value diff --git a/users/item_managed_devices_item_windows_defender_scan_post_request_body.go b/users/item_managed_devices_item_windows_defender_scan_post_request_body.go index d5e5580132..7fac858144 100644 --- a/users/item_managed_devices_item_windows_defender_scan_post_request_body.go +++ b/users/item_managed_devices_item_windows_defender_scan_post_request_body.go @@ -18,6 +18,8 @@ func NewItemManagedDevicesItemWindowsDefenderScanPostRequestBody()(*ItemManagedD } m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); m.SetAdditionalData(make(map[string]any)) + quickScanValue := false + m.SetQuickScan(&quickScanValue) return m } // CreateItemManagedDevicesItemWindowsDefenderScanPostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value diff --git a/users/item_managed_devices_item_wipe_post_request_body.go b/users/item_managed_devices_item_wipe_post_request_body.go index 84761bd36b..dd5854ff5c 100644 --- a/users/item_managed_devices_item_wipe_post_request_body.go +++ b/users/item_managed_devices_item_wipe_post_request_body.go @@ -18,6 +18,12 @@ func NewItemManagedDevicesItemWipePostRequestBody()(*ItemManagedDevicesItemWipeP } m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); m.SetAdditionalData(make(map[string]any)) + keepEnrollmentDataValue := false + m.SetKeepEnrollmentData(&keepEnrollmentDataValue) + keepUserDataValue := false + m.SetKeepUserData(&keepUserDataValue) + persistEsimDataPlanValue := false + m.SetPersistEsimDataPlan(&persistEsimDataPlanValue) return m } // CreateItemManagedDevicesItemWipePostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value diff --git a/users/item_online_meetings_item_transcripts_request_builder.go b/users/item_online_meetings_item_transcripts_request_builder.go index 3e8e9b4dca..eb1598f719 100644 --- a/users/item_online_meetings_item_transcripts_request_builder.go +++ b/users/item_online_meetings_item_transcripts_request_builder.go @@ -14,7 +14,7 @@ import ( type ItemOnlineMeetingsItemTranscriptsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemOnlineMeetingsItemTranscriptsRequestBuilderGetQueryParameters retrieve the list of callTranscript objects associated with a scheduled onlineMeeting. This API supports the retrieval of call transcripts from all meeting types except live events. +// ItemOnlineMeetingsItemTranscriptsRequestBuilderGetQueryParameters retrieve the list of callTranscript objects associated with a scheduled onlineMeeting. This API supports the retrieval of call transcripts from all meeting types except live events. Access to this API is governed by tenant administrator settings. For more information, see Error responses. type ItemOnlineMeetingsItemTranscriptsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool "uriparametername:\"%24count\"" @@ -84,7 +84,7 @@ func (m *ItemOnlineMeetingsItemTranscriptsRequestBuilder) Count()(*ItemOnlineMee func (m *ItemOnlineMeetingsItemTranscriptsRequestBuilder) Delta()(*ItemOnlineMeetingsItemTranscriptsDeltaRequestBuilder) { return NewItemOnlineMeetingsItemTranscriptsDeltaRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve the list of callTranscript objects associated with a scheduled onlineMeeting. This API supports the retrieval of call transcripts from all meeting types except live events. +// Get retrieve the list of callTranscript objects associated with a scheduled onlineMeeting. This API supports the retrieval of call transcripts from all meeting types except live events. Access to this API is governed by tenant administrator settings. For more information, see Error responses. // returns a CallTranscriptCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] @@ -127,7 +127,7 @@ func (m *ItemOnlineMeetingsItemTranscriptsRequestBuilder) Post(ctx context.Conte } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CallTranscriptable), nil } -// ToGetRequestInformation retrieve the list of callTranscript objects associated with a scheduled onlineMeeting. This API supports the retrieval of call transcripts from all meeting types except live events. +// ToGetRequestInformation retrieve the list of callTranscript objects associated with a scheduled onlineMeeting. This API supports the retrieval of call transcripts from all meeting types except live events. Access to this API is governed by tenant administrator settings. For more information, see Error responses. // returns a *RequestInformation when successful func (m *ItemOnlineMeetingsItemTranscriptsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemOnlineMeetingsItemTranscriptsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_revoke_sign_in_sessions_post_response.go b/users/item_revoke_sign_in_sessions_post_response.go index 73e0246054..354c97ebc1 100644 --- a/users/item_revoke_sign_in_sessions_post_response.go +++ b/users/item_revoke_sign_in_sessions_post_response.go @@ -18,6 +18,8 @@ func NewItemRevokeSignInSessionsPostResponse()(*ItemRevokeSignInSessionsPostResp } m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); m.SetAdditionalData(make(map[string]any)) + valueValue := false + m.SetValue(&valueValue) return m } // CreateItemRevokeSignInSessionsPostResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value diff --git a/users/item_send_mail_post_request_body.go b/users/item_send_mail_post_request_body.go index f4370bdb9d..1c07489d20 100644 --- a/users/item_send_mail_post_request_body.go +++ b/users/item_send_mail_post_request_body.go @@ -19,6 +19,8 @@ func NewItemSendMailPostRequestBody()(*ItemSendMailPostRequestBody) { } m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); m.SetAdditionalData(make(map[string]any)) + saveToSentItemsValue := false + m.SetSaveToSentItems(&saveToSentItemsValue) return m } // CreateItemSendMailPostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value diff --git a/users/item_sponsors_ref_request_builder.go b/users/item_sponsors_ref_request_builder.go index 6f59195ee1..70b4d028e4 100644 --- a/users/item_sponsors_ref_request_builder.go +++ b/users/item_sponsors_ref_request_builder.go @@ -62,7 +62,7 @@ type ItemSponsorsRefRequestBuilderPostRequestConfiguration struct { // NewItemSponsorsRefRequestBuilderInternal instantiates a new ItemSponsorsRefRequestBuilder and sets the default values. func NewItemSponsorsRefRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemSponsorsRefRequestBuilder) { m := &ItemSponsorsRefRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/sponsors/$ref?@id={%40id}{&%24count,%24filter,%24orderby,%24search,%24skip,%24top}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/sponsors/$ref{?%24count,%24filter,%24orderby,%24search,%24skip,%24top}", pathParameters), } return m } @@ -150,7 +150,7 @@ func (m *ItemSponsorsRefRequestBuilder) ToDeleteRequestInformation(ctx context.C // ToGetRequestInformation get an agentUser's sponsors. Sponsors are users and groups that are responsible for this agent user's privileges in the tenant and for keeping the agent user's information and access up to date. // returns a *RequestInformation when successful func (m *ItemSponsorsRefRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemSponsorsRefRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { - requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, "{+baseurl}/users/{user%2Did}/sponsors/$ref{?%24count,%24filter,%24orderby,%24search,%24skip,%24top}", m.BaseRequestBuilder.PathParameters) + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) if requestConfiguration != nil { if requestConfiguration.QueryParameters != nil { requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) @@ -164,7 +164,7 @@ func (m *ItemSponsorsRefRequestBuilder) ToGetRequestInformation(ctx context.Cont // ToPostRequestInformation assign an agentUser a sponsor. Sponsors are users and groups that are responsible for this agent user's privileges in the tenant and for keeping the agent user's information and access up to date. // returns a *RequestInformation when successful func (m *ItemSponsorsRefRequestBuilder) ToPostRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ReferenceCreateable, requestConfiguration *ItemSponsorsRefRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { - requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, "{+baseurl}/users/{user%2Did}/sponsors/$ref", m.BaseRequestBuilder.PathParameters) + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) if requestConfiguration != nil { requestInfo.Headers.AddAll(requestConfiguration.Headers) requestInfo.AddRequestOptions(requestConfiguration.Options) diff --git a/users/item_teamwork_delete_targeted_message_post_request_body.go b/users/item_teamwork_delete_targeted_message_post_request_body.go new file mode 100644 index 0000000000..a637798f26 --- /dev/null +++ b/users/item_teamwork_delete_targeted_message_post_request_body.go @@ -0,0 +1,190 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package users + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" +) + +type ItemTeamworkDeleteTargetedMessagePostRequestBody struct { + // Stores model information. + backingStore ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore +} +// NewItemTeamworkDeleteTargetedMessagePostRequestBody instantiates a new ItemTeamworkDeleteTargetedMessagePostRequestBody and sets the default values. +func NewItemTeamworkDeleteTargetedMessagePostRequestBody()(*ItemTeamworkDeleteTargetedMessagePostRequestBody) { + m := &ItemTeamworkDeleteTargetedMessagePostRequestBody{ + } + m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); + m.SetAdditionalData(make(map[string]any)) + return m +} +// CreateItemTeamworkDeleteTargetedMessagePostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateItemTeamworkDeleteTargetedMessagePostRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewItemTeamworkDeleteTargetedMessagePostRequestBody(), nil +} +// GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +// returns a map[string]any when successful +func (m *ItemTeamworkDeleteTargetedMessagePostRequestBody) GetAdditionalData()(map[string]any) { + val , err := m.backingStore.Get("additionalData") + if err != nil { + panic(err) + } + if val == nil { + var value = make(map[string]any); + m.SetAdditionalData(value); + } + return val.(map[string]any) +} +// GetBackingStore gets the BackingStore property value. Stores model information. +// returns a BackingStore when successful +func (m *ItemTeamworkDeleteTargetedMessagePostRequestBody) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) { + return m.backingStore +} +// GetChannelId gets the channelId property value. The channelId property +// returns a *string when successful +func (m *ItemTeamworkDeleteTargetedMessagePostRequestBody) GetChannelId()(*string) { + val, err := m.GetBackingStore().Get("channelId") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *ItemTeamworkDeleteTargetedMessagePostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) + res["channelId"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetChannelId(val) + } + return nil + } + res["messageId"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetMessageId(val) + } + return nil + } + res["teamId"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetTeamId(val) + } + return nil + } + return res +} +// GetMessageId gets the messageId property value. The messageId property +// returns a *string when successful +func (m *ItemTeamworkDeleteTargetedMessagePostRequestBody) GetMessageId()(*string) { + val, err := m.GetBackingStore().Get("messageId") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetTeamId gets the teamId property value. The teamId property +// returns a *string when successful +func (m *ItemTeamworkDeleteTargetedMessagePostRequestBody) GetTeamId()(*string) { + val, err := m.GetBackingStore().Get("teamId") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// Serialize serializes information the current object +func (m *ItemTeamworkDeleteTargetedMessagePostRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + { + err := writer.WriteStringValue("channelId", m.GetChannelId()) + if err != nil { + return err + } + } + { + err := writer.WriteStringValue("messageId", m.GetMessageId()) + if err != nil { + return err + } + } + { + err := writer.WriteStringValue("teamId", m.GetTeamId()) + if err != nil { + return err + } + } + { + err := writer.WriteAdditionalData(m.GetAdditionalData()) + if err != nil { + return err + } + } + return nil +} +// SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +func (m *ItemTeamworkDeleteTargetedMessagePostRequestBody) SetAdditionalData(value map[string]any)() { + err := m.GetBackingStore().Set("additionalData", value) + if err != nil { + panic(err) + } +} +// SetBackingStore sets the BackingStore property value. Stores model information. +func (m *ItemTeamworkDeleteTargetedMessagePostRequestBody) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { + m.backingStore = value +} +// SetChannelId sets the channelId property value. The channelId property +func (m *ItemTeamworkDeleteTargetedMessagePostRequestBody) SetChannelId(value *string)() { + err := m.GetBackingStore().Set("channelId", value) + if err != nil { + panic(err) + } +} +// SetMessageId sets the messageId property value. The messageId property +func (m *ItemTeamworkDeleteTargetedMessagePostRequestBody) SetMessageId(value *string)() { + err := m.GetBackingStore().Set("messageId", value) + if err != nil { + panic(err) + } +} +// SetTeamId sets the teamId property value. The teamId property +func (m *ItemTeamworkDeleteTargetedMessagePostRequestBody) SetTeamId(value *string)() { + err := m.GetBackingStore().Set("teamId", value) + if err != nil { + panic(err) + } +} +type ItemTeamworkDeleteTargetedMessagePostRequestBodyable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) + GetChannelId()(*string) + GetMessageId()(*string) + GetTeamId()(*string) + SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() + SetChannelId(value *string)() + SetMessageId(value *string)() + SetTeamId(value *string)() +} diff --git a/users/item_teamwork_delete_targeted_message_request_builder.go b/users/item_teamwork_delete_targeted_message_request_builder.go new file mode 100644 index 0000000000..cdb0e4f867 --- /dev/null +++ b/users/item_teamwork_delete_targeted_message_request_builder.go @@ -0,0 +1,71 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package users + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// ItemTeamworkDeleteTargetedMessageRequestBuilder provides operations to call the deleteTargetedMessage method. +type ItemTeamworkDeleteTargetedMessageRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ItemTeamworkDeleteTargetedMessageRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemTeamworkDeleteTargetedMessageRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewItemTeamworkDeleteTargetedMessageRequestBuilderInternal instantiates a new ItemTeamworkDeleteTargetedMessageRequestBuilder and sets the default values. +func NewItemTeamworkDeleteTargetedMessageRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemTeamworkDeleteTargetedMessageRequestBuilder) { + m := &ItemTeamworkDeleteTargetedMessageRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/teamwork/deleteTargetedMessage", pathParameters), + } + return m +} +// NewItemTeamworkDeleteTargetedMessageRequestBuilder instantiates a new ItemTeamworkDeleteTargetedMessageRequestBuilder and sets the default values. +func NewItemTeamworkDeleteTargetedMessageRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemTeamworkDeleteTargetedMessageRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewItemTeamworkDeleteTargetedMessageRequestBuilderInternal(urlParams, requestAdapter) +} +// Post invoke action deleteTargetedMessage +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemTeamworkDeleteTargetedMessageRequestBuilder) Post(ctx context.Context, body ItemTeamworkDeleteTargetedMessagePostRequestBodyable, requestConfiguration *ItemTeamworkDeleteTargetedMessageRequestBuilderPostRequestConfiguration)(error) { + requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + err = m.BaseRequestBuilder.RequestAdapter.SendNoContent(ctx, requestInfo, errorMapping) + if err != nil { + return err + } + return nil +} +// ToPostRequestInformation invoke action deleteTargetedMessage +// returns a *RequestInformation when successful +func (m *ItemTeamworkDeleteTargetedMessageRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemTeamworkDeleteTargetedMessagePostRequestBodyable, requestConfiguration *ItemTeamworkDeleteTargetedMessageRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *ItemTeamworkDeleteTargetedMessageRequestBuilder when successful +func (m *ItemTeamworkDeleteTargetedMessageRequestBuilder) WithUrl(rawUrl string)(*ItemTeamworkDeleteTargetedMessageRequestBuilder) { + return NewItemTeamworkDeleteTargetedMessageRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_teamwork_get_all_retained_targeted_messages_get_response.go b/users/item_teamwork_get_all_retained_targeted_messages_get_response.go new file mode 100644 index 0000000000..70ff2cd900 --- /dev/null +++ b/users/item_teamwork_get_all_retained_targeted_messages_get_response.go @@ -0,0 +1,92 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package users + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" +) + +type ItemTeamworkGetAllRetainedTargetedMessagesGetResponse struct { + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.BaseCollectionPaginationCountResponse +} +// NewItemTeamworkGetAllRetainedTargetedMessagesGetResponse instantiates a new ItemTeamworkGetAllRetainedTargetedMessagesGetResponse and sets the default values. +func NewItemTeamworkGetAllRetainedTargetedMessagesGetResponse()(*ItemTeamworkGetAllRetainedTargetedMessagesGetResponse) { + m := &ItemTeamworkGetAllRetainedTargetedMessagesGetResponse{ + BaseCollectionPaginationCountResponse: *iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.NewBaseCollectionPaginationCountResponse(), + } + return m +} +// CreateItemTeamworkGetAllRetainedTargetedMessagesGetResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateItemTeamworkGetAllRetainedTargetedMessagesGetResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewItemTeamworkGetAllRetainedTargetedMessagesGetResponse(), nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *ItemTeamworkGetAllRetainedTargetedMessagesGetResponse) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.BaseCollectionPaginationCountResponse.GetFieldDeserializers() + res["value"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateTargetedChatMessageFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.TargetedChatMessageable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.TargetedChatMessageable) + } + } + m.SetValue(res) + } + return nil + } + return res +} +// GetValue gets the value property value. The value property +// returns a []TargetedChatMessageable when successful +func (m *ItemTeamworkGetAllRetainedTargetedMessagesGetResponse) GetValue()([]iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.TargetedChatMessageable) { + val, err := m.GetBackingStore().Get("value") + if err != nil { + panic(err) + } + if val != nil { + return val.([]iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.TargetedChatMessageable) + } + return nil +} +// Serialize serializes information the current object +func (m *ItemTeamworkGetAllRetainedTargetedMessagesGetResponse) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.BaseCollectionPaginationCountResponse.Serialize(writer) + if err != nil { + return err + } + if m.GetValue() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetValue())) + for i, v := range m.GetValue() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err = writer.WriteCollectionOfObjectValues("value", cast) + if err != nil { + return err + } + } + return nil +} +// SetValue sets the value property value. The value property +func (m *ItemTeamworkGetAllRetainedTargetedMessagesGetResponse) SetValue(value []iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.TargetedChatMessageable)() { + err := m.GetBackingStore().Set("value", value) + if err != nil { + panic(err) + } +} +type ItemTeamworkGetAllRetainedTargetedMessagesGetResponseable interface { + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.BaseCollectionPaginationCountResponseable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetValue()([]iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.TargetedChatMessageable) + SetValue(value []iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.TargetedChatMessageable)() +} diff --git a/users/item_teamwork_get_all_retained_targeted_messages_request_builder.go b/users/item_teamwork_get_all_retained_targeted_messages_request_builder.go new file mode 100644 index 0000000000..36571bc6c0 --- /dev/null +++ b/users/item_teamwork_get_all_retained_targeted_messages_request_builder.go @@ -0,0 +1,116 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package users + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// ItemTeamworkGetAllRetainedTargetedMessagesRequestBuilder provides operations to call the getAllRetainedTargetedMessages method. +type ItemTeamworkGetAllRetainedTargetedMessagesRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ItemTeamworkGetAllRetainedTargetedMessagesRequestBuilderGetQueryParameters invoke function getAllRetainedTargetedMessages +type ItemTeamworkGetAllRetainedTargetedMessagesRequestBuilderGetQueryParameters struct { + // Include count of items + Count *bool "uriparametername:\"%24count\"" + // Expand related entities + Expand []string "uriparametername:\"%24expand\"" + // Filter items by property values + Filter *string "uriparametername:\"%24filter\"" + // Order items by property values + Orderby []string "uriparametername:\"%24orderby\"" + // Search items by search phrases + Search *string "uriparametername:\"%24search\"" + // Select properties to be returned + Select []string "uriparametername:\"%24select\"" + // Skip the first n items + Skip *int32 "uriparametername:\"%24skip\"" + // Show only the first n items + Top *int32 "uriparametername:\"%24top\"" +} +// ItemTeamworkGetAllRetainedTargetedMessagesRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemTeamworkGetAllRetainedTargetedMessagesRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *ItemTeamworkGetAllRetainedTargetedMessagesRequestBuilderGetQueryParameters +} +// NewItemTeamworkGetAllRetainedTargetedMessagesRequestBuilderInternal instantiates a new ItemTeamworkGetAllRetainedTargetedMessagesRequestBuilder and sets the default values. +func NewItemTeamworkGetAllRetainedTargetedMessagesRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemTeamworkGetAllRetainedTargetedMessagesRequestBuilder) { + m := &ItemTeamworkGetAllRetainedTargetedMessagesRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/teamwork/getAllRetainedTargetedMessages(){?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), + } + return m +} +// NewItemTeamworkGetAllRetainedTargetedMessagesRequestBuilder instantiates a new ItemTeamworkGetAllRetainedTargetedMessagesRequestBuilder and sets the default values. +func NewItemTeamworkGetAllRetainedTargetedMessagesRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemTeamworkGetAllRetainedTargetedMessagesRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewItemTeamworkGetAllRetainedTargetedMessagesRequestBuilderInternal(urlParams, requestAdapter) +} +// Get invoke function getAllRetainedTargetedMessages +// Deprecated: This method is obsolete. Use GetAsGetAllRetainedTargetedMessagesGetResponse instead. +// returns a ItemTeamworkGetAllRetainedTargetedMessagesResponseable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemTeamworkGetAllRetainedTargetedMessagesRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemTeamworkGetAllRetainedTargetedMessagesRequestBuilderGetRequestConfiguration)(ItemTeamworkGetAllRetainedTargetedMessagesResponseable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, CreateItemTeamworkGetAllRetainedTargetedMessagesResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ItemTeamworkGetAllRetainedTargetedMessagesResponseable), nil +} +// GetAsGetAllRetainedTargetedMessagesGetResponse invoke function getAllRetainedTargetedMessages +// returns a ItemTeamworkGetAllRetainedTargetedMessagesGetResponseable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemTeamworkGetAllRetainedTargetedMessagesRequestBuilder) GetAsGetAllRetainedTargetedMessagesGetResponse(ctx context.Context, requestConfiguration *ItemTeamworkGetAllRetainedTargetedMessagesRequestBuilderGetRequestConfiguration)(ItemTeamworkGetAllRetainedTargetedMessagesGetResponseable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, CreateItemTeamworkGetAllRetainedTargetedMessagesGetResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ItemTeamworkGetAllRetainedTargetedMessagesGetResponseable), nil +} +// ToGetRequestInformation invoke function getAllRetainedTargetedMessages +// returns a *RequestInformation when successful +func (m *ItemTeamworkGetAllRetainedTargetedMessagesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemTeamworkGetAllRetainedTargetedMessagesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *ItemTeamworkGetAllRetainedTargetedMessagesRequestBuilder when successful +func (m *ItemTeamworkGetAllRetainedTargetedMessagesRequestBuilder) WithUrl(rawUrl string)(*ItemTeamworkGetAllRetainedTargetedMessagesRequestBuilder) { + return NewItemTeamworkGetAllRetainedTargetedMessagesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_teamwork_get_all_retained_targeted_messages_response.go b/users/item_teamwork_get_all_retained_targeted_messages_response.go new file mode 100644 index 0000000000..70efac9fad --- /dev/null +++ b/users/item_teamwork_get_all_retained_targeted_messages_response.go @@ -0,0 +1,30 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package users + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +// Deprecated: This class is obsolete. Use ItemTeamworkGetAllRetainedTargetedMessagesGetResponseable instead. +type ItemTeamworkGetAllRetainedTargetedMessagesResponse struct { + ItemTeamworkGetAllRetainedTargetedMessagesGetResponse +} +// NewItemTeamworkGetAllRetainedTargetedMessagesResponse instantiates a new ItemTeamworkGetAllRetainedTargetedMessagesResponse and sets the default values. +func NewItemTeamworkGetAllRetainedTargetedMessagesResponse()(*ItemTeamworkGetAllRetainedTargetedMessagesResponse) { + m := &ItemTeamworkGetAllRetainedTargetedMessagesResponse{ + ItemTeamworkGetAllRetainedTargetedMessagesGetResponse: *NewItemTeamworkGetAllRetainedTargetedMessagesGetResponse(), + } + return m +} +// CreateItemTeamworkGetAllRetainedTargetedMessagesResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateItemTeamworkGetAllRetainedTargetedMessagesResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewItemTeamworkGetAllRetainedTargetedMessagesResponse(), nil +} +// Deprecated: This class is obsolete. Use ItemTeamworkGetAllRetainedTargetedMessagesGetResponseable instead. +type ItemTeamworkGetAllRetainedTargetedMessagesResponseable interface { + ItemTeamworkGetAllRetainedTargetedMessagesGetResponseable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +} diff --git a/users/item_teamwork_get_all_targeted_messages_get_response.go b/users/item_teamwork_get_all_targeted_messages_get_response.go new file mode 100644 index 0000000000..9b2e208054 --- /dev/null +++ b/users/item_teamwork_get_all_targeted_messages_get_response.go @@ -0,0 +1,92 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package users + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" +) + +type ItemTeamworkGetAllTargetedMessagesGetResponse struct { + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.BaseCollectionPaginationCountResponse +} +// NewItemTeamworkGetAllTargetedMessagesGetResponse instantiates a new ItemTeamworkGetAllTargetedMessagesGetResponse and sets the default values. +func NewItemTeamworkGetAllTargetedMessagesGetResponse()(*ItemTeamworkGetAllTargetedMessagesGetResponse) { + m := &ItemTeamworkGetAllTargetedMessagesGetResponse{ + BaseCollectionPaginationCountResponse: *iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.NewBaseCollectionPaginationCountResponse(), + } + return m +} +// CreateItemTeamworkGetAllTargetedMessagesGetResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateItemTeamworkGetAllTargetedMessagesGetResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewItemTeamworkGetAllTargetedMessagesGetResponse(), nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *ItemTeamworkGetAllTargetedMessagesGetResponse) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.BaseCollectionPaginationCountResponse.GetFieldDeserializers() + res["value"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateTargetedChatMessageFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.TargetedChatMessageable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.TargetedChatMessageable) + } + } + m.SetValue(res) + } + return nil + } + return res +} +// GetValue gets the value property value. The value property +// returns a []TargetedChatMessageable when successful +func (m *ItemTeamworkGetAllTargetedMessagesGetResponse) GetValue()([]iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.TargetedChatMessageable) { + val, err := m.GetBackingStore().Get("value") + if err != nil { + panic(err) + } + if val != nil { + return val.([]iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.TargetedChatMessageable) + } + return nil +} +// Serialize serializes information the current object +func (m *ItemTeamworkGetAllTargetedMessagesGetResponse) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.BaseCollectionPaginationCountResponse.Serialize(writer) + if err != nil { + return err + } + if m.GetValue() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetValue())) + for i, v := range m.GetValue() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err = writer.WriteCollectionOfObjectValues("value", cast) + if err != nil { + return err + } + } + return nil +} +// SetValue sets the value property value. The value property +func (m *ItemTeamworkGetAllTargetedMessagesGetResponse) SetValue(value []iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.TargetedChatMessageable)() { + err := m.GetBackingStore().Set("value", value) + if err != nil { + panic(err) + } +} +type ItemTeamworkGetAllTargetedMessagesGetResponseable interface { + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.BaseCollectionPaginationCountResponseable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetValue()([]iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.TargetedChatMessageable) + SetValue(value []iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.TargetedChatMessageable)() +} diff --git a/users/item_teamwork_get_all_targeted_messages_request_builder.go b/users/item_teamwork_get_all_targeted_messages_request_builder.go new file mode 100644 index 0000000000..e39a22ce8e --- /dev/null +++ b/users/item_teamwork_get_all_targeted_messages_request_builder.go @@ -0,0 +1,116 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package users + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// ItemTeamworkGetAllTargetedMessagesRequestBuilder provides operations to call the getAllTargetedMessages method. +type ItemTeamworkGetAllTargetedMessagesRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ItemTeamworkGetAllTargetedMessagesRequestBuilderGetQueryParameters invoke function getAllTargetedMessages +type ItemTeamworkGetAllTargetedMessagesRequestBuilderGetQueryParameters struct { + // Include count of items + Count *bool "uriparametername:\"%24count\"" + // Expand related entities + Expand []string "uriparametername:\"%24expand\"" + // Filter items by property values + Filter *string "uriparametername:\"%24filter\"" + // Order items by property values + Orderby []string "uriparametername:\"%24orderby\"" + // Search items by search phrases + Search *string "uriparametername:\"%24search\"" + // Select properties to be returned + Select []string "uriparametername:\"%24select\"" + // Skip the first n items + Skip *int32 "uriparametername:\"%24skip\"" + // Show only the first n items + Top *int32 "uriparametername:\"%24top\"" +} +// ItemTeamworkGetAllTargetedMessagesRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemTeamworkGetAllTargetedMessagesRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *ItemTeamworkGetAllTargetedMessagesRequestBuilderGetQueryParameters +} +// NewItemTeamworkGetAllTargetedMessagesRequestBuilderInternal instantiates a new ItemTeamworkGetAllTargetedMessagesRequestBuilder and sets the default values. +func NewItemTeamworkGetAllTargetedMessagesRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemTeamworkGetAllTargetedMessagesRequestBuilder) { + m := &ItemTeamworkGetAllTargetedMessagesRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/teamwork/getAllTargetedMessages(){?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), + } + return m +} +// NewItemTeamworkGetAllTargetedMessagesRequestBuilder instantiates a new ItemTeamworkGetAllTargetedMessagesRequestBuilder and sets the default values. +func NewItemTeamworkGetAllTargetedMessagesRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemTeamworkGetAllTargetedMessagesRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewItemTeamworkGetAllTargetedMessagesRequestBuilderInternal(urlParams, requestAdapter) +} +// Get invoke function getAllTargetedMessages +// Deprecated: This method is obsolete. Use GetAsGetAllTargetedMessagesGetResponse instead. +// returns a ItemTeamworkGetAllTargetedMessagesResponseable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemTeamworkGetAllTargetedMessagesRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemTeamworkGetAllTargetedMessagesRequestBuilderGetRequestConfiguration)(ItemTeamworkGetAllTargetedMessagesResponseable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, CreateItemTeamworkGetAllTargetedMessagesResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ItemTeamworkGetAllTargetedMessagesResponseable), nil +} +// GetAsGetAllTargetedMessagesGetResponse invoke function getAllTargetedMessages +// returns a ItemTeamworkGetAllTargetedMessagesGetResponseable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemTeamworkGetAllTargetedMessagesRequestBuilder) GetAsGetAllTargetedMessagesGetResponse(ctx context.Context, requestConfiguration *ItemTeamworkGetAllTargetedMessagesRequestBuilderGetRequestConfiguration)(ItemTeamworkGetAllTargetedMessagesGetResponseable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, CreateItemTeamworkGetAllTargetedMessagesGetResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ItemTeamworkGetAllTargetedMessagesGetResponseable), nil +} +// ToGetRequestInformation invoke function getAllTargetedMessages +// returns a *RequestInformation when successful +func (m *ItemTeamworkGetAllTargetedMessagesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemTeamworkGetAllTargetedMessagesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *ItemTeamworkGetAllTargetedMessagesRequestBuilder when successful +func (m *ItemTeamworkGetAllTargetedMessagesRequestBuilder) WithUrl(rawUrl string)(*ItemTeamworkGetAllTargetedMessagesRequestBuilder) { + return NewItemTeamworkGetAllTargetedMessagesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_teamwork_get_all_targeted_messages_response.go b/users/item_teamwork_get_all_targeted_messages_response.go new file mode 100644 index 0000000000..ba50d6904c --- /dev/null +++ b/users/item_teamwork_get_all_targeted_messages_response.go @@ -0,0 +1,30 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package users + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +// Deprecated: This class is obsolete. Use ItemTeamworkGetAllTargetedMessagesGetResponseable instead. +type ItemTeamworkGetAllTargetedMessagesResponse struct { + ItemTeamworkGetAllTargetedMessagesGetResponse +} +// NewItemTeamworkGetAllTargetedMessagesResponse instantiates a new ItemTeamworkGetAllTargetedMessagesResponse and sets the default values. +func NewItemTeamworkGetAllTargetedMessagesResponse()(*ItemTeamworkGetAllTargetedMessagesResponse) { + m := &ItemTeamworkGetAllTargetedMessagesResponse{ + ItemTeamworkGetAllTargetedMessagesGetResponse: *NewItemTeamworkGetAllTargetedMessagesGetResponse(), + } + return m +} +// CreateItemTeamworkGetAllTargetedMessagesResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateItemTeamworkGetAllTargetedMessagesResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewItemTeamworkGetAllTargetedMessagesResponse(), nil +} +// Deprecated: This class is obsolete. Use ItemTeamworkGetAllTargetedMessagesGetResponseable instead. +type ItemTeamworkGetAllTargetedMessagesResponseable interface { + ItemTeamworkGetAllTargetedMessagesGetResponseable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +} diff --git a/users/item_teamwork_request_builder.go b/users/item_teamwork_request_builder.go index 79b661ac13..f0363eab93 100644 --- a/users/item_teamwork_request_builder.go +++ b/users/item_teamwork_request_builder.go @@ -78,6 +78,11 @@ func (m *ItemTeamworkRequestBuilder) Delete(ctx context.Context, requestConfigur } return nil } +// DeleteTargetedMessage provides operations to call the deleteTargetedMessage method. +// returns a *ItemTeamworkDeleteTargetedMessageRequestBuilder when successful +func (m *ItemTeamworkRequestBuilder) DeleteTargetedMessage()(*ItemTeamworkDeleteTargetedMessageRequestBuilder) { + return NewItemTeamworkDeleteTargetedMessageRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} // Get get the userTeamwork settings for a specified user, which includes the Microsoft Teams region and the locale chosen by the user. // returns a UserTeamworkable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code @@ -101,6 +106,16 @@ func (m *ItemTeamworkRequestBuilder) Get(ctx context.Context, requestConfigurati } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.UserTeamworkable), nil } +// GetAllRetainedTargetedMessages provides operations to call the getAllRetainedTargetedMessages method. +// returns a *ItemTeamworkGetAllRetainedTargetedMessagesRequestBuilder when successful +func (m *ItemTeamworkRequestBuilder) GetAllRetainedTargetedMessages()(*ItemTeamworkGetAllRetainedTargetedMessagesRequestBuilder) { + return NewItemTeamworkGetAllRetainedTargetedMessagesRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// GetAllTargetedMessages provides operations to call the getAllTargetedMessages method. +// returns a *ItemTeamworkGetAllTargetedMessagesRequestBuilder when successful +func (m *ItemTeamworkRequestBuilder) GetAllTargetedMessages()(*ItemTeamworkGetAllTargetedMessagesRequestBuilder) { + return NewItemTeamworkGetAllTargetedMessagesRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} // InstalledApps provides operations to manage the installedApps property of the microsoft.graph.userTeamwork entity. // returns a *ItemTeamworkInstalledAppsRequestBuilder when successful func (m *ItemTeamworkRequestBuilder) InstalledApps()(*ItemTeamworkInstalledAppsRequestBuilder) {