1
0
Fork 0

Update deps

master
Brie Bruns 2022-06-21 13:50:01 -06:00
parent fbf2d2fef3
commit 75eed2affa
150 changed files with 1146 additions and 694 deletions

40
composer.lock generated
View File

@ -8,22 +8,22 @@
"packages": [ "packages": [
{ {
"name": "guzzlehttp/guzzle", "name": "guzzlehttp/guzzle",
"version": "7.4.4", "version": "7.4.5",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/guzzle/guzzle.git", "url": "https://github.com/guzzle/guzzle.git",
"reference": "e3ff079b22820c2029d4c2a87796b6a0b8716ad8" "reference": "1dd98b0564cb3f6bd16ce683cb755f94c10fbd82"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/guzzle/guzzle/zipball/e3ff079b22820c2029d4c2a87796b6a0b8716ad8", "url": "https://api.github.com/repos/guzzle/guzzle/zipball/1dd98b0564cb3f6bd16ce683cb755f94c10fbd82",
"reference": "e3ff079b22820c2029d4c2a87796b6a0b8716ad8", "reference": "1dd98b0564cb3f6bd16ce683cb755f94c10fbd82",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
"ext-json": "*", "ext-json": "*",
"guzzlehttp/promises": "^1.5", "guzzlehttp/promises": "^1.5",
"guzzlehttp/psr7": "^1.8.3 || ^2.1", "guzzlehttp/psr7": "^1.9 || ^2.4",
"php": "^7.2.5 || ^8.0", "php": "^7.2.5 || ^8.0",
"psr/http-client": "^1.0", "psr/http-client": "^1.0",
"symfony/deprecation-contracts": "^2.2 || ^3.0" "symfony/deprecation-contracts": "^2.2 || ^3.0"
@ -112,7 +112,7 @@
], ],
"support": { "support": {
"issues": "https://github.com/guzzle/guzzle/issues", "issues": "https://github.com/guzzle/guzzle/issues",
"source": "https://github.com/guzzle/guzzle/tree/7.4.4" "source": "https://github.com/guzzle/guzzle/tree/7.4.5"
}, },
"funding": [ "funding": [
{ {
@ -128,7 +128,7 @@
"type": "tidelift" "type": "tidelift"
} }
], ],
"time": "2022-06-09T21:39:15+00:00" "time": "2022-06-20T22:16:13+00:00"
}, },
{ {
"name": "guzzlehttp/promises", "name": "guzzlehttp/promises",
@ -216,16 +216,16 @@
}, },
{ {
"name": "guzzlehttp/psr7", "name": "guzzlehttp/psr7",
"version": "2.3.0", "version": "2.4.0",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/guzzle/psr7.git", "url": "https://github.com/guzzle/psr7.git",
"reference": "83260bb50b8fc753c72d14dc1621a2dac31877ee" "reference": "13388f00956b1503577598873fffb5ae994b5737"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/guzzle/psr7/zipball/83260bb50b8fc753c72d14dc1621a2dac31877ee", "url": "https://api.github.com/repos/guzzle/psr7/zipball/13388f00956b1503577598873fffb5ae994b5737",
"reference": "83260bb50b8fc753c72d14dc1621a2dac31877ee", "reference": "13388f00956b1503577598873fffb5ae994b5737",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@ -249,7 +249,7 @@
"type": "library", "type": "library",
"extra": { "extra": {
"branch-alias": { "branch-alias": {
"dev-master": "2.3-dev" "dev-master": "2.4-dev"
} }
}, },
"autoload": { "autoload": {
@ -311,7 +311,7 @@
], ],
"support": { "support": {
"issues": "https://github.com/guzzle/psr7/issues", "issues": "https://github.com/guzzle/psr7/issues",
"source": "https://github.com/guzzle/psr7/tree/2.3.0" "source": "https://github.com/guzzle/psr7/tree/2.4.0"
}, },
"funding": [ "funding": [
{ {
@ -327,20 +327,20 @@
"type": "tidelift" "type": "tidelift"
} }
], ],
"time": "2022-06-09T08:26:02+00:00" "time": "2022-06-20T21:43:11+00:00"
}, },
{ {
"name": "microsoft/microsoft-graph", "name": "microsoft/microsoft-graph",
"version": "1.68.0", "version": "1.70.0",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/microsoftgraph/msgraph-sdk-php.git", "url": "https://github.com/microsoftgraph/msgraph-sdk-php.git",
"reference": "26fe296fe3d2a3b3df3820de0e433a87ea41c265" "reference": "7d85293be037c4a2891a03cb953eb204bf68387e"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/microsoftgraph/msgraph-sdk-php/zipball/26fe296fe3d2a3b3df3820de0e433a87ea41c265", "url": "https://api.github.com/repos/microsoftgraph/msgraph-sdk-php/zipball/7d85293be037c4a2891a03cb953eb204bf68387e",
"reference": "26fe296fe3d2a3b3df3820de0e433a87ea41c265", "reference": "7d85293be037c4a2891a03cb953eb204bf68387e",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@ -376,9 +376,9 @@
"homepage": "https://developer.microsoft.com/en-us/graph", "homepage": "https://developer.microsoft.com/en-us/graph",
"support": { "support": {
"issues": "https://github.com/microsoftgraph/msgraph-sdk-php/issues", "issues": "https://github.com/microsoftgraph/msgraph-sdk-php/issues",
"source": "https://github.com/microsoftgraph/msgraph-sdk-php/tree/1.68.0" "source": "https://github.com/microsoftgraph/msgraph-sdk-php/tree/1.70.0"
}, },
"time": "2022-06-08T07:20:44+00:00" "time": "2022-06-21T13:37:02+00:00"
}, },
{ {
"name": "psr/http-client", "name": "psr/http-client",

View File

@ -2,23 +2,23 @@
"packages": [ "packages": [
{ {
"name": "guzzlehttp/guzzle", "name": "guzzlehttp/guzzle",
"version": "7.4.4", "version": "7.4.5",
"version_normalized": "7.4.4.0", "version_normalized": "7.4.5.0",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/guzzle/guzzle.git", "url": "https://github.com/guzzle/guzzle.git",
"reference": "e3ff079b22820c2029d4c2a87796b6a0b8716ad8" "reference": "1dd98b0564cb3f6bd16ce683cb755f94c10fbd82"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/guzzle/guzzle/zipball/e3ff079b22820c2029d4c2a87796b6a0b8716ad8", "url": "https://api.github.com/repos/guzzle/guzzle/zipball/1dd98b0564cb3f6bd16ce683cb755f94c10fbd82",
"reference": "e3ff079b22820c2029d4c2a87796b6a0b8716ad8", "reference": "1dd98b0564cb3f6bd16ce683cb755f94c10fbd82",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
"ext-json": "*", "ext-json": "*",
"guzzlehttp/promises": "^1.5", "guzzlehttp/promises": "^1.5",
"guzzlehttp/psr7": "^1.8.3 || ^2.1", "guzzlehttp/psr7": "^1.9 || ^2.4",
"php": "^7.2.5 || ^8.0", "php": "^7.2.5 || ^8.0",
"psr/http-client": "^1.0", "psr/http-client": "^1.0",
"symfony/deprecation-contracts": "^2.2 || ^3.0" "symfony/deprecation-contracts": "^2.2 || ^3.0"
@ -38,7 +38,7 @@
"ext-intl": "Required for Internationalized Domain Name (IDN) support", "ext-intl": "Required for Internationalized Domain Name (IDN) support",
"psr/log": "Required for using the Log middleware" "psr/log": "Required for using the Log middleware"
}, },
"time": "2022-06-09T21:39:15+00:00", "time": "2022-06-20T22:16:13+00:00",
"type": "library", "type": "library",
"extra": { "extra": {
"branch-alias": { "branch-alias": {
@ -109,7 +109,7 @@
], ],
"support": { "support": {
"issues": "https://github.com/guzzle/guzzle/issues", "issues": "https://github.com/guzzle/guzzle/issues",
"source": "https://github.com/guzzle/guzzle/tree/7.4.4" "source": "https://github.com/guzzle/guzzle/tree/7.4.5"
}, },
"funding": [ "funding": [
{ {
@ -216,17 +216,17 @@
}, },
{ {
"name": "guzzlehttp/psr7", "name": "guzzlehttp/psr7",
"version": "2.3.0", "version": "2.4.0",
"version_normalized": "2.3.0.0", "version_normalized": "2.4.0.0",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/guzzle/psr7.git", "url": "https://github.com/guzzle/psr7.git",
"reference": "83260bb50b8fc753c72d14dc1621a2dac31877ee" "reference": "13388f00956b1503577598873fffb5ae994b5737"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/guzzle/psr7/zipball/83260bb50b8fc753c72d14dc1621a2dac31877ee", "url": "https://api.github.com/repos/guzzle/psr7/zipball/13388f00956b1503577598873fffb5ae994b5737",
"reference": "83260bb50b8fc753c72d14dc1621a2dac31877ee", "reference": "13388f00956b1503577598873fffb5ae994b5737",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@ -247,11 +247,11 @@
"suggest": { "suggest": {
"laminas/laminas-httphandlerrunner": "Emit PSR-7 responses" "laminas/laminas-httphandlerrunner": "Emit PSR-7 responses"
}, },
"time": "2022-06-09T08:26:02+00:00", "time": "2022-06-20T21:43:11+00:00",
"type": "library", "type": "library",
"extra": { "extra": {
"branch-alias": { "branch-alias": {
"dev-master": "2.3-dev" "dev-master": "2.4-dev"
} }
}, },
"installation-source": "dist", "installation-source": "dist",
@ -314,7 +314,7 @@
], ],
"support": { "support": {
"issues": "https://github.com/guzzle/psr7/issues", "issues": "https://github.com/guzzle/psr7/issues",
"source": "https://github.com/guzzle/psr7/tree/2.3.0" "source": "https://github.com/guzzle/psr7/tree/2.4.0"
}, },
"funding": [ "funding": [
{ {
@ -334,17 +334,17 @@
}, },
{ {
"name": "microsoft/microsoft-graph", "name": "microsoft/microsoft-graph",
"version": "1.68.0", "version": "1.70.0",
"version_normalized": "1.68.0.0", "version_normalized": "1.70.0.0",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/microsoftgraph/msgraph-sdk-php.git", "url": "https://github.com/microsoftgraph/msgraph-sdk-php.git",
"reference": "26fe296fe3d2a3b3df3820de0e433a87ea41c265" "reference": "7d85293be037c4a2891a03cb953eb204bf68387e"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/microsoftgraph/msgraph-sdk-php/zipball/26fe296fe3d2a3b3df3820de0e433a87ea41c265", "url": "https://api.github.com/repos/microsoftgraph/msgraph-sdk-php/zipball/7d85293be037c4a2891a03cb953eb204bf68387e",
"reference": "26fe296fe3d2a3b3df3820de0e433a87ea41c265", "reference": "7d85293be037c4a2891a03cb953eb204bf68387e",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@ -358,7 +358,7 @@
"phpstan/phpstan": "^0.12.90 || ^1.0.0", "phpstan/phpstan": "^0.12.90 || ^1.0.0",
"phpunit/phpunit": "^8.0 || ^9.0" "phpunit/phpunit": "^8.0 || ^9.0"
}, },
"time": "2022-06-08T07:20:44+00:00", "time": "2022-06-21T13:37:02+00:00",
"type": "library", "type": "library",
"installation-source": "dist", "installation-source": "dist",
"autoload": { "autoload": {
@ -382,7 +382,7 @@
"homepage": "https://developer.microsoft.com/en-us/graph", "homepage": "https://developer.microsoft.com/en-us/graph",
"support": { "support": {
"issues": "https://github.com/microsoftgraph/msgraph-sdk-php/issues", "issues": "https://github.com/microsoftgraph/msgraph-sdk-php/issues",
"source": "https://github.com/microsoftgraph/msgraph-sdk-php/tree/1.68.0" "source": "https://github.com/microsoftgraph/msgraph-sdk-php/tree/1.70.0"
}, },
"install-path": "../microsoft/microsoft-graph" "install-path": "../microsoft/microsoft-graph"
}, },

View File

@ -5,7 +5,7 @@
'type' => 'library', 'type' => 'library',
'install_path' => __DIR__ . '/../../', 'install_path' => __DIR__ . '/../../',
'aliases' => array(), 'aliases' => array(),
'reference' => '00e10e837dcdd1597f7388be3a10f0a76fde35cd', 'reference' => 'fbf2d2fef3cb884ff5bd4569fd096d7582e3d8e3',
'name' => '__root__', 'name' => '__root__',
'dev' => true, 'dev' => true,
), ),
@ -16,16 +16,16 @@
'type' => 'library', 'type' => 'library',
'install_path' => __DIR__ . '/../../', 'install_path' => __DIR__ . '/../../',
'aliases' => array(), 'aliases' => array(),
'reference' => '00e10e837dcdd1597f7388be3a10f0a76fde35cd', 'reference' => 'fbf2d2fef3cb884ff5bd4569fd096d7582e3d8e3',
'dev_requirement' => false, 'dev_requirement' => false,
), ),
'guzzlehttp/guzzle' => array( 'guzzlehttp/guzzle' => array(
'pretty_version' => '7.4.4', 'pretty_version' => '7.4.5',
'version' => '7.4.4.0', 'version' => '7.4.5.0',
'type' => 'library', 'type' => 'library',
'install_path' => __DIR__ . '/../guzzlehttp/guzzle', 'install_path' => __DIR__ . '/../guzzlehttp/guzzle',
'aliases' => array(), 'aliases' => array(),
'reference' => 'e3ff079b22820c2029d4c2a87796b6a0b8716ad8', 'reference' => '1dd98b0564cb3f6bd16ce683cb755f94c10fbd82',
'dev_requirement' => false, 'dev_requirement' => false,
), ),
'guzzlehttp/promises' => array( 'guzzlehttp/promises' => array(
@ -38,21 +38,21 @@
'dev_requirement' => false, 'dev_requirement' => false,
), ),
'guzzlehttp/psr7' => array( 'guzzlehttp/psr7' => array(
'pretty_version' => '2.3.0', 'pretty_version' => '2.4.0',
'version' => '2.3.0.0', 'version' => '2.4.0.0',
'type' => 'library', 'type' => 'library',
'install_path' => __DIR__ . '/../guzzlehttp/psr7', 'install_path' => __DIR__ . '/../guzzlehttp/psr7',
'aliases' => array(), 'aliases' => array(),
'reference' => '83260bb50b8fc753c72d14dc1621a2dac31877ee', 'reference' => '13388f00956b1503577598873fffb5ae994b5737',
'dev_requirement' => false, 'dev_requirement' => false,
), ),
'microsoft/microsoft-graph' => array( 'microsoft/microsoft-graph' => array(
'pretty_version' => '1.68.0', 'pretty_version' => '1.70.0',
'version' => '1.68.0.0', 'version' => '1.70.0.0',
'type' => 'library', 'type' => 'library',
'install_path' => __DIR__ . '/../microsoft/microsoft-graph', 'install_path' => __DIR__ . '/../microsoft/microsoft-graph',
'aliases' => array(), 'aliases' => array(),
'reference' => '26fe296fe3d2a3b3df3820de0e433a87ea41c265', 'reference' => '7d85293be037c4a2891a03cb953eb204bf68387e',
'dev_requirement' => false, 'dev_requirement' => false,
), ),
'psr/http-client' => array( 'psr/http-client' => array(

View File

@ -2,6 +2,11 @@
Please refer to [UPGRADING](UPGRADING.md) guide for upgrading to a major version. Please refer to [UPGRADING](UPGRADING.md) guide for upgrading to a major version.
## 7.4.5 - 2022-06-20
* Fix change in port should be considered a change in origin
* Fix `CURLOPT_HTTPAUTH` option not cleared on change of origin
## 7.4.4 - 2022-06-09 ## 7.4.4 - 2022-06-09
* Fix failure to strip Authorization header on HTTP downgrade * Fix failure to strip Authorization header on HTTP downgrade

View File

@ -44,7 +44,7 @@ We use GitHub issues only to discuss bugs and new features. For support please r
- [Documentation](https://docs.guzzlephp.org) - [Documentation](https://docs.guzzlephp.org)
- [Stack Overflow](https://stackoverflow.com/questions/tagged/guzzle) - [Stack Overflow](https://stackoverflow.com/questions/tagged/guzzle)
- [#guzzle](https://app.slack.com/client/T0D2S9JCT/CE6UAAKL4) channel on [PHP-HTTP Slack](http://slack.httplug.io/) - [#guzzle](https://app.slack.com/client/T0D2S9JCT/CE6UAAKL4) channel on [PHP-HTTP Slack](https://slack.httplug.io/)
- [Gitter](https://gitter.im/guzzle/guzzle) - [Gitter](https://gitter.im/guzzle/guzzle)
@ -73,10 +73,10 @@ composer require guzzlehttp/guzzle
[guzzle-5-repo]: https://github.com/guzzle/guzzle/tree/5.3 [guzzle-5-repo]: https://github.com/guzzle/guzzle/tree/5.3
[guzzle-6-repo]: https://github.com/guzzle/guzzle/tree/6.5 [guzzle-6-repo]: https://github.com/guzzle/guzzle/tree/6.5
[guzzle-7-repo]: https://github.com/guzzle/guzzle [guzzle-7-repo]: https://github.com/guzzle/guzzle
[guzzle-3-docs]: http://guzzle3.readthedocs.org [guzzle-3-docs]: https://guzzle3.readthedocs.io/
[guzzle-5-docs]: http://docs.guzzlephp.org/en/5.3/ [guzzle-5-docs]: https://docs.guzzlephp.org/en/5.3/
[guzzle-6-docs]: http://docs.guzzlephp.org/en/6.5/ [guzzle-6-docs]: https://docs.guzzlephp.org/en/6.5/
[guzzle-7-docs]: http://docs.guzzlephp.org/en/latest/ [guzzle-7-docs]: https://docs.guzzlephp.org/en/latest/
## Security ## Security

View File

@ -54,7 +54,7 @@
"php": "^7.2.5 || ^8.0", "php": "^7.2.5 || ^8.0",
"ext-json": "*", "ext-json": "*",
"guzzlehttp/promises": "^1.5", "guzzlehttp/promises": "^1.5",
"guzzlehttp/psr7": "^1.8.3 || ^2.1", "guzzlehttp/psr7": "^1.9 || ^2.4",
"psr/http-client": "^1.0", "psr/http-client": "^1.0",
"symfony/deprecation-contracts": "^2.2 || ^3.0" "symfony/deprecation-contracts": "^2.2 || ^3.0"
}, },

View File

@ -88,10 +88,8 @@ class RedirectMiddleware
$this->guardMax($request, $response, $options); $this->guardMax($request, $response, $options);
$nextRequest = $this->modifyRequest($request, $options, $response); $nextRequest = $this->modifyRequest($request, $options, $response);
// If authorization is handled by curl, unset it if host is different. // If authorization is handled by curl, unset it if URI is cross-origin.
if ($request->getUri()->getHost() !== $nextRequest->getUri()->getHost() if (Psr7\UriComparator::isCrossOrigin($request->getUri(), $nextRequest->getUri()) && defined('\CURLOPT_HTTPAUTH')) {
&& defined('\CURLOPT_HTTPAUTH')
) {
unset( unset(
$options['curl'][\CURLOPT_HTTPAUTH], $options['curl'][\CURLOPT_HTTPAUTH],
$options['curl'][\CURLOPT_USERPWD] $options['curl'][\CURLOPT_USERPWD]
@ -198,8 +196,8 @@ class RedirectMiddleware
$modify['remove_headers'][] = 'Referer'; $modify['remove_headers'][] = 'Referer';
} }
// Remove Authorization and Cookie headers if required. // Remove Authorization and Cookie headers if URI is cross-origin.
if (self::shouldStripSensitiveHeaders($request->getUri(), $modify['uri'])) { if (Psr7\UriComparator::isCrossOrigin($request->getUri(), $modify['uri'])) {
$modify['remove_headers'][] = 'Authorization'; $modify['remove_headers'][] = 'Authorization';
$modify['remove_headers'][] = 'Cookie'; $modify['remove_headers'][] = 'Cookie';
} }
@ -207,29 +205,6 @@ class RedirectMiddleware
return Psr7\Utils::modifyRequest($request, $modify); return Psr7\Utils::modifyRequest($request, $modify);
} }
/**
* Determine if we should strip sensitive headers from the request.
*
* We return true if either of the following conditions are true:
*
* 1. the host is different;
* 2. the scheme has changed, and now is non-https.
*/
private static function shouldStripSensitiveHeaders(
UriInterface $originalUri,
UriInterface $modifiedUri
): bool {
if (\strcasecmp($originalUri->getHost(), $modifiedUri->getHost()) !== 0) {
return true;
}
if ($originalUri->getScheme() !== $modifiedUri->getScheme() && 'https' !== $modifiedUri->getScheme()) {
return true;
}
return false;
}
/** /**
* Set the appropriate URL on the request based on the location header. * Set the appropriate URL on the request based on the location header.
*/ */

View File

@ -7,20 +7,27 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## Unreleased ## Unreleased
## 2.4.0 - 2022-06-20
### Added
- Added provisional PHP 8.2 support
- Added `UriComparator::isCrossOrigin` method
## 2.3.0 - 2022-06-09 ## 2.3.0 - 2022-06-09
### Fixed ### Fixed
- Added `Header::splitList()` - Added `Header::splitList` method
- Added `Utils::tryGetContents` - Added `Utils::tryGetContents` method
- Improved `Stream::getContents()` - Improved `Stream::getContents` method
- Updated mimetype mappings - Updated mimetype mappings
## 2.2.2 - 2022-06-08 ## 2.2.2 - 2022-06-08
### Fixed ### Fixed
- Fix `Message::parseRequestUri()` for numeric headers - Fix `Message::parseRequestUri` for numeric headers
- Re-wrap exceptions thrown in `fread` into runtime exceptions - Re-wrap exceptions thrown in `fread` into runtime exceptions
- Throw an exception when multipart options is misformatted - Throw an exception when multipart options is misformatted

View File

@ -1,6 +1,6 @@
# PSR-7 Message Implementation # PSR-7 Message Implementation
This repository contains a full [PSR-7](http://www.php-fig.org/psr/psr-7/) This repository contains a full [PSR-7](https://www.php-fig.org/psr/psr-7/)
message implementation, several stream decorators, and some helpful message implementation, several stream decorators, and some helpful
functionality like query string parsing. functionality like query string parsing.
@ -669,7 +669,7 @@ manually but instead is used indirectly via `Psr\Http\Message\UriInterface::__to
`public static function fromParts(array $parts): UriInterface` `public static function fromParts(array $parts): UriInterface`
Creates a URI from a hash of [`parse_url`](http://php.net/manual/en/function.parse-url.php) components. Creates a URI from a hash of [`parse_url`](https://www.php.net/manual/en/function.parse-url.php) components.
### `GuzzleHttp\Psr7\Uri::withQueryValue` ### `GuzzleHttp\Psr7\Uri::withQueryValue`
@ -694,6 +694,16 @@ associative array of key => value.
Creates a new URI with a specific query string value removed. Any existing query string values that exactly match the Creates a new URI with a specific query string value removed. Any existing query string values that exactly match the
provided key are removed. provided key are removed.
## Cross-Origin Detection
`GuzzleHttp\Psr7\UriComparator` provides methods to determine if a modified URL should be considered cross-origin.
### `GuzzleHttp\Psr7\UriComparator::isCrossOrigin`
`public static function isCrossOrigin(UriInterface $original, UriInterface $modified): bool`
Determines if a modified URL should be considered cross-origin with respect to an original URL.
## Reference Resolution ## Reference Resolution
`GuzzleHttp\Psr7\UriResolver` provides methods to resolve a URI reference in the context of a base URI according `GuzzleHttp\Psr7\UriResolver` provides methods to resolve a URI reference in the context of a base URI according
@ -818,21 +828,25 @@ Whether two URIs can be considered equivalent. Both URIs are normalized automati
This of course assumes they will be resolved against the same base URI. If this is not the case, determination of This of course assumes they will be resolved against the same base URI. If this is not the case, determination of
equivalence or difference of relative references does not mean anything. equivalence or difference of relative references does not mean anything.
## Version Guidance ## Version Guidance
| Version | Status | PHP Version | | Version | Status | PHP Version |
|---------|----------------|------------------| |---------|----------------|------------------|
| 1.x | Security fixes | >= 5.4, < 8.2 | | 1.x | Security fixes | >=5.4,<8.1 |
| 2.x | Latest | ^7.2.5 \|\| ^8.0 | | 2.x | Latest | ^7.2.5 \|\| ^8.0 |
## Security ## Security
If you discover a security vulnerability within this package, please send an email to security@tidelift.com. All security vulnerabilities will be promptly addressed. Please do not disclose security-related issues publicly until a fix has been announced. Please see [Security Policy](https://github.com/guzzle/psr7/security/policy) for more information. If you discover a security vulnerability within this package, please send an email to security@tidelift.com. All security vulnerabilities will be promptly addressed. Please do not disclose security-related issues publicly until a fix has been announced. Please see [Security Policy](https://github.com/guzzle/psr7/security/policy) for more information.
## License ## License
Guzzle is made available under the MIT License (MIT). Please see [License File](LICENSE) for more information. Guzzle is made available under the MIT License (MIT). Please see [License File](LICENSE) for more information.
## For Enterprise ## For Enterprise
Available as part of the Tidelift Subscription Available as part of the Tidelift Subscription

View File

@ -79,7 +79,7 @@
}, },
"extra": { "extra": {
"branch-alias": { "branch-alias": {
"dev-master": "2.3-dev" "dev-master": "2.4-dev"
} }
}, },
"config": { "config": {

View File

@ -20,6 +20,11 @@ final class CachingStream implements StreamInterface
/** @var int Number of bytes to skip reading due to a write on the buffer */ /** @var int Number of bytes to skip reading due to a write on the buffer */
private $skipReadBytes = 0; private $skipReadBytes = 0;
/**
* @var StreamInterface
*/
private $stream;
/** /**
* We will treat the buffer object as the body of the stream * We will treat the buffer object as the body of the stream
* *

View File

@ -17,6 +17,9 @@ final class DroppingStream implements StreamInterface
/** @var int */ /** @var int */
private $maxLength; private $maxLength;
/** @var StreamInterface */
private $stream;
/** /**
* @param StreamInterface $stream Underlying stream to decorate. * @param StreamInterface $stream Underlying stream to decorate.
* @param int $maxLength Maximum size before dropping data. * @param int $maxLength Maximum size before dropping data.

View File

@ -12,6 +12,7 @@ use Psr\Http\Message\StreamInterface;
* Allows for easy testing and extension of a provided stream without needing * Allows for easy testing and extension of a provided stream without needing
* to create a concrete class for a simple extension point. * to create a concrete class for a simple extension point.
*/ */
#[\AllowDynamicProperties]
final class FnStream implements StreamInterface final class FnStream implements StreamInterface
{ {
private const SLOTS = [ private const SLOTS = [

View File

@ -21,6 +21,9 @@ final class InflateStream implements StreamInterface
{ {
use StreamDecoratorTrait; use StreamDecoratorTrait;
/** @var StreamInterface */
private $stream;
public function __construct(StreamInterface $stream) public function __construct(StreamInterface $stream)
{ {
$resource = StreamWrapper::getResource($stream); $resource = StreamWrapper::getResource($stream);

View File

@ -10,6 +10,7 @@ use Psr\Http\Message\StreamInterface;
* Lazily reads or writes to a file that is opened only after an IO operation * Lazily reads or writes to a file that is opened only after an IO operation
* take place on the stream. * take place on the stream.
*/ */
#[\AllowDynamicProperties]
final class LazyOpenStream implements StreamInterface final class LazyOpenStream implements StreamInterface
{ {
use StreamDecoratorTrait; use StreamDecoratorTrait;

View File

@ -19,6 +19,9 @@ final class LimitStream implements StreamInterface
/** @var int Limit the number of bytes that can be read */ /** @var int Limit the number of bytes that can be read */
private $limit; private $limit;
/** @var StreamInterface */
private $stream;
/** /**
* @param StreamInterface $stream Stream to wrap * @param StreamInterface $stream Stream to wrap
* @param int $limit Total number of bytes to allow to be read * @param int $limit Total number of bytes to allow to be read

View File

@ -17,6 +17,9 @@ final class MultipartStream implements StreamInterface
/** @var string */ /** @var string */
private $boundary; private $boundary;
/** @var StreamInterface */
private $stream;
/** /**
* @param array $elements Array of associative arrays, each containing a * @param array $elements Array of associative arrays, each containing a
* required "name" key mapping to the form field, * required "name" key mapping to the form field,

View File

@ -13,6 +13,9 @@ final class NoSeekStream implements StreamInterface
{ {
use StreamDecoratorTrait; use StreamDecoratorTrait;
/** @var StreamInterface */
private $stream;
public function seek($offset, $whence = SEEK_SET): void public function seek($offset, $whence = SEEK_SET): void
{ {
throw new \RuntimeException('Cannot seek a NoSeekStream'); throw new \RuntimeException('Cannot seek a NoSeekStream');

View File

@ -11,7 +11,7 @@ You can install the PHP SDK with Composer, either run `composer require microsof
``` ```
{ {
"require": { "require": {
"microsoft/microsoft-graph": "^1.68.0" "microsoft/microsoft-graph": "^1.70.0"
} }
} }
``` ```

View File

@ -122,7 +122,6 @@ class ReviewSet extends \Beta\Microsoft\Graph\Model\Entity
/** /**
* Gets the queries * Gets the queries
* Read-only. Nullable.
* *
* @return array|null The queries * @return array|null The queries
*/ */
@ -137,7 +136,6 @@ class ReviewSet extends \Beta\Microsoft\Graph\Model\Entity
/** /**
* Sets the queries * Sets the queries
* Read-only. Nullable.
* *
* @param ReviewSetQuery[] $val The queries * @param ReviewSetQuery[] $val The queries
* *

View File

@ -115,7 +115,8 @@ class External implements \JsonSerializable
* *
* @return array The list of properties * @return array The list of properties
*/ */
public function jsonSerialize(): array #[\ReturnTypeWillChange]
public function jsonSerialize()
{ {
$serializableProperties = $this->getProperties(); $serializableProperties = $this->getProperties();
foreach ($serializableProperties as $property => $val) { foreach ($serializableProperties as $property => $val) {

View File

@ -242,7 +242,6 @@ class ExternalConnection extends \Beta\Microsoft\Graph\Model\Entity
/** /**
* Gets the groups * Gets the groups
* Read-only. Nullable.
* *
* @return array|null The groups * @return array|null The groups
*/ */
@ -257,7 +256,6 @@ class ExternalConnection extends \Beta\Microsoft\Graph\Model\Entity
/** /**
* Sets the groups * Sets the groups
* Read-only. Nullable.
* *
* @param ExternalGroup[] $val The groups * @param ExternalGroup[] $val The groups
* *
@ -272,7 +270,6 @@ class ExternalConnection extends \Beta\Microsoft\Graph\Model\Entity
/** /**
* Gets the items * Gets the items
* Read-only. Nullable.
* *
* @return array|null The items * @return array|null The items
*/ */
@ -287,7 +284,6 @@ class ExternalConnection extends \Beta\Microsoft\Graph\Model\Entity
/** /**
* Sets the items * Sets the items
* Read-only. Nullable.
* *
* @param ExternalItem[] $val The items * @param ExternalItem[] $val The items
* *
@ -302,7 +298,6 @@ class ExternalConnection extends \Beta\Microsoft\Graph\Model\Entity
/** /**
* Gets the operations * Gets the operations
* Read-only. Nullable.
* *
* @return array|null The operations * @return array|null The operations
*/ */
@ -317,7 +312,6 @@ class ExternalConnection extends \Beta\Microsoft\Graph\Model\Entity
/** /**
* Sets the operations * Sets the operations
* Read-only. Nullable.
* *
* @param ConnectionOperation[] $val The operations * @param ConnectionOperation[] $val The operations
* *
@ -331,7 +325,6 @@ class ExternalConnection extends \Beta\Microsoft\Graph\Model\Entity
/** /**
* Gets the quota * Gets the quota
* Read-only. Nullable.
* *
* @return ConnectionQuota|null The quota * @return ConnectionQuota|null The quota
*/ */
@ -350,7 +343,6 @@ class ExternalConnection extends \Beta\Microsoft\Graph\Model\Entity
/** /**
* Sets the quota * Sets the quota
* Read-only. Nullable.
* *
* @param ConnectionQuota $val The quota * @param ConnectionQuota $val The quota
* *
@ -364,7 +356,6 @@ class ExternalConnection extends \Beta\Microsoft\Graph\Model\Entity
/** /**
* Gets the schema * Gets the schema
* Read-only. Nullable.
* *
* @return Schema|null The schema * @return Schema|null The schema
*/ */
@ -383,7 +374,6 @@ class ExternalConnection extends \Beta\Microsoft\Graph\Model\Entity
/** /**
* Sets the schema * Sets the schema
* Read-only. Nullable.
* *
* @param Schema $val The schema * @param Schema $val The schema
* *

View File

@ -531,6 +531,7 @@ class ManagedTenant extends \Beta\Microsoft\Graph\Model\Entity
/** /**
* Gets the myRoles * Gets the myRoles
* The collection of role assignments to a signed-in user for a managed tenant.
* *
* @return array|null The myRoles * @return array|null The myRoles
*/ */
@ -545,6 +546,7 @@ class ManagedTenant extends \Beta\Microsoft\Graph\Model\Entity
/** /**
* Sets the myRoles * Sets the myRoles
* The collection of role assignments to a signed-in user for a managed tenant.
* *
* @param MyRole[] $val The myRoles * @param MyRole[] $val The myRoles
* *

View File

@ -58,6 +58,7 @@ class MyRole implements \JsonSerializable
/** /**
* Gets the assignments * Gets the assignments
* A collection of role assignments for the managed tenant.
* *
* @return array|null The assignments * @return array|null The assignments
*/ */
@ -72,6 +73,7 @@ class MyRole implements \JsonSerializable
/** /**
* Sets the assignments * Sets the assignments
* A collection of role assignments for the managed tenant.
* *
* @param RoleAssignment[] $val The assignments * @param RoleAssignment[] $val The assignments
* *
@ -85,6 +87,7 @@ class MyRole implements \JsonSerializable
/** /**
* Gets the tenantId * Gets the tenantId
* The Azure Active Directory tenant identifier for the managed tenant. Optional. Read-only.
* *
* @return string|null The tenantId * @return string|null The tenantId
*/ */
@ -99,6 +102,7 @@ class MyRole implements \JsonSerializable
/** /**
* Sets the tenantId * Sets the tenantId
* The Azure Active Directory tenant identifier for the managed tenant. Optional. Read-only.
* *
* @param string $val The tenantId * @param string $val The tenantId
* *
@ -142,7 +146,8 @@ class MyRole implements \JsonSerializable
* *
* @return array The list of properties * @return array The list of properties
*/ */
public function jsonSerialize(): array #[\ReturnTypeWillChange]
public function jsonSerialize()
{ {
$serializableProperties = $this->getProperties(); $serializableProperties = $this->getProperties();
foreach ($serializableProperties as $property => $val) { foreach ($serializableProperties as $property => $val) {

View File

@ -26,6 +26,7 @@ class RoleAssignment extends \Beta\Microsoft\Graph\Model\Entity
/** /**
* Gets the assignmentType * Gets the assignmentType
* The type of the admin relationship(s) associated with the role assignment. Possible values are: none, delegatedAdminPrivileges, unknownFutureValue, granularDelegatedAdminPrivileges, delegatedAndGranularDelegetedAdminPrivileges. Note that you must use the Prefer: include-unknown-enum-members request header to get the following values from this evolvable enum: granularDelegatedAdminPrivileges , delegatedAndGranularDelegetedAdminPrivileges.
* *
* @return DelegatedPrivilegeStatus|null The assignmentType * @return DelegatedPrivilegeStatus|null The assignmentType
*/ */
@ -44,6 +45,7 @@ class RoleAssignment extends \Beta\Microsoft\Graph\Model\Entity
/** /**
* Sets the assignmentType * Sets the assignmentType
* The type of the admin relationship(s) associated with the role assignment. Possible values are: none, delegatedAdminPrivileges, unknownFutureValue, granularDelegatedAdminPrivileges, delegatedAndGranularDelegetedAdminPrivileges. Note that you must use the Prefer: include-unknown-enum-members request header to get the following values from this evolvable enum: granularDelegatedAdminPrivileges , delegatedAndGranularDelegetedAdminPrivileges.
* *
* @param DelegatedPrivilegeStatus $val The value to assign to the assignmentType * @param DelegatedPrivilegeStatus $val The value to assign to the assignmentType
* *
@ -57,6 +59,7 @@ class RoleAssignment extends \Beta\Microsoft\Graph\Model\Entity
/** /**
* Gets the roles * Gets the roles
* The collection of roles assigned.
* *
* @return RoleDefinition|null The roles * @return RoleDefinition|null The roles
*/ */
@ -75,6 +78,7 @@ class RoleAssignment extends \Beta\Microsoft\Graph\Model\Entity
/** /**
* Sets the roles * Sets the roles
* The collection of roles assigned.
* *
* @param RoleDefinition $val The value to assign to the roles * @param RoleDefinition $val The value to assign to the roles
* *

View File

@ -25,6 +25,7 @@ class RoleDefinition extends \Beta\Microsoft\Graph\Model\Entity
{ {
/** /**
* Gets the description * Gets the description
* The description for the role.
* *
* @return string|null The description * @return string|null The description
*/ */
@ -39,6 +40,7 @@ class RoleDefinition extends \Beta\Microsoft\Graph\Model\Entity
/** /**
* Sets the description * Sets the description
* The description for the role.
* *
* @param string $val The value of the description * @param string $val The value of the description
* *
@ -51,6 +53,7 @@ class RoleDefinition extends \Beta\Microsoft\Graph\Model\Entity
} }
/** /**
* Gets the displayName * Gets the displayName
* The display name for the role assignment.
* *
* @return string|null The displayName * @return string|null The displayName
*/ */
@ -65,6 +68,7 @@ class RoleDefinition extends \Beta\Microsoft\Graph\Model\Entity
/** /**
* Sets the displayName * Sets the displayName
* The display name for the role assignment.
* *
* @param string $val The value of the displayName * @param string $val The value of the displayName
* *
@ -77,6 +81,7 @@ class RoleDefinition extends \Beta\Microsoft\Graph\Model\Entity
} }
/** /**
* Gets the templateId * Gets the templateId
* The unique identifier for the template.
* *
* @return string|null The templateId * @return string|null The templateId
*/ */
@ -91,6 +96,7 @@ class RoleDefinition extends \Beta\Microsoft\Graph\Model\Entity
/** /**
* Sets the templateId * Sets the templateId
* The unique identifier for the template.
* *
* @param string $val The value of the templateId * @param string $val The value of the templateId
* *

View File

@ -325,7 +325,6 @@ class AccessPackage extends Entity
/** /**
* Gets the accessPackageCatalog * Gets the accessPackageCatalog
* Read-only. Nullable.
* *
* @return AccessPackageCatalog|null The accessPackageCatalog * @return AccessPackageCatalog|null The accessPackageCatalog
*/ */
@ -344,7 +343,6 @@ class AccessPackage extends Entity
/** /**
* Sets the accessPackageCatalog * Sets the accessPackageCatalog
* Read-only. Nullable.
* *
* @param AccessPackageCatalog $val The accessPackageCatalog * @param AccessPackageCatalog $val The accessPackageCatalog
* *
@ -359,7 +357,6 @@ class AccessPackage extends Entity
/** /**
* Gets the accessPackageResourceRoleScopes * Gets the accessPackageResourceRoleScopes
* Nullable.
* *
* @return array|null The accessPackageResourceRoleScopes * @return array|null The accessPackageResourceRoleScopes
*/ */
@ -374,7 +371,6 @@ class AccessPackage extends Entity
/** /**
* Sets the accessPackageResourceRoleScopes * Sets the accessPackageResourceRoleScopes
* Nullable.
* *
* @param AccessPackageResourceRoleScope[] $val The accessPackageResourceRoleScopes * @param AccessPackageResourceRoleScope[] $val The accessPackageResourceRoleScopes
* *

View File

@ -117,7 +117,6 @@ class AccessPackageAssignmentPolicy extends Entity
/** /**
* Gets the createdBy * Gets the createdBy
* Read-only.
* *
* @return string|null The createdBy * @return string|null The createdBy
*/ */
@ -132,7 +131,6 @@ class AccessPackageAssignmentPolicy extends Entity
/** /**
* Sets the createdBy * Sets the createdBy
* Read-only.
* *
* @param string $val The createdBy * @param string $val The createdBy
* *
@ -299,7 +297,6 @@ class AccessPackageAssignmentPolicy extends Entity
/** /**
* Gets the modifiedBy * Gets the modifiedBy
* Read-only.
* *
* @return string|null The modifiedBy * @return string|null The modifiedBy
*/ */
@ -314,7 +311,6 @@ class AccessPackageAssignmentPolicy extends Entity
/** /**
* Sets the modifiedBy * Sets the modifiedBy
* Read-only.
* *
* @param string $val The modifiedBy * @param string $val The modifiedBy
* *

View File

@ -143,7 +143,6 @@ class AccessPackageAssignmentResourceRole extends Entity
/** /**
* Gets the accessPackageResourceRole * Gets the accessPackageResourceRole
* Read-only. Nullable.
* *
* @return AccessPackageResourceRole|null The accessPackageResourceRole * @return AccessPackageResourceRole|null The accessPackageResourceRole
*/ */
@ -162,7 +161,6 @@ class AccessPackageAssignmentResourceRole extends Entity
/** /**
* Sets the accessPackageResourceRole * Sets the accessPackageResourceRole
* Read-only. Nullable.
* *
* @param AccessPackageResourceRole $val The accessPackageResourceRole * @param AccessPackageResourceRole $val The accessPackageResourceRole
* *
@ -176,7 +174,6 @@ class AccessPackageAssignmentResourceRole extends Entity
/** /**
* Gets the accessPackageResourceScope * Gets the accessPackageResourceScope
* Read-only. Nullable.
* *
* @return AccessPackageResourceScope|null The accessPackageResourceScope * @return AccessPackageResourceScope|null The accessPackageResourceScope
*/ */
@ -195,7 +192,6 @@ class AccessPackageAssignmentResourceRole extends Entity
/** /**
* Sets the accessPackageResourceScope * Sets the accessPackageResourceScope
* Read-only. Nullable.
* *
* @param AccessPackageResourceScope $val The accessPackageResourceScope * @param AccessPackageResourceScope $val The accessPackageResourceScope
* *

View File

@ -326,7 +326,6 @@ class AccessPackageCatalog extends Entity
/** /**
* Gets the accessPackageResources * Gets the accessPackageResources
* Read-only. Nullable.
* *
* @return array|null The accessPackageResources * @return array|null The accessPackageResources
*/ */
@ -341,7 +340,6 @@ class AccessPackageCatalog extends Entity
/** /**
* Sets the accessPackageResources * Sets the accessPackageResources
* Read-only. Nullable.
* *
* @param AccessPackageResource[] $val The accessPackageResources * @param AccessPackageResource[] $val The accessPackageResources
* *
@ -356,7 +354,6 @@ class AccessPackageCatalog extends Entity
/** /**
* Gets the accessPackageResourceScopes * Gets the accessPackageResourceScopes
* Read-only.
* *
* @return array|null The accessPackageResourceScopes * @return array|null The accessPackageResourceScopes
*/ */
@ -371,7 +368,6 @@ class AccessPackageCatalog extends Entity
/** /**
* Sets the accessPackageResourceScopes * Sets the accessPackageResourceScopes
* Read-only.
* *
* @param AccessPackageResourceScope[] $val The accessPackageResourceScopes * @param AccessPackageResourceScope[] $val The accessPackageResourceScopes
* *

View File

@ -202,7 +202,6 @@ class AccessPackageResourceRequest extends Entity
/** /**
* Gets the requestStatus * Gets the requestStatus
* Read-only.
* *
* @return string|null The requestStatus * @return string|null The requestStatus
*/ */
@ -217,7 +216,6 @@ class AccessPackageResourceRequest extends Entity
/** /**
* Sets the requestStatus * Sets the requestStatus
* Read-only.
* *
* @param string $val The requestStatus * @param string $val The requestStatus
* *
@ -260,7 +258,6 @@ class AccessPackageResourceRequest extends Entity
/** /**
* Gets the accessPackageResource * Gets the accessPackageResource
* Nullable.
* *
* @return AccessPackageResource|null The accessPackageResource * @return AccessPackageResource|null The accessPackageResource
*/ */
@ -279,7 +276,6 @@ class AccessPackageResourceRequest extends Entity
/** /**
* Sets the accessPackageResource * Sets the accessPackageResource
* Nullable.
* *
* @param AccessPackageResource $val The accessPackageResource * @param AccessPackageResource $val The accessPackageResource
* *

View File

@ -142,7 +142,6 @@ class AccessPackageResourceRole extends Entity
/** /**
* Gets the accessPackageResource * Gets the accessPackageResource
* Read-only. Nullable.
* *
* @return AccessPackageResource|null The accessPackageResource * @return AccessPackageResource|null The accessPackageResource
*/ */
@ -161,7 +160,6 @@ class AccessPackageResourceRole extends Entity
/** /**
* Sets the accessPackageResource * Sets the accessPackageResource
* Read-only. Nullable.
* *
* @param AccessPackageResource $val The accessPackageResource * @param AccessPackageResource $val The accessPackageResource
* *

View File

@ -26,7 +26,6 @@ class AccessPackageResourceRoleScope extends Entity
{ {
/** /**
* Gets the createdBy * Gets the createdBy
* Read-only.
* *
* @return string|null The createdBy * @return string|null The createdBy
*/ */
@ -41,7 +40,6 @@ class AccessPackageResourceRoleScope extends Entity
/** /**
* Sets the createdBy * Sets the createdBy
* Read-only.
* *
* @param string $val The createdBy * @param string $val The createdBy
* *
@ -88,7 +86,6 @@ class AccessPackageResourceRoleScope extends Entity
/** /**
* Gets the modifiedBy * Gets the modifiedBy
* Read-only.
* *
* @return string|null The modifiedBy * @return string|null The modifiedBy
*/ */
@ -103,7 +100,6 @@ class AccessPackageResourceRoleScope extends Entity
/** /**
* Sets the modifiedBy * Sets the modifiedBy
* Read-only.
* *
* @param string $val The modifiedBy * @param string $val The modifiedBy
* *
@ -183,7 +179,6 @@ class AccessPackageResourceRoleScope extends Entity
/** /**
* Gets the accessPackageResourceScope * Gets the accessPackageResourceScope
* Read-only. Nullable.
* *
* @return AccessPackageResourceScope|null The accessPackageResourceScope * @return AccessPackageResourceScope|null The accessPackageResourceScope
*/ */
@ -202,7 +197,6 @@ class AccessPackageResourceRoleScope extends Entity
/** /**
* Sets the accessPackageResourceScope * Sets the accessPackageResourceScope
* Read-only. Nullable.
* *
* @param AccessPackageResourceScope $val The accessPackageResourceScope * @param AccessPackageResourceScope $val The accessPackageResourceScope
* *

View File

@ -229,7 +229,6 @@ class AccessPackageResourceScope extends Entity
/** /**
* Gets the accessPackageResource * Gets the accessPackageResource
* Read-only. Nullable.
* *
* @return AccessPackageResource|null The accessPackageResource * @return AccessPackageResource|null The accessPackageResource
*/ */
@ -248,7 +247,6 @@ class AccessPackageResourceScope extends Entity
/** /**
* Sets the accessPackageResource * Sets the accessPackageResource
* Read-only. Nullable.
* *
* @param AccessPackageResource $val The accessPackageResource * @param AccessPackageResource $val The accessPackageResource
* *

View File

@ -186,7 +186,8 @@ class Admin implements \JsonSerializable
* *
* @return array The list of properties * @return array The list of properties
*/ */
public function jsonSerialize(): array #[\ReturnTypeWillChange]
public function jsonSerialize()
{ {
$serializableProperties = $this->getProperties(); $serializableProperties = $this->getProperties();
foreach ($serializableProperties as $property => $val) { foreach ($serializableProperties as $property => $val) {

View File

@ -115,7 +115,8 @@ class AppCatalogs implements \JsonSerializable
* *
* @return array The list of properties * @return array The list of properties
*/ */
public function jsonSerialize(): array #[\ReturnTypeWillChange]
public function jsonSerialize()
{ {
$serializableProperties = $this->getProperties(); $serializableProperties = $this->getProperties();
foreach ($serializableProperties as $property => $val) { foreach ($serializableProperties as $property => $val) {

View File

@ -727,6 +727,35 @@ class Application extends DirectoryObject
return $this; return $this;
} }
/**
* Gets the samlMetadataUrl
* The URL where the service exposes SAML metadata for federation. This property is valid only for single-tenant applications. Nullable.
*
* @return string|null The samlMetadataUrl
*/
public function getSamlMetadataUrl()
{
if (array_key_exists("samlMetadataUrl", $this->_propDict)) {
return $this->_propDict["samlMetadataUrl"];
} else {
return null;
}
}
/**
* Sets the samlMetadataUrl
* The URL where the service exposes SAML metadata for federation. This property is valid only for single-tenant applications. Nullable.
*
* @param string $val The samlMetadataUrl
*
* @return Application
*/
public function setSamlMetadataUrl($val)
{
$this->_propDict["samlMetadataUrl"] = $val;
return $this;
}
/** /**
* Gets the serviceManagementReference * Gets the serviceManagementReference
* References application or service contact information from a Service or Asset Management database. Nullable. * References application or service contact information from a Service or Asset Management database. Nullable.
@ -1069,7 +1098,6 @@ class Application extends DirectoryObject
/** /**
* Gets the createdOnBehalfOf * Gets the createdOnBehalfOf
* Read-only.
* *
* @return DirectoryObject|null The createdOnBehalfOf * @return DirectoryObject|null The createdOnBehalfOf
*/ */
@ -1088,7 +1116,6 @@ class Application extends DirectoryObject
/** /**
* Sets the createdOnBehalfOf * Sets the createdOnBehalfOf
* Read-only.
* *
* @param DirectoryObject $val The createdOnBehalfOf * @param DirectoryObject $val The createdOnBehalfOf
* *

View File

@ -87,29 +87,29 @@ class AttachmentSession extends Entity
} }
/** /**
* Gets the nextExpectedRange * Gets the nextExpectedRanges
* *
* @return string|null The nextExpectedRange * @return string|null The nextExpectedRanges
*/ */
public function getNextExpectedRange() public function getNextExpectedRanges()
{ {
if (array_key_exists("nextExpectedRange", $this->_propDict)) { if (array_key_exists("nextExpectedRanges", $this->_propDict)) {
return $this->_propDict["nextExpectedRange"]; return $this->_propDict["nextExpectedRanges"];
} else { } else {
return null; return null;
} }
} }
/** /**
* Sets the nextExpectedRange * Sets the nextExpectedRanges
* *
* @param string $val The nextExpectedRange * @param string $val The nextExpectedRanges
* *
* @return AttachmentSession * @return AttachmentSession
*/ */
public function setNextExpectedRange($val) public function setNextExpectedRanges($val)
{ {
$this->_propDict["nextExpectedRange"] = $val; $this->_propDict["nextExpectedRanges"] = $val;
return $this; return $this;
} }

View File

@ -1,139 +0,0 @@
<?php
/**
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
*
* Attachment_v2 File
* PHP version 7
*
* @category Library
* @package Microsoft.Graph
* @copyright (c) Microsoft Corporation. All rights reserved.
* @license https://opensource.org/licenses/MIT MIT License
* @link https://graph.microsoft.com
*/
namespace Beta\Microsoft\Graph\Model;
/**
* Attachment_v2 class
*
* @category Model
* @package Microsoft.Graph
* @copyright (c) Microsoft Corporation. All rights reserved.
* @license https://opensource.org/licenses/MIT MIT License
* @link https://graph.microsoft.com
*/
class Attachment_v2 extends Entity
{
/**
* Gets the contentType
*
* @return string|null The contentType
*/
public function getContentType()
{
if (array_key_exists("contentType", $this->_propDict)) {
return $this->_propDict["contentType"];
} else {
return null;
}
}
/**
* Sets the contentType
*
* @param string $val The contentType
*
* @return Attachment_v2
*/
public function setContentType($val)
{
$this->_propDict["contentType"] = $val;
return $this;
}
/**
* Gets the lastModifiedDateTime
*
* @return \DateTime|null The lastModifiedDateTime
*/
public function getLastModifiedDateTime()
{
if (array_key_exists("lastModifiedDateTime", $this->_propDict)) {
if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime") || is_null($this->_propDict["lastModifiedDateTime"])) {
return $this->_propDict["lastModifiedDateTime"];
} else {
$this->_propDict["lastModifiedDateTime"] = new \DateTime($this->_propDict["lastModifiedDateTime"]);
return $this->_propDict["lastModifiedDateTime"];
}
}
return null;
}
/**
* Sets the lastModifiedDateTime
*
* @param \DateTime $val The lastModifiedDateTime
*
* @return Attachment_v2
*/
public function setLastModifiedDateTime($val)
{
$this->_propDict["lastModifiedDateTime"] = $val;
return $this;
}
/**
* Gets the name
*
* @return string|null The name
*/
public function getName()
{
if (array_key_exists("name", $this->_propDict)) {
return $this->_propDict["name"];
} else {
return null;
}
}
/**
* Sets the name
*
* @param string $val The name
*
* @return Attachment_v2
*/
public function setName($val)
{
$this->_propDict["name"] = $val;
return $this;
}
/**
* Gets the size
*
* @return int|null The size
*/
public function getSize()
{
if (array_key_exists("size", $this->_propDict)) {
return $this->_propDict["size"];
} else {
return null;
}
}
/**
* Sets the size
*
* @param int $val The size
*
* @return Attachment_v2
*/
public function setSize($val)
{
$this->_propDict["size"] = intval($val);
return $this;
}
}

View File

@ -27,7 +27,6 @@ class AuditLogRoot extends Entity
/** /**
* Gets the directoryAudits * Gets the directoryAudits
* Read-only. Nullable.
* *
* @return array|null The directoryAudits * @return array|null The directoryAudits
*/ */
@ -42,7 +41,6 @@ class AuditLogRoot extends Entity
/** /**
* Sets the directoryAudits * Sets the directoryAudits
* Read-only. Nullable.
* *
* @param DirectoryAudit[] $val The directoryAudits * @param DirectoryAudit[] $val The directoryAudits
* *
@ -141,7 +139,6 @@ class AuditLogRoot extends Entity
/** /**
* Gets the signIns * Gets the signIns
* Read-only. Nullable.
* *
* @return array|null The signIns * @return array|null The signIns
*/ */
@ -156,7 +153,6 @@ class AuditLogRoot extends Entity
/** /**
* Sets the signIns * Sets the signIns
* Read-only. Nullable.
* *
* @param SignIn[] $val The signIns * @param SignIn[] $val The signIns
* *

View File

@ -55,6 +55,7 @@ class BookingAppointment extends Entity
/** /**
* Gets the anonymousJoinWebUrl * Gets the anonymousJoinWebUrl
* Url of meeting to join anonymously.
* *
* @return string|null The anonymousJoinWebUrl * @return string|null The anonymousJoinWebUrl
*/ */
@ -69,6 +70,7 @@ class BookingAppointment extends Entity
/** /**
* Sets the anonymousJoinWebUrl * Sets the anonymousJoinWebUrl
* Url of meeting to join anonymously.
* *
* @param string $val The anonymousJoinWebUrl * @param string $val The anonymousJoinWebUrl
* *

View File

@ -205,6 +205,7 @@ class BookingBusiness extends BookingNamedEntity
/** /**
* Gets the languageTag * Gets the languageTag
* The language of the self service booking page
* *
* @return string|null The languageTag * @return string|null The languageTag
*/ */
@ -219,6 +220,7 @@ class BookingBusiness extends BookingNamedEntity
/** /**
* Sets the languageTag * Sets the languageTag
* The language of the self service booking page
* *
* @param string $val The languageTag * @param string $val The languageTag
* *

View File

@ -242,6 +242,7 @@ class BookingCustomerInformation extends BookingCustomerInformationBase
} }
/** /**
* Gets the smsNotificationsEnabled * Gets the smsNotificationsEnabled
* Indicates if the SMS notifications will be sent to the customer for the appointment
* *
* @return bool|null The smsNotificationsEnabled * @return bool|null The smsNotificationsEnabled
*/ */
@ -256,6 +257,7 @@ class BookingCustomerInformation extends BookingCustomerInformationBase
/** /**
* Sets the smsNotificationsEnabled * Sets the smsNotificationsEnabled
* Indicates if the SMS notifications will be sent to the customer for the appointment
* *
* @param bool $val The value of the smsNotificationsEnabled * @param bool $val The value of the smsNotificationsEnabled
* *

View File

@ -272,6 +272,7 @@ class BookingService extends BookingNamedEntity
/** /**
* Gets the isAnonymousJoinEnabled * Gets the isAnonymousJoinEnabled
* True if an anonymousJoinWebUrl(webrtcUrl) will be generated for the appointment booked for this service.
* *
* @return bool|null The isAnonymousJoinEnabled * @return bool|null The isAnonymousJoinEnabled
*/ */
@ -286,6 +287,7 @@ class BookingService extends BookingNamedEntity
/** /**
* Sets the isAnonymousJoinEnabled * Sets the isAnonymousJoinEnabled
* True if an anonymousJoinWebUrl(webrtcUrl) will be generated for the appointment booked for this service.
* *
* @param bool $val The isAnonymousJoinEnabled * @param bool $val The isAnonymousJoinEnabled
* *
@ -357,6 +359,7 @@ class BookingService extends BookingNamedEntity
/** /**
* Gets the languageTag * Gets the languageTag
* The language of the self service booking page.
* *
* @return string|null The languageTag * @return string|null The languageTag
*/ */
@ -371,6 +374,7 @@ class BookingService extends BookingNamedEntity
/** /**
* Sets the languageTag * Sets the languageTag
* The language of the self service booking page.
* *
* @param string $val The languageTag * @param string $val The languageTag
* *

View File

@ -111,7 +111,7 @@ class BookingStaffMember extends BookingPerson
/** /**
* Gets the role * Gets the role
* The role of the staff member in the business. Possible values are: guest, administrator, viewer, externalGuest and unknownFutureValue. Required. * The role of the staff member in the business. Possible values are: guest, administrator, viewer, externalGuest, unknownFutureValue, scheduler and member. Note that you must use the Prefer: include-unknown-enum-members request header to get the following value(s) in this evolvable enum: scheduler, member. Required.
* *
* @return BookingStaffRole|null The role * @return BookingStaffRole|null The role
*/ */
@ -130,7 +130,7 @@ class BookingStaffMember extends BookingPerson
/** /**
* Sets the role * Sets the role
* The role of the staff member in the business. Possible values are: guest, administrator, viewer, externalGuest and unknownFutureValue. Required. * The role of the staff member in the business. Possible values are: guest, administrator, viewer, externalGuest, unknownFutureValue, scheduler and member. Note that you must use the Prefer: include-unknown-enum-members request header to get the following value(s) in this evolvable enum: scheduler, member. Required.
* *
* @param BookingStaffRole $val The role * @param BookingStaffRole $val The role
* *

View File

@ -818,7 +818,6 @@ class Call extends Entity
/** /**
* Gets the audioRoutingGroups * Gets the audioRoutingGroups
* Read-only. Nullable.
* *
* @return array|null The audioRoutingGroups * @return array|null The audioRoutingGroups
*/ */
@ -833,7 +832,6 @@ class Call extends Entity
/** /**
* Sets the audioRoutingGroups * Sets the audioRoutingGroups
* Read-only. Nullable.
* *
* @param AudioRoutingGroup[] $val The audioRoutingGroups * @param AudioRoutingGroup[] $val The audioRoutingGroups
* *
@ -848,7 +846,6 @@ class Call extends Entity
/** /**
* Gets the contentSharingSessions * Gets the contentSharingSessions
* Read-only. Nullable.
* *
* @return array|null The contentSharingSessions * @return array|null The contentSharingSessions
*/ */
@ -863,7 +860,6 @@ class Call extends Entity
/** /**
* Sets the contentSharingSessions * Sets the contentSharingSessions
* Read-only. Nullable.
* *
* @param ContentSharingSession[] $val The contentSharingSessions * @param ContentSharingSession[] $val The contentSharingSessions
* *
@ -878,7 +874,6 @@ class Call extends Entity
/** /**
* Gets the operations * Gets the operations
* Read-only. Nullable.
* *
* @return array|null The operations * @return array|null The operations
*/ */
@ -893,7 +888,6 @@ class Call extends Entity
/** /**
* Sets the operations * Sets the operations
* Read-only. Nullable.
* *
* @param CommsOperation[] $val The operations * @param CommsOperation[] $val The operations
* *
@ -908,7 +902,6 @@ class Call extends Entity
/** /**
* Gets the participants * Gets the participants
* Read-only. Nullable.
* *
* @return array|null The participants * @return array|null The participants
*/ */
@ -923,7 +916,6 @@ class Call extends Entity
/** /**
* Sets the participants * Sets the participants
* Read-only. Nullable.
* *
* @param Participant[] $val The participants * @param Participant[] $val The participants
* *

View File

@ -111,6 +111,35 @@ class CloudPcOnPremisesConnection extends Entity
return $this; return $this;
} }
/**
* Gets the alternateResourceUrl
* The interface URL of the partner service's resource that links to this Azure network connection. Returned only on $select.
*
* @return string|null The alternateResourceUrl
*/
public function getAlternateResourceUrl()
{
if (array_key_exists("alternateResourceUrl", $this->_propDict)) {
return $this->_propDict["alternateResourceUrl"];
} else {
return null;
}
}
/**
* Sets the alternateResourceUrl
* The interface URL of the partner service's resource that links to this Azure network connection. Returned only on $select.
*
* @param string $val The alternateResourceUrl
*
* @return CloudPcOnPremisesConnection
*/
public function setAlternateResourceUrl($val)
{
$this->_propDict["alternateResourceUrl"] = $val;
return $this;
}
/** /**
* Gets the displayName * Gets the displayName
* The display name for the Azure network connection. * The display name for the Azure network connection.
@ -142,7 +171,7 @@ class CloudPcOnPremisesConnection extends Entity
/** /**
* Gets the healthCheckStatus * Gets the healthCheckStatus
* The status of the most recent health check done on the Azure network connection. For example, if status is 'passed', the Azure network connection has passed all checks run by the service. Possible values are: pending, running, passed, failed, unknownFutureValue. Read-only. * The status of the most recent health check done on the Azure network connection. For example, if status is passed, the Azure network connection has passed all checks run by the service. Possible values are: pending, running, passed, failed, unknownFutureValue. Read-only.
* *
* @return CloudPcOnPremisesConnectionStatus|null The healthCheckStatus * @return CloudPcOnPremisesConnectionStatus|null The healthCheckStatus
*/ */
@ -161,7 +190,7 @@ class CloudPcOnPremisesConnection extends Entity
/** /**
* Sets the healthCheckStatus * Sets the healthCheckStatus
* The status of the most recent health check done on the Azure network connection. For example, if status is 'passed', the Azure network connection has passed all checks run by the service. Possible values are: pending, running, passed, failed, unknownFutureValue. Read-only. * The status of the most recent health check done on the Azure network connection. For example, if status is passed, the Azure network connection has passed all checks run by the service. Possible values are: pending, running, passed, failed, unknownFutureValue. Read-only.
* *
* @param CloudPcOnPremisesConnectionStatus $val The healthCheckStatus * @param CloudPcOnPremisesConnectionStatus $val The healthCheckStatus
* *
@ -237,7 +266,7 @@ class CloudPcOnPremisesConnection extends Entity
/** /**
* Gets the managedBy * Gets the managedBy
* Specifies which services manage the Azure network connection. Possible values are: windows365, devBox and unknownFutureValue. Read-only. * Specifies which services manage the Azure network connection. Possible values are: windows365, devBox, unknownFutureValue. Read-only.
* *
* @return CloudPcManagementService|null The managedBy * @return CloudPcManagementService|null The managedBy
*/ */
@ -256,7 +285,7 @@ class CloudPcOnPremisesConnection extends Entity
/** /**
* Sets the managedBy * Sets the managedBy
* Specifies which services manage the Azure network connection. Possible values are: windows365, devBox and unknownFutureValue. Read-only. * Specifies which services manage the Azure network connection. Possible values are: windows365, devBox, unknownFutureValue. Read-only.
* *
* @param CloudPcManagementService $val The managedBy * @param CloudPcManagementService $val The managedBy
* *
@ -299,7 +328,7 @@ class CloudPcOnPremisesConnection extends Entity
/** /**
* Gets the resourceGroupId * Gets the resourceGroupId
* The ID of the target resource group. Required format: '/subscriptions/{subscription-id}/resourceGroups/{resourceGroupName}'. * The ID of the target resource group. Required format: /subscriptions/{subscription-id}/resourceGroups/{resourceGroupName}.
* *
* @return string|null The resourceGroupId * @return string|null The resourceGroupId
*/ */
@ -314,7 +343,7 @@ class CloudPcOnPremisesConnection extends Entity
/** /**
* Sets the resourceGroupId * Sets the resourceGroupId
* The ID of the target resource group. Required format: '/subscriptions/{subscription-id}/resourceGroups/{resourceGroupName}'. * The ID of the target resource group. Required format: /subscriptions/{subscription-id}/resourceGroups/{resourceGroupName}.
* *
* @param string $val The resourceGroupId * @param string $val The resourceGroupId
* *
@ -328,7 +357,7 @@ class CloudPcOnPremisesConnection extends Entity
/** /**
* Gets the subnetId * Gets the subnetId
* The ID of the target subnet. Required format: '/subscriptions/{subscription-id}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkId}/subnets/{subnetName}'. * The ID of the target subnet. Required format: /subscriptions/{subscription-id}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkId}/subnets/{subnetName}.
* *
* @return string|null The subnetId * @return string|null The subnetId
*/ */
@ -343,7 +372,7 @@ class CloudPcOnPremisesConnection extends Entity
/** /**
* Sets the subnetId * Sets the subnetId
* The ID of the target subnet. Required format: '/subscriptions/{subscription-id}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkId}/subnets/{subnetName}'. * The ID of the target subnet. Required format: /subscriptions/{subscription-id}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkId}/subnets/{subnetName}.
* *
* @param string $val The subnetId * @param string $val The subnetId
* *
@ -448,7 +477,7 @@ class CloudPcOnPremisesConnection extends Entity
/** /**
* Gets the virtualNetworkId * Gets the virtualNetworkId
* The ID of the target virtual network. Required format: '/subscriptions/{subscription-id}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}'. * The ID of the target virtual network. Required format: /subscriptions/{subscription-id}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}.
* *
* @return string|null The virtualNetworkId * @return string|null The virtualNetworkId
*/ */
@ -463,7 +492,7 @@ class CloudPcOnPremisesConnection extends Entity
/** /**
* Sets the virtualNetworkId * Sets the virtualNetworkId
* The ID of the target virtual network. Required format: '/subscriptions/{subscription-id}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}'. * The ID of the target virtual network. Required format: /subscriptions/{subscription-id}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}.
* *
* @param string $val The virtualNetworkId * @param string $val The virtualNetworkId
* *

View File

@ -24,6 +24,64 @@ namespace Beta\Microsoft\Graph\Model;
*/ */
class CloudPcProvisioningPolicy extends Entity class CloudPcProvisioningPolicy extends Entity
{ {
/**
* Gets the alternateResourceUrl
* The URL of the alternate resource that links to this provisioning policy. Read-only.
*
* @return string|null The alternateResourceUrl
*/
public function getAlternateResourceUrl()
{
if (array_key_exists("alternateResourceUrl", $this->_propDict)) {
return $this->_propDict["alternateResourceUrl"];
} else {
return null;
}
}
/**
* Sets the alternateResourceUrl
* The URL of the alternate resource that links to this provisioning policy. Read-only.
*
* @param string $val The alternateResourceUrl
*
* @return CloudPcProvisioningPolicy
*/
public function setAlternateResourceUrl($val)
{
$this->_propDict["alternateResourceUrl"] = $val;
return $this;
}
/**
* Gets the cloudPcGroupDisplayName
* The display name of the Cloud PC group that the Cloud PCs reside in. Read-only.
*
* @return string|null The cloudPcGroupDisplayName
*/
public function getCloudPcGroupDisplayName()
{
if (array_key_exists("cloudPcGroupDisplayName", $this->_propDict)) {
return $this->_propDict["cloudPcGroupDisplayName"];
} else {
return null;
}
}
/**
* Sets the cloudPcGroupDisplayName
* The display name of the Cloud PC group that the Cloud PCs reside in. Read-only.
*
* @param string $val The cloudPcGroupDisplayName
*
* @return CloudPcProvisioningPolicy
*/
public function setCloudPcGroupDisplayName($val)
{
$this->_propDict["cloudPcGroupDisplayName"] = $val;
return $this;
}
/** /**
* Gets the description * Gets the description
* The provisioning policy description. * The provisioning policy description.
@ -115,6 +173,35 @@ class CloudPcProvisioningPolicy extends Entity
return $this; return $this;
} }
/**
* Gets the gracePeriodInHours
* The number of hours to wait before reprovisioning/deprovisioning happens. Read-only.
*
* @return int|null The gracePeriodInHours
*/
public function getGracePeriodInHours()
{
if (array_key_exists("gracePeriodInHours", $this->_propDict)) {
return $this->_propDict["gracePeriodInHours"];
} else {
return null;
}
}
/**
* Sets the gracePeriodInHours
* The number of hours to wait before reprovisioning/deprovisioning happens. Read-only.
*
* @param int $val The gracePeriodInHours
*
* @return CloudPcProvisioningPolicy
*/
public function setGracePeriodInHours($val)
{
$this->_propDict["gracePeriodInHours"] = intval($val);
return $this;
}
/** /**
* Gets the imageDisplayName * Gets the imageDisplayName
* The display name for the OS image youre provisioning. * The display name for the OS image youre provisioning.
@ -206,6 +293,68 @@ class CloudPcProvisioningPolicy extends Entity
return $this; return $this;
} }
/**
* Gets the localAdminEnabled
* Indicates whether the local admin option is enabled. If the local admin option is enabled, the end user can be an admin of the Cloud PC device. Read-only.
*
* @return bool|null The localAdminEnabled
*/
public function getLocalAdminEnabled()
{
if (array_key_exists("localAdminEnabled", $this->_propDict)) {
return $this->_propDict["localAdminEnabled"];
} else {
return null;
}
}
/**
* Sets the localAdminEnabled
* Indicates whether the local admin option is enabled. If the local admin option is enabled, the end user can be an admin of the Cloud PC device. Read-only.
*
* @param bool $val The localAdminEnabled
*
* @return CloudPcProvisioningPolicy
*/
public function setLocalAdminEnabled($val)
{
$this->_propDict["localAdminEnabled"] = boolval($val);
return $this;
}
/**
* Gets the managedBy
* Specifies which services manage the Azure network connection. Possible values are: windows365, devBox, unknownFutureValue. Read-only.
*
* @return CloudPcManagementService|null The managedBy
*/
public function getManagedBy()
{
if (array_key_exists("managedBy", $this->_propDict)) {
if (is_a($this->_propDict["managedBy"], "\Beta\Microsoft\Graph\Model\CloudPcManagementService") || is_null($this->_propDict["managedBy"])) {
return $this->_propDict["managedBy"];
} else {
$this->_propDict["managedBy"] = new CloudPcManagementService($this->_propDict["managedBy"]);
return $this->_propDict["managedBy"];
}
}
return null;
}
/**
* Sets the managedBy
* Specifies which services manage the Azure network connection. Possible values are: windows365, devBox, unknownFutureValue. Read-only.
*
* @param CloudPcManagementService $val The managedBy
*
* @return CloudPcProvisioningPolicy
*/
public function setManagedBy($val)
{
$this->_propDict["managedBy"] = $val;
return $this;
}
/** /**
* Gets the microsoftManagedDesktop * Gets the microsoftManagedDesktop
* The specific settings for the Microsoft Managed Desktop, which enables customers to get a managed device experience for the Cloud PC. Before you can enable Microsoft Managed Desktop, an admin must configure it. * The specific settings for the Microsoft Managed Desktop, which enables customers to get a managed device experience for the Cloud PC. Before you can enable Microsoft Managed Desktop, an admin must configure it.

View File

@ -143,7 +143,8 @@ class CommsApplication implements \JsonSerializable
* *
* @return array The list of properties * @return array The list of properties
*/ */
public function jsonSerialize(): array #[\ReturnTypeWillChange]
public function jsonSerialize()
{ {
$serializableProperties = $this->getProperties(); $serializableProperties = $this->getProperties();
foreach ($serializableProperties as $property => $val) { foreach ($serializableProperties as $property => $val) {

View File

@ -118,7 +118,8 @@ class Compliance implements \JsonSerializable
* *
* @return array The list of properties * @return array The list of properties
*/ */
public function jsonSerialize(): array #[\ReturnTypeWillChange]
public function jsonSerialize()
{ {
$serializableProperties = $this->getProperties(); $serializableProperties = $this->getProperties();
foreach ($serializableProperties as $property => $val) { foreach ($serializableProperties as $property => $val) {

View File

@ -272,7 +272,6 @@ class ConnectedOrganization extends Entity
/** /**
* Gets the externalSponsors * Gets the externalSponsors
* Nullable.
* *
* @return array|null The externalSponsors * @return array|null The externalSponsors
*/ */
@ -287,7 +286,6 @@ class ConnectedOrganization extends Entity
/** /**
* Sets the externalSponsors * Sets the externalSponsors
* Nullable.
* *
* @param DirectoryObject[] $val The externalSponsors * @param DirectoryObject[] $val The externalSponsors
* *
@ -302,7 +300,6 @@ class ConnectedOrganization extends Entity
/** /**
* Gets the internalSponsors * Gets the internalSponsors
* Nullable.
* *
* @return array|null The internalSponsors * @return array|null The internalSponsors
*/ */
@ -317,7 +314,6 @@ class ConnectedOrganization extends Entity
/** /**
* Sets the internalSponsors * Sets the internalSponsors
* Nullable.
* *
* @param DirectoryObject[] $val The internalSponsors * @param DirectoryObject[] $val The internalSponsors
* *

View File

@ -151,7 +151,6 @@ class ConnectorGroup extends Entity
/** /**
* Gets the applications * Gets the applications
* Read-only. Nullable.
* *
* @return array|null The applications * @return array|null The applications
*/ */
@ -166,7 +165,6 @@ class ConnectorGroup extends Entity
/** /**
* Sets the applications * Sets the applications
* Read-only. Nullable.
* *
* @param Application[] $val The applications * @param Application[] $val The applications
* *
@ -181,7 +179,6 @@ class ConnectorGroup extends Entity
/** /**
* Gets the members * Gets the members
* Read-only. Nullable.
* *
* @return array|null The members * @return array|null The members
*/ */
@ -196,7 +193,6 @@ class ConnectorGroup extends Entity
/** /**
* Sets the members * Sets the members
* Read-only. Nullable.
* *
* @param Connector[] $val The members * @param Connector[] $val The members
* *

View File

@ -55,7 +55,7 @@ class ConversationMember extends Entity
/** /**
* Gets the roles * Gets the roles
* The roles for that user. * The roles for that user. This property only contains additional qualifiers when relevant - for example, if the member has owner privileges, the roles property contains owner as one of the values. Similarly, if the member is a guest, the roles property contains guest as one of the values. A basic member should not have any values specified in the roles property.
* *
* @return string|null The roles * @return string|null The roles
*/ */
@ -70,7 +70,7 @@ class ConversationMember extends Entity
/** /**
* Sets the roles * Sets the roles
* The roles for that user. * The roles for that user. This property only contains additional qualifiers when relevant - for example, if the member has owner privileges, the roles property contains owner as one of the values. Similarly, if the member is a guest, the roles property contains guest as one of the values. A basic member should not have any values specified in the roles property.
* *
* @param string $val The roles * @param string $val The roles
* *

View File

@ -265,7 +265,6 @@ class ConversationThread extends Entity
/** /**
* Gets the posts * Gets the posts
* Read-only. Nullable.
* *
* @return array|null The posts * @return array|null The posts
*/ */
@ -280,7 +279,6 @@ class ConversationThread extends Entity
/** /**
* Sets the posts * Sets the posts
* Read-only. Nullable.
* *
* @param Post[] $val The posts * @param Post[] $val The posts
* *

View File

@ -310,7 +310,8 @@ class CrossTenantAccessPolicyConfigurationPartner implements \JsonSerializable
* *
* @return array The list of properties * @return array The list of properties
*/ */
public function jsonSerialize(): array #[\ReturnTypeWillChange]
public function jsonSerialize()
{ {
$serializableProperties = $this->getProperties(); $serializableProperties = $this->getProperties();
foreach ($serializableProperties as $property => $val) { foreach ($serializableProperties as $property => $val) {

View File

@ -536,36 +536,6 @@ class DeviceManagement extends Entity
return $this; return $this;
} }
/**
* Gets the androidDeviceOwnerEnrollmentProfiles
* Android device owner enrollment profile entities.
*
* @return array|null The androidDeviceOwnerEnrollmentProfiles
*/
public function getAndroidDeviceOwnerEnrollmentProfiles()
{
if (array_key_exists("androidDeviceOwnerEnrollmentProfiles", $this->_propDict)) {
return $this->_propDict["androidDeviceOwnerEnrollmentProfiles"];
} else {
return null;
}
}
/**
* Sets the androidDeviceOwnerEnrollmentProfiles
* Android device owner enrollment profile entities.
*
* @param AndroidDeviceOwnerEnrollmentProfile[] $val The androidDeviceOwnerEnrollmentProfiles
*
* @return DeviceManagement
*/
public function setAndroidDeviceOwnerEnrollmentProfiles($val)
{
$this->_propDict["androidDeviceOwnerEnrollmentProfiles"] = $val;
return $this;
}
/** /**
* Gets the virtualEndpoint * Gets the virtualEndpoint
* *
@ -598,6 +568,36 @@ class DeviceManagement extends Entity
} }
/**
* Gets the androidDeviceOwnerEnrollmentProfiles
* Android device owner enrollment profile entities.
*
* @return array|null The androidDeviceOwnerEnrollmentProfiles
*/
public function getAndroidDeviceOwnerEnrollmentProfiles()
{
if (array_key_exists("androidDeviceOwnerEnrollmentProfiles", $this->_propDict)) {
return $this->_propDict["androidDeviceOwnerEnrollmentProfiles"];
} else {
return null;
}
}
/**
* Sets the androidDeviceOwnerEnrollmentProfiles
* Android device owner enrollment profile entities.
*
* @param AndroidDeviceOwnerEnrollmentProfile[] $val The androidDeviceOwnerEnrollmentProfiles
*
* @return DeviceManagement
*/
public function setAndroidDeviceOwnerEnrollmentProfiles($val)
{
$this->_propDict["androidDeviceOwnerEnrollmentProfiles"] = $val;
return $this;
}
/** /**
* Gets the androidForWorkAppConfigurationSchemas * Gets the androidForWorkAppConfigurationSchemas
* Android for Work app configuration schema entities. * Android for Work app configuration schema entities.

View File

@ -317,7 +317,6 @@ class Directory extends Entity
/** /**
* Gets the featureRolloutPolicies * Gets the featureRolloutPolicies
* Nullable.
* *
* @return array|null The featureRolloutPolicies * @return array|null The featureRolloutPolicies
*/ */
@ -332,7 +331,6 @@ class Directory extends Entity
/** /**
* Sets the featureRolloutPolicies * Sets the featureRolloutPolicies
* Nullable.
* *
* @param FeatureRolloutPolicy[] $val The featureRolloutPolicies * @param FeatureRolloutPolicy[] $val The featureRolloutPolicies
* *

View File

@ -230,7 +230,8 @@ class EducationRoot implements \JsonSerializable
* *
* @return array The list of properties * @return array The list of properties
*/ */
public function jsonSerialize(): array #[\ReturnTypeWillChange]
public function jsonSerialize()
{ {
$serializableProperties = $this->getProperties(); $serializableProperties = $this->getProperties();
foreach ($serializableProperties as $property => $val) { foreach ($serializableProperties as $property => $val) {

View File

@ -386,7 +386,6 @@ class EducationSubmission extends Entity
/** /**
* Gets the outcomes * Gets the outcomes
* Read-Write. Nullable.
* *
* @return array|null The outcomes * @return array|null The outcomes
*/ */
@ -401,7 +400,6 @@ class EducationSubmission extends Entity
/** /**
* Sets the outcomes * Sets the outcomes
* Read-Write. Nullable.
* *
* @param EducationOutcome[] $val The outcomes * @param EducationOutcome[] $val The outcomes
* *
@ -416,7 +414,6 @@ class EducationSubmission extends Entity
/** /**
* Gets the resources * Gets the resources
* Nullable.
* *
* @return array|null The resources * @return array|null The resources
*/ */
@ -431,7 +428,6 @@ class EducationSubmission extends Entity
/** /**
* Sets the resources * Sets the resources
* Nullable.
* *
* @param EducationSubmissionResource[] $val The resources * @param EducationSubmissionResource[] $val The resources
* *
@ -446,7 +442,6 @@ class EducationSubmission extends Entity
/** /**
* Gets the submittedResources * Gets the submittedResources
* Read-only. Nullable.
* *
* @return array|null The submittedResources * @return array|null The submittedResources
*/ */
@ -461,7 +456,6 @@ class EducationSubmission extends Entity
/** /**
* Sets the submittedResources * Sets the submittedResources
* Read-only. Nullable.
* *
* @param EducationSubmissionResource[] $val The submittedResources * @param EducationSubmissionResource[] $val The submittedResources
* *

View File

@ -57,7 +57,6 @@ class Entity implements \JsonSerializable
/** /**
* Gets the id * Gets the id
* Read-only.
* *
* @return string|null The id * @return string|null The id
*/ */
@ -72,7 +71,6 @@ class Entity implements \JsonSerializable
/** /**
* Sets the id * Sets the id
* Read-only.
* *
* @param string $val The id * @param string $val The id
* *
@ -116,7 +114,8 @@ class Entity implements \JsonSerializable
* *
* @return array The list of properties * @return array The list of properties
*/ */
public function jsonSerialize(): array #[\ReturnTypeWillChange]
public function jsonSerialize()
{ {
$serializableProperties = $this->getProperties(); $serializableProperties = $this->getProperties();
foreach ($serializableProperties as $property => $val) { foreach ($serializableProperties as $property => $val) {

View File

@ -1,58 +0,0 @@
<?php
/**
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
*
* FileAttachment_v2 File
* PHP version 7
*
* @category Library
* @package Microsoft.Graph
* @copyright (c) Microsoft Corporation. All rights reserved.
* @license https://opensource.org/licenses/MIT MIT License
* @link https://graph.microsoft.com
*/
namespace Beta\Microsoft\Graph\Model;
/**
* FileAttachment_v2 class
*
* @category Model
* @package Microsoft.Graph
* @copyright (c) Microsoft Corporation. All rights reserved.
* @license https://opensource.org/licenses/MIT MIT License
* @link https://graph.microsoft.com
*/
class FileAttachment_v2 extends Attachment_v2
{
/**
* Gets the contentBytes
*
* @return \GuzzleHttp\Psr7\Stream|null The contentBytes
*/
public function getContentBytes()
{
if (array_key_exists("contentBytes", $this->_propDict)) {
if (is_a($this->_propDict["contentBytes"], "\GuzzleHttp\Psr7\Stream") || is_null($this->_propDict["contentBytes"])) {
return $this->_propDict["contentBytes"];
} else {
$this->_propDict["contentBytes"] = \GuzzleHttp\Psr7\Utils::streamFor($this->_propDict["contentBytes"]);
return $this->_propDict["contentBytes"];
}
}
return null;
}
/**
* Sets the contentBytes
*
* @param \GuzzleHttp\Psr7\Stream $val The contentBytes
*
* @return FileAttachment_v2
*/
public function setContentBytes($val)
{
$this->_propDict["contentBytes"] = $val;
return $this;
}
}

View File

@ -115,7 +115,8 @@ class Financials implements \JsonSerializable
* *
* @return array The list of properties * @return array The list of properties
*/ */
public function jsonSerialize(): array #[\ReturnTypeWillChange]
public function jsonSerialize()
{ {
$serializableProperties = $this->getProperties(); $serializableProperties = $this->getProperties();
foreach ($serializableProperties as $property => $val) { foreach ($serializableProperties as $property => $val) {

View File

@ -359,7 +359,8 @@ class GraphPrint implements \JsonSerializable
* *
* @return array The list of properties * @return array The list of properties
*/ */
public function jsonSerialize(): array #[\ReturnTypeWillChange]
public function jsonSerialize()
{ {
$serializableProperties = $this->getProperties(); $serializableProperties = $this->getProperties();
foreach ($serializableProperties as $property => $val) { foreach ($serializableProperties as $property => $val) {

View File

@ -2256,7 +2256,6 @@ class Group extends DirectoryObject
/** /**
* Gets the onenote * Gets the onenote
* Read-only.
* *
* @return Onenote|null The onenote * @return Onenote|null The onenote
*/ */
@ -2275,7 +2274,6 @@ class Group extends DirectoryObject
/** /**
* Sets the onenote * Sets the onenote
* Read-only.
* *
* @param Onenote $val The onenote * @param Onenote $val The onenote
* *

View File

@ -55,39 +55,6 @@ class IdentityContainer implements \JsonSerializable
return $this->_propDict; return $this->_propDict;
} }
/**
* Gets the conditionalAccess
* the entry point for the Conditional Access (CA) object model.
*
* @return ConditionalAccessRoot|null The conditionalAccess
*/
public function getConditionalAccess()
{
if (array_key_exists("conditionalAccess", $this->_propDict)) {
if (is_a($this->_propDict["conditionalAccess"], "\Beta\Microsoft\Graph\Model\ConditionalAccessRoot") || is_null($this->_propDict["conditionalAccess"])) {
return $this->_propDict["conditionalAccess"];
} else {
$this->_propDict["conditionalAccess"] = new ConditionalAccessRoot($this->_propDict["conditionalAccess"]);
return $this->_propDict["conditionalAccess"];
}
}
return null;
}
/**
* Sets the conditionalAccess
* the entry point for the Conditional Access (CA) object model.
*
* @param ConditionalAccessRoot $val The conditionalAccess
*
* @return IdentityContainer
*/
public function setConditionalAccess($val)
{
$this->_propDict["conditionalAccess"] = $val;
return $this;
}
/** /**
* Gets the apiConnectors * Gets the apiConnectors
@ -266,6 +233,39 @@ class IdentityContainer implements \JsonSerializable
return $this; return $this;
} }
/**
* Gets the conditionalAccess
* the entry point for the Conditional Access (CA) object model.
*
* @return ConditionalAccessRoot|null The conditionalAccess
*/
public function getConditionalAccess()
{
if (array_key_exists("conditionalAccess", $this->_propDict)) {
if (is_a($this->_propDict["conditionalAccess"], "\Beta\Microsoft\Graph\Model\ConditionalAccessRoot") || is_null($this->_propDict["conditionalAccess"])) {
return $this->_propDict["conditionalAccess"];
} else {
$this->_propDict["conditionalAccess"] = new ConditionalAccessRoot($this->_propDict["conditionalAccess"]);
return $this->_propDict["conditionalAccess"];
}
}
return null;
}
/**
* Sets the conditionalAccess
* the entry point for the Conditional Access (CA) object model.
*
* @param ConditionalAccessRoot $val The conditionalAccess
*
* @return IdentityContainer
*/
public function setConditionalAccess($val)
{
$this->_propDict["conditionalAccess"] = $val;
return $this;
}
/** /**
* Gets the continuousAccessEvaluationPolicy * Gets the continuousAccessEvaluationPolicy
* Represents entry point for continuous access evaluation policy. * Represents entry point for continuous access evaluation policy.
@ -331,7 +331,8 @@ class IdentityContainer implements \JsonSerializable
* *
* @return array The list of properties * @return array The list of properties
*/ */
public function jsonSerialize(): array #[\ReturnTypeWillChange]
public function jsonSerialize()
{ {
$serializableProperties = $this->getProperties(); $serializableProperties = $this->getProperties();
foreach ($serializableProperties as $property => $val) { foreach ($serializableProperties as $property => $val) {

View File

@ -211,7 +211,8 @@ class IdentityGovernance implements \JsonSerializable
* *
* @return array The list of properties * @return array The list of properties
*/ */
public function jsonSerialize(): array #[\ReturnTypeWillChange]
public function jsonSerialize()
{ {
$serializableProperties = $this->getProperties(); $serializableProperties = $this->getProperties();
foreach ($serializableProperties as $property => $val) { foreach ($serializableProperties as $property => $val) {

View File

@ -207,7 +207,8 @@ class IdentityProtectionRoot implements \JsonSerializable
* *
* @return array The list of properties * @return array The list of properties
*/ */
public function jsonSerialize(): array #[\ReturnTypeWillChange]
public function jsonSerialize()
{ {
$serializableProperties = $this->getProperties(); $serializableProperties = $this->getProperties();
foreach ($serializableProperties as $property => $val) { foreach ($serializableProperties as $property => $val) {

View File

@ -195,7 +195,8 @@ class InboundSharedUserProfile implements \JsonSerializable
* *
* @return array The list of properties * @return array The list of properties
*/ */
public function jsonSerialize(): array #[\ReturnTypeWillChange]
public function jsonSerialize()
{ {
$serializableProperties = $this->getProperties(); $serializableProperties = $this->getProperties();
foreach ($serializableProperties as $property => $val) { foreach ($serializableProperties as $property => $val) {

View File

@ -37,6 +37,7 @@ class MessagePinnedEventMessageDetail extends EventMessageDetail
/** /**
* Gets the eventDateTime * Gets the eventDateTime
* Date and time when the event occurred.
* *
* @return \DateTime|null The eventDateTime * @return \DateTime|null The eventDateTime
*/ */
@ -55,6 +56,7 @@ class MessagePinnedEventMessageDetail extends EventMessageDetail
/** /**
* Sets the eventDateTime * Sets the eventDateTime
* Date and time when the event occurred.
* *
* @param \DateTime $val The value to assign to the eventDateTime * @param \DateTime $val The value to assign to the eventDateTime
* *
@ -68,6 +70,7 @@ class MessagePinnedEventMessageDetail extends EventMessageDetail
/** /**
* Gets the initiator * Gets the initiator
* Initiator of the event.
* *
* @return IdentitySet|null The initiator * @return IdentitySet|null The initiator
*/ */
@ -86,6 +89,7 @@ class MessagePinnedEventMessageDetail extends EventMessageDetail
/** /**
* Sets the initiator * Sets the initiator
* Initiator of the event.
* *
* @param IdentitySet $val The value to assign to the initiator * @param IdentitySet $val The value to assign to the initiator
* *

View File

@ -37,6 +37,7 @@ class MessageUnpinnedEventMessageDetail extends EventMessageDetail
/** /**
* Gets the eventDateTime * Gets the eventDateTime
* Date and time when the event occurred.
* *
* @return \DateTime|null The eventDateTime * @return \DateTime|null The eventDateTime
*/ */
@ -55,6 +56,7 @@ class MessageUnpinnedEventMessageDetail extends EventMessageDetail
/** /**
* Sets the eventDateTime * Sets the eventDateTime
* Date and time when the event occurred.
* *
* @param \DateTime $val The value to assign to the eventDateTime * @param \DateTime $val The value to assign to the eventDateTime
* *
@ -68,6 +70,7 @@ class MessageUnpinnedEventMessageDetail extends EventMessageDetail
/** /**
* Gets the initiator * Gets the initiator
* Initiator of the event.
* *
* @return IdentitySet|null The initiator * @return IdentitySet|null The initiator
*/ */
@ -86,6 +89,7 @@ class MessageUnpinnedEventMessageDetail extends EventMessageDetail
/** /**
* Sets the initiator * Sets the initiator
* Initiator of the event.
* *
* @param IdentitySet $val The value to assign to the initiator * @param IdentitySet $val The value to assign to the initiator
* *

View File

@ -117,7 +117,7 @@ class OAuth2PermissionGrant extends Entity
/** /**
* Gets the principalId * Gets the principalId
* The id of the user on behalf of whom the client is authorized to access the resource, when consentType is Principal. If consentType is AllPrincipals this value is null. Required when consentType is Principal. * The id of the user on behalf of whom the client is authorized to access the resource, when consentType is Principal. If consentType is AllPrincipals this value is null. Required when consentType is Principal. Supports $filter (eq only).
* *
* @return string|null The principalId * @return string|null The principalId
*/ */
@ -132,7 +132,7 @@ class OAuth2PermissionGrant extends Entity
/** /**
* Sets the principalId * Sets the principalId
* The id of the user on behalf of whom the client is authorized to access the resource, when consentType is Principal. If consentType is AllPrincipals this value is null. Required when consentType is Principal. * The id of the user on behalf of whom the client is authorized to access the resource, when consentType is Principal. If consentType is AllPrincipals this value is null. Required when consentType is Principal. Supports $filter (eq only).
* *
* @param string $val The principalId * @param string $val The principalId
* *
@ -146,7 +146,7 @@ class OAuth2PermissionGrant extends Entity
/** /**
* Gets the resourceId * Gets the resourceId
* The id of the resource service principal to which access is authorized. This identifies the API which the client is authorized to attempt to call on behalf of a signed-in user. * The id of the resource service principal to which access is authorized. This identifies the API which the client is authorized to attempt to call on behalf of a signed-in user. Supports $filter (eq only).
* *
* @return string|null The resourceId * @return string|null The resourceId
*/ */
@ -161,7 +161,7 @@ class OAuth2PermissionGrant extends Entity
/** /**
* Sets the resourceId * Sets the resourceId
* The id of the resource service principal to which access is authorized. This identifies the API which the client is authorized to attempt to call on behalf of a signed-in user. * The id of the resource service principal to which access is authorized. This identifies the API which the client is authorized to attempt to call on behalf of a signed-in user. Supports $filter (eq only).
* *
* @param string $val The resourceId * @param string $val The resourceId
* *

View File

@ -180,7 +180,8 @@ class OfficeConfiguration implements \JsonSerializable
* *
* @return array The list of properties * @return array The list of properties
*/ */
public function jsonSerialize(): array #[\ReturnTypeWillChange]
public function jsonSerialize()
{ {
$serializableProperties = $this->getProperties(); $serializableProperties = $this->getProperties();
foreach ($serializableProperties as $property => $val) { foreach ($serializableProperties as $property => $val) {

View File

@ -142,7 +142,8 @@ class OutboundSharedUserProfile implements \JsonSerializable
* *
* @return array The list of properties * @return array The list of properties
*/ */
public function jsonSerialize(): array #[\ReturnTypeWillChange]
public function jsonSerialize()
{ {
$serializableProperties = $this->getProperties(); $serializableProperties = $this->getProperties();
foreach ($serializableProperties as $property => $val) { foreach ($serializableProperties as $property => $val) {

View File

@ -890,7 +890,8 @@ class PolicyRoot implements \JsonSerializable
* *
* @return array The list of properties * @return array The list of properties
*/ */
public function jsonSerialize(): array #[\ReturnTypeWillChange]
public function jsonSerialize()
{ {
$serializableProperties = $this->getProperties(); $serializableProperties = $this->getProperties();
foreach ($serializableProperties as $property => $val) { foreach ($serializableProperties as $property => $val) {

View File

@ -25,7 +25,7 @@ class PreAuthorizedApplication extends Entity
{ {
/** /**
* Gets the appId * Gets the appId
* The unique identifier for the application. * The unique identifier for the client application.
* *
* @return string|null The appId * @return string|null The appId
*/ */
@ -40,7 +40,7 @@ class PreAuthorizedApplication extends Entity
/** /**
* Sets the appId * Sets the appId
* The unique identifier for the application. * The unique identifier for the client application.
* *
* @param string $val The value of the appId * @param string $val The value of the appId
* *
@ -53,7 +53,7 @@ class PreAuthorizedApplication extends Entity
} }
/** /**
* Gets the permissionIds * Gets the permissionIds
* The unique identifier for the oauth2PermissionScopes the application requires. * The unique identifier for the scopes the client application is granted.
* *
* @return string|null The permissionIds * @return string|null The permissionIds
*/ */
@ -68,7 +68,7 @@ class PreAuthorizedApplication extends Entity
/** /**
* Sets the permissionIds * Sets the permissionIds
* The unique identifier for the oauth2PermissionScopes the application requires. * The unique identifier for the scopes the client application is granted.
* *
* @param string $val The value of the permissionIds * @param string $val The value of the permissionIds
* *

View File

@ -59,7 +59,6 @@ class PrintJob extends Entity
/** /**
* Gets the createdBy * Gets the createdBy
* Read-only. Nullable.
* *
* @return UserIdentity|null The createdBy * @return UserIdentity|null The createdBy
*/ */
@ -78,7 +77,6 @@ class PrintJob extends Entity
/** /**
* Sets the createdBy * Sets the createdBy
* Read-only. Nullable.
* *
* @param UserIdentity $val The createdBy * @param UserIdentity $val The createdBy
* *
@ -246,7 +244,6 @@ class PrintJob extends Entity
/** /**
* Gets the documents * Gets the documents
* Read-only.
* *
* @return array|null The documents * @return array|null The documents
*/ */
@ -261,7 +258,6 @@ class PrintJob extends Entity
/** /**
* Sets the documents * Sets the documents
* Read-only.
* *
* @param PrintDocument[] $val The documents * @param PrintDocument[] $val The documents
* *

View File

@ -115,7 +115,8 @@ class Privacy implements \JsonSerializable
* *
* @return array The list of properties * @return array The list of properties
*/ */
public function jsonSerialize(): array #[\ReturnTypeWillChange]
public function jsonSerialize()
{ {
$serializableProperties = $this->getProperties(); $serializableProperties = $this->getProperties();
foreach ($serializableProperties as $property => $val) { foreach ($serializableProperties as $property => $val) {

View File

@ -324,7 +324,6 @@ class PrivilegedApproval extends Entity
/** /**
* Gets the roleInfo * Gets the roleInfo
* Read-only. Nullable.
* *
* @return PrivilegedRole|null The roleInfo * @return PrivilegedRole|null The roleInfo
*/ */
@ -343,7 +342,6 @@ class PrivilegedApproval extends Entity
/** /**
* Sets the roleInfo * Sets the roleInfo
* Read-only. Nullable.
* *
* @param PrivilegedRole $val The roleInfo * @param PrivilegedRole $val The roleInfo
* *

View File

@ -57,7 +57,6 @@ class RoleManagement implements \JsonSerializable
/** /**
* Gets the directory * Gets the directory
* Read-only. Nullable.
* *
* @return RbacApplication|null The directory * @return RbacApplication|null The directory
*/ */
@ -76,7 +75,6 @@ class RoleManagement implements \JsonSerializable
/** /**
* Sets the directory * Sets the directory
* Read-only. Nullable.
* *
* @param RbacApplication $val The directory * @param RbacApplication $val The directory
* *
@ -217,7 +215,8 @@ class RoleManagement implements \JsonSerializable
* *
* @return array The list of properties * @return array The list of properties
*/ */
public function jsonSerialize(): array #[\ReturnTypeWillChange]
public function jsonSerialize()
{ {
$serializableProperties = $this->getProperties(); $serializableProperties = $this->getProperties();
foreach ($serializableProperties as $property => $val) { foreach ($serializableProperties as $property => $val) {

View File

@ -56,7 +56,6 @@ class RoomList extends Place
/** /**
* Gets the rooms * Gets the rooms
* Read-only. Nullable.
* *
* @return array|null The rooms * @return array|null The rooms
*/ */
@ -71,7 +70,6 @@ class RoomList extends Place
/** /**
* Sets the rooms * Sets the rooms
* Read-only. Nullable.
* *
* @param Room[] $val The rooms * @param Room[] $val The rooms
* *

View File

@ -206,7 +206,7 @@ class SecureScore extends Entity
/** /**
* Gets the enabledServices * Gets the enabledServices
* Microsoft-provided services for the tenant (for example, Exchange online, Skype, Sharepoint). * Microsoft-provided services for the tenant (for example, Exchange online, Skype, SharePoint).
* *
* @return string|null The enabledServices * @return string|null The enabledServices
*/ */
@ -221,7 +221,7 @@ class SecureScore extends Entity
/** /**
* Sets the enabledServices * Sets the enabledServices
* Microsoft-provided services for the tenant (for example, Exchange online, Skype, Sharepoint). * Microsoft-provided services for the tenant (for example, Exchange online, Skype, SharePoint).
* *
* @param string $val The enabledServices * @param string $val The enabledServices
* *

View File

@ -26,6 +26,7 @@ class SignInFrequencySessionControl extends ConditionalAccessSessionControl
/** /**
* Gets the authenticationType * Gets the authenticationType
* The possible values are primaryAndSecondaryAuthentication, secondaryAuthentication, unknownFutureValue.
* *
* @return SignInFrequencyAuthenticationType|null The authenticationType * @return SignInFrequencyAuthenticationType|null The authenticationType
*/ */
@ -44,6 +45,7 @@ class SignInFrequencySessionControl extends ConditionalAccessSessionControl
/** /**
* Sets the authenticationType * Sets the authenticationType
* The possible values are primaryAndSecondaryAuthentication, secondaryAuthentication, unknownFutureValue.
* *
* @param SignInFrequencyAuthenticationType $val The value to assign to the authenticationType * @param SignInFrequencyAuthenticationType $val The value to assign to the authenticationType
* *
@ -57,6 +59,7 @@ class SignInFrequencySessionControl extends ConditionalAccessSessionControl
/** /**
* Gets the frequencyInterval * Gets the frequencyInterval
* The possible values are timeBased, everyTime, unknownFutureValue.
* *
* @return SignInFrequencyInterval|null The frequencyInterval * @return SignInFrequencyInterval|null The frequencyInterval
*/ */
@ -75,6 +78,7 @@ class SignInFrequencySessionControl extends ConditionalAccessSessionControl
/** /**
* Sets the frequencyInterval * Sets the frequencyInterval
* The possible values are timeBased, everyTime, unknownFutureValue.
* *
* @param SignInFrequencyInterval $val The value to assign to the frequencyInterval * @param SignInFrequencyInterval $val The value to assign to the frequencyInterval
* *
@ -88,7 +92,7 @@ class SignInFrequencySessionControl extends ConditionalAccessSessionControl
/** /**
* Gets the type * Gets the type
* Possible values are: days, hours. * Possible values are: days, hours, or null if frequencyInterval is everyTime .
* *
* @return SigninFrequencyType|null The type * @return SigninFrequencyType|null The type
*/ */
@ -107,7 +111,7 @@ class SignInFrequencySessionControl extends ConditionalAccessSessionControl
/** /**
* Sets the type * Sets the type
* Possible values are: days, hours. * Possible values are: days, hours, or null if frequencyInterval is everyTime .
* *
* @param SigninFrequencyType $val The value to assign to the type * @param SigninFrequencyType $val The value to assign to the type
* *

View File

@ -87,7 +87,8 @@ class Storage implements \JsonSerializable
* *
* @return array The list of properties * @return array The list of properties
*/ */
public function jsonSerialize(): array #[\ReturnTypeWillChange]
public function jsonSerialize()
{ {
$serializableProperties = $this->getProperties(); $serializableProperties = $this->getProperties();
foreach ($serializableProperties as $property => $val) { foreach ($serializableProperties as $property => $val) {

View File

@ -647,6 +647,7 @@ class Team extends Entity
/** /**
* Gets the incomingChannels * Gets the incomingChannels
* List of channels shared with the team.
* *
* @return array|null The incomingChannels * @return array|null The incomingChannels
*/ */
@ -661,6 +662,7 @@ class Team extends Entity
/** /**
* Sets the incomingChannels * Sets the incomingChannels
* List of channels shared with the team.
* *
* @param Channel[] $val The incomingChannels * @param Channel[] $val The incomingChannels
* *

View File

@ -112,4 +112,35 @@ class Teamwork extends Entity
return $this; return $this;
} }
/**
* Gets the teamsAppSettings
*
* @return TeamsAppSettings|null The teamsAppSettings
*/
public function getTeamsAppSettings()
{
if (array_key_exists("teamsAppSettings", $this->_propDict)) {
if (is_a($this->_propDict["teamsAppSettings"], "\Beta\Microsoft\Graph\Model\TeamsAppSettings") || is_null($this->_propDict["teamsAppSettings"])) {
return $this->_propDict["teamsAppSettings"];
} else {
$this->_propDict["teamsAppSettings"] = new TeamsAppSettings($this->_propDict["teamsAppSettings"]);
return $this->_propDict["teamsAppSettings"];
}
}
return null;
}
/**
* Sets the teamsAppSettings
*
* @param TeamsAppSettings $val The teamsAppSettings
*
* @return Teamwork
*/
public function setTeamsAppSettings($val)
{
$this->_propDict["teamsAppSettings"] = $val;
return $this;
}
} }

View File

@ -26,7 +26,7 @@ class TemporaryAccessPassAuthenticationMethod extends AuthenticationMethod
{ {
/** /**
* Gets the createdDateTime * Gets the createdDateTime
* The date and time when the temporaryAccessPass was created. * The date and time when the Temporary Access Pass was created.
* *
* @return \DateTime|null The createdDateTime * @return \DateTime|null The createdDateTime
*/ */
@ -45,7 +45,7 @@ class TemporaryAccessPassAuthenticationMethod extends AuthenticationMethod
/** /**
* Sets the createdDateTime * Sets the createdDateTime
* The date and time when the temporaryAccessPass was created. * The date and time when the Temporary Access Pass was created.
* *
* @param \DateTime $val The createdDateTime * @param \DateTime $val The createdDateTime
* *
@ -88,7 +88,7 @@ class TemporaryAccessPassAuthenticationMethod extends AuthenticationMethod
/** /**
* Gets the isUsableOnce * Gets the isUsableOnce
* Determines whether the pass is limited to a one time use. If true, the pass can be used once; if false, the pass can be used multiple times within the temporaryAccessPass lifetime. * Determines whether the pass is limited to a one-time use. If true, the pass can be used once; if false, the pass can be used multiple times within the Temporary Access Pass lifetime.
* *
* @return bool|null The isUsableOnce * @return bool|null The isUsableOnce
*/ */
@ -103,7 +103,7 @@ class TemporaryAccessPassAuthenticationMethod extends AuthenticationMethod
/** /**
* Sets the isUsableOnce * Sets the isUsableOnce
* Determines whether the pass is limited to a one time use. If true, the pass can be used once; if false, the pass can be used multiple times within the temporaryAccessPass lifetime. * Determines whether the pass is limited to a one-time use. If true, the pass can be used once; if false, the pass can be used multiple times within the Temporary Access Pass lifetime.
* *
* @param bool $val The isUsableOnce * @param bool $val The isUsableOnce
* *
@ -117,7 +117,7 @@ class TemporaryAccessPassAuthenticationMethod extends AuthenticationMethod
/** /**
* Gets the lifetimeInMinutes * Gets the lifetimeInMinutes
* The lifetime of the temporaryAccessPass in minutes starting at startDateTime. Minimum 10, Maximum 43200 (equivalent to 30 days). * The lifetime of the Temporary Access Pass in minutes starting at startDateTime. Must be between 10 and 43200 inclusive (equivalent to 30 days).
* *
* @return int|null The lifetimeInMinutes * @return int|null The lifetimeInMinutes
*/ */
@ -132,7 +132,7 @@ class TemporaryAccessPassAuthenticationMethod extends AuthenticationMethod
/** /**
* Sets the lifetimeInMinutes * Sets the lifetimeInMinutes
* The lifetime of the temporaryAccessPass in minutes starting at startDateTime. Minimum 10, Maximum 43200 (equivalent to 30 days). * The lifetime of the Temporary Access Pass in minutes starting at startDateTime. Must be between 10 and 43200 inclusive (equivalent to 30 days).
* *
* @param int $val The lifetimeInMinutes * @param int $val The lifetimeInMinutes
* *
@ -146,7 +146,7 @@ class TemporaryAccessPassAuthenticationMethod extends AuthenticationMethod
/** /**
* Gets the methodUsabilityReason * Gets the methodUsabilityReason
* Details about usability state (isUsable). Reasons can include: enabledByPolicy, disabledByPolicy, expired, notYetValid, oneTimeUsed. * Details about the usability state (isUsable). Reasons can include: EnabledByPolicy, DisabledByPolicy, Expired, NotYetValid, OneTimeUsed.
* *
* @return string|null The methodUsabilityReason * @return string|null The methodUsabilityReason
*/ */
@ -161,7 +161,7 @@ class TemporaryAccessPassAuthenticationMethod extends AuthenticationMethod
/** /**
* Sets the methodUsabilityReason * Sets the methodUsabilityReason
* Details about usability state (isUsable). Reasons can include: enabledByPolicy, disabledByPolicy, expired, notYetValid, oneTimeUsed. * Details about the usability state (isUsable). Reasons can include: EnabledByPolicy, DisabledByPolicy, Expired, NotYetValid, OneTimeUsed.
* *
* @param string $val The methodUsabilityReason * @param string $val The methodUsabilityReason
* *
@ -175,7 +175,7 @@ class TemporaryAccessPassAuthenticationMethod extends AuthenticationMethod
/** /**
* Gets the startDateTime * Gets the startDateTime
* The date and time when the temporaryAccessPass becomes available to use. * The date and time when the Temporary Access Pass becomes available to use and when isUsable is true is enforced.
* *
* @return \DateTime|null The startDateTime * @return \DateTime|null The startDateTime
*/ */
@ -194,7 +194,7 @@ class TemporaryAccessPassAuthenticationMethod extends AuthenticationMethod
/** /**
* Sets the startDateTime * Sets the startDateTime
* The date and time when the temporaryAccessPass becomes available to use. * The date and time when the Temporary Access Pass becomes available to use and when isUsable is true is enforced.
* *
* @param \DateTime $val The startDateTime * @param \DateTime $val The startDateTime
* *
@ -208,7 +208,7 @@ class TemporaryAccessPassAuthenticationMethod extends AuthenticationMethod
/** /**
* Gets the temporaryAccessPass * Gets the temporaryAccessPass
* The temporaryAccessPass used to authenticate. Returned only on creation of a new temporaryAccessPass; returned as NULL with GET. * The Temporary Access Pass used to authenticate. Returned only on creation of a new temporaryAccessPassAuthenticationMethod object; Hidden in subsequent read operations and returned as null with GET.
* *
* @return string|null The temporaryAccessPass * @return string|null The temporaryAccessPass
*/ */
@ -223,7 +223,7 @@ class TemporaryAccessPassAuthenticationMethod extends AuthenticationMethod
/** /**
* Sets the temporaryAccessPass * Sets the temporaryAccessPass
* The temporaryAccessPass used to authenticate. Returned only on creation of a new temporaryAccessPass; returned as NULL with GET. * The Temporary Access Pass used to authenticate. Returned only on creation of a new temporaryAccessPassAuthenticationMethod object; Hidden in subsequent read operations and returned as null with GET.
* *
* @param string $val The temporaryAccessPass * @param string $val The temporaryAccessPass
* *

View File

@ -26,6 +26,7 @@ class TemporaryAccessPassAuthenticationMethodConfiguration extends Authenticatio
{ {
/** /**
* Gets the defaultLength * Gets the defaultLength
* Default length in characters of a Temporary Access Pass object. Must be between 8 and 48 characters.
* *
* @return int|null The defaultLength * @return int|null The defaultLength
*/ */
@ -40,6 +41,7 @@ class TemporaryAccessPassAuthenticationMethodConfiguration extends Authenticatio
/** /**
* Sets the defaultLength * Sets the defaultLength
* Default length in characters of a Temporary Access Pass object. Must be between 8 and 48 characters.
* *
* @param int $val The defaultLength * @param int $val The defaultLength
* *
@ -53,6 +55,7 @@ class TemporaryAccessPassAuthenticationMethodConfiguration extends Authenticatio
/** /**
* Gets the defaultLifetimeInMinutes * Gets the defaultLifetimeInMinutes
* Default lifetime in minutes for a Temporary Access Pass. Value can be any integer between the minimumLifetimeInMinutes and maximumLifetimeInMinutes.
* *
* @return int|null The defaultLifetimeInMinutes * @return int|null The defaultLifetimeInMinutes
*/ */
@ -67,6 +70,7 @@ class TemporaryAccessPassAuthenticationMethodConfiguration extends Authenticatio
/** /**
* Sets the defaultLifetimeInMinutes * Sets the defaultLifetimeInMinutes
* Default lifetime in minutes for a Temporary Access Pass. Value can be any integer between the minimumLifetimeInMinutes and maximumLifetimeInMinutes.
* *
* @param int $val The defaultLifetimeInMinutes * @param int $val The defaultLifetimeInMinutes
* *
@ -80,6 +84,7 @@ class TemporaryAccessPassAuthenticationMethodConfiguration extends Authenticatio
/** /**
* Gets the isUsableOnce * Gets the isUsableOnce
* If true, all the passes in the tenant will be restricted to one-time use. If false, passes in the tenant can be created to be either one-time use or reusable.
* *
* @return bool|null The isUsableOnce * @return bool|null The isUsableOnce
*/ */
@ -94,6 +99,7 @@ class TemporaryAccessPassAuthenticationMethodConfiguration extends Authenticatio
/** /**
* Sets the isUsableOnce * Sets the isUsableOnce
* If true, all the passes in the tenant will be restricted to one-time use. If false, passes in the tenant can be created to be either one-time use or reusable.
* *
* @param bool $val The isUsableOnce * @param bool $val The isUsableOnce
* *
@ -107,6 +113,7 @@ class TemporaryAccessPassAuthenticationMethodConfiguration extends Authenticatio
/** /**
* Gets the maximumLifetimeInMinutes * Gets the maximumLifetimeInMinutes
* Maximum lifetime in minutes for any Temporary Access Pass created in the tenant. Value can be between 10 and 43200 minutes (equivalent to 30 days).
* *
* @return int|null The maximumLifetimeInMinutes * @return int|null The maximumLifetimeInMinutes
*/ */
@ -121,6 +128,7 @@ class TemporaryAccessPassAuthenticationMethodConfiguration extends Authenticatio
/** /**
* Sets the maximumLifetimeInMinutes * Sets the maximumLifetimeInMinutes
* Maximum lifetime in minutes for any Temporary Access Pass created in the tenant. Value can be between 10 and 43200 minutes (equivalent to 30 days).
* *
* @param int $val The maximumLifetimeInMinutes * @param int $val The maximumLifetimeInMinutes
* *
@ -134,6 +142,7 @@ class TemporaryAccessPassAuthenticationMethodConfiguration extends Authenticatio
/** /**
* Gets the minimumLifetimeInMinutes * Gets the minimumLifetimeInMinutes
* Minimum lifetime in minutes for any Temporary Access Pass created in the tenant. Value can be between 10 and 43200 minutes (equivalent to 30 days).
* *
* @return int|null The minimumLifetimeInMinutes * @return int|null The minimumLifetimeInMinutes
*/ */
@ -148,6 +157,7 @@ class TemporaryAccessPassAuthenticationMethodConfiguration extends Authenticatio
/** /**
* Sets the minimumLifetimeInMinutes * Sets the minimumLifetimeInMinutes
* Minimum lifetime in minutes for any Temporary Access Pass created in the tenant. Value can be between 10 and 43200 minutes (equivalent to 30 days).
* *
* @param int $val The minimumLifetimeInMinutes * @param int $val The minimumLifetimeInMinutes
* *
@ -162,6 +172,7 @@ class TemporaryAccessPassAuthenticationMethodConfiguration extends Authenticatio
/** /**
* Gets the includeTargets * Gets the includeTargets
* A collection of users or groups who are enabled to use the authentication method.
* *
* @return array|null The includeTargets * @return array|null The includeTargets
*/ */
@ -176,6 +187,7 @@ class TemporaryAccessPassAuthenticationMethodConfiguration extends Authenticatio
/** /**
* Sets the includeTargets * Sets the includeTargets
* A collection of users or groups who are enabled to use the authentication method.
* *
* @param AuthenticationMethodTarget[] $val The includeTargets * @param AuthenticationMethodTarget[] $val The includeTargets
* *

View File

@ -114,7 +114,8 @@ class TenantReference implements \JsonSerializable
* *
* @return array The list of properties * @return array The list of properties
*/ */
public function jsonSerialize(): array #[\ReturnTypeWillChange]
public function jsonSerialize()
{ {
$serializableProperties = $this->getProperties(); $serializableProperties = $this->getProperties();
foreach ($serializableProperties as $property => $val) { foreach ($serializableProperties as $property => $val) {

View File

@ -486,7 +486,7 @@ class TodoTask extends Entity
/** /**
* Sets the attachments * Sets the attachments
* *
* @param Attachment_v2[] $val The attachments * @param AttachmentBase[] $val The attachments
* *
* @return TodoTask * @return TodoTask
*/ */

View File

@ -143,7 +143,8 @@ class TrustFramework implements \JsonSerializable
* *
* @return array The list of properties * @return array The list of properties
*/ */
public function jsonSerialize(): array #[\ReturnTypeWillChange]
public function jsonSerialize()
{ {
$serializableProperties = $this->getProperties(); $serializableProperties = $this->getProperties();
foreach ($serializableProperties as $property => $val) { foreach ($serializableProperties as $property => $val) {

View File

@ -175,6 +175,37 @@ class User extends DirectoryObject
return $this; return $this;
} }
/**
* Gets the authorizationInfo
*
* @return AuthorizationInfo|null The authorizationInfo
*/
public function getAuthorizationInfo()
{
if (array_key_exists("authorizationInfo", $this->_propDict)) {
if (is_a($this->_propDict["authorizationInfo"], "\Beta\Microsoft\Graph\Model\AuthorizationInfo") || is_null($this->_propDict["authorizationInfo"])) {
return $this->_propDict["authorizationInfo"];
} else {
$this->_propDict["authorizationInfo"] = new AuthorizationInfo($this->_propDict["authorizationInfo"]);
return $this->_propDict["authorizationInfo"];
}
}
return null;
}
/**
* Sets the authorizationInfo
*
* @param AuthorizationInfo $val The authorizationInfo
*
* @return User
*/
public function setAuthorizationInfo($val)
{
$this->_propDict["authorizationInfo"] = $val;
return $this;
}
/** /**
* Gets the businessPhones * Gets the businessPhones
* The telephone numbers for the user. Only one number can be set for this property. Read-only for users synced from on-premises directory. Supports $filter (eq, not, ge, le, startsWith). * The telephone numbers for the user. Only one number can be set for this property. Read-only for users synced from on-premises directory. Supports $filter (eq, not, ge, le, startsWith).
@ -1691,6 +1722,33 @@ class User extends DirectoryObject
return $this; return $this;
} }
/**
* Gets the securityIdentifier
*
* @return string|null The securityIdentifier
*/
public function getSecurityIdentifier()
{
if (array_key_exists("securityIdentifier", $this->_propDict)) {
return $this->_propDict["securityIdentifier"];
} else {
return null;
}
}
/**
* Sets the securityIdentifier
*
* @param string $val The securityIdentifier
*
* @return User
*/
public function setSecurityIdentifier($val)
{
$this->_propDict["securityIdentifier"] = $val;
return $this;
}
/** /**
* Gets the showInAddressList * Gets the showInAddressList
* Do not use in Microsoft Graph. Manage this property through the Microsoft 365 admin center instead. Represents whether the user should be included in the Outlook global address list. See Known issue. * Do not use in Microsoft Graph. Manage this property through the Microsoft 365 admin center instead. Represents whether the user should be included in the Outlook global address list. See Known issue.
@ -3076,7 +3134,6 @@ class User extends DirectoryObject
/** /**
* Gets the joinedGroups * Gets the joinedGroups
* Read-only. Nullable.
* *
* @return array|null The joinedGroups * @return array|null The joinedGroups
*/ */
@ -3091,7 +3148,6 @@ class User extends DirectoryObject
/** /**
* Sets the joinedGroups * Sets the joinedGroups
* Read-only. Nullable.
* *
* @param Group[] $val The joinedGroups * @param Group[] $val The joinedGroups
* *
@ -3767,7 +3823,6 @@ class User extends DirectoryObject
/** /**
* Gets the insights * Gets the insights
* Read-only. Nullable.
* *
* @return ItemInsights|null The insights * @return ItemInsights|null The insights
*/ */
@ -3786,7 +3841,6 @@ class User extends DirectoryObject
/** /**
* Sets the insights * Sets the insights
* Read-only. Nullable.
* *
* @param ItemInsights $val The insights * @param ItemInsights $val The insights
* *
@ -3800,7 +3854,6 @@ class User extends DirectoryObject
/** /**
* Gets the settings * Gets the settings
* Read-only. Nullable.
* *
* @return UserSettings|null The settings * @return UserSettings|null The settings
*/ */
@ -3819,7 +3872,6 @@ class User extends DirectoryObject
/** /**
* Sets the settings * Sets the settings
* Read-only. Nullable.
* *
* @param UserSettings $val The settings * @param UserSettings $val The settings
* *
@ -3833,7 +3885,6 @@ class User extends DirectoryObject
/** /**
* Gets the onenote * Gets the onenote
* Read-only.
* *
* @return Onenote|null The onenote * @return Onenote|null The onenote
*/ */
@ -3852,7 +3903,6 @@ class User extends DirectoryObject
/** /**
* Sets the onenote * Sets the onenote
* Read-only.
* *
* @param Onenote $val The onenote * @param Onenote $val The onenote
* *
@ -3900,7 +3950,6 @@ class User extends DirectoryObject
/** /**
* Gets the photos * Gets the photos
* Read-only. Nullable.
* *
* @return array|null The photos * @return array|null The photos
*/ */
@ -3915,7 +3964,6 @@ class User extends DirectoryObject
/** /**
* Sets the photos * Sets the photos
* Read-only. Nullable.
* *
* @param ProfilePhoto[] $val The photos * @param ProfilePhoto[] $val The photos
* *
@ -4079,7 +4127,7 @@ class User extends DirectoryObject
/** /**
* Gets the authentication * Gets the authentication
* TODO: Add Description * The authentication methods that are supported for the user.
* *
* @return Authentication|null The authentication * @return Authentication|null The authentication
*/ */
@ -4098,7 +4146,7 @@ class User extends DirectoryObject
/** /**
* Sets the authentication * Sets the authentication
* TODO: Add Description * The authentication methods that are supported for the user.
* *
* @param Authentication $val The authentication * @param Authentication $val The authentication
* *

View File

@ -85,7 +85,6 @@ class WorkbookComment extends Entity
/** /**
* Gets the replies * Gets the replies
* Read-only. Nullable.
* *
* @return array|null The replies * @return array|null The replies
*/ */
@ -100,7 +99,6 @@ class WorkbookComment extends Entity
/** /**
* Sets the replies * Sets the replies
* Read-only. Nullable.
* *
* @param WorkbookCommentReply[] $val The replies * @param WorkbookCommentReply[] $val The replies
* *

View File

@ -26,6 +26,7 @@ class CaseOperation extends \Beta\Microsoft\Graph\Model\Entity
{ {
/** /**
* Gets the action * Gets the action
* The type of action the operation represents. Possible values are: addToReviewSet,applyTags,contentExport,convertToPdf,estimateStatistics, purgeData
* *
* @return CaseAction|null The action * @return CaseAction|null The action
*/ */
@ -44,6 +45,7 @@ class CaseOperation extends \Beta\Microsoft\Graph\Model\Entity
/** /**
* Sets the action * Sets the action
* The type of action the operation represents. Possible values are: addToReviewSet,applyTags,contentExport,convertToPdf,estimateStatistics, purgeData
* *
* @param CaseAction $val The action * @param CaseAction $val The action
* *
@ -57,6 +59,7 @@ class CaseOperation extends \Beta\Microsoft\Graph\Model\Entity
/** /**
* Gets the completedDateTime * Gets the completedDateTime
* The date and time the operation was completed.
* *
* @return \DateTime|null The completedDateTime * @return \DateTime|null The completedDateTime
*/ */
@ -75,6 +78,7 @@ class CaseOperation extends \Beta\Microsoft\Graph\Model\Entity
/** /**
* Sets the completedDateTime * Sets the completedDateTime
* The date and time the operation was completed.
* *
* @param \DateTime $val The completedDateTime * @param \DateTime $val The completedDateTime
* *
@ -88,6 +92,7 @@ class CaseOperation extends \Beta\Microsoft\Graph\Model\Entity
/** /**
* Gets the createdBy * Gets the createdBy
* The user that created the operation.
* *
* @return \Beta\Microsoft\Graph\Model\IdentitySet|null The createdBy * @return \Beta\Microsoft\Graph\Model\IdentitySet|null The createdBy
*/ */
@ -106,6 +111,7 @@ class CaseOperation extends \Beta\Microsoft\Graph\Model\Entity
/** /**
* Sets the createdBy * Sets the createdBy
* The user that created the operation.
* *
* @param \Beta\Microsoft\Graph\Model\IdentitySet $val The createdBy * @param \Beta\Microsoft\Graph\Model\IdentitySet $val The createdBy
* *
@ -119,6 +125,7 @@ class CaseOperation extends \Beta\Microsoft\Graph\Model\Entity
/** /**
* Gets the createdDateTime * Gets the createdDateTime
* The date and time the operation was created.
* *
* @return \DateTime|null The createdDateTime * @return \DateTime|null The createdDateTime
*/ */
@ -137,6 +144,7 @@ class CaseOperation extends \Beta\Microsoft\Graph\Model\Entity
/** /**
* Sets the createdDateTime * Sets the createdDateTime
* The date and time the operation was created.
* *
* @param \DateTime $val The createdDateTime * @param \DateTime $val The createdDateTime
* *
@ -150,6 +158,7 @@ class CaseOperation extends \Beta\Microsoft\Graph\Model\Entity
/** /**
* Gets the percentProgress * Gets the percentProgress
* The progress of the operation.
* *
* @return int|null The percentProgress * @return int|null The percentProgress
*/ */
@ -164,6 +173,7 @@ class CaseOperation extends \Beta\Microsoft\Graph\Model\Entity
/** /**
* Sets the percentProgress * Sets the percentProgress
* The progress of the operation.
* *
* @param int $val The percentProgress * @param int $val The percentProgress
* *
@ -177,6 +187,7 @@ class CaseOperation extends \Beta\Microsoft\Graph\Model\Entity
/** /**
* Gets the resultInfo * Gets the resultInfo
* Contains success and failure-specific result information.
* *
* @return \Beta\Microsoft\Graph\Model\ResultInfo|null The resultInfo * @return \Beta\Microsoft\Graph\Model\ResultInfo|null The resultInfo
*/ */
@ -195,6 +206,7 @@ class CaseOperation extends \Beta\Microsoft\Graph\Model\Entity
/** /**
* Sets the resultInfo * Sets the resultInfo
* Contains success and failure-specific result information.
* *
* @param \Beta\Microsoft\Graph\Model\ResultInfo $val The resultInfo * @param \Beta\Microsoft\Graph\Model\ResultInfo $val The resultInfo
* *
@ -208,6 +220,7 @@ class CaseOperation extends \Beta\Microsoft\Graph\Model\Entity
/** /**
* Gets the status * Gets the status
* The status of the case operation. Possible values are: notStarted, submissionFailed, running, succeeded, partiallySucceeded, failed.
* *
* @return CaseOperationStatus|null The status * @return CaseOperationStatus|null The status
*/ */
@ -226,6 +239,7 @@ class CaseOperation extends \Beta\Microsoft\Graph\Model\Entity
/** /**
* Sets the status * Sets the status
* The status of the case operation. Possible values are: notStarted, submissionFailed, running, succeeded, partiallySucceeded, failed.
* *
* @param CaseOperationStatus $val The status * @param CaseOperationStatus $val The status
* *

View File

@ -26,6 +26,7 @@ class DataSource extends \Beta\Microsoft\Graph\Model\Entity
{ {
/** /**
* Gets the createdBy * Gets the createdBy
* The user who created the dataSource.
* *
* @return \Beta\Microsoft\Graph\Model\IdentitySet|null The createdBy * @return \Beta\Microsoft\Graph\Model\IdentitySet|null The createdBy
*/ */
@ -44,6 +45,7 @@ class DataSource extends \Beta\Microsoft\Graph\Model\Entity
/** /**
* Sets the createdBy * Sets the createdBy
* The user who created the dataSource.
* *
* @param \Beta\Microsoft\Graph\Model\IdentitySet $val The createdBy * @param \Beta\Microsoft\Graph\Model\IdentitySet $val The createdBy
* *
@ -57,6 +59,7 @@ class DataSource extends \Beta\Microsoft\Graph\Model\Entity
/** /**
* Gets the createdDateTime * Gets the createdDateTime
* The date and time the dataSource was created.
* *
* @return \DateTime|null The createdDateTime * @return \DateTime|null The createdDateTime
*/ */
@ -75,6 +78,7 @@ class DataSource extends \Beta\Microsoft\Graph\Model\Entity
/** /**
* Sets the createdDateTime * Sets the createdDateTime
* The date and time the dataSource was created.
* *
* @param \DateTime $val The createdDateTime * @param \DateTime $val The createdDateTime
* *
@ -88,6 +92,7 @@ class DataSource extends \Beta\Microsoft\Graph\Model\Entity
/** /**
* Gets the displayName * Gets the displayName
* The display name of the dataSource. This will be the name of the SharePoint site.
* *
* @return string|null The displayName * @return string|null The displayName
*/ */
@ -102,6 +107,7 @@ class DataSource extends \Beta\Microsoft\Graph\Model\Entity
/** /**
* Sets the displayName * Sets the displayName
* The display name of the dataSource. This will be the name of the SharePoint site.
* *
* @param string $val The displayName * @param string $val The displayName
* *
@ -115,6 +121,7 @@ class DataSource extends \Beta\Microsoft\Graph\Model\Entity
/** /**
* Gets the holdStatus * Gets the holdStatus
* The hold status of the dataSource.The possible values are: notApplied, applied, applying, removing, partial
* *
* @return DataSourceHoldStatus|null The holdStatus * @return DataSourceHoldStatus|null The holdStatus
*/ */
@ -133,6 +140,7 @@ class DataSource extends \Beta\Microsoft\Graph\Model\Entity
/** /**
* Sets the holdStatus * Sets the holdStatus
* The hold status of the dataSource.The possible values are: notApplied, applied, applying, removing, partial
* *
* @param DataSourceHoldStatus $val The holdStatus * @param DataSourceHoldStatus $val The holdStatus
* *

View File

@ -26,6 +26,7 @@ class DataSourceContainer extends \Beta\Microsoft\Graph\Model\Entity
{ {
/** /**
* Gets the createdDateTime * Gets the createdDateTime
* Created date and time of the dataSourceContainer entity.
* *
* @return \DateTime|null The createdDateTime * @return \DateTime|null The createdDateTime
*/ */
@ -44,6 +45,7 @@ class DataSourceContainer extends \Beta\Microsoft\Graph\Model\Entity
/** /**
* Sets the createdDateTime * Sets the createdDateTime
* Created date and time of the dataSourceContainer entity.
* *
* @param \DateTime $val The createdDateTime * @param \DateTime $val The createdDateTime
* *
@ -57,6 +59,7 @@ class DataSourceContainer extends \Beta\Microsoft\Graph\Model\Entity
/** /**
* Gets the displayName * Gets the displayName
* Display name of the dataSourceContainer entity.
* *
* @return string|null The displayName * @return string|null The displayName
*/ */
@ -71,6 +74,7 @@ class DataSourceContainer extends \Beta\Microsoft\Graph\Model\Entity
/** /**
* Sets the displayName * Sets the displayName
* Display name of the dataSourceContainer entity.
* *
* @param string $val The displayName * @param string $val The displayName
* *
@ -84,6 +88,7 @@ class DataSourceContainer extends \Beta\Microsoft\Graph\Model\Entity
/** /**
* Gets the holdStatus * Gets the holdStatus
* The hold status of the dataSourceContainer.The possible values are: notApplied, applied, applying, removing, partial
* *
* @return DataSourceHoldStatus|null The holdStatus * @return DataSourceHoldStatus|null The holdStatus
*/ */
@ -102,6 +107,7 @@ class DataSourceContainer extends \Beta\Microsoft\Graph\Model\Entity
/** /**
* Sets the holdStatus * Sets the holdStatus
* The hold status of the dataSourceContainer.The possible values are: notApplied, applied, applying, removing, partial
* *
* @param DataSourceHoldStatus $val The holdStatus * @param DataSourceHoldStatus $val The holdStatus
* *
@ -115,6 +121,7 @@ class DataSourceContainer extends \Beta\Microsoft\Graph\Model\Entity
/** /**
* Gets the lastModifiedDateTime * Gets the lastModifiedDateTime
* Last modified date and time of the dataSourceContainer.
* *
* @return \DateTime|null The lastModifiedDateTime * @return \DateTime|null The lastModifiedDateTime
*/ */
@ -133,6 +140,7 @@ class DataSourceContainer extends \Beta\Microsoft\Graph\Model\Entity
/** /**
* Sets the lastModifiedDateTime * Sets the lastModifiedDateTime
* Last modified date and time of the dataSourceContainer.
* *
* @param \DateTime $val The lastModifiedDateTime * @param \DateTime $val The lastModifiedDateTime
* *
@ -146,6 +154,7 @@ class DataSourceContainer extends \Beta\Microsoft\Graph\Model\Entity
/** /**
* Gets the releasedDateTime * Gets the releasedDateTime
* Date and time that the dataSourceContainer was released from the case.
* *
* @return \DateTime|null The releasedDateTime * @return \DateTime|null The releasedDateTime
*/ */
@ -164,6 +173,7 @@ class DataSourceContainer extends \Beta\Microsoft\Graph\Model\Entity
/** /**
* Sets the releasedDateTime * Sets the releasedDateTime
* Date and time that the dataSourceContainer was released from the case.
* *
* @param \DateTime $val The releasedDateTime * @param \DateTime $val The releasedDateTime
* *
@ -177,6 +187,7 @@ class DataSourceContainer extends \Beta\Microsoft\Graph\Model\Entity
/** /**
* Gets the status * Gets the status
* Latest status of the dataSourceContainer. Possible values are: Active, Released.
* *
* @return DataSourceContainerStatus|null The status * @return DataSourceContainerStatus|null The status
*/ */
@ -195,6 +206,7 @@ class DataSourceContainer extends \Beta\Microsoft\Graph\Model\Entity
/** /**
* Sets the status * Sets the status
* Latest status of the dataSourceContainer. Possible values are: Active, Released.
* *
* @param DataSourceContainerStatus $val The status * @param DataSourceContainerStatus $val The status
* *

View File

@ -26,6 +26,7 @@ class EdiscoveryAddToReviewSetOperation extends CaseOperation
{ {
/** /**
* Gets the reviewSet * Gets the reviewSet
* eDiscovery review set to which items matching source collection query gets added.
* *
* @return EdiscoveryReviewSet|null The reviewSet * @return EdiscoveryReviewSet|null The reviewSet
*/ */
@ -44,6 +45,7 @@ class EdiscoveryAddToReviewSetOperation extends CaseOperation
/** /**
* Sets the reviewSet * Sets the reviewSet
* eDiscovery review set to which items matching source collection query gets added.
* *
* @param EdiscoveryReviewSet $val The reviewSet * @param EdiscoveryReviewSet $val The reviewSet
* *
@ -57,6 +59,7 @@ class EdiscoveryAddToReviewSetOperation extends CaseOperation
/** /**
* Gets the search * Gets the search
* eDiscovery search that gets added to review set.
* *
* @return EdiscoverySearch|null The search * @return EdiscoverySearch|null The search
*/ */
@ -75,6 +78,7 @@ class EdiscoveryAddToReviewSetOperation extends CaseOperation
/** /**
* Sets the search * Sets the search
* eDiscovery search that gets added to review set.
* *
* @param EdiscoverySearch $val The search * @param EdiscoverySearch $val The search
* *

View File

@ -26,6 +26,7 @@ class EdiscoveryCase extends GraphCase
{ {
/** /**
* Gets the closedBy * Gets the closedBy
* The user who closed the case.
* *
* @return \Beta\Microsoft\Graph\Model\IdentitySet|null The closedBy * @return \Beta\Microsoft\Graph\Model\IdentitySet|null The closedBy
*/ */
@ -44,6 +45,7 @@ class EdiscoveryCase extends GraphCase
/** /**
* Sets the closedBy * Sets the closedBy
* The user who closed the case.
* *
* @param \Beta\Microsoft\Graph\Model\IdentitySet $val The closedBy * @param \Beta\Microsoft\Graph\Model\IdentitySet $val The closedBy
* *
@ -57,6 +59,7 @@ class EdiscoveryCase extends GraphCase
/** /**
* Gets the closedDateTime * Gets the closedDateTime
* The date and time when the case was closed. 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
* *
* @return \DateTime|null The closedDateTime * @return \DateTime|null The closedDateTime
*/ */
@ -75,6 +78,7 @@ class EdiscoveryCase extends GraphCase
/** /**
* Sets the closedDateTime * Sets the closedDateTime
* The date and time when the case was closed. 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
* *
* @param \DateTime $val The closedDateTime * @param \DateTime $val The closedDateTime
* *
@ -88,6 +92,7 @@ class EdiscoveryCase extends GraphCase
/** /**
* Gets the externalId * Gets the externalId
* The external case number for customer reference.
* *
* @return string|null The externalId * @return string|null The externalId
*/ */
@ -102,6 +107,7 @@ class EdiscoveryCase extends GraphCase
/** /**
* Sets the externalId * Sets the externalId
* The external case number for customer reference.
* *
* @param string $val The externalId * @param string $val The externalId
* *
@ -116,6 +122,7 @@ class EdiscoveryCase extends GraphCase
/** /**
* Gets the custodians * Gets the custodians
* Returns a list of case ediscoveryCustodian objects for this case.
* *
* @return array|null The custodians * @return array|null The custodians
*/ */
@ -130,6 +137,7 @@ class EdiscoveryCase extends GraphCase
/** /**
* Sets the custodians * Sets the custodians
* Returns a list of case ediscoveryCustodian objects for this case.
* *
* @param EdiscoveryCustodian[] $val The custodians * @param EdiscoveryCustodian[] $val The custodians
* *
@ -144,6 +152,7 @@ class EdiscoveryCase extends GraphCase
/** /**
* Gets the legalHolds * Gets the legalHolds
* Returns a list of case eDiscoveryHoldPolicy objects for this case.
* *
* @return array|null The legalHolds * @return array|null The legalHolds
*/ */
@ -158,6 +167,7 @@ class EdiscoveryCase extends GraphCase
/** /**
* Sets the legalHolds * Sets the legalHolds
* Returns a list of case eDiscoveryHoldPolicy objects for this case.
* *
* @param EdiscoveryHoldPolicy[] $val The legalHolds * @param EdiscoveryHoldPolicy[] $val The legalHolds
* *
@ -172,6 +182,7 @@ class EdiscoveryCase extends GraphCase
/** /**
* Gets the noncustodialDataSources * Gets the noncustodialDataSources
* Returns a list of case ediscoveryNoncustodialDataSource objects for this case.
* *
* @return array|null The noncustodialDataSources * @return array|null The noncustodialDataSources
*/ */
@ -186,6 +197,7 @@ class EdiscoveryCase extends GraphCase
/** /**
* Sets the noncustodialDataSources * Sets the noncustodialDataSources
* Returns a list of case ediscoveryNoncustodialDataSource objects for this case.
* *
* @param EdiscoveryNoncustodialDataSource[] $val The noncustodialDataSources * @param EdiscoveryNoncustodialDataSource[] $val The noncustodialDataSources
* *
@ -200,6 +212,7 @@ class EdiscoveryCase extends GraphCase
/** /**
* Gets the operations * Gets the operations
* Returns a list of case caseOperation objects for this case.
* *
* @return array|null The operations * @return array|null The operations
*/ */
@ -214,6 +227,7 @@ class EdiscoveryCase extends GraphCase
/** /**
* Sets the operations * Sets the operations
* Returns a list of case caseOperation objects for this case.
* *
* @param CaseOperation[] $val The operations * @param CaseOperation[] $val The operations
* *
@ -228,6 +242,7 @@ class EdiscoveryCase extends GraphCase
/** /**
* Gets the reviewSets * Gets the reviewSets
* Returns a list of eDiscoveryReviewSet objects in the case.
* *
* @return array|null The reviewSets * @return array|null The reviewSets
*/ */
@ -242,6 +257,7 @@ class EdiscoveryCase extends GraphCase
/** /**
* Sets the reviewSets * Sets the reviewSets
* Returns a list of eDiscoveryReviewSet objects in the case.
* *
* @param EdiscoveryReviewSet[] $val The reviewSets * @param EdiscoveryReviewSet[] $val The reviewSets
* *
@ -256,6 +272,7 @@ class EdiscoveryCase extends GraphCase
/** /**
* Gets the searches * Gets the searches
* Returns a list of eDiscoverySearch objects associated with this case.
* *
* @return array|null The searches * @return array|null The searches
*/ */
@ -270,6 +287,7 @@ class EdiscoveryCase extends GraphCase
/** /**
* Sets the searches * Sets the searches
* Returns a list of eDiscoverySearch objects associated with this case.
* *
* @param EdiscoverySearch[] $val The searches * @param EdiscoverySearch[] $val The searches
* *
@ -283,6 +301,7 @@ class EdiscoveryCase extends GraphCase
/** /**
* Gets the settings * Gets the settings
* Returns a list of eDIscoverySettings objects in the case.
* *
* @return EdiscoveryCaseSettings|null The settings * @return EdiscoveryCaseSettings|null The settings
*/ */
@ -301,6 +320,7 @@ class EdiscoveryCase extends GraphCase
/** /**
* Sets the settings * Sets the settings
* Returns a list of eDIscoverySettings objects in the case.
* *
* @param EdiscoveryCaseSettings $val The settings * @param EdiscoveryCaseSettings $val The settings
* *
@ -315,6 +335,7 @@ class EdiscoveryCase extends GraphCase
/** /**
* Gets the tags * Gets the tags
* Returns a list of ediscoveryReviewTag objects associated to this case.
* *
* @return array|null The tags * @return array|null The tags
*/ */
@ -329,6 +350,7 @@ class EdiscoveryCase extends GraphCase
/** /**
* Sets the tags * Sets the tags
* Returns a list of ediscoveryReviewTag objects associated to this case.
* *
* @param EdiscoveryReviewTag[] $val The tags * @param EdiscoveryReviewTag[] $val The tags
* *

View File

@ -26,6 +26,7 @@ class EdiscoveryCaseSettings extends \Beta\Microsoft\Graph\Model\Entity
{ {
/** /**
* Gets the ocr * Gets the ocr
* The OCR (Optical Character Recognition) settings for the case.
* *
* @return OcrSettings|null The ocr * @return OcrSettings|null The ocr
*/ */
@ -44,6 +45,7 @@ class EdiscoveryCaseSettings extends \Beta\Microsoft\Graph\Model\Entity
/** /**
* Sets the ocr * Sets the ocr
* The OCR (Optical Character Recognition) settings for the case.
* *
* @param OcrSettings $val The ocr * @param OcrSettings $val The ocr
* *
@ -57,6 +59,7 @@ class EdiscoveryCaseSettings extends \Beta\Microsoft\Graph\Model\Entity
/** /**
* Gets the redundancyDetection * Gets the redundancyDetection
* The redundancy (near duplicate and email threading) detection settings for the case.
* *
* @return RedundancyDetectionSettings|null The redundancyDetection * @return RedundancyDetectionSettings|null The redundancyDetection
*/ */
@ -75,6 +78,7 @@ class EdiscoveryCaseSettings extends \Beta\Microsoft\Graph\Model\Entity
/** /**
* Sets the redundancyDetection * Sets the redundancyDetection
* The redundancy (near duplicate and email threading) detection settings for the case.
* *
* @param RedundancyDetectionSettings $val The redundancyDetection * @param RedundancyDetectionSettings $val The redundancyDetection
* *
@ -88,6 +92,7 @@ class EdiscoveryCaseSettings extends \Beta\Microsoft\Graph\Model\Entity
/** /**
* Gets the topicModeling * Gets the topicModeling
* The Topic Modeling (Themes) settings for the case.
* *
* @return TopicModelingSettings|null The topicModeling * @return TopicModelingSettings|null The topicModeling
*/ */
@ -106,6 +111,7 @@ class EdiscoveryCaseSettings extends \Beta\Microsoft\Graph\Model\Entity
/** /**
* Sets the topicModeling * Sets the topicModeling
* The Topic Modeling (Themes) settings for the case.
* *
* @param TopicModelingSettings $val The topicModeling * @param TopicModelingSettings $val The topicModeling
* *

View File

@ -26,6 +26,7 @@ class EdiscoveryCustodian extends DataSourceContainer
{ {
/** /**
* Gets the acknowledgedDateTime * Gets the acknowledgedDateTime
* Date and time the custodian acknowledged a hold notification.
* *
* @return \DateTime|null The acknowledgedDateTime * @return \DateTime|null The acknowledgedDateTime
*/ */
@ -44,6 +45,7 @@ class EdiscoveryCustodian extends DataSourceContainer
/** /**
* Sets the acknowledgedDateTime * Sets the acknowledgedDateTime
* Date and time the custodian acknowledged a hold notification.
* *
* @param \DateTime $val The acknowledgedDateTime * @param \DateTime $val The acknowledgedDateTime
* *
@ -57,6 +59,7 @@ class EdiscoveryCustodian extends DataSourceContainer
/** /**
* Gets the email * Gets the email
* Email address of the custodian.
* *
* @return string|null The email * @return string|null The email
*/ */
@ -71,6 +74,7 @@ class EdiscoveryCustodian extends DataSourceContainer
/** /**
* Sets the email * Sets the email
* Email address of the custodian.
* *
* @param string $val The email * @param string $val The email
* *
@ -84,6 +88,7 @@ class EdiscoveryCustodian extends DataSourceContainer
/** /**
* Gets the lastIndexOperation * Gets the lastIndexOperation
* Operation entity that represents the latest indexing for the custodian.
* *
* @return EdiscoveryIndexOperation|null The lastIndexOperation * @return EdiscoveryIndexOperation|null The lastIndexOperation
*/ */
@ -102,6 +107,7 @@ class EdiscoveryCustodian extends DataSourceContainer
/** /**
* Sets the lastIndexOperation * Sets the lastIndexOperation
* Operation entity that represents the latest indexing for the custodian.
* *
* @param EdiscoveryIndexOperation $val The lastIndexOperation * @param EdiscoveryIndexOperation $val The lastIndexOperation
* *
@ -116,6 +122,7 @@ class EdiscoveryCustodian extends DataSourceContainer
/** /**
* Gets the siteSources * Gets the siteSources
* Data source entity for SharePoint sites associated with the custodian.
* *
* @return array|null The siteSources * @return array|null The siteSources
*/ */
@ -130,6 +137,7 @@ class EdiscoveryCustodian extends DataSourceContainer
/** /**
* Sets the siteSources * Sets the siteSources
* Data source entity for SharePoint sites associated with the custodian.
* *
* @param SiteSource[] $val The siteSources * @param SiteSource[] $val The siteSources
* *
@ -144,6 +152,7 @@ class EdiscoveryCustodian extends DataSourceContainer
/** /**
* Gets the unifiedGroupSources * Gets the unifiedGroupSources
* Data source entity for groups associated with the custodian.
* *
* @return array|null The unifiedGroupSources * @return array|null The unifiedGroupSources
*/ */
@ -158,6 +167,7 @@ class EdiscoveryCustodian extends DataSourceContainer
/** /**
* Sets the unifiedGroupSources * Sets the unifiedGroupSources
* Data source entity for groups associated with the custodian.
* *
* @param UnifiedGroupSource[] $val The unifiedGroupSources * @param UnifiedGroupSource[] $val The unifiedGroupSources
* *
@ -172,6 +182,7 @@ class EdiscoveryCustodian extends DataSourceContainer
/** /**
* Gets the userSources * Gets the userSources
* Data source entity for a the custodian. This is the container for a custodian's mailbox and OneDrive for Business site.
* *
* @return array|null The userSources * @return array|null The userSources
*/ */
@ -186,6 +197,7 @@ class EdiscoveryCustodian extends DataSourceContainer
/** /**
* Sets the userSources * Sets the userSources
* Data source entity for a the custodian. This is the container for a custodian's mailbox and OneDrive for Business site.
* *
* @param UserSource[] $val The userSources * @param UserSource[] $val The userSources
* *

View File

@ -26,6 +26,7 @@ class EdiscoveryEstimateOperation extends CaseOperation
{ {
/** /**
* Gets the indexedItemCount * Gets the indexedItemCount
* The estimated count of items for the search that matched the content query.
* *
* @return int|null The indexedItemCount * @return int|null The indexedItemCount
*/ */
@ -40,6 +41,7 @@ class EdiscoveryEstimateOperation extends CaseOperation
/** /**
* Sets the indexedItemCount * Sets the indexedItemCount
* The estimated count of items for the search that matched the content query.
* *
* @param int $val The indexedItemCount * @param int $val The indexedItemCount
* *
@ -53,6 +55,7 @@ class EdiscoveryEstimateOperation extends CaseOperation
/** /**
* Gets the indexedItemsSize * Gets the indexedItemsSize
* The estimated size of items for the search that matched the content query.
* *
* @return int|null The indexedItemsSize * @return int|null The indexedItemsSize
*/ */
@ -67,6 +70,7 @@ class EdiscoveryEstimateOperation extends CaseOperation
/** /**
* Sets the indexedItemsSize * Sets the indexedItemsSize
* The estimated size of items for the search that matched the content query.
* *
* @param int $val The indexedItemsSize * @param int $val The indexedItemsSize
* *
@ -80,6 +84,7 @@ class EdiscoveryEstimateOperation extends CaseOperation
/** /**
* Gets the mailboxCount * Gets the mailboxCount
* The number of mailboxes that had search hits.
* *
* @return int|null The mailboxCount * @return int|null The mailboxCount
*/ */
@ -94,6 +99,7 @@ class EdiscoveryEstimateOperation extends CaseOperation
/** /**
* Sets the mailboxCount * Sets the mailboxCount
* The number of mailboxes that had search hits.
* *
* @param int $val The mailboxCount * @param int $val The mailboxCount
* *
@ -107,6 +113,7 @@ class EdiscoveryEstimateOperation extends CaseOperation
/** /**
* Gets the siteCount * Gets the siteCount
* The number of mailboxes that had search hits.
* *
* @return int|null The siteCount * @return int|null The siteCount
*/ */
@ -121,6 +128,7 @@ class EdiscoveryEstimateOperation extends CaseOperation
/** /**
* Sets the siteCount * Sets the siteCount
* The number of mailboxes that had search hits.
* *
* @param int $val The siteCount * @param int $val The siteCount
* *
@ -134,6 +142,7 @@ class EdiscoveryEstimateOperation extends CaseOperation
/** /**
* Gets the unindexedItemCount * Gets the unindexedItemCount
* The estimated count of unindexed items for the collection.
* *
* @return int|null The unindexedItemCount * @return int|null The unindexedItemCount
*/ */
@ -148,6 +157,7 @@ class EdiscoveryEstimateOperation extends CaseOperation
/** /**
* Sets the unindexedItemCount * Sets the unindexedItemCount
* The estimated count of unindexed items for the collection.
* *
* @param int $val The unindexedItemCount * @param int $val The unindexedItemCount
* *
@ -161,6 +171,7 @@ class EdiscoveryEstimateOperation extends CaseOperation
/** /**
* Gets the unindexedItemsSize * Gets the unindexedItemsSize
* The estimated size of unindexed items for the collection.
* *
* @return int|null The unindexedItemsSize * @return int|null The unindexedItemsSize
*/ */
@ -175,6 +186,7 @@ class EdiscoveryEstimateOperation extends CaseOperation
/** /**
* Sets the unindexedItemsSize * Sets the unindexedItemsSize
* The estimated size of unindexed items for the collection.
* *
* @param int $val The unindexedItemsSize * @param int $val The unindexedItemsSize
* *
@ -188,6 +200,7 @@ class EdiscoveryEstimateOperation extends CaseOperation
/** /**
* Gets the search * Gets the search
* eDiscovery search.
* *
* @return EdiscoverySearch|null The search * @return EdiscoverySearch|null The search
*/ */
@ -206,6 +219,7 @@ class EdiscoveryEstimateOperation extends CaseOperation
/** /**
* Sets the search * Sets the search
* eDiscovery search.
* *
* @param EdiscoverySearch $val The search * @param EdiscoverySearch $val The search
* *

Some files were not shown because too many files have changed in this diff Show More