1
0
Fork 0

Updating depends due to security issues in guzzle

master
Brie Bruns 2022-06-10 09:27:55 -06:00
parent 00e10e837d
commit fbf2d2fef3
153 changed files with 6855 additions and 637 deletions

38
composer.lock generated
View File

@ -8,16 +8,16 @@
"packages": [
{
"name": "guzzlehttp/guzzle",
"version": "7.4.3",
"version": "7.4.4",
"source": {
"type": "git",
"url": "https://github.com/guzzle/guzzle.git",
"reference": "74a8602c6faec9ef74b7a9391ac82c5e65b1cdab"
"reference": "e3ff079b22820c2029d4c2a87796b6a0b8716ad8"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/guzzle/guzzle/zipball/74a8602c6faec9ef74b7a9391ac82c5e65b1cdab",
"reference": "74a8602c6faec9ef74b7a9391ac82c5e65b1cdab",
"url": "https://api.github.com/repos/guzzle/guzzle/zipball/e3ff079b22820c2029d4c2a87796b6a0b8716ad8",
"reference": "e3ff079b22820c2029d4c2a87796b6a0b8716ad8",
"shasum": ""
},
"require": {
@ -112,7 +112,7 @@
],
"support": {
"issues": "https://github.com/guzzle/guzzle/issues",
"source": "https://github.com/guzzle/guzzle/tree/7.4.3"
"source": "https://github.com/guzzle/guzzle/tree/7.4.4"
},
"funding": [
{
@ -128,7 +128,7 @@
"type": "tidelift"
}
],
"time": "2022-05-25T13:24:33+00:00"
"time": "2022-06-09T21:39:15+00:00"
},
{
"name": "guzzlehttp/promises",
@ -216,16 +216,16 @@
},
{
"name": "guzzlehttp/psr7",
"version": "2.2.1",
"version": "2.3.0",
"source": {
"type": "git",
"url": "https://github.com/guzzle/psr7.git",
"reference": "c94a94f120803a18554c1805ef2e539f8285f9a2"
"reference": "83260bb50b8fc753c72d14dc1621a2dac31877ee"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/guzzle/psr7/zipball/c94a94f120803a18554c1805ef2e539f8285f9a2",
"reference": "c94a94f120803a18554c1805ef2e539f8285f9a2",
"url": "https://api.github.com/repos/guzzle/psr7/zipball/83260bb50b8fc753c72d14dc1621a2dac31877ee",
"reference": "83260bb50b8fc753c72d14dc1621a2dac31877ee",
"shasum": ""
},
"require": {
@ -249,7 +249,7 @@
"type": "library",
"extra": {
"branch-alias": {
"dev-master": "2.2-dev"
"dev-master": "2.3-dev"
}
},
"autoload": {
@ -311,7 +311,7 @@
],
"support": {
"issues": "https://github.com/guzzle/psr7/issues",
"source": "https://github.com/guzzle/psr7/tree/2.2.1"
"source": "https://github.com/guzzle/psr7/tree/2.3.0"
},
"funding": [
{
@ -327,20 +327,20 @@
"type": "tidelift"
}
],
"time": "2022-03-20T21:55:58+00:00"
"time": "2022-06-09T08:26:02+00:00"
},
{
"name": "microsoft/microsoft-graph",
"version": "1.66.0",
"version": "1.68.0",
"source": {
"type": "git",
"url": "https://github.com/microsoftgraph/msgraph-sdk-php.git",
"reference": "cfd885c161d27f1e13814c6084a601e7dbb17858"
"reference": "26fe296fe3d2a3b3df3820de0e433a87ea41c265"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/microsoftgraph/msgraph-sdk-php/zipball/cfd885c161d27f1e13814c6084a601e7dbb17858",
"reference": "cfd885c161d27f1e13814c6084a601e7dbb17858",
"url": "https://api.github.com/repos/microsoftgraph/msgraph-sdk-php/zipball/26fe296fe3d2a3b3df3820de0e433a87ea41c265",
"reference": "26fe296fe3d2a3b3df3820de0e433a87ea41c265",
"shasum": ""
},
"require": {
@ -376,9 +376,9 @@
"homepage": "https://developer.microsoft.com/en-us/graph",
"support": {
"issues": "https://github.com/microsoftgraph/msgraph-sdk-php/issues",
"source": "https://github.com/microsoftgraph/msgraph-sdk-php/tree/1.66.0"
"source": "https://github.com/microsoftgraph/msgraph-sdk-php/tree/1.68.0"
},
"time": "2022-05-24T18:08:36+00:00"
"time": "2022-06-08T07:20:44+00:00"
},
{
"name": "psr/http-client",

View File

@ -2,17 +2,17 @@
"packages": [
{
"name": "guzzlehttp/guzzle",
"version": "7.4.3",
"version_normalized": "7.4.3.0",
"version": "7.4.4",
"version_normalized": "7.4.4.0",
"source": {
"type": "git",
"url": "https://github.com/guzzle/guzzle.git",
"reference": "74a8602c6faec9ef74b7a9391ac82c5e65b1cdab"
"reference": "e3ff079b22820c2029d4c2a87796b6a0b8716ad8"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/guzzle/guzzle/zipball/74a8602c6faec9ef74b7a9391ac82c5e65b1cdab",
"reference": "74a8602c6faec9ef74b7a9391ac82c5e65b1cdab",
"url": "https://api.github.com/repos/guzzle/guzzle/zipball/e3ff079b22820c2029d4c2a87796b6a0b8716ad8",
"reference": "e3ff079b22820c2029d4c2a87796b6a0b8716ad8",
"shasum": ""
},
"require": {
@ -38,7 +38,7 @@
"ext-intl": "Required for Internationalized Domain Name (IDN) support",
"psr/log": "Required for using the Log middleware"
},
"time": "2022-05-25T13:24:33+00:00",
"time": "2022-06-09T21:39:15+00:00",
"type": "library",
"extra": {
"branch-alias": {
@ -109,7 +109,7 @@
],
"support": {
"issues": "https://github.com/guzzle/guzzle/issues",
"source": "https://github.com/guzzle/guzzle/tree/7.4.3"
"source": "https://github.com/guzzle/guzzle/tree/7.4.4"
},
"funding": [
{
@ -216,17 +216,17 @@
},
{
"name": "guzzlehttp/psr7",
"version": "2.2.1",
"version_normalized": "2.2.1.0",
"version": "2.3.0",
"version_normalized": "2.3.0.0",
"source": {
"type": "git",
"url": "https://github.com/guzzle/psr7.git",
"reference": "c94a94f120803a18554c1805ef2e539f8285f9a2"
"reference": "83260bb50b8fc753c72d14dc1621a2dac31877ee"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/guzzle/psr7/zipball/c94a94f120803a18554c1805ef2e539f8285f9a2",
"reference": "c94a94f120803a18554c1805ef2e539f8285f9a2",
"url": "https://api.github.com/repos/guzzle/psr7/zipball/83260bb50b8fc753c72d14dc1621a2dac31877ee",
"reference": "83260bb50b8fc753c72d14dc1621a2dac31877ee",
"shasum": ""
},
"require": {
@ -247,11 +247,11 @@
"suggest": {
"laminas/laminas-httphandlerrunner": "Emit PSR-7 responses"
},
"time": "2022-03-20T21:55:58+00:00",
"time": "2022-06-09T08:26:02+00:00",
"type": "library",
"extra": {
"branch-alias": {
"dev-master": "2.2-dev"
"dev-master": "2.3-dev"
}
},
"installation-source": "dist",
@ -314,7 +314,7 @@
],
"support": {
"issues": "https://github.com/guzzle/psr7/issues",
"source": "https://github.com/guzzle/psr7/tree/2.2.1"
"source": "https://github.com/guzzle/psr7/tree/2.3.0"
},
"funding": [
{
@ -334,17 +334,17 @@
},
{
"name": "microsoft/microsoft-graph",
"version": "1.66.0",
"version_normalized": "1.66.0.0",
"version": "1.68.0",
"version_normalized": "1.68.0.0",
"source": {
"type": "git",
"url": "https://github.com/microsoftgraph/msgraph-sdk-php.git",
"reference": "cfd885c161d27f1e13814c6084a601e7dbb17858"
"reference": "26fe296fe3d2a3b3df3820de0e433a87ea41c265"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/microsoftgraph/msgraph-sdk-php/zipball/cfd885c161d27f1e13814c6084a601e7dbb17858",
"reference": "cfd885c161d27f1e13814c6084a601e7dbb17858",
"url": "https://api.github.com/repos/microsoftgraph/msgraph-sdk-php/zipball/26fe296fe3d2a3b3df3820de0e433a87ea41c265",
"reference": "26fe296fe3d2a3b3df3820de0e433a87ea41c265",
"shasum": ""
},
"require": {
@ -358,7 +358,7 @@
"phpstan/phpstan": "^0.12.90 || ^1.0.0",
"phpunit/phpunit": "^8.0 || ^9.0"
},
"time": "2022-05-24T18:08:36+00:00",
"time": "2022-06-08T07:20:44+00:00",
"type": "library",
"installation-source": "dist",
"autoload": {
@ -382,7 +382,7 @@
"homepage": "https://developer.microsoft.com/en-us/graph",
"support": {
"issues": "https://github.com/microsoftgraph/msgraph-sdk-php/issues",
"source": "https://github.com/microsoftgraph/msgraph-sdk-php/tree/1.66.0"
"source": "https://github.com/microsoftgraph/msgraph-sdk-php/tree/1.68.0"
},
"install-path": "../microsoft/microsoft-graph"
},

View File

@ -1,31 +1,31 @@
<?php return array(
'root' => array(
'pretty_version' => '1.0.0+no-version-set',
'version' => '1.0.0.0',
'pretty_version' => 'dev-master',
'version' => 'dev-master',
'type' => 'library',
'install_path' => __DIR__ . '/../../',
'aliases' => array(),
'reference' => NULL,
'reference' => '00e10e837dcdd1597f7388be3a10f0a76fde35cd',
'name' => '__root__',
'dev' => true,
),
'versions' => array(
'__root__' => array(
'pretty_version' => '1.0.0+no-version-set',
'version' => '1.0.0.0',
'pretty_version' => 'dev-master',
'version' => 'dev-master',
'type' => 'library',
'install_path' => __DIR__ . '/../../',
'aliases' => array(),
'reference' => NULL,
'reference' => '00e10e837dcdd1597f7388be3a10f0a76fde35cd',
'dev_requirement' => false,
),
'guzzlehttp/guzzle' => array(
'pretty_version' => '7.4.3',
'version' => '7.4.3.0',
'pretty_version' => '7.4.4',
'version' => '7.4.4.0',
'type' => 'library',
'install_path' => __DIR__ . '/../guzzlehttp/guzzle',
'aliases' => array(),
'reference' => '74a8602c6faec9ef74b7a9391ac82c5e65b1cdab',
'reference' => 'e3ff079b22820c2029d4c2a87796b6a0b8716ad8',
'dev_requirement' => false,
),
'guzzlehttp/promises' => array(
@ -38,21 +38,21 @@
'dev_requirement' => false,
),
'guzzlehttp/psr7' => array(
'pretty_version' => '2.2.1',
'version' => '2.2.1.0',
'pretty_version' => '2.3.0',
'version' => '2.3.0.0',
'type' => 'library',
'install_path' => __DIR__ . '/../guzzlehttp/psr7',
'aliases' => array(),
'reference' => 'c94a94f120803a18554c1805ef2e539f8285f9a2',
'reference' => '83260bb50b8fc753c72d14dc1621a2dac31877ee',
'dev_requirement' => false,
),
'microsoft/microsoft-graph' => array(
'pretty_version' => '1.66.0',
'version' => '1.66.0.0',
'pretty_version' => '1.68.0',
'version' => '1.68.0.0',
'type' => 'library',
'install_path' => __DIR__ . '/../microsoft/microsoft-graph',
'aliases' => array(),
'reference' => 'cfd885c161d27f1e13814c6084a601e7dbb17858',
'reference' => '26fe296fe3d2a3b3df3820de0e433a87ea41c265',
'dev_requirement' => false,
),
'psr/http-client' => array(

View File

@ -2,6 +2,11 @@
Please refer to [UPGRADING](UPGRADING.md) guide for upgrading to a major version.
## 7.4.4 - 2022-06-09
* Fix failure to strip Authorization header on HTTP downgrade
* Fix failure to strip the Cookie header on change in host or HTTP downgrade
## 7.4.3 - 2022-05-25
* Fix cross-domain cookie leakage

View File

@ -142,7 +142,7 @@ class RedirectMiddleware
}
/**
* Check for too many redirects
* Check for too many redirects.
*
* @throws TooManyRedirectsException Too many redirects.
*/
@ -178,7 +178,7 @@ class RedirectMiddleware
$modify['body'] = '';
}
$uri = $this->redirectUri($request, $response, $protocols);
$uri = self::redirectUri($request, $response, $protocols);
if (isset($options['idn_conversion']) && ($options['idn_conversion'] !== false)) {
$idnOptions = ($options['idn_conversion'] === true) ? \IDNA_DEFAULT : $options['idn_conversion'];
$uri = Utils::idnUriConvert($uri, $idnOptions);
@ -198,19 +198,46 @@ class RedirectMiddleware
$modify['remove_headers'][] = 'Referer';
}
// Remove Authorization header if host is different.
if ($request->getUri()->getHost() !== $modify['uri']->getHost()) {
// Remove Authorization and Cookie headers if required.
if (self::shouldStripSensitiveHeaders($request->getUri(), $modify['uri'])) {
$modify['remove_headers'][] = 'Authorization';
$modify['remove_headers'][] = 'Cookie';
}
return Psr7\Utils::modifyRequest($request, $modify);
}
/**
* Set the appropriate URL on the request based on the location header
* 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 function redirectUri(RequestInterface $request, ResponseInterface $response, array $protocols): UriInterface
{
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.
*/
private static function redirectUri(
RequestInterface $request,
ResponseInterface $response,
array $protocols
): UriInterface {
$location = Psr7\UriResolver::resolve(
$request->getUri(),
new Psr7\Uri($response->getHeaderLine('Location'))

View File

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

View File

@ -527,6 +527,17 @@ When fopen fails, PHP normally raises a warning. This function adds an
error handler that checks for errors and throws an exception instead.
## `GuzzleHttp\Psr7\Utils::tryGetContents`
`public static function tryGetContents(resource $stream): string`
Safely gets the contents of a given stream.
When stream_get_contents fails, PHP normally raises a warning. This
function adds an error handler that checks for errors and throws an
exception instead.
## `GuzzleHttp\Psr7\Utils::uriFor`
`public static function uriFor(string|UriInterface $uri): UriInterface`
@ -807,6 +818,12 @@ 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
equivalence or difference of relative references does not mean anything.
## Version Guidance
| Version | Status | PHP Version |
|---------|----------------|------------------|
| 1.x | Security fixes | >= 5.4, < 8.2 |
| 2.x | Latest | ^7.2.5 \|\| ^8.0 |
## Security

View File

@ -79,7 +79,7 @@
},
"extra": {
"branch-alias": {
"dev-master": "2.2-dev"
"dev-master": "2.3-dev"
}
},
"config": {
@ -87,9 +87,6 @@
"bamarni/composer-bin-plugin": true
},
"preferred-install": "dist",
"sort-packages": true,
"allow-plugins": {
"bamarni/composer-bin-plugin": true
}
"sort-packages": true
}
}

View File

@ -19,20 +19,22 @@ final class Header
static $trimmed = "\"' \n\t\r";
$params = $matches = [];
foreach (self::normalize($header) as $val) {
$part = [];
foreach (preg_split('/;(?=([^"]*"[^"]*")*[^"]*$)/', $val) as $kvp) {
if (preg_match_all('/<[^>]+>|[^=]+/', $kvp, $matches)) {
$m = $matches[0];
if (isset($m[1])) {
$part[trim($m[0], $trimmed)] = trim($m[1], $trimmed);
} else {
$part[] = trim($m[0], $trimmed);
foreach ((array) $header as $value) {
foreach (self::splitList($value) as $val) {
$part = [];
foreach (preg_split('/;(?=([^"]*"[^"]*")*[^"]*$)/', $val) as $kvp) {
if (preg_match_all('/<[^>]+>|[^=]+/', $kvp, $matches)) {
$m = $matches[0];
if (isset($m[1])) {
$part[trim($m[0], $trimmed)] = trim($m[1], $trimmed);
} else {
$part[] = trim($m[0], $trimmed);
}
}
}
}
if ($part) {
$params[] = $part;
if ($part) {
$params[] = $part;
}
}
}
@ -44,25 +46,86 @@ final class Header
* headers into an array of headers with no comma separated values.
*
* @param string|array $header Header to normalize.
*
* @deprecated Use self::splitList() instead.
*/
public static function normalize($header): array
{
$result = [];
foreach ((array) $header as $value) {
foreach ((array) $value as $v) {
if (strpos($v, ',') === false) {
$trimmed = trim($v);
if ($trimmed !== '') {
$result[] = $trimmed;
}
foreach (self::splitList($value) as $parsed) {
$result[] = $parsed;
}
}
return $result;
}
/**
* Splits a HTTP header defined to contain comma-separated list into
* each individual value. Empty values will be removed.
*
* Example headers include 'accept', 'cache-control' and 'if-none-match'.
*
* This method must not be used to parse headers that are not defined as
* a list, such as 'user-agent' or 'set-cookie'.
*
* @param string|string[] $values Header value as returned by MessageInterface::getHeader()
*
* @return string[]
*/
public static function splitList($values): array
{
if (!\is_array($values)) {
$values = [$values];
}
$result = [];
foreach ($values as $value) {
if (!\is_string($value)) {
throw new \TypeError('$header must either be a string or an array containing strings.');
}
$v = '';
$isQuoted = false;
$isEscaped = false;
for ($i = 0, $max = \strlen($value); $i < $max; $i++) {
if ($isEscaped) {
$v .= $value[$i];
$isEscaped = false;
continue;
}
foreach (preg_split('/,(?=([^"]*"([^"]|\\\\.)*")*[^"]*$)/', $v) as $vv) {
$trimmed = trim($vv);
if ($trimmed !== '') {
$result[] = $trimmed;
if (!$isQuoted && $value[$i] === ',') {
$v = \trim($v);
if ($v !== '') {
$result[] = $v;
}
$v = '';
continue;
}
if ($isQuoted && $value[$i] === '\\') {
$isEscaped = true;
$v .= $value[$i];
continue;
}
if ($value[$i] === '"') {
$isQuoted = !$isQuoted;
$v .= $value[$i];
continue;
}
$v .= $value[$i];
}
$v = \trim($v);
if ($v !== '') {
$result[] = $v;
}
}

View File

@ -175,6 +175,9 @@ final class Message
public static function parseRequestUri(string $path, array $headers): string
{
$hostKey = array_filter(array_keys($headers), function ($k) {
// Numeric array keys are converted to int by PHP.
$k = (string) $k;
return strtolower($k) === 'host';
});

View File

@ -145,11 +145,9 @@ trait MessageTrait
{
$this->headerNames = $this->headers = [];
foreach ($headers as $header => $value) {
if (is_int($header)) {
// Numeric array keys are converted to int by PHP but having a header name '123' is not forbidden by the spec
// and also allowed in withHeader(). So we need to cast it to string again for the following assertion to pass.
$header = (string) $header;
}
// Numeric array keys are converted to int by PHP.
$header = (string) $header;
$this->assertHeader($header);
$value = $this->normalizeHeaderValue($value);
$normalized = strtolower($header);

View File

@ -32,6 +32,7 @@ final class MimeType
'aep' => 'application/vnd.audiograph',
'afm' => 'application/x-font-type1',
'afp' => 'application/vnd.ibm.modcap',
'age' => 'application/vnd.age',
'ahead' => 'application/vnd.ahead.space',
'ai' => 'application/pdf',
'aif' => 'audio/x-aiff',
@ -60,6 +61,8 @@ final class MimeType
'atomsvc' => 'application/atomsvc+xml',
'atx' => 'application/vnd.antix.game-component',
'au' => 'audio/x-au',
'avci' => 'image/avci',
'avcs' => 'image/avcs',
'avi' => 'video/x-msvideo',
'avif' => 'image/avif',
'aw' => 'application/applixware',
@ -154,6 +157,7 @@ final class MimeType
'com' => 'application/x-msdownload',
'conf' => 'text/plain',
'cpio' => 'application/x-cpio',
'cpl' => 'application/cpl+xml',
'cpp' => 'text/x-c',
'cpt' => 'application/mac-compactpro',
'crd' => 'application/x-mscardfile',
@ -316,6 +320,7 @@ final class MimeType
'gca' => 'application/x-gca-compressed',
'gdl' => 'model/vnd.gdl',
'gdoc' => 'application/vnd.google-apps.document',
'ged' => 'text/vnd.familysearch.gedcom',
'geo' => 'application/vnd.dynageo',
'geojson' => 'application/geo+json',
'gex' => 'application/vnd.geometry-explorer',
@ -576,6 +581,7 @@ final class MimeType
'mpd' => 'application/dash+xml',
'mpe' => 'video/mpeg',
'mpeg' => 'video/mpeg',
'mpf' => 'application/media-policy-dataset+xml',
'mpg' => 'video/mpeg',
'mpg4' => 'video/mp4',
'mpga' => 'audio/mpeg',
@ -719,6 +725,7 @@ final class MimeType
'pgm' => 'image/x-portable-graymap',
'pgn' => 'application/x-chess-pgn',
'pgp' => 'application/pgp',
'phar' => 'application/octet-stream',
'php' => 'application/x-httpd-php',
'php3' => 'application/x-httpd-php',
'php4' => 'application/x-httpd-php',
@ -753,7 +760,7 @@ final class MimeType
'pptm' => 'application/vnd.ms-powerpoint.presentation.macroEnabled.12',
'pptx' => 'application/vnd.openxmlformats-officedocument.presentationml.presentation',
'pqa' => 'application/vnd.palm',
'prc' => 'application/x-pilot',
'prc' => 'model/prc',
'pre' => 'application/vnd.lotus-freelance',
'prf' => 'application/pics-rules',
'provx' => 'application/provenance+xml',
@ -993,6 +1000,7 @@ final class MimeType
'txd' => 'application/vnd.genomatix.tuxedo',
'txf' => 'application/vnd.mobius.txf',
'txt' => 'text/plain',
'u3d' => 'model/u3d',
'u8dsn' => 'message/global-delivery-status',
'u8hdr' => 'message/global-headers',
'u8mdn' => 'message/global-disposition-notification',
@ -1089,6 +1097,7 @@ final class MimeType
'webp' => 'image/webp',
'wg' => 'application/vnd.pmi.widget',
'wgt' => 'application/widget',
'wif' => 'application/watcherinfo+xml',
'wks' => 'application/vnd.ms-works',
'wm' => 'video/x-ms-wm',
'wma' => 'audio/x-ms-wma',

View File

@ -68,6 +68,9 @@ final class MultipartStream implements StreamInterface
$stream = new AppendStream();
foreach ($elements as $element) {
if (!is_array($element)) {
throw new \UnexpectedValueException("An array is expected");
}
$this->addElement($stream, $element);
}

View File

@ -96,13 +96,11 @@ class Stream implements StreamInterface
throw new \RuntimeException('Stream is detached');
}
$contents = stream_get_contents($this->stream);
if ($contents === false) {
throw new \RuntimeException('Unable to read stream contents');
if (!$this->readable) {
throw new \RuntimeException('Cannot read from non-readable stream');
}
return $contents;
return Utils::tryGetContents($this->stream);
}
public function close(): void
@ -229,7 +227,12 @@ class Stream implements StreamInterface
return '';
}
$string = fread($this->stream, $length);
try {
$string = fread($this->stream, $length);
} catch (\Exception $e) {
throw new \RuntimeException('Unable to read from stream', 0, $e);
}
if (false === $string) {
throw new \RuntimeException('Unable to read from stream');
}

View File

@ -386,6 +386,53 @@ final class Utils
return $handle;
}
/**
* Safely gets the contents of a given stream.
*
* When stream_get_contents fails, PHP normally raises a warning. This
* function adds an error handler that checks for errors and throws an
* exception instead.
*
* @param resource $stream
*
* @throws \RuntimeException if the stream cannot be read
*/
public static function tryGetContents($stream): string
{
$ex = null;
set_error_handler(static function (int $errno, string $errstr) use (&$ex): bool {
$ex = new \RuntimeException(sprintf(
'Unable to read stream contents: %s',
$errstr
));
return true;
});
try {
/** @var string|false $contents */
$contents = stream_get_contents($stream);
if ($contents === false) {
$ex = new \RuntimeException('Unable to read stream contents');
}
} catch (\Throwable $e) {
$ex = new \RuntimeException(sprintf(
'Unable to read stream contents: %s',
$e->getMessage()
), 0, $e);
}
restore_error_handler();
if ($ex) {
/** @var $ex \RuntimeException */
throw $ex;
}
return $contents;
}
/**
* Returns a UriInterface for the given value.
*

View File

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

View File

@ -0,0 +1,55 @@
<?php
/**
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
*
* AudioCodec 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\CallRecords\Model;
use Microsoft\Graph\Core\Enum;
/**
* AudioCodec 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 AudioCodec extends Enum
{
/**
* The Enum AudioCodec
*/
const UNKNOWN = "unknown";
const INVALID = "invalid";
const CN = "cn";
const PCMA = "pcma";
const PCMU = "pcmu";
const AMR_WIDE = "amrWide";
const G722 = "g722";
const G7221 = "g7221";
const G7221C = "g7221c";
const G729 = "g729";
const MULTI_CHANNEL_AUDIO = "multiChannelAudio";
const MUCHV2 = "muchv2";
const OPUS = "opus";
const SATIN = "satin";
const SATIN_FULLBAND = "satinFullband";
const RT_AUDIO8 = "rtAudio8";
const RT_AUDIO16 = "rtAudio16";
const SILK = "silk";
const SILK_NARROW = "silkNarrow";
const SILK_WIDE = "silkWide";
const SIREN = "siren";
const XMS_RTA = "xmsRta";
const UNKNOWN_FUTURE_VALUE = "unknownFutureValue";
}

View File

@ -23,6 +23,39 @@ namespace Beta\Microsoft\Graph\CallRecords\Model;
*/
class MediaStream extends \Beta\Microsoft\Graph\Model\Entity
{
/**
* Gets the audioCodec
* Codec name used to encode audio for transmission on the network. Possible values are: unknown, invalid, cn, pcma, pcmu, amrWide, g722, g7221, g7221c, g729, multiChannelAudio, muchv2, opus, satin, satinFullband, rtAudio8, rtAudio16, silk, silkNarrow, silkWide, siren, xmsRTA, unknownFutureValue.
*
* @return AudioCodec|null The audioCodec
*/
public function getAudioCodec()
{
if (array_key_exists("audioCodec", $this->_propDict)) {
if (is_a($this->_propDict["audioCodec"], "\Beta\Microsoft\Graph\CallRecords\Model\AudioCodec") || is_null($this->_propDict["audioCodec"])) {
return $this->_propDict["audioCodec"];
} else {
$this->_propDict["audioCodec"] = new AudioCodec($this->_propDict["audioCodec"]);
return $this->_propDict["audioCodec"];
}
}
return null;
}
/**
* Sets the audioCodec
* Codec name used to encode audio for transmission on the network. Possible values are: unknown, invalid, cn, pcma, pcmu, amrWide, g722, g7221, g7221c, g729, multiChannelAudio, muchv2, opus, satin, satinFullband, rtAudio8, rtAudio16, silk, silkNarrow, silkWide, siren, xmsRTA, unknownFutureValue.
*
* @param AudioCodec $val The value to assign to the audioCodec
*
* @return MediaStream The MediaStream
*/
public function setAudioCodec($val)
{
$this->_propDict["audioCodec"] = $val;
return $this;
}
/**
* Gets the averageAudioDegradation
* Average Network Mean Opinion Score degradation for stream. Represents how much the network loss and jitter has impacted the quality of received audio.
@ -740,6 +773,39 @@ class MediaStream extends \Beta\Microsoft\Graph\Model\Entity
$this->_propDict["streamId"] = $val;
return $this;
}
/**
* Gets the videoCodec
* Codec name used to encode video for transmission on the network. Possible values are: unknown, invalid, av1, h263, h264, h264s, h264uc, h265, rtvc1, rtVideo, xrtvc1, unknownFutureValue.
*
* @return VideoCodec|null The videoCodec
*/
public function getVideoCodec()
{
if (array_key_exists("videoCodec", $this->_propDict)) {
if (is_a($this->_propDict["videoCodec"], "\Beta\Microsoft\Graph\CallRecords\Model\VideoCodec") || is_null($this->_propDict["videoCodec"])) {
return $this->_propDict["videoCodec"];
} else {
$this->_propDict["videoCodec"] = new VideoCodec($this->_propDict["videoCodec"]);
return $this->_propDict["videoCodec"];
}
}
return null;
}
/**
* Sets the videoCodec
* Codec name used to encode video for transmission on the network. Possible values are: unknown, invalid, av1, h263, h264, h264s, h264uc, h265, rtvc1, rtVideo, xrtvc1, unknownFutureValue.
*
* @param VideoCodec $val The value to assign to the videoCodec
*
* @return MediaStream The MediaStream
*/
public function setVideoCodec($val)
{
$this->_propDict["videoCodec"] = $val;
return $this;
}
/**
* Gets the wasMediaBypassed
* True if the media stream bypassed the Mediation Server and went straight between client and PSTN Gateway/PBX, false otherwise.

View File

@ -252,6 +252,39 @@ class NetworkInfo extends \Beta\Microsoft\Graph\Model\Entity
$this->_propDict["macAddress"] = $val;
return $this;
}
/**
* Gets the networkTransportProtocol
* Network protocol used for the transmission of stream. Possible values are: unknown, udp, tcp, unknownFutureValue.
*
* @return NetworkTransportProtocol|null The networkTransportProtocol
*/
public function getNetworkTransportProtocol()
{
if (array_key_exists("networkTransportProtocol", $this->_propDict)) {
if (is_a($this->_propDict["networkTransportProtocol"], "\Beta\Microsoft\Graph\CallRecords\Model\NetworkTransportProtocol") || is_null($this->_propDict["networkTransportProtocol"])) {
return $this->_propDict["networkTransportProtocol"];
} else {
$this->_propDict["networkTransportProtocol"] = new NetworkTransportProtocol($this->_propDict["networkTransportProtocol"]);
return $this->_propDict["networkTransportProtocol"];
}
}
return null;
}
/**
* Sets the networkTransportProtocol
* Network protocol used for the transmission of stream. Possible values are: unknown, udp, tcp, unknownFutureValue.
*
* @param NetworkTransportProtocol $val The value to assign to the networkTransportProtocol
*
* @return NetworkInfo The NetworkInfo
*/
public function setNetworkTransportProtocol($val)
{
$this->_propDict["networkTransportProtocol"] = $val;
return $this;
}
/**
* Gets the port
* Network port number used by media endpoint.
@ -449,6 +482,39 @@ class NetworkInfo extends \Beta\Microsoft\Graph\Model\Entity
return $this;
}
/**
* Gets the traceRouteHops
* List of network trace route hops collected for this media stream.
*
* @return TraceRouteHop|null The traceRouteHops
*/
public function getTraceRouteHops()
{
if (array_key_exists("traceRouteHops", $this->_propDict)) {
if (is_a($this->_propDict["traceRouteHops"], "\Beta\Microsoft\Graph\CallRecords\Model\TraceRouteHop") || is_null($this->_propDict["traceRouteHops"])) {
return $this->_propDict["traceRouteHops"];
} else {
$this->_propDict["traceRouteHops"] = new TraceRouteHop($this->_propDict["traceRouteHops"]);
return $this->_propDict["traceRouteHops"];
}
}
return null;
}
/**
* Sets the traceRouteHops
* List of network trace route hops collected for this media stream.
*
* @param TraceRouteHop $val The value to assign to the traceRouteHops
*
* @return NetworkInfo The NetworkInfo
*/
public function setTraceRouteHops($val)
{
$this->_propDict["traceRouteHops"] = $val;
return $this;
}
/**
* Gets the wifiBand
* WiFi band used by the media endpoint. Possible values are: unknown, frequency24GHz, frequency50GHz, frequency60GHz, unknownFutureValue.

View File

@ -0,0 +1,36 @@
<?php
/**
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
*
* NetworkTransportProtocol 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\CallRecords\Model;
use Microsoft\Graph\Core\Enum;
/**
* NetworkTransportProtocol 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 NetworkTransportProtocol extends Enum
{
/**
* The Enum NetworkTransportProtocol
*/
const UNKNOWN = "unknown";
const UDP = "udp";
const TCP = "tcp";
const UNKNOWN_FUTURE_VALUE = "unknownFutureValue";
}

View File

@ -0,0 +1,115 @@
<?php
/**
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
*
* TraceRouteHop 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\CallRecords\Model;
/**
* TraceRouteHop 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 TraceRouteHop extends \Beta\Microsoft\Graph\Model\Entity
{
/**
* Gets the hopCount
* The network path count of this hop that was used to compute the RTT.
*
* @return int|null The hopCount
*/
public function getHopCount()
{
if (array_key_exists("hopCount", $this->_propDict)) {
return $this->_propDict["hopCount"];
} else {
return null;
}
}
/**
* Sets the hopCount
* The network path count of this hop that was used to compute the RTT.
*
* @param int $val The value of the hopCount
*
* @return TraceRouteHop
*/
public function setHopCount($val)
{
$this->_propDict["hopCount"] = $val;
return $this;
}
/**
* Gets the ipAddress
* IP address used for this hop in the network trace.
*
* @return string|null The ipAddress
*/
public function getIpAddress()
{
if (array_key_exists("ipAddress", $this->_propDict)) {
return $this->_propDict["ipAddress"];
} else {
return null;
}
}
/**
* Sets the ipAddress
* IP address used for this hop in the network trace.
*
* @param string $val The value of the ipAddress
*
* @return TraceRouteHop
*/
public function setIpAddress($val)
{
$this->_propDict["ipAddress"] = $val;
return $this;
}
/**
* Gets the roundTripTime
* The time from when the trace route packet was sent from the client to this hop and back to the client, denoted in [ISO 8601][] format. For example, 1 second is denoted as PT1S, where P is the duration designator, T is the time designator, and S is the second designator.
*
* @return \DateInterval|null The roundTripTime
*/
public function getRoundTripTime()
{
if (array_key_exists("roundTripTime", $this->_propDict)) {
if (is_a($this->_propDict["roundTripTime"], "\DateInterval") || is_null($this->_propDict["roundTripTime"])) {
return $this->_propDict["roundTripTime"];
} else {
$this->_propDict["roundTripTime"] = new \DateInterval($this->_propDict["roundTripTime"]);
return $this->_propDict["roundTripTime"];
}
}
return null;
}
/**
* Sets the roundTripTime
* The time from when the trace route packet was sent from the client to this hop and back to the client, denoted in [ISO 8601][] format. For example, 1 second is denoted as PT1S, where P is the duration designator, T is the time designator, and S is the second designator.
*
* @param \DateInterval $val The value to assign to the roundTripTime
*
* @return TraceRouteHop The TraceRouteHop
*/
public function setRoundTripTime($val)
{
$this->_propDict["roundTripTime"] = $val;
return $this;
}
}

View File

@ -0,0 +1,44 @@
<?php
/**
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
*
* VideoCodec 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\CallRecords\Model;
use Microsoft\Graph\Core\Enum;
/**
* VideoCodec 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 VideoCodec extends Enum
{
/**
* The Enum VideoCodec
*/
const UNKNOWN = "unknown";
const INVALID = "invalid";
const AV1 = "av1";
const H263 = "h263";
const H264 = "h264";
const H264S = "h264s";
const H264UC = "h264uc";
const H265 = "h265";
const RTVC1 = "rtvc1";
const RT_VIDEO = "rtVideo";
const XRTVC1 = "xrtvc1";
const UNKNOWN_FUTURE_VALUE = "unknownFutureValue";
}

View File

@ -117,6 +117,7 @@ class CredentialUserRegistrationsSummary extends \Beta\Microsoft\Graph\Model\Ent
/**
* Gets the mfaExcludedUserCount
* The number of users in the multi-factor authentication exclusion security group (Microsoft 365 Lighthouse - MFA exclusions). Optional. Read-only.
*
* @return int|null The mfaExcludedUserCount
*/
@ -131,6 +132,7 @@ class CredentialUserRegistrationsSummary extends \Beta\Microsoft\Graph\Model\Ent
/**
* Sets the mfaExcludedUserCount
* The number of users in the multi-factor authentication exclusion security group (Microsoft 365 Lighthouse - MFA exclusions). Optional. Read-only.
*
* @param int $val The mfaExcludedUserCount
*

View File

@ -55,6 +55,39 @@ class Admin implements \JsonSerializable
return $this->_propDict;
}
/**
* Gets the sharepoint
* A container for administrative resources to manage tenant-level settings for SharePoint and OneDrive.
*
* @return \Beta\Microsoft\Graph\TenantAdmin\Model\Sharepoint|null The sharepoint
*/
public function getSharepoint()
{
if (array_key_exists("sharepoint", $this->_propDict)) {
if (is_a($this->_propDict["sharepoint"], "\Beta\Microsoft\Graph\TenantAdmin\Model\Sharepoint") || is_null($this->_propDict["sharepoint"])) {
return $this->_propDict["sharepoint"];
} else {
$this->_propDict["sharepoint"] = new \Beta\Microsoft\Graph\TenantAdmin\Model\Sharepoint($this->_propDict["sharepoint"]);
return $this->_propDict["sharepoint"];
}
}
return null;
}
/**
* Sets the sharepoint
* A container for administrative resources to manage tenant-level settings for SharePoint and OneDrive.
*
* @param \Beta\Microsoft\Graph\TenantAdmin\Model\Sharepoint $val The sharepoint
*
* @return Admin
*/
public function setSharepoint($val)
{
$this->_propDict["sharepoint"] = $val;
return $this;
}
/**
* Gets the serviceAnnouncement
* A container for service communications resources. Read-only.

View File

@ -3894,6 +3894,39 @@ class AndroidDeviceOwnerGeneralDeviceConfiguration extends DeviceConfiguration
return $this;
}
/**
* Gets the workProfilePasswordRequireUnlock
* Indicates the timeout period after which a work profile must be unlocked using a form of strong authentication. Possible values are: deviceDefault, daily, unkownFutureValue.
*
* @return AndroidDeviceOwnerRequiredPasswordUnlock|null The workProfilePasswordRequireUnlock
*/
public function getWorkProfilePasswordRequireUnlock()
{
if (array_key_exists("workProfilePasswordRequireUnlock", $this->_propDict)) {
if (is_a($this->_propDict["workProfilePasswordRequireUnlock"], "\Beta\Microsoft\Graph\Model\AndroidDeviceOwnerRequiredPasswordUnlock") || is_null($this->_propDict["workProfilePasswordRequireUnlock"])) {
return $this->_propDict["workProfilePasswordRequireUnlock"];
} else {
$this->_propDict["workProfilePasswordRequireUnlock"] = new AndroidDeviceOwnerRequiredPasswordUnlock($this->_propDict["workProfilePasswordRequireUnlock"]);
return $this->_propDict["workProfilePasswordRequireUnlock"];
}
}
return null;
}
/**
* Sets the workProfilePasswordRequireUnlock
* Indicates the timeout period after which a work profile must be unlocked using a form of strong authentication. Possible values are: deviceDefault, daily, unkownFutureValue.
*
* @param AndroidDeviceOwnerRequiredPasswordUnlock $val The workProfilePasswordRequireUnlock
*
* @return AndroidDeviceOwnerGeneralDeviceConfiguration
*/
public function setWorkProfilePasswordRequireUnlock($val)
{
$this->_propDict["workProfilePasswordRequireUnlock"] = $val;
return $this;
}
/**
* Gets the workProfilePasswordSignInFailureCountBeforeFactoryReset
* Indicates the number of times a user can enter an incorrect work profile password before the device is wiped. Valid values 4 to 11

View File

@ -169,6 +169,155 @@ class AndroidDeviceOwnerWiFiConfiguration extends DeviceConfiguration
return $this;
}
/**
* Gets the proxyAutomaticConfigurationUrl
* Specify the proxy server configuration script URL.
*
* @return string|null The proxyAutomaticConfigurationUrl
*/
public function getProxyAutomaticConfigurationUrl()
{
if (array_key_exists("proxyAutomaticConfigurationUrl", $this->_propDict)) {
return $this->_propDict["proxyAutomaticConfigurationUrl"];
} else {
return null;
}
}
/**
* Sets the proxyAutomaticConfigurationUrl
* Specify the proxy server configuration script URL.
*
* @param string $val The proxyAutomaticConfigurationUrl
*
* @return AndroidDeviceOwnerWiFiConfiguration
*/
public function setProxyAutomaticConfigurationUrl($val)
{
$this->_propDict["proxyAutomaticConfigurationUrl"] = $val;
return $this;
}
/**
* Gets the proxyExclusionList
* List of hosts to exclude using the proxy on connections for. These hosts can use wildcards such as .example.com.
*
* @return string|null The proxyExclusionList
*/
public function getProxyExclusionList()
{
if (array_key_exists("proxyExclusionList", $this->_propDict)) {
return $this->_propDict["proxyExclusionList"];
} else {
return null;
}
}
/**
* Sets the proxyExclusionList
* List of hosts to exclude using the proxy on connections for. These hosts can use wildcards such as .example.com.
*
* @param string $val The proxyExclusionList
*
* @return AndroidDeviceOwnerWiFiConfiguration
*/
public function setProxyExclusionList($val)
{
$this->_propDict["proxyExclusionList"] = $val;
return $this;
}
/**
* Gets the proxyManualAddress
* Specify the proxy server IP address. Android documentation does not specify IPv4 or IPv6. For example: 192.168.1.1.
*
* @return string|null The proxyManualAddress
*/
public function getProxyManualAddress()
{
if (array_key_exists("proxyManualAddress", $this->_propDict)) {
return $this->_propDict["proxyManualAddress"];
} else {
return null;
}
}
/**
* Sets the proxyManualAddress
* Specify the proxy server IP address. Android documentation does not specify IPv4 or IPv6. For example: 192.168.1.1.
*
* @param string $val The proxyManualAddress
*
* @return AndroidDeviceOwnerWiFiConfiguration
*/
public function setProxyManualAddress($val)
{
$this->_propDict["proxyManualAddress"] = $val;
return $this;
}
/**
* Gets the proxyManualPort
* Specify the proxy server port.
*
* @return int|null The proxyManualPort
*/
public function getProxyManualPort()
{
if (array_key_exists("proxyManualPort", $this->_propDict)) {
return $this->_propDict["proxyManualPort"];
} else {
return null;
}
}
/**
* Sets the proxyManualPort
* Specify the proxy server port.
*
* @param int $val The proxyManualPort
*
* @return AndroidDeviceOwnerWiFiConfiguration
*/
public function setProxyManualPort($val)
{
$this->_propDict["proxyManualPort"] = intval($val);
return $this;
}
/**
* Gets the proxySettings
* Specify the proxy setting for Wi-Fi configuration. Possible values include none, manual, and automatic. Possible values are: none, manual, automatic.
*
* @return WiFiProxySetting|null The proxySettings
*/
public function getProxySettings()
{
if (array_key_exists("proxySettings", $this->_propDict)) {
if (is_a($this->_propDict["proxySettings"], "\Beta\Microsoft\Graph\Model\WiFiProxySetting") || is_null($this->_propDict["proxySettings"])) {
return $this->_propDict["proxySettings"];
} else {
$this->_propDict["proxySettings"] = new WiFiProxySetting($this->_propDict["proxySettings"]);
return $this->_propDict["proxySettings"];
}
}
return null;
}
/**
* Sets the proxySettings
* Specify the proxy setting for Wi-Fi configuration. Possible values include none, manual, and automatic. Possible values are: none, manual, automatic.
*
* @param WiFiProxySetting $val The proxySettings
*
* @return AndroidDeviceOwnerWiFiConfiguration
*/
public function setProxySettings($val)
{
$this->_propDict["proxySettings"] = $val;
return $this;
}
/**
* Gets the ssid
* This is the name of the Wi-Fi network that is broadcast to all devices.

View File

@ -37,4 +37,7 @@ class AndroidKeyguardFeature extends Enum
const FINGERPRINT = "fingerprint";
const REMOTE_INPUT = "remoteInput";
const ALL_FEATURES = "allFeatures";
const FACE = "face";
const IRIS = "iris";
const BIOMETRICS = "biometrics";
}

View File

@ -725,6 +725,35 @@ class AndroidManagedAppProtection extends TargetedManagedAppProtection
return $this;
}
/**
* Gets the fingerprintAndBiometricEnabled
* If null, this setting will be ignored. If false both fingerprints and biometrics will not be enabled. If true, both fingerprints and biometrics will be enabled.
*
* @return bool|null The fingerprintAndBiometricEnabled
*/
public function getFingerprintAndBiometricEnabled()
{
if (array_key_exists("fingerprintAndBiometricEnabled", $this->_propDict)) {
return $this->_propDict["fingerprintAndBiometricEnabled"];
} else {
return null;
}
}
/**
* Sets the fingerprintAndBiometricEnabled
* If null, this setting will be ignored. If false both fingerprints and biometrics will not be enabled. If true, both fingerprints and biometrics will be enabled.
*
* @param bool $val The fingerprintAndBiometricEnabled
*
* @return AndroidManagedAppProtection
*/
public function setFingerprintAndBiometricEnabled($val)
{
$this->_propDict["fingerprintAndBiometricEnabled"] = boolval($val);
return $this;
}
/**
* Gets the keyboardsRestricted
* Indicates if keyboard restriction is enabled. If enabled list of approved keyboards must be provided as well.
@ -928,6 +957,35 @@ class AndroidManagedAppProtection extends TargetedManagedAppProtection
return $this;
}
/**
* Gets the requireClass3Biometrics
* Require user to apply Class 3 Biometrics on their Android device.
*
* @return bool|null The requireClass3Biometrics
*/
public function getRequireClass3Biometrics()
{
if (array_key_exists("requireClass3Biometrics", $this->_propDict)) {
return $this->_propDict["requireClass3Biometrics"];
} else {
return null;
}
}
/**
* Sets the requireClass3Biometrics
* Require user to apply Class 3 Biometrics on their Android device.
*
* @param bool $val The requireClass3Biometrics
*
* @return AndroidManagedAppProtection
*/
public function setRequireClass3Biometrics($val)
{
$this->_propDict["requireClass3Biometrics"] = boolval($val);
return $this;
}
/**
* Gets the requiredAndroidSafetyNetAppsVerificationType
* Defines the Android SafetyNet Apps Verification requirement for a managed app to work. Possible values are: none, enabled.
@ -1027,6 +1085,35 @@ class AndroidManagedAppProtection extends TargetedManagedAppProtection
return $this;
}
/**
* Gets the requirePinAfterBiometricChange
* A PIN prompt will override biometric prompts if class 3 biometrics are updated on the device.
*
* @return bool|null The requirePinAfterBiometricChange
*/
public function getRequirePinAfterBiometricChange()
{
if (array_key_exists("requirePinAfterBiometricChange", $this->_propDict)) {
return $this->_propDict["requirePinAfterBiometricChange"];
} else {
return null;
}
}
/**
* Sets the requirePinAfterBiometricChange
* A PIN prompt will override biometric prompts if class 3 biometrics are updated on the device.
*
* @param bool $val The requirePinAfterBiometricChange
*
* @return AndroidManagedAppProtection
*/
public function setRequirePinAfterBiometricChange($val)
{
$this->_propDict["requirePinAfterBiometricChange"] = boolval($val);
return $this;
}
/**
* Gets the screenCaptureBlocked
* Indicates whether a managed user can take screen captures of managed apps

View File

@ -335,6 +335,7 @@ class AppliedConditionalAccessPolicy extends Entity
}
/**
* Gets the sessionControlsNotSatisfied
* Refers to the session controls that a sign-in activity did not satisfy. (Example: Application enforced Restrictions).
*
* @return string|null The sessionControlsNotSatisfied
*/
@ -349,6 +350,7 @@ class AppliedConditionalAccessPolicy extends Entity
/**
* Sets the sessionControlsNotSatisfied
* Refers to the session controls that a sign-in activity did not satisfy. (Example: Application enforced Restrictions).
*
* @param string $val The value of the sessionControlsNotSatisfied
*

View File

@ -25,7 +25,7 @@ class ApprovalSettings extends Entity
{
/**
* Gets the approvalMode
* One of NoApproval, SingleStage or Serial. The NoApproval is used when isApprovalRequired is false.
* One of SingleStage, Serial, Parallel, NoApproval (default). NoApproval is used when isApprovalRequired is false.
*
* @return string|null The approvalMode
*/
@ -40,7 +40,7 @@ class ApprovalSettings extends Entity
/**
* Sets the approvalMode
* One of NoApproval, SingleStage or Serial. The NoApproval is used when isApprovalRequired is false.
* One of SingleStage, Serial, Parallel, NoApproval (default). NoApproval is used when isApprovalRequired is false.
*
* @param string $val The value of the approvalMode
*
@ -86,7 +86,7 @@ class ApprovalSettings extends Entity
}
/**
* Gets the isApprovalRequired
* If false, then approval is not required for requests in this policy.
* Indicates whether approval is required for requests in this policy.
*
* @return bool|null The isApprovalRequired
*/
@ -101,7 +101,7 @@ class ApprovalSettings extends Entity
/**
* Sets the isApprovalRequired
* If false, then approval is not required for requests in this policy.
* Indicates whether approval is required for requests in this policy.
*
* @param bool $val The value of the isApprovalRequired
*
@ -114,7 +114,7 @@ class ApprovalSettings extends Entity
}
/**
* Gets the isApprovalRequiredForExtension
* If false, then approval is not required for a user who already has an assignment to extend their assignment.
* Indicates whether approval is required for a user to extend their assignment.
*
* @return bool|null The isApprovalRequiredForExtension
*/
@ -129,7 +129,7 @@ class ApprovalSettings extends Entity
/**
* Sets the isApprovalRequiredForExtension
* If false, then approval is not required for a user who already has an assignment to extend their assignment.
* Indicates whether approval is required for a user to extend their assignment.
*
* @param bool $val The value of the isApprovalRequiredForExtension
*

View File

@ -0,0 +1,135 @@
<?php
/**
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
*
* AttachmentInfo 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;
/**
* AttachmentInfo 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 AttachmentInfo extends Entity
{
/**
* Gets the attachmentType
*
* @return AttachmentType|null The attachmentType
*/
public function getAttachmentType()
{
if (array_key_exists("attachmentType", $this->_propDict)) {
if (is_a($this->_propDict["attachmentType"], "\Beta\Microsoft\Graph\Model\AttachmentType") || is_null($this->_propDict["attachmentType"])) {
return $this->_propDict["attachmentType"];
} else {
$this->_propDict["attachmentType"] = new AttachmentType($this->_propDict["attachmentType"]);
return $this->_propDict["attachmentType"];
}
}
return null;
}
/**
* Sets the attachmentType
*
* @param AttachmentType $val The value to assign to the attachmentType
*
* @return AttachmentInfo The AttachmentInfo
*/
public function setAttachmentType($val)
{
$this->_propDict["attachmentType"] = $val;
return $this;
}
/**
* 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 value of the contentType
*
* @return AttachmentInfo
*/
public function setContentType($val)
{
$this->_propDict["contentType"] = $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 value of the name
*
* @return AttachmentInfo
*/
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 value of the size
*
* @return AttachmentInfo
*/
public function setSize($val)
{
$this->_propDict["size"] = $val;
return $this;
}
}

View File

@ -0,0 +1,116 @@
<?php
/**
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
*
* AttachmentSession 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;
/**
* AttachmentSession 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 AttachmentSession extends Entity
{
/**
* Gets the content
*
* @return \GuzzleHttp\Psr7\Stream|null The content
*/
public function getContent()
{
if (array_key_exists("content", $this->_propDict)) {
if (is_a($this->_propDict["content"], "\GuzzleHttp\Psr7\Stream") || is_null($this->_propDict["content"])) {
return $this->_propDict["content"];
} else {
$this->_propDict["content"] = \GuzzleHttp\Psr7\Utils::streamFor($this->_propDict["content"]);
return $this->_propDict["content"];
}
}
return null;
}
/**
* Sets the content
*
* @param \GuzzleHttp\Psr7\Stream $val The content
*
* @return AttachmentSession
*/
public function setContent($val)
{
$this->_propDict["content"] = $val;
return $this;
}
/**
* Gets the expirationDateTime
*
* @return \DateTime|null The expirationDateTime
*/
public function getExpirationDateTime()
{
if (array_key_exists("expirationDateTime", $this->_propDict)) {
if (is_a($this->_propDict["expirationDateTime"], "\DateTime") || is_null($this->_propDict["expirationDateTime"])) {
return $this->_propDict["expirationDateTime"];
} else {
$this->_propDict["expirationDateTime"] = new \DateTime($this->_propDict["expirationDateTime"]);
return $this->_propDict["expirationDateTime"];
}
}
return null;
}
/**
* Sets the expirationDateTime
*
* @param \DateTime $val The expirationDateTime
*
* @return AttachmentSession
*/
public function setExpirationDateTime($val)
{
$this->_propDict["expirationDateTime"] = $val;
return $this;
}
/**
* Gets the nextExpectedRange
*
* @return string|null The nextExpectedRange
*/
public function getNextExpectedRange()
{
if (array_key_exists("nextExpectedRange", $this->_propDict)) {
return $this->_propDict["nextExpectedRange"];
} else {
return null;
}
}
/**
* Sets the nextExpectedRange
*
* @param string $val The nextExpectedRange
*
* @return AttachmentSession
*/
public function setNextExpectedRange($val)
{
$this->_propDict["nextExpectedRange"] = $val;
return $this;
}
}

View File

@ -0,0 +1,139 @@
<?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

@ -415,7 +415,7 @@ class BaseTask extends Entity
/**
* Gets the checklistItems
* A collection of checklistItems linked to a task.
* A collection of smaller subtasks linked to the more complex parent task.
*
* @return array|null The checklistItems
*/
@ -430,7 +430,7 @@ class BaseTask extends Entity
/**
* Sets the checklistItems
* A collection of checklistItems linked to a task.
* A collection of smaller subtasks linked to the more complex parent task.
*
* @param ChecklistItem[] $val The checklistItems
*

View File

@ -53,6 +53,33 @@ class BookingAppointment extends Entity
return $this;
}
/**
* Gets the anonymousJoinWebUrl
*
* @return string|null The anonymousJoinWebUrl
*/
public function getAnonymousJoinWebUrl()
{
if (array_key_exists("anonymousJoinWebUrl", $this->_propDict)) {
return $this->_propDict["anonymousJoinWebUrl"];
} else {
return null;
}
}
/**
* Sets the anonymousJoinWebUrl
*
* @param string $val The anonymousJoinWebUrl
*
* @return BookingAppointment
*/
public function setAnonymousJoinWebUrl($val)
{
$this->_propDict["anonymousJoinWebUrl"] = $val;
return $this;
}
/**
* Gets the customerEmailAddress
* The SMTP address of the bookingCustomer who is booking the appointment.

View File

@ -203,6 +203,33 @@ class BookingBusiness extends BookingNamedEntity
return $this;
}
/**
* Gets the languageTag
*
* @return string|null The languageTag
*/
public function getLanguageTag()
{
if (array_key_exists("languageTag", $this->_propDict)) {
return $this->_propDict["languageTag"];
} else {
return null;
}
}
/**
* Sets the languageTag
*
* @param string $val The languageTag
*
* @return BookingBusiness
*/
public function setLanguageTag($val)
{
$this->_propDict["languageTag"] = $val;
return $this;
}
/**
* Gets the phone
* The telephone number for the business. The phone property, together with address and webSiteUrl, appear in the footer of a business scheduling page.

View File

@ -241,6 +241,32 @@ class BookingCustomerInformation extends BookingCustomerInformationBase
return $this;
}
/**
* Gets the smsNotificationsEnabled
*
* @return bool|null The smsNotificationsEnabled
*/
public function getSmsNotificationsEnabled()
{
if (array_key_exists("smsNotificationsEnabled", $this->_propDict)) {
return $this->_propDict["smsNotificationsEnabled"];
} else {
return null;
}
}
/**
* Sets the smsNotificationsEnabled
*
* @param bool $val The value of the smsNotificationsEnabled
*
* @return BookingCustomerInformation
*/
public function setSmsNotificationsEnabled($val)
{
$this->_propDict["smsNotificationsEnabled"] = $val;
return $this;
}
/**
* Gets the timeZone
* The time zone of the customer. For a list of possible values, see dateTimeTimeZone.
*

View File

@ -270,6 +270,33 @@ class BookingService extends BookingNamedEntity
return $this;
}
/**
* Gets the isAnonymousJoinEnabled
*
* @return bool|null The isAnonymousJoinEnabled
*/
public function getIsAnonymousJoinEnabled()
{
if (array_key_exists("isAnonymousJoinEnabled", $this->_propDict)) {
return $this->_propDict["isAnonymousJoinEnabled"];
} else {
return null;
}
}
/**
* Sets the isAnonymousJoinEnabled
*
* @param bool $val The isAnonymousJoinEnabled
*
* @return BookingService
*/
public function setIsAnonymousJoinEnabled($val)
{
$this->_propDict["isAnonymousJoinEnabled"] = boolval($val);
return $this;
}
/**
* Gets the isHiddenFromCustomers
* True means this service is not available to customers for booking.
@ -328,6 +355,33 @@ class BookingService extends BookingNamedEntity
return $this;
}
/**
* Gets the languageTag
*
* @return string|null The languageTag
*/
public function getLanguageTag()
{
if (array_key_exists("languageTag", $this->_propDict)) {
return $this->_propDict["languageTag"];
} else {
return null;
}
}
/**
* Sets the languageTag
*
* @param string $val The languageTag
*
* @return BookingService
*/
public function setLanguageTag($val)
{
$this->_propDict["languageTag"] = $val;
return $this;
}
/**
* Gets the maximumAttendeesCount
* The maximum number of customers allowed in a service. If maximumAttendeesCount of the service is greater than 1, pass valid customer IDs while creating or updating an appointment. To create a customer, use the Create bookingCustomer operation.

View File

@ -82,6 +82,33 @@ class BookingStaffMember extends BookingPerson
return $this;
}
/**
* Gets the isEmailNotificationEnabled
*
* @return bool|null The isEmailNotificationEnabled
*/
public function getIsEmailNotificationEnabled()
{
if (array_key_exists("isEmailNotificationEnabled", $this->_propDict)) {
return $this->_propDict["isEmailNotificationEnabled"];
} else {
return null;
}
}
/**
* Sets the isEmailNotificationEnabled
*
* @param bool $val The isEmailNotificationEnabled
*
* @return BookingStaffMember
*/
public function setIsEmailNotificationEnabled($val)
{
$this->_propDict["isEmailNotificationEnabled"] = boolval($val);
return $this;
}
/**
* Gets the role
* The role of the staff member in the business. Possible values are: guest, administrator, viewer, externalGuest and unknownFutureValue. Required.

View File

@ -33,4 +33,7 @@ class BookingStaffRole extends Enum
const ADMINISTRATOR = "administrator";
const VIEWER = "viewer";
const EXTERNAL_GUEST = "externalGuest";
const UNKNOWN_FUTURE_VALUE = "unknownFutureValue";
const SCHEDULER = "scheduler";
const TEAM_MEMBER = "teamMember";
}

View File

@ -147,7 +147,7 @@ class ConnectedOrganization extends Entity
/**
* Gets the identitySources
* The identity sources in this connected organization, one of azureActiveDirectoryTenant, domainIdentitySource or externalDomainFederation. Read-only. Nullable. Supports $select and $filter(eq). To filter by the derived types, you must declare the resource using its full OData cast, for example, $filter=identitySources/any(is:is/microsoft.graph.azureActiveDirectoryTenant/tenantId eq 'bcfdfff4-cbc3-43f2-9000-ba7b7515054f').
* The identity sources in this connected organization, one of azureActiveDirectoryTenant, crossCloudAzureActiveDirectoryTenant, domainIdentitySource or externalDomainFederation. Read-only. Nullable. Supports $select and $filter(eq). To filter by the derived types, you must declare the resource using its full OData cast, for example, $filter=identitySources/any(is:is/microsoft.graph.azureActiveDirectoryTenant/tenantId eq 'bcfdfff4-cbc3-43f2-9000-ba7b7515054f').
*
* @return array|null The identitySources
*/
@ -162,7 +162,7 @@ class ConnectedOrganization extends Entity
/**
* Sets the identitySources
* The identity sources in this connected organization, one of azureActiveDirectoryTenant, domainIdentitySource or externalDomainFederation. Read-only. Nullable. Supports $select and $filter(eq). To filter by the derived types, you must declare the resource using its full OData cast, for example, $filter=identitySources/any(is:is/microsoft.graph.azureActiveDirectoryTenant/tenantId eq 'bcfdfff4-cbc3-43f2-9000-ba7b7515054f').
* The identity sources in this connected organization, one of azureActiveDirectoryTenant, crossCloudAzureActiveDirectoryTenant, domainIdentitySource or externalDomainFederation. Read-only. Nullable. Supports $select and $filter(eq). To filter by the derived types, you must declare the resource using its full OData cast, for example, $filter=identitySources/any(is:is/microsoft.graph.azureActiveDirectoryTenant/tenantId eq 'bcfdfff4-cbc3-43f2-9000-ba7b7515054f').
*
* @param IdentitySource[] $val The identitySources
*

View File

@ -87,7 +87,7 @@ class ContentInfo extends Entity
/**
* Gets the metadata
* Existing Microsoft Information Protection metadata is passed as key/value pairs, where the key is the MSIP_Label_GUID_PropName.
* Existing Microsoft Purview Information Protection metadata is passed as key/value pairs, where the key is the MSIP_Label_GUID_PropName.
*
* @return KeyValuePair|null The metadata
*/
@ -106,7 +106,7 @@ class ContentInfo extends Entity
/**
* Sets the metadata
* Existing Microsoft Information Protection metadata is passed as key/value pairs, where the key is the MSIP_Label_GUID_PropName.
* Existing Microsoft Purview Information Protection metadata is passed as key/value pairs, where the key is the MSIP_Label_GUID_PropName.
*
* @param KeyValuePair $val The value to assign to the metadata
*

View File

@ -36,6 +36,7 @@ class CrossCloudAzureActiveDirectoryTenant extends IdentitySource
/**
* Gets the cloudInstance
* The ID of the cloud where the tenant is located, one of microsoftonline.com, microsoftonline.us or partner.microsoftonline.cn. Read only.
*
* @return string|null The cloudInstance
*/
@ -50,6 +51,7 @@ class CrossCloudAzureActiveDirectoryTenant extends IdentitySource
/**
* Sets the cloudInstance
* The ID of the cloud where the tenant is located, one of microsoftonline.com, microsoftonline.us or partner.microsoftonline.cn. Read only.
*
* @param string $val The value of the cloudInstance
*
@ -62,6 +64,7 @@ class CrossCloudAzureActiveDirectoryTenant extends IdentitySource
}
/**
* Gets the displayName
* The name of the Azure Active Directory tenant. Read only.
*
* @return string|null The displayName
*/
@ -76,6 +79,7 @@ class CrossCloudAzureActiveDirectoryTenant extends IdentitySource
/**
* Sets the displayName
* The name of the Azure Active Directory tenant. Read only.
*
* @param string $val The value of the displayName
*
@ -88,6 +92,7 @@ class CrossCloudAzureActiveDirectoryTenant extends IdentitySource
}
/**
* Gets the tenantId
* The ID of the Azure Active Directory tenant. Read only.
*
* @return string|null The tenantId
*/
@ -102,6 +107,7 @@ class CrossCloudAzureActiveDirectoryTenant extends IdentitySource
/**
* Sets the tenantId
* The ID of the Azure Active Directory tenant. Read only.
*
* @param string $val The value of the tenantId
*

View File

@ -24,6 +24,35 @@ namespace Beta\Microsoft\Graph\Model;
*/
class CrossTenantAccessPolicy extends TenantRelationshipAccessPolicyBase
{
/**
* Gets the allowedCloudEndpoints
* Used to specify which Microsoft clouds an organization would like to collaborate with. By default, this value is empty. Supported values for this field are: microsoftonline.com, microsoftonline.us, and partner.microsoftonline.cn.
*
* @return string|null The allowedCloudEndpoints
*/
public function getAllowedCloudEndpoints()
{
if (array_key_exists("allowedCloudEndpoints", $this->_propDict)) {
return $this->_propDict["allowedCloudEndpoints"];
} else {
return null;
}
}
/**
* Sets the allowedCloudEndpoints
* Used to specify which Microsoft clouds an organization would like to collaborate with. By default, this value is empty. Supported values for this field are: microsoftonline.com, microsoftonline.us, and partner.microsoftonline.cn.
*
* @param string $val The allowedCloudEndpoints
*
* @return CrossTenantAccessPolicy
*/
public function setAllowedCloudEndpoints($val)
{
$this->_propDict["allowedCloudEndpoints"] = $val;
return $this;
}
/**
* Gets the default
* Defines the default configuration for how your organization interacts with external Azure Active Directory organizations.

View File

@ -995,6 +995,35 @@ class DefaultManagedAppProtection extends ManagedAppProtection
return $this;
}
/**
* Gets the fingerprintAndBiometricEnabled
* Indicate to the client to enable both biometrics and fingerprints for the app.
*
* @return bool|null The fingerprintAndBiometricEnabled
*/
public function getFingerprintAndBiometricEnabled()
{
if (array_key_exists("fingerprintAndBiometricEnabled", $this->_propDict)) {
return $this->_propDict["fingerprintAndBiometricEnabled"];
} else {
return null;
}
}
/**
* Sets the fingerprintAndBiometricEnabled
* Indicate to the client to enable both biometrics and fingerprints for the app.
*
* @param bool $val The fingerprintAndBiometricEnabled
*
* @return DefaultManagedAppProtection
*/
public function setFingerprintAndBiometricEnabled($val)
{
$this->_propDict["fingerprintAndBiometricEnabled"] = boolval($val);
return $this;
}
/**
* Gets the minimumRequiredCompanyPortalVersion
* Minimum version of the Company portal that must be installed on the device or app access will be blocked
@ -1256,6 +1285,35 @@ class DefaultManagedAppProtection extends ManagedAppProtection
return $this;
}
/**
* Gets the requireClass3Biometrics
* Require user to apply Class 3 Biometrics on their Android device.
*
* @return bool|null The requireClass3Biometrics
*/
public function getRequireClass3Biometrics()
{
if (array_key_exists("requireClass3Biometrics", $this->_propDict)) {
return $this->_propDict["requireClass3Biometrics"];
} else {
return null;
}
}
/**
* Sets the requireClass3Biometrics
* Require user to apply Class 3 Biometrics on their Android device.
*
* @param bool $val The requireClass3Biometrics
*
* @return DefaultManagedAppProtection
*/
public function setRequireClass3Biometrics($val)
{
$this->_propDict["requireClass3Biometrics"] = boolval($val);
return $this;
}
/**
* Gets the requiredAndroidSafetyNetAppsVerificationType
* Defines the Android SafetyNet Apps Verification requirement for a managed app to work. Possible values are: none, enabled.
@ -1355,6 +1413,35 @@ class DefaultManagedAppProtection extends ManagedAppProtection
return $this;
}
/**
* Gets the requirePinAfterBiometricChange
* A PIN prompt will override biometric prompts if class 3 biometrics are updated on the device.
*
* @return bool|null The requirePinAfterBiometricChange
*/
public function getRequirePinAfterBiometricChange()
{
if (array_key_exists("requirePinAfterBiometricChange", $this->_propDict)) {
return $this->_propDict["requirePinAfterBiometricChange"];
} else {
return null;
}
}
/**
* Sets the requirePinAfterBiometricChange
* A PIN prompt will override biometric prompts if class 3 biometrics are updated on the device.
*
* @param bool $val The requirePinAfterBiometricChange
*
* @return DefaultManagedAppProtection
*/
public function setRequirePinAfterBiometricChange($val)
{
$this->_propDict["requirePinAfterBiometricChange"] = boolval($val);
return $this;
}
/**
* Gets the screenCaptureBlocked
* Indicates whether screen capture is blocked. (Android only)

View File

@ -284,37 +284,6 @@ class DelegatedAdminRelationship extends Entity
return $this;
}
/**
* Gets the partner
*
* @return DelegatedAdminRelationshipParticipant|null The partner
*/
public function getPartner()
{
if (array_key_exists("partner", $this->_propDict)) {
if (is_a($this->_propDict["partner"], "\Beta\Microsoft\Graph\Model\DelegatedAdminRelationshipParticipant") || is_null($this->_propDict["partner"])) {
return $this->_propDict["partner"];
} else {
$this->_propDict["partner"] = new DelegatedAdminRelationshipParticipant($this->_propDict["partner"]);
return $this->_propDict["partner"];
}
}
return null;
}
/**
* Sets the partner
*
* @param DelegatedAdminRelationshipParticipant $val The partner
*
* @return DelegatedAdminRelationship
*/
public function setPartner($val)
{
$this->_propDict["partner"] = $val;
return $this;
}
/**
* Gets the status
* The status of the relationship. Read Only. The possible values are: activating, active, approvalPending, approved, created, expired, expiring, terminated, terminating, terminationRequested, unknownFutureValue. Supports $orderBy.

View File

@ -154,17 +154,17 @@ class DelegatedAdminRelationshipOperation extends Entity
/**
* Gets the status
* The status of the operation. Read-only. The possible values are: notStarted, running, complete, failed, unknownFutureValue. Read-only. Supports $orderBy.
* The status of the operation. Read-only. The possible values are: notStarted, running, succeeded, failed, unknownFutureValue. Read-only. Supports $orderBy.
*
* @return DelegatedAdminRelationshipOperationStatus|null The status
* @return LongRunningOperationStatus|null The status
*/
public function getStatus()
{
if (array_key_exists("status", $this->_propDict)) {
if (is_a($this->_propDict["status"], "\Beta\Microsoft\Graph\Model\DelegatedAdminRelationshipOperationStatus") || is_null($this->_propDict["status"])) {
if (is_a($this->_propDict["status"], "\Beta\Microsoft\Graph\Model\LongRunningOperationStatus") || is_null($this->_propDict["status"])) {
return $this->_propDict["status"];
} else {
$this->_propDict["status"] = new DelegatedAdminRelationshipOperationStatus($this->_propDict["status"]);
$this->_propDict["status"] = new LongRunningOperationStatus($this->_propDict["status"]);
return $this->_propDict["status"];
}
}
@ -173,9 +173,9 @@ class DelegatedAdminRelationshipOperation extends Entity
/**
* Sets the status
* The status of the operation. Read-only. The possible values are: notStarted, running, complete, failed, unknownFutureValue. Read-only. Supports $orderBy.
* The status of the operation. Read-only. The possible values are: notStarted, running, succeeded, failed, unknownFutureValue. Read-only. Supports $orderBy.
*
* @param DelegatedAdminRelationshipOperationStatus $val The status
* @param LongRunningOperationStatus $val The status
*
* @return DelegatedAdminRelationshipOperation
*/

View File

@ -125,7 +125,7 @@ class DelegatedAdminRelationshipRequest extends Entity
/**
* Gets the status
* The status of the request. Read-only. The possible values are: created, pending, complete, failed, unknownFutureValue.
* The status of the request. Read-only. The possible values are: created, pending, succeeded, failed, unknownFutureValue.
*
* @return DelegatedAdminRelationshipRequestStatus|null The status
*/
@ -144,7 +144,7 @@ class DelegatedAdminRelationshipRequest extends Entity
/**
* Sets the status
* The status of the request. Read-only. The possible values are: created, pending, complete, failed, unknownFutureValue.
* The status of the request. Read-only. The possible values are: created, pending, succeeded, failed, unknownFutureValue.
*
* @param DelegatedAdminRelationshipRequestStatus $val The status
*

View File

@ -31,7 +31,7 @@ class DelegatedAdminRelationshipRequestStatus extends Enum
*/
const CREATED = "created";
const PENDING = "pending";
const COMPLETE = "complete";
const SUCCEEDED = "succeeded";
const FAILED = "failed";
const UNKNOWN_FUTURE_VALUE = "unknownFutureValue";
}

View File

@ -24,33 +24,6 @@ namespace Beta\Microsoft\Graph\Model;
*/
class DelegatedAdminServiceManagementDetail extends Entity
{
/**
* Gets the serviceId
*
* @return string|null The serviceId
*/
public function getServiceId()
{
if (array_key_exists("serviceId", $this->_propDict)) {
return $this->_propDict["serviceId"];
} else {
return null;
}
}
/**
* Sets the serviceId
*
* @param string $val The serviceId
*
* @return DelegatedAdminServiceManagementDetail
*/
public function setServiceId($val)
{
$this->_propDict["serviceId"] = $val;
return $this;
}
/**
* Gets the serviceManagementUrl
* The URL of the management portal for the managed service. Read-only.

View File

@ -0,0 +1,55 @@
<?php
/**
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
*
* DeletedTeam 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;
/**
* DeletedTeam 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 DeletedTeam extends Entity
{
/**
* Gets the channels
*
* @return array|null The channels
*/
public function getChannels()
{
if (array_key_exists("channels", $this->_propDict)) {
return $this->_propDict["channels"];
} else {
return null;
}
}
/**
* Sets the channels
*
* @param Channel[] $val The channels
*
* @return DeletedTeam
*/
public function setChannels($val)
{
$this->_propDict["channels"] = $val;
return $this;
}
}

View File

@ -55,7 +55,7 @@ class DeviceAppManagement extends Entity
/**
* Gets the microsoftStoreForBusinessLanguage
* The locale information used to sync applications from the Microsoft Store for Business. Cultures that are specific to a country/region. The names of these cultures follow RFC 4646 (Windows Vista and later). The format is -&amp;lt;country/regioncode2&amp;gt;, where is a lowercase two-letter code derived from ISO 639-1 and &amp;lt;country/regioncode2&amp;gt; is an uppercase two-letter code derived from ISO 3166. For example, en-US for English (United States) is a specific culture.
* The locale information used to sync applications from the Microsoft Store for Business. Cultures that are specific to a country/region. The names of these cultures follow RFC 4646 (Windows Vista and later). The format is &amp;lt;languagecode2&amp;gt;-&amp;lt;country/regioncode2&amp;gt;, where &amp;lt;languagecode2&amp;gt; is a lowercase two-letter code derived from ISO 639-1 and &amp;lt;country/regioncode2&amp;gt; is an uppercase two-letter code derived from ISO 3166. For example, en-US for English (United States) is a specific culture.
*
* @return string|null The microsoftStoreForBusinessLanguage
*/
@ -70,7 +70,7 @@ class DeviceAppManagement extends Entity
/**
* Sets the microsoftStoreForBusinessLanguage
* The locale information used to sync applications from the Microsoft Store for Business. Cultures that are specific to a country/region. The names of these cultures follow RFC 4646 (Windows Vista and later). The format is -&amp;lt;country/regioncode2&amp;gt;, where is a lowercase two-letter code derived from ISO 639-1 and &amp;lt;country/regioncode2&amp;gt; is an uppercase two-letter code derived from ISO 3166. For example, en-US for English (United States) is a specific culture.
* The locale information used to sync applications from the Microsoft Store for Business. Cultures that are specific to a country/region. The names of these cultures follow RFC 4646 (Windows Vista and later). The format is &amp;lt;languagecode2&amp;gt;-&amp;lt;country/regioncode2&amp;gt;, where &amp;lt;languagecode2&amp;gt; is a lowercase two-letter code derived from ISO 639-1 and &amp;lt;country/regioncode2&amp;gt; is an uppercase two-letter code derived from ISO 3166. For example, en-US for English (United States) is a specific culture.
*
* @param string $val The microsoftStoreForBusinessLanguage
*
@ -878,6 +878,36 @@ class DeviceAppManagement extends Entity
}
/**
* Gets the windowsManagedAppProtections
* Windows managed app policies.
*
* @return array|null The windowsManagedAppProtections
*/
public function getWindowsManagedAppProtections()
{
if (array_key_exists("windowsManagedAppProtections", $this->_propDict)) {
return $this->_propDict["windowsManagedAppProtections"];
} else {
return null;
}
}
/**
* Sets the windowsManagedAppProtections
* Windows managed app policies.
*
* @param WindowsManagedAppProtection[] $val The windowsManagedAppProtections
*
* @return DeviceAppManagement
*/
public function setWindowsManagedAppProtections($val)
{
$this->_propDict["windowsManagedAppProtections"] = $val;
return $this;
}
/**
* Gets the deviceAppManagementTasks
* Device app management tasks.

View File

@ -148,4 +148,33 @@ class DeviceManagementDerivedCredentialSettings extends Entity
return $this;
}
/**
* Gets the renewalThresholdPercentage
* The nominal percentage of time before certificate renewal is initiated by the client.
*
* @return int|null The renewalThresholdPercentage
*/
public function getRenewalThresholdPercentage()
{
if (array_key_exists("renewalThresholdPercentage", $this->_propDict)) {
return $this->_propDict["renewalThresholdPercentage"];
} else {
return null;
}
}
/**
* Sets the renewalThresholdPercentage
* The nominal percentage of time before certificate renewal is initiated by the client.
*
* @param int $val The renewalThresholdPercentage
*
* @return DeviceManagementDerivedCredentialSettings
*/
public function setRenewalThresholdPercentage($val)
{
$this->_propDict["renewalThresholdPercentage"] = intval($val);
return $this;
}
}

View File

@ -26,7 +26,7 @@ class DeviceScopeActionResult extends Entity
/**
* Gets the deviceScopeAction
* The triggered action name.
* The triggered action name. Possible values are: .
*
* @return DeviceScopeAction|null The deviceScopeAction
*/
@ -45,7 +45,7 @@ class DeviceScopeActionResult extends Entity
/**
* Sets the deviceScopeAction
* The triggered action name.
* The triggered action name. Possible values are: .
*
* @param DeviceScopeAction $val The value to assign to the deviceScopeAction
*
@ -115,7 +115,7 @@ class DeviceScopeActionResult extends Entity
/**
* Gets the status
* Indicates the status of the attempt device scope action. When succeeded, the action was succeessfully triggered, When failed, the action was failed to trigger.
* Indicates the status of the attempt device scope action. When succeeded, the action was succeessfully triggered, When failed, the action was failed to trigger. Possible values are: failed, succeeded, unknownFutureValue.
*
* @return DeviceScopeActionStatus|null The status
*/
@ -134,7 +134,7 @@ class DeviceScopeActionResult extends Entity
/**
* Sets the status
* Indicates the status of the attempt device scope action. When succeeded, the action was succeessfully triggered, When failed, the action was failed to trigger.
* Indicates the status of the attempt device scope action. When succeeded, the action was succeessfully triggered, When failed, the action was failed to trigger. Possible values are: failed, succeeded, unknownFutureValue.
*
* @param DeviceScopeActionStatus $val The value to assign to the status
*

View File

@ -437,6 +437,35 @@ class EducationAssignment extends Entity
return $this;
}
/**
* Gets the feedbackResourcesFolderUrl
* Folder URL where all the feedback file resources for this assignment are stored.
*
* @return string|null The feedbackResourcesFolderUrl
*/
public function getFeedbackResourcesFolderUrl()
{
if (array_key_exists("feedbackResourcesFolderUrl", $this->_propDict)) {
return $this->_propDict["feedbackResourcesFolderUrl"];
} else {
return null;
}
}
/**
* Sets the feedbackResourcesFolderUrl
* Folder URL where all the feedback file resources for this assignment are stored.
*
* @param string $val The feedbackResourcesFolderUrl
*
* @return EducationAssignment
*/
public function setFeedbackResourcesFolderUrl($val)
{
$this->_propDict["feedbackResourcesFolderUrl"] = $val;
return $this;
}
/**
* Gets the grading
* How the assignment will be graded.

View File

@ -0,0 +1,93 @@
<?php
/**
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
*
* EducationFeedbackResourceOutcome 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;
/**
* EducationFeedbackResourceOutcome 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 EducationFeedbackResourceOutcome extends EducationOutcome
{
/**
* Gets the feedbackResource
* The actual feedback resource.
*
* @return EducationResource|null The feedbackResource
*/
public function getFeedbackResource()
{
if (array_key_exists("feedbackResource", $this->_propDict)) {
if (is_a($this->_propDict["feedbackResource"], "\Beta\Microsoft\Graph\Model\EducationResource") || is_null($this->_propDict["feedbackResource"])) {
return $this->_propDict["feedbackResource"];
} else {
$this->_propDict["feedbackResource"] = new EducationResource($this->_propDict["feedbackResource"]);
return $this->_propDict["feedbackResource"];
}
}
return null;
}
/**
* Sets the feedbackResource
* The actual feedback resource.
*
* @param EducationResource $val The feedbackResource
*
* @return EducationFeedbackResourceOutcome
*/
public function setFeedbackResource($val)
{
$this->_propDict["feedbackResource"] = $val;
return $this;
}
/**
* Gets the resourceStatus
* The status of the feedback resource. The possible values are: notPublished, pendingPublish, published, failedPublish, and unknownFutureValue.
*
* @return EducationFeedbackResourceOutcomeStatus|null The resourceStatus
*/
public function getResourceStatus()
{
if (array_key_exists("resourceStatus", $this->_propDict)) {
if (is_a($this->_propDict["resourceStatus"], "\Beta\Microsoft\Graph\Model\EducationFeedbackResourceOutcomeStatus") || is_null($this->_propDict["resourceStatus"])) {
return $this->_propDict["resourceStatus"];
} else {
$this->_propDict["resourceStatus"] = new EducationFeedbackResourceOutcomeStatus($this->_propDict["resourceStatus"]);
return $this->_propDict["resourceStatus"];
}
}
return null;
}
/**
* Sets the resourceStatus
* The status of the feedback resource. The possible values are: notPublished, pendingPublish, published, failedPublish, and unknownFutureValue.
*
* @param EducationFeedbackResourceOutcomeStatus $val The resourceStatus
*
* @return EducationFeedbackResourceOutcome
*/
public function setResourceStatus($val)
{
$this->_propDict["resourceStatus"] = $val;
return $this;
}
}

View File

@ -2,7 +2,7 @@
/**
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
*
* DelegatedAdminRelationshipOperationStatus File
* EducationFeedbackResourceOutcomeStatus File
* PHP version 7
*
* @category Library
@ -16,7 +16,7 @@ namespace Beta\Microsoft\Graph\Model;
use Microsoft\Graph\Core\Enum;
/**
* DelegatedAdminRelationshipOperationStatus class
* EducationFeedbackResourceOutcomeStatus class
*
* @category Model
* @package Microsoft.Graph
@ -24,14 +24,14 @@ use Microsoft\Graph\Core\Enum;
* @license https://opensource.org/licenses/MIT MIT License
* @link https://graph.microsoft.com
*/
class DelegatedAdminRelationshipOperationStatus extends Enum
class EducationFeedbackResourceOutcomeStatus extends Enum
{
/**
* The Enum DelegatedAdminRelationshipOperationStatus
* The Enum EducationFeedbackResourceOutcomeStatus
*/
const NOT_STARTED = "notStarted";
const RUNNING = "running";
const COMPLETE = "complete";
const FAILED = "failed";
const NOT_PUBLISHED = "notPublished";
const PENDING_PUBLISH = "pendingPublish";
const PUBLISHED = "published";
const FAILED_PUBLISH = "failedPublish";
const UNKNOWN_FUTURE_VALUE = "unknownFutureValue";
}

View File

@ -59,7 +59,7 @@ class EducationOutcome extends Entity
/**
* Gets the lastModifiedDateTime
* Moment in time when the resource was last modified. 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, 2021 is 2021-01-01T00:00:00Z.
* Moment in time when the resource was last modified. 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, 2021 is 2021-01-01T00:00:00Z.
*
* @return \DateTime|null The lastModifiedDateTime
*/
@ -78,7 +78,7 @@ class EducationOutcome extends Entity
/**
* Sets the lastModifiedDateTime
* Moment in time when the resource was last modified. 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, 2021 is 2021-01-01T00:00:00Z.
* Moment in time when the resource was last modified. 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, 2021 is 2021-01-01T00:00:00Z.
*
* @param \DateTime $val The lastModifiedDateTime
*

View File

@ -27,7 +27,7 @@ class EntitlementManagement extends Entity
/**
* Gets the accessPackageAssignmentApprovals
* Approval stages for assignment requests.
* Approval stages for decisions associated with access package assignment requests.
*
* @return array|null The accessPackageAssignmentApprovals
*/
@ -42,7 +42,7 @@ class EntitlementManagement extends Entity
/**
* Sets the accessPackageAssignmentApprovals
* Approval stages for assignment requests.
* Approval stages for decisions associated with access package assignment requests.
*
* @param Approval[] $val The accessPackageAssignmentApprovals
*
@ -147,7 +147,7 @@ class EntitlementManagement extends Entity
/**
* Gets the accessPackageAssignments
* Represents the grant of an access package to a subject (user or group).
* The assignment of an access package to a subject for a period of time.
*
* @return array|null The accessPackageAssignments
*/
@ -162,7 +162,7 @@ class EntitlementManagement extends Entity
/**
* Sets the accessPackageAssignments
* Represents the grant of an access package to a subject (user or group).
* The assignment of an access package to a subject for a period of time.
*
* @param AccessPackageAssignment[] $val The accessPackageAssignments
*
@ -177,7 +177,7 @@ class EntitlementManagement extends Entity
/**
* Gets the accessPackageCatalogs
* Represents a group of access packages.
* A container of access packages.
*
* @return array|null The accessPackageCatalogs
*/
@ -192,7 +192,7 @@ class EntitlementManagement extends Entity
/**
* Sets the accessPackageCatalogs
* Represents a group of access packages.
* A container of access packages.
*
* @param AccessPackageCatalog[] $val The accessPackageCatalogs
*

View File

@ -0,0 +1,58 @@
<?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

@ -1143,6 +1143,37 @@ class Group extends DirectoryObject
return $this;
}
/**
* Gets the writebackConfiguration
*
* @return GroupWritebackConfiguration|null The writebackConfiguration
*/
public function getWritebackConfiguration()
{
if (array_key_exists("writebackConfiguration", $this->_propDict)) {
if (is_a($this->_propDict["writebackConfiguration"], "\Beta\Microsoft\Graph\Model\GroupWritebackConfiguration") || is_null($this->_propDict["writebackConfiguration"])) {
return $this->_propDict["writebackConfiguration"];
} else {
$this->_propDict["writebackConfiguration"] = new GroupWritebackConfiguration($this->_propDict["writebackConfiguration"]);
return $this->_propDict["writebackConfiguration"];
}
}
return null;
}
/**
* Sets the writebackConfiguration
*
* @param GroupWritebackConfiguration $val The writebackConfiguration
*
* @return Group
*/
public function setWritebackConfiguration($val)
{
$this->_propDict["writebackConfiguration"] = $val;
return $this;
}
/**
* Gets the accessType
*

View File

@ -0,0 +1,52 @@
<?php
/**
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
*
* GroupWritebackConfiguration 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;
/**
* GroupWritebackConfiguration 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 GroupWritebackConfiguration extends WritebackConfiguration
{
/**
* Gets the onPremisesGroupType
*
* @return string|null The onPremisesGroupType
*/
public function getOnPremisesGroupType()
{
if (array_key_exists("onPremisesGroupType", $this->_propDict)) {
return $this->_propDict["onPremisesGroupType"];
} else {
return null;
}
}
/**
* Sets the onPremisesGroupType
*
* @param string $val The value of the onPremisesGroupType
*
* @return GroupWritebackConfiguration
*/
public function setOnPremisesGroupType($val)
{
$this->_propDict["onPremisesGroupType"] = $val;
return $this;
}
}

View File

@ -25,7 +25,7 @@ class Identity extends Entity
{
/**
* Gets the displayName
* The identity's display name. Note that this may not always be available or up to date. For example, if a user changes their display name, the API may show the new value in a future response, but the items associated with the user won't show up as having changed when using delta.
* The display name of the identity. This property is read-only.
*
* @return string|null The displayName
*/
@ -40,7 +40,7 @@ class Identity extends Entity
/**
* Sets the displayName
* The identity's display name. Note that this may not always be available or up to date. For example, if a user changes their display name, the API may show the new value in a future response, but the items associated with the user won't show up as having changed when using delta.
* The display name of the identity. This property is read-only.
*
* @param string $val The value of the displayName
*
@ -53,7 +53,7 @@ class Identity extends Entity
}
/**
* Gets the id
* Unique identifier for the identity.
* The identifier of the identity. This property is read-only.
*
* @return string|null The id
*/
@ -68,7 +68,7 @@ class Identity extends Entity
/**
* Sets the id
* Unique identifier for the identity.
* The identifier of the identity. This property is read-only.
*
* @param string $val The value of the id
*

View File

@ -26,7 +26,7 @@ class IdentitySet extends Entity
/**
* Gets the application
* The Identity of the Application. This property is read-only.
* Optional. The application associated with this action.
*
* @return Identity|null The application
*/
@ -45,7 +45,7 @@ class IdentitySet extends Entity
/**
* Sets the application
* The Identity of the Application. This property is read-only.
* Optional. The application associated with this action.
*
* @param Identity $val The value to assign to the application
*
@ -59,7 +59,7 @@ class IdentitySet extends Entity
/**
* Gets the device
* The Identity of the Device. This property is read-only.
* Optional. The device associated with this action.
*
* @return Identity|null The device
*/
@ -78,7 +78,7 @@ class IdentitySet extends Entity
/**
* Sets the device
* The Identity of the Device. This property is read-only.
* Optional. The device associated with this action.
*
* @param Identity $val The value to assign to the device
*
@ -92,7 +92,7 @@ class IdentitySet extends Entity
/**
* Gets the user
* The Identity of the User. This property is read-only.
* Optional. The user associated with this action.
*
* @return Identity|null The user
*/
@ -111,7 +111,7 @@ class IdentitySet extends Entity
/**
* Sets the user
* The Identity of the User. This property is read-only.
* Optional. The user associated with this action.
*
* @param Identity $val The value to assign to the user
*

View File

@ -0,0 +1,85 @@
<?php
/**
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
*
* IosiPadOSWebClip 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;
/**
* IosiPadOSWebClip 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 IosiPadOSWebClip extends MobileApp
{
/**
* Gets the appUrl
* The web app URL.
*
* @return string|null The appUrl
*/
public function getAppUrl()
{
if (array_key_exists("appUrl", $this->_propDict)) {
return $this->_propDict["appUrl"];
} else {
return null;
}
}
/**
* Sets the appUrl
* The web app URL.
*
* @param string $val The appUrl
*
* @return IosiPadOSWebClip
*/
public function setAppUrl($val)
{
$this->_propDict["appUrl"] = $val;
return $this;
}
/**
* Gets the useManagedBrowser
* Whether or not to use managed browser. When true, the app will be required to be opened in an Intune-protected browser. When false, the app will not be required to be opened in an Intune-protected browser.
*
* @return bool|null The useManagedBrowser
*/
public function getUseManagedBrowser()
{
if (array_key_exists("useManagedBrowser", $this->_propDict)) {
return $this->_propDict["useManagedBrowser"];
} else {
return null;
}
}
/**
* Sets the useManagedBrowser
* Whether or not to use managed browser. When true, the app will be required to be opened in an Intune-protected browser. When false, the app will not be required to be opened in an Intune-protected browser.
*
* @param bool $val The useManagedBrowser
*
* @return IosiPadOSWebClip
*/
public function setUseManagedBrowser($val)
{
$this->_propDict["useManagedBrowser"] = boolval($val);
return $this;
}
}

View File

@ -25,6 +25,7 @@ class LoginPageTextVisibilitySettings extends Entity
{
/**
* Gets the hideAccountResetCredentials
* Option to hide the self-service password reset (SSPR) hyperlinks such as 'Can't access your account?', 'Forgot my password' and 'Reset it now' on the sign-in form.
*
* @return bool|null The hideAccountResetCredentials
*/
@ -39,6 +40,7 @@ class LoginPageTextVisibilitySettings extends Entity
/**
* Sets the hideAccountResetCredentials
* Option to hide the self-service password reset (SSPR) hyperlinks such as 'Can't access your account?', 'Forgot my password' and 'Reset it now' on the sign-in form.
*
* @param bool $val The value of the hideAccountResetCredentials
*

View File

@ -32,4 +32,5 @@ class ManagedAppDataIngestionLocation extends Enum
const ONE_DRIVE_FOR_BUSINESS = "oneDriveForBusiness";
const SHARE_POINT = "sharePoint";
const CAMERA = "camera";
const PHOTO_LIBRARY = "photoLibrary";
}

View File

@ -33,4 +33,5 @@ class ManagedAppDataStorageLocation extends Enum
const SHARE_POINT = "sharePoint";
const BOX = "box";
const LOCAL_STORAGE = "localStorage";
const PHOTO_LIBRARY = "photoLibrary";
}

View File

@ -0,0 +1,99 @@
<?php
/**
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
*
* MessagePinnedEventMessageDetail 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;
/**
* MessagePinnedEventMessageDetail 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 MessagePinnedEventMessageDetail extends EventMessageDetail
{
/**
* Set the @odata.type since this type is immediately descended from an abstract
* type that is referenced as the type in an entity.
* @param array $propDict The property dictionary
*/
public function __construct($propDict = array())
{
parent::__construct($propDict);
$this->setODataType("#microsoft.graph.messagePinnedEventMessageDetail");
}
/**
* Gets the eventDateTime
*
* @return \DateTime|null The eventDateTime
*/
public function getEventDateTime()
{
if (array_key_exists("eventDateTime", $this->_propDict)) {
if (is_a($this->_propDict["eventDateTime"], "\DateTime") || is_null($this->_propDict["eventDateTime"])) {
return $this->_propDict["eventDateTime"];
} else {
$this->_propDict["eventDateTime"] = new \DateTime($this->_propDict["eventDateTime"]);
return $this->_propDict["eventDateTime"];
}
}
return null;
}
/**
* Sets the eventDateTime
*
* @param \DateTime $val The value to assign to the eventDateTime
*
* @return MessagePinnedEventMessageDetail The MessagePinnedEventMessageDetail
*/
public function setEventDateTime($val)
{
$this->_propDict["eventDateTime"] = $val;
return $this;
}
/**
* Gets the initiator
*
* @return IdentitySet|null The initiator
*/
public function getInitiator()
{
if (array_key_exists("initiator", $this->_propDict)) {
if (is_a($this->_propDict["initiator"], "\Beta\Microsoft\Graph\Model\IdentitySet") || is_null($this->_propDict["initiator"])) {
return $this->_propDict["initiator"];
} else {
$this->_propDict["initiator"] = new IdentitySet($this->_propDict["initiator"]);
return $this->_propDict["initiator"];
}
}
return null;
}
/**
* Sets the initiator
*
* @param IdentitySet $val The value to assign to the initiator
*
* @return MessagePinnedEventMessageDetail The MessagePinnedEventMessageDetail
*/
public function setInitiator($val)
{
$this->_propDict["initiator"] = $val;
return $this;
}
}

View File

@ -0,0 +1,99 @@
<?php
/**
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
*
* MessageUnpinnedEventMessageDetail 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;
/**
* MessageUnpinnedEventMessageDetail 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 MessageUnpinnedEventMessageDetail extends EventMessageDetail
{
/**
* Set the @odata.type since this type is immediately descended from an abstract
* type that is referenced as the type in an entity.
* @param array $propDict The property dictionary
*/
public function __construct($propDict = array())
{
parent::__construct($propDict);
$this->setODataType("#microsoft.graph.messageUnpinnedEventMessageDetail");
}
/**
* Gets the eventDateTime
*
* @return \DateTime|null The eventDateTime
*/
public function getEventDateTime()
{
if (array_key_exists("eventDateTime", $this->_propDict)) {
if (is_a($this->_propDict["eventDateTime"], "\DateTime") || is_null($this->_propDict["eventDateTime"])) {
return $this->_propDict["eventDateTime"];
} else {
$this->_propDict["eventDateTime"] = new \DateTime($this->_propDict["eventDateTime"]);
return $this->_propDict["eventDateTime"];
}
}
return null;
}
/**
* Sets the eventDateTime
*
* @param \DateTime $val The value to assign to the eventDateTime
*
* @return MessageUnpinnedEventMessageDetail The MessageUnpinnedEventMessageDetail
*/
public function setEventDateTime($val)
{
$this->_propDict["eventDateTime"] = $val;
return $this;
}
/**
* Gets the initiator
*
* @return IdentitySet|null The initiator
*/
public function getInitiator()
{
if (array_key_exists("initiator", $this->_propDict)) {
if (is_a($this->_propDict["initiator"], "\Beta\Microsoft\Graph\Model\IdentitySet") || is_null($this->_propDict["initiator"])) {
return $this->_propDict["initiator"];
} else {
$this->_propDict["initiator"] = new IdentitySet($this->_propDict["initiator"]);
return $this->_propDict["initiator"];
}
}
return null;
}
/**
* Sets the initiator
*
* @param IdentitySet $val The value to assign to the initiator
*
* @return MessageUnpinnedEventMessageDetail The MessageUnpinnedEventMessageDetail
*/
public function setInitiator($val)
{
$this->_propDict["initiator"] = $val;
return $this;
}
}

View File

@ -88,7 +88,7 @@ class Request extends Entity
/**
* Gets the createdBy
* The user who created this request.
* The principal that created the request.
*
* @return IdentitySet|null The createdBy
*/
@ -107,7 +107,7 @@ class Request extends Entity
/**
* Sets the createdBy
* The user who created this request.
* The principal that created the request.
*
* @param IdentitySet $val The createdBy
*

View File

@ -26,7 +26,7 @@ class RequestSchedule extends Entity
/**
* Gets the expiration
* When the access should expire.
* In entitlement management, when the access should expire.
*
* @return ExpirationPattern|null The expiration
*/
@ -45,7 +45,7 @@ class RequestSchedule extends Entity
/**
* Sets the expiration
* When the access should expire.
* In entitlement management, when the access should expire.
*
* @param ExpirationPattern $val The value to assign to the expiration
*
@ -59,7 +59,7 @@ class RequestSchedule extends Entity
/**
* Gets the recurrence
* For recurring access. Not used at present.
* For recurring access, or eligible or active assignment. This property is currently unsupported in both PIM and entitlement management.
*
* @return PatternedRecurrence|null The recurrence
*/
@ -78,7 +78,7 @@ class RequestSchedule extends Entity
/**
* Sets the recurrence
* For recurring access. Not used at present.
* For recurring access, or eligible or active assignment. This property is currently unsupported in both PIM and entitlement management.
*
* @param PatternedRecurrence $val The value to assign to the recurrence
*
@ -92,7 +92,7 @@ class RequestSchedule extends Entity
/**
* Gets the startDateTime
* 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.
* 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. In PIM, when the eligible or active assignment becomes active.
*
* @return \DateTime|null The startDateTime
*/
@ -111,7 +111,7 @@ class RequestSchedule extends Entity
/**
* Sets the startDateTime
* 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.
* 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. In PIM, when the eligible or active assignment becomes active.
*
* @param \DateTime $val The value to assign to the startDateTime
*

View File

@ -55,6 +55,34 @@ class Teamwork extends Entity
}
/**
* Gets the deletedTeams
*
* @return array|null The deletedTeams
*/
public function getDeletedTeams()
{
if (array_key_exists("deletedTeams", $this->_propDict)) {
return $this->_propDict["deletedTeams"];
} else {
return null;
}
}
/**
* Sets the deletedTeams
*
* @param DeletedTeam[] $val The deletedTeams
*
* @return Teamwork
*/
public function setDeletedTeams($val)
{
$this->_propDict["deletedTeams"] = $val;
return $this;
}
/**
* Gets the devices
* The Teams devices provisioned for the tenant.

View File

@ -25,7 +25,7 @@ class TicketInfo extends Entity
{
/**
* Gets the ticketNumber
* Ticket number meta data
* The ticket number.
*
* @return string|null The ticketNumber
*/
@ -40,7 +40,7 @@ class TicketInfo extends Entity
/**
* Sets the ticketNumber
* Ticket number meta data
* The ticket number.
*
* @param string $val The value of the ticketNumber
*
@ -53,7 +53,7 @@ class TicketInfo extends Entity
}
/**
* Gets the ticketSystem
* Ticket system meta data
* The description of the ticket system.
*
* @return string|null The ticketSystem
*/
@ -68,7 +68,7 @@ class TicketInfo extends Entity
/**
* Sets the ticketSystem
* Ticket system meta data
* The description of the ticket system.
*
* @param string $val The value of the ticketSystem
*

View File

@ -92,6 +92,7 @@ class TodoTask extends Entity
/**
* Gets the categories
* The categories associated with the task. Each category corresponds to the displayName property of an outlookCategory that the user has defined.
*
* @return string|null The categories
*/
@ -106,6 +107,7 @@ class TodoTask extends Entity
/**
* Sets the categories
* The categories associated with the task. Each category corresponds to the displayName property of an outlookCategory that the user has defined.
*
* @param string $val The categories
*
@ -216,6 +218,33 @@ class TodoTask extends Entity
return $this;
}
/**
* Gets the hasAttachments
*
* @return bool|null The hasAttachments
*/
public function getHasAttachments()
{
if (array_key_exists("hasAttachments", $this->_propDict)) {
return $this->_propDict["hasAttachments"];
} else {
return null;
}
}
/**
* Sets the hasAttachments
*
* @param bool $val The hasAttachments
*
* @return TodoTask
*/
public function setHasAttachments($val)
{
$this->_propDict["hasAttachments"] = boolval($val);
return $this;
}
/**
* Gets the importance
* The importance of the task. Possible values are: low, normal, high.
@ -440,8 +469,65 @@ class TodoTask extends Entity
}
/**
* Gets the attachments
*
* @return array|null The attachments
*/
public function getAttachments()
{
if (array_key_exists("attachments", $this->_propDict)) {
return $this->_propDict["attachments"];
} else {
return null;
}
}
/**
* Sets the attachments
*
* @param Attachment_v2[] $val The attachments
*
* @return TodoTask
*/
public function setAttachments($val)
{
$this->_propDict["attachments"] = $val;
return $this;
}
/**
* Gets the attachmentSessions
*
* @return array|null The attachmentSessions
*/
public function getAttachmentSessions()
{
if (array_key_exists("attachmentSessions", $this->_propDict)) {
return $this->_propDict["attachmentSessions"];
} else {
return null;
}
}
/**
* Sets the attachmentSessions
*
* @param AttachmentSession[] $val The attachmentSessions
*
* @return TodoTask
*/
public function setAttachmentSessions($val)
{
$this->_propDict["attachmentSessions"] = $val;
return $this;
}
/**
* Gets the checklistItems
* A collection of smaller subtasks linked to the more complex parent task.
*
* @return array|null The checklistItems
*/
@ -456,6 +542,7 @@ class TodoTask extends Entity
/**
* Sets the checklistItems
* A collection of smaller subtasks linked to the more complex parent task.
*
* @param ChecklistItem[] $val The checklistItems
*

View File

@ -26,7 +26,7 @@ class UnifiedRoleAssignmentSchedule extends UnifiedRoleScheduleBase
{
/**
* Gets the assignmentType
* Type of the assignment. It can either be Assigned or Activated.
* Type of the assignment which can either be Assigned or Activated. Supports $filter (eq, ne).
*
* @return string|null The assignmentType
*/
@ -41,7 +41,7 @@ class UnifiedRoleAssignmentSchedule extends UnifiedRoleScheduleBase
/**
* Sets the assignmentType
* Type of the assignment. It can either be Assigned or Activated.
* Type of the assignment which can either be Assigned or Activated. Supports $filter (eq, ne).
*
* @param string $val The assignmentType
*
@ -55,7 +55,7 @@ class UnifiedRoleAssignmentSchedule extends UnifiedRoleScheduleBase
/**
* Gets the memberType
* Membership type of the assignment. It can either be Inherited, Direct, or Group.
* How the assignments is inherited. It can either be Inherited, Direct, or Group. It can further imply whether the unifiedRoleAssignmentSchedule can be managed by the caller. Supports $filter (eq, ne).
*
* @return string|null The memberType
*/
@ -70,7 +70,7 @@ class UnifiedRoleAssignmentSchedule extends UnifiedRoleScheduleBase
/**
* Sets the memberType
* Membership type of the assignment. It can either be Inherited, Direct, or Group.
* How the assignments is inherited. It can either be Inherited, Direct, or Group. It can further imply whether the unifiedRoleAssignmentSchedule can be managed by the caller. Supports $filter (eq, ne).
*
* @param string $val The memberType
*
@ -84,7 +84,7 @@ class UnifiedRoleAssignmentSchedule extends UnifiedRoleScheduleBase
/**
* Gets the scheduleInfo
* The schedule object of the role assignment request.
* The period of the role assignment. It can represent a single occurrence or multiple recurrences.
*
* @return RequestSchedule|null The scheduleInfo
*/
@ -103,7 +103,7 @@ class UnifiedRoleAssignmentSchedule extends UnifiedRoleScheduleBase
/**
* Sets the scheduleInfo
* The schedule object of the role assignment request.
* The period of the role assignment. It can represent a single occurrence or multiple recurrences.
*
* @param RequestSchedule $val The scheduleInfo
*
@ -117,7 +117,7 @@ class UnifiedRoleAssignmentSchedule extends UnifiedRoleScheduleBase
/**
* Gets the activatedUsing
* If the roleAssignmentSchedule is activated by a roleEligibilitySchedule, this is the link to that schedule.
* If the request is from an eligible administrator to activate a role, this parameter will show the related eligible assignment for that activation. Otherwise, it is null. Supports $expand.
*
* @return UnifiedRoleEligibilitySchedule|null The activatedUsing
*/
@ -136,7 +136,7 @@ class UnifiedRoleAssignmentSchedule extends UnifiedRoleScheduleBase
/**
* Sets the activatedUsing
* If the roleAssignmentSchedule is activated by a roleEligibilitySchedule, this is the link to that schedule.
* If the request is from an eligible administrator to activate a role, this parameter will show the related eligible assignment for that activation. Otherwise, it is null. Supports $expand.
*
* @param UnifiedRoleEligibilitySchedule $val The activatedUsing
*

View File

@ -26,7 +26,7 @@ class UnifiedRoleAssignmentScheduleInstance extends UnifiedRoleScheduleInstanceB
{
/**
* Gets the assignmentType
* Type of the assignment. It can either be Assigned or Activated.
* Type of the assignment which can either be Assigned or Activated. Supports $filter (eq, ne).
*
* @return string|null The assignmentType
*/
@ -41,7 +41,7 @@ class UnifiedRoleAssignmentScheduleInstance extends UnifiedRoleScheduleInstanceB
/**
* Sets the assignmentType
* Type of the assignment. It can either be Assigned or Activated.
* Type of the assignment which can either be Assigned or Activated. Supports $filter (eq, ne).
*
* @param string $val The assignmentType
*
@ -55,7 +55,7 @@ class UnifiedRoleAssignmentScheduleInstance extends UnifiedRoleScheduleInstanceB
/**
* Gets the endDateTime
* Time that the roleAssignmentInstance will expire
* The end date of the schedule instance.
*
* @return \DateTime|null The endDateTime
*/
@ -74,7 +74,7 @@ class UnifiedRoleAssignmentScheduleInstance extends UnifiedRoleScheduleInstanceB
/**
* Sets the endDateTime
* Time that the roleAssignmentInstance will expire
* The end date of the schedule instance.
*
* @param \DateTime $val The endDateTime
*
@ -88,7 +88,7 @@ class UnifiedRoleAssignmentScheduleInstance extends UnifiedRoleScheduleInstanceB
/**
* Gets the memberType
* Membership type of the assignment. It can either be Inherited, Direct, or Group.
* How the assignments is inherited. It can either be Inherited, Direct, or Group. It can further imply whether the unifiedRoleAssignmentSchedule can be managed by the caller. Supports $filter (eq, ne).
*
* @return string|null The memberType
*/
@ -103,7 +103,7 @@ class UnifiedRoleAssignmentScheduleInstance extends UnifiedRoleScheduleInstanceB
/**
* Sets the memberType
* Membership type of the assignment. It can either be Inherited, Direct, or Group.
* How the assignments is inherited. It can either be Inherited, Direct, or Group. It can further imply whether the unifiedRoleAssignmentSchedule can be managed by the caller. Supports $filter (eq, ne).
*
* @param string $val The memberType
*
@ -117,7 +117,7 @@ class UnifiedRoleAssignmentScheduleInstance extends UnifiedRoleScheduleInstanceB
/**
* Gets the roleAssignmentOriginId
* ID of the roleAssignment in the directory
* The identifier of the role assignment in Azure AD.
*
* @return string|null The roleAssignmentOriginId
*/
@ -132,7 +132,7 @@ class UnifiedRoleAssignmentScheduleInstance extends UnifiedRoleScheduleInstanceB
/**
* Sets the roleAssignmentOriginId
* ID of the roleAssignment in the directory
* The identifier of the role assignment in Azure AD.
*
* @param string $val The roleAssignmentOriginId
*
@ -146,7 +146,7 @@ class UnifiedRoleAssignmentScheduleInstance extends UnifiedRoleScheduleInstanceB
/**
* Gets the roleAssignmentScheduleId
* ID of the parent roleAssignmentSchedule for this instance
* The identifier of the unifiedRoleAssignmentSchedule object from which this instance was created.
*
* @return string|null The roleAssignmentScheduleId
*/
@ -161,7 +161,7 @@ class UnifiedRoleAssignmentScheduleInstance extends UnifiedRoleScheduleInstanceB
/**
* Sets the roleAssignmentScheduleId
* ID of the parent roleAssignmentSchedule for this instance
* The identifier of the unifiedRoleAssignmentSchedule object from which this instance was created.
*
* @param string $val The roleAssignmentScheduleId
*
@ -175,7 +175,7 @@ class UnifiedRoleAssignmentScheduleInstance extends UnifiedRoleScheduleInstanceB
/**
* Gets the startDateTime
* Time that the roleAssignmentInstance will start
* When this instance starts.
*
* @return \DateTime|null The startDateTime
*/
@ -194,7 +194,7 @@ class UnifiedRoleAssignmentScheduleInstance extends UnifiedRoleScheduleInstanceB
/**
* Sets the startDateTime
* Time that the roleAssignmentInstance will start
* When this instance starts.
*
* @param \DateTime $val The startDateTime
*
@ -208,7 +208,7 @@ class UnifiedRoleAssignmentScheduleInstance extends UnifiedRoleScheduleInstanceB
/**
* Gets the activatedUsing
* If the roleAssignmentScheduleInstance is activated by a roleEligibilityScheduleRequest, this is the link to the related schedule instance.
* If the request is from an eligible administrator to activate a role, this parameter will show the related eligible assignment for that activation. Otherwise, it is null. Supports $expand.
*
* @return UnifiedRoleEligibilityScheduleInstance|null The activatedUsing
*/
@ -227,7 +227,7 @@ class UnifiedRoleAssignmentScheduleInstance extends UnifiedRoleScheduleInstanceB
/**
* Sets the activatedUsing
* If the roleAssignmentScheduleInstance is activated by a roleEligibilityScheduleRequest, this is the link to the related schedule instance.
* If the request is from an eligible administrator to activate a role, this parameter will show the related eligible assignment for that activation. Otherwise, it is null. Supports $expand.
*
* @param UnifiedRoleEligibilityScheduleInstance $val The activatedUsing
*

View File

@ -26,7 +26,7 @@ class UnifiedRoleAssignmentScheduleRequest extends Request
{
/**
* Gets the action
* Represents the type of the operation on the role assignment. The possible values are: AdminAssign: For administrators to assign roles to users or groups.AdminRemove: For administrators to remove users or groups from roles. AdminUpdate: For administrators to change existing role assignments.AdminExtend: For administrators to extend expiring assignments.AdminRenew: For administrators to renew expired assignments.SelfActivate: For users to activate their assignments.SelfDeactivate: For users to deactivate their active assignments.SelfExtend: For users to request to extend their expiring assignments.SelfRenew: For users to request to renew their expired assignments.
* Represents the type of the operation on the role assignment request. The possible values are: adminAssign, adminUpdate, adminRemove, selfActivate, selfDeactivate, adminExtend, adminRenew, selfExtend, selfRenew, unknownFutureValue. adminAssign: For administrators to assign roles to principals.adminRemove: For administrators to remove principals from roles. adminUpdate: For administrators to change existing role assignments.adminExtend: For administrators to extend expiring assignments.adminRenew: For administrators to renew expired assignments.selfActivate: For principals to activate their assignments.selfDeactivate: For principals to deactivate their active assignments.selfExtend: For principals to request to extend their expiring assignments.selfRenew: For principals to request to renew their expired assignments.
*
* @return string|null The action
*/
@ -41,7 +41,7 @@ class UnifiedRoleAssignmentScheduleRequest extends Request
/**
* Sets the action
* Represents the type of the operation on the role assignment. The possible values are: AdminAssign: For administrators to assign roles to users or groups.AdminRemove: For administrators to remove users or groups from roles. AdminUpdate: For administrators to change existing role assignments.AdminExtend: For administrators to extend expiring assignments.AdminRenew: For administrators to renew expired assignments.SelfActivate: For users to activate their assignments.SelfDeactivate: For users to deactivate their active assignments.SelfExtend: For users to request to extend their expiring assignments.SelfRenew: For users to request to renew their expired assignments.
* Represents the type of the operation on the role assignment request. The possible values are: adminAssign, adminUpdate, adminRemove, selfActivate, selfDeactivate, adminExtend, adminRenew, selfExtend, selfRenew, unknownFutureValue. adminAssign: For administrators to assign roles to principals.adminRemove: For administrators to remove principals from roles. adminUpdate: For administrators to change existing role assignments.adminExtend: For administrators to extend expiring assignments.adminRenew: For administrators to renew expired assignments.selfActivate: For principals to activate their assignments.selfDeactivate: For principals to deactivate their active assignments.selfExtend: For principals to request to extend their expiring assignments.selfRenew: For principals to request to renew their expired assignments.
*
* @param string $val The action
*
@ -55,7 +55,7 @@ class UnifiedRoleAssignmentScheduleRequest extends Request
/**
* Gets the appScopeId
* Identifier of the app-specific scope when the assignment scope is app-specific. The scope of an assignment determines the set of resources for which the principal has been granted access. App scopes are scopes that are defined and understood by this application only. Use / for tenant-wide app scopes. Use directoryScopeId to limit the scope to particular directory objects, for example, administrative units.
* Identifier of the app-specific scope when the assignment is scoped to an app. The scope of an assignment determines the set of resources for which the principal has been granted access. App scopes are scopes that are defined and understood by this application only. Use / for tenant-wide app scopes. Use directoryScopeId to limit the scope to particular directory objects, for example, administrative units. Supports $filter (eq, ne, and on null values).
*
* @return string|null The appScopeId
*/
@ -70,7 +70,7 @@ class UnifiedRoleAssignmentScheduleRequest extends Request
/**
* Sets the appScopeId
* Identifier of the app-specific scope when the assignment scope is app-specific. The scope of an assignment determines the set of resources for which the principal has been granted access. App scopes are scopes that are defined and understood by this application only. Use / for tenant-wide app scopes. Use directoryScopeId to limit the scope to particular directory objects, for example, administrative units.
* Identifier of the app-specific scope when the assignment is scoped to an app. The scope of an assignment determines the set of resources for which the principal has been granted access. App scopes are scopes that are defined and understood by this application only. Use / for tenant-wide app scopes. Use directoryScopeId to limit the scope to particular directory objects, for example, administrative units. Supports $filter (eq, ne, and on null values).
*
* @param string $val The appScopeId
*
@ -84,7 +84,7 @@ class UnifiedRoleAssignmentScheduleRequest extends Request
/**
* Gets the directoryScopeId
* Identifier of the directory object representing the scope of the assignment. The scope of an assignment determines the set of resources for which the principal has been granted access. Directory scopes are shared scopes stored in the directory that are understood by multiple applications. Use / for tenant-wide scope. Use appScopeId to limit the scope to an application only.
* Identifier of the directory object representing the scope of the assignment. The scope of an assignment determines the set of resources for which the principal has been granted access. Directory scopes are shared scopes stored in the directory that are understood by multiple applications. Use / for tenant-wide scope. Use appScopeId to limit the scope to an application only. Supports $filter (eq, ne, and on null values).
*
* @return string|null The directoryScopeId
*/
@ -99,7 +99,7 @@ class UnifiedRoleAssignmentScheduleRequest extends Request
/**
* Sets the directoryScopeId
* Identifier of the directory object representing the scope of the assignment. The scope of an assignment determines the set of resources for which the principal has been granted access. Directory scopes are shared scopes stored in the directory that are understood by multiple applications. Use / for tenant-wide scope. Use appScopeId to limit the scope to an application only.
* Identifier of the directory object representing the scope of the assignment. The scope of an assignment determines the set of resources for which the principal has been granted access. Directory scopes are shared scopes stored in the directory that are understood by multiple applications. Use / for tenant-wide scope. Use appScopeId to limit the scope to an application only. Supports $filter (eq, ne, and on null values).
*
* @param string $val The directoryScopeId
*
@ -113,7 +113,7 @@ class UnifiedRoleAssignmentScheduleRequest extends Request
/**
* Gets the isValidationOnly
* A boolean that determines whether the call is a validation or an actual call. Only set this property if you want to check whether an activation is subject to additional rules like MFA before actually submitting the request.
* Determines whether the call is a validation or an actual call. Only set this property if you want to check whether an activation is subject to additional rules like MFA before actually submitting the request.
*
* @return bool|null The isValidationOnly
*/
@ -128,7 +128,7 @@ class UnifiedRoleAssignmentScheduleRequest extends Request
/**
* Sets the isValidationOnly
* A boolean that determines whether the call is a validation or an actual call. Only set this property if you want to check whether an activation is subject to additional rules like MFA before actually submitting the request.
* Determines whether the call is a validation or an actual call. Only set this property if you want to check whether an activation is subject to additional rules like MFA before actually submitting the request.
*
* @param bool $val The isValidationOnly
*
@ -142,7 +142,7 @@ class UnifiedRoleAssignmentScheduleRequest extends Request
/**
* Gets the justification
* A message provided by users and administrators when create the request about why it is needed.
* A message provided by users and administrators when create they create the unifiedRoleAssignmentScheduleRequest object.
*
* @return string|null The justification
*/
@ -157,7 +157,7 @@ class UnifiedRoleAssignmentScheduleRequest extends Request
/**
* Sets the justification
* A message provided by users and administrators when create the request about why it is needed.
* A message provided by users and administrators when create they create the unifiedRoleAssignmentScheduleRequest object.
*
* @param string $val The justification
*
@ -171,7 +171,7 @@ class UnifiedRoleAssignmentScheduleRequest extends Request
/**
* Gets the principalId
* Identifier of the principal to which the assignment is being granted to.
* Identifier of the principal that has been granted the assignment. Supports $filter (eq, ne).
*
* @return string|null The principalId
*/
@ -186,7 +186,7 @@ class UnifiedRoleAssignmentScheduleRequest extends Request
/**
* Sets the principalId
* Identifier of the principal to which the assignment is being granted to.
* Identifier of the principal that has been granted the assignment. Supports $filter (eq, ne).
*
* @param string $val The principalId
*
@ -200,7 +200,7 @@ class UnifiedRoleAssignmentScheduleRequest extends Request
/**
* Gets the roleDefinitionId
* Identifier of the unifiedRoleDefinition the assignment is for. Read only.
* Identifier of the unifiedRoleDefinition object that is being assigned to the principal. Supports $filter (eq, ne).
*
* @return string|null The roleDefinitionId
*/
@ -215,7 +215,7 @@ class UnifiedRoleAssignmentScheduleRequest extends Request
/**
* Sets the roleDefinitionId
* Identifier of the unifiedRoleDefinition the assignment is for. Read only.
* Identifier of the unifiedRoleDefinition object that is being assigned to the principal. Supports $filter (eq, ne).
*
* @param string $val The roleDefinitionId
*
@ -229,7 +229,7 @@ class UnifiedRoleAssignmentScheduleRequest extends Request
/**
* Gets the scheduleInfo
* The schedule object of the role assignment request.
* The period of the role assignment. Recurring schedules are currently unsupported.
*
* @return RequestSchedule|null The scheduleInfo
*/
@ -248,7 +248,7 @@ class UnifiedRoleAssignmentScheduleRequest extends Request
/**
* Sets the scheduleInfo
* The schedule object of the role assignment request.
* The period of the role assignment. Recurring schedules are currently unsupported.
*
* @param RequestSchedule $val The scheduleInfo
*
@ -262,7 +262,7 @@ class UnifiedRoleAssignmentScheduleRequest extends Request
/**
* Gets the targetScheduleId
* Identifier of the schedule object attached to the assignment.
* Identifier of the schedule object that's linked to the assignment request. Supports $filter (eq, ne).
*
* @return string|null The targetScheduleId
*/
@ -277,7 +277,7 @@ class UnifiedRoleAssignmentScheduleRequest extends Request
/**
* Sets the targetScheduleId
* Identifier of the schedule object attached to the assignment.
* Identifier of the schedule object that's linked to the assignment request. Supports $filter (eq, ne).
*
* @param string $val The targetScheduleId
*
@ -291,7 +291,7 @@ class UnifiedRoleAssignmentScheduleRequest extends Request
/**
* Gets the ticketInfo
* The ticketInfo object attached to the role assignment request which includes details of the ticket number and ticket system.
* Ticket details linked to the role assignment request including details of the ticket number and ticket system.
*
* @return TicketInfo|null The ticketInfo
*/
@ -310,7 +310,7 @@ class UnifiedRoleAssignmentScheduleRequest extends Request
/**
* Sets the ticketInfo
* The ticketInfo object attached to the role assignment request which includes details of the ticket number and ticket system.
* Ticket details linked to the role assignment request including details of the ticket number and ticket system.
*
* @param TicketInfo $val The ticketInfo
*
@ -324,7 +324,7 @@ class UnifiedRoleAssignmentScheduleRequest extends Request
/**
* Gets the activatedUsing
* If the request is from an eligible administrator to activate a role, this parameter will show the related eligible assignment for that activation.
* If the request is from an eligible administrator to activate a role, this parameter will show the related eligible assignment for that activation. Otherwise, it's null. Supports $expand.
*
* @return UnifiedRoleEligibilitySchedule|null The activatedUsing
*/
@ -343,7 +343,7 @@ class UnifiedRoleAssignmentScheduleRequest extends Request
/**
* Sets the activatedUsing
* If the request is from an eligible administrator to activate a role, this parameter will show the related eligible assignment for that activation.
* If the request is from an eligible administrator to activate a role, this parameter will show the related eligible assignment for that activation. Otherwise, it's null. Supports $expand.
*
* @param UnifiedRoleEligibilitySchedule $val The activatedUsing
*
@ -357,7 +357,7 @@ class UnifiedRoleAssignmentScheduleRequest extends Request
/**
* Gets the appScope
* Read-only property with details of the app specific scope when the assignment scope is app specific. Containment entity.
* Read-only property with details of the app-specific scope when the assignment is scoped to an app. Nullable. Supports $expand.
*
* @return AppScope|null The appScope
*/
@ -376,7 +376,7 @@ class UnifiedRoleAssignmentScheduleRequest extends Request
/**
* Sets the appScope
* Read-only property with details of the app specific scope when the assignment scope is app specific. Containment entity.
* Read-only property with details of the app-specific scope when the assignment is scoped to an app. Nullable. Supports $expand.
*
* @param AppScope $val The appScope
*
@ -390,7 +390,7 @@ class UnifiedRoleAssignmentScheduleRequest extends Request
/**
* Gets the directoryScope
* Property referencing the directory object that is the scope of the assignment. Provided so that callers can get the directory object using $expand at the same time as getting the role assignment. Read-only.
* The directory object that is the scope of the assignment. Read-only. Supports $expand.
*
* @return DirectoryObject|null The directoryScope
*/
@ -409,7 +409,7 @@ class UnifiedRoleAssignmentScheduleRequest extends Request
/**
* Sets the directoryScope
* Property referencing the directory object that is the scope of the assignment. Provided so that callers can get the directory object using $expand at the same time as getting the role assignment. Read-only.
* The directory object that is the scope of the assignment. Read-only. Supports $expand.
*
* @param DirectoryObject $val The directoryScope
*
@ -423,7 +423,7 @@ class UnifiedRoleAssignmentScheduleRequest extends Request
/**
* Gets the principal
* Property referencing the principal that is getting a role assignment through the request. Provided so that callers can get the principal using $expand at the same time as getting the role assignment. Read-only.
* The principal that's getting a role assignment through the request. Supports $expand.
*
* @return DirectoryObject|null The principal
*/
@ -442,7 +442,7 @@ class UnifiedRoleAssignmentScheduleRequest extends Request
/**
* Sets the principal
* Property referencing the principal that is getting a role assignment through the request. Provided so that callers can get the principal using $expand at the same time as getting the role assignment. Read-only.
* The principal that's getting a role assignment through the request. Supports $expand.
*
* @param DirectoryObject $val The principal
*
@ -456,7 +456,7 @@ class UnifiedRoleAssignmentScheduleRequest extends Request
/**
* Gets the roleDefinition
* Property indicating the roleDefinition the assignment is for. Provided so that callers can get the role definition using $expand at the same time as getting the role assignment. roleDefinition.Id will be auto expanded.
* Detailed information for the unifiedRoleDefinition object that is referenced through the roleDefinitionId property. Supports $expand.
*
* @return UnifiedRoleDefinition|null The roleDefinition
*/
@ -475,7 +475,7 @@ class UnifiedRoleAssignmentScheduleRequest extends Request
/**
* Sets the roleDefinition
* Property indicating the roleDefinition the assignment is for. Provided so that callers can get the role definition using $expand at the same time as getting the role assignment. roleDefinition.Id will be auto expanded.
* Detailed information for the unifiedRoleDefinition object that is referenced through the roleDefinitionId property. Supports $expand.
*
* @param UnifiedRoleDefinition $val The roleDefinition
*
@ -489,7 +489,7 @@ class UnifiedRoleAssignmentScheduleRequest extends Request
/**
* Gets the targetSchedule
* Property indicating the schedule for an eligible role assignment.
* The schedule for an eligible role assignment that is referenced through the targetScheduleId property. Supports $expand.
*
* @return UnifiedRoleAssignmentSchedule|null The targetSchedule
*/
@ -508,7 +508,7 @@ class UnifiedRoleAssignmentScheduleRequest extends Request
/**
* Sets the targetSchedule
* Property indicating the schedule for an eligible role assignment.
* The schedule for an eligible role assignment that is referenced through the targetScheduleId property. Supports $expand.
*
* @param UnifiedRoleAssignmentSchedule $val The targetSchedule
*

View File

@ -84,7 +84,7 @@ class UnifiedRoleManagementPolicy extends Entity
/**
* Gets the isOrganizationDefault
* This can only be set to true for a single tenant wide policy which will apply to all scopes and roles. Set the scopeId to '/' and scopeType to Directory.
* This can only be set to true for a single tenant-wide policy which will apply to all scopes and roles. Set the scopeId to / and scopeType to Directory. Supports $filter (eq, ne).
*
* @return bool|null The isOrganizationDefault
*/
@ -99,7 +99,7 @@ class UnifiedRoleManagementPolicy extends Entity
/**
* Sets the isOrganizationDefault
* This can only be set to true for a single tenant wide policy which will apply to all scopes and roles. Set the scopeId to '/' and scopeType to Directory.
* This can only be set to true for a single tenant-wide policy which will apply to all scopes and roles. Set the scopeId to / and scopeType to Directory. Supports $filter (eq, ne).
*
* @param bool $val The isOrganizationDefault
*
@ -179,7 +179,7 @@ class UnifiedRoleManagementPolicy extends Entity
/**
* Gets the scopeId
* The id of the scope where the policy is created. Can be / for the tenant or a group ID. Required.
* The identifier of the scope where the policy is created. Can be / for the tenant or a group ID. Required.
*
* @return string|null The scopeId
*/
@ -194,7 +194,7 @@ class UnifiedRoleManagementPolicy extends Entity
/**
* Sets the scopeId
* The id of the scope where the policy is created. Can be / for the tenant or a group ID. Required.
* The identifier of the scope where the policy is created. Can be / for the tenant or a group ID. Required.
*
* @param string $val The scopeId
*
@ -238,7 +238,7 @@ class UnifiedRoleManagementPolicy extends Entity
/**
* Gets the effectiveRules
* Not implemented. The list of effective rules like approval rules and expiration rules evaluated based on inherited referenced rules. For example, if there is a tenant-wide policy to enforce enabling an approval rule, the effective rule will be to enable approval even if the policy has a rule to disable approval.
* The list of effective rules like approval rules and expiration rules evaluated based on inherited referenced rules. For example, if there is a tenant-wide policy to enforce enabling an approval rule, the effective rule will be to enable approval even if the policy has a rule to disable approval. Supports $expand.
*
* @return array|null The effectiveRules
*/
@ -253,7 +253,7 @@ class UnifiedRoleManagementPolicy extends Entity
/**
* Sets the effectiveRules
* Not implemented. The list of effective rules like approval rules and expiration rules evaluated based on inherited referenced rules. For example, if there is a tenant-wide policy to enforce enabling an approval rule, the effective rule will be to enable approval even if the policy has a rule to disable approval.
* The list of effective rules like approval rules and expiration rules evaluated based on inherited referenced rules. For example, if there is a tenant-wide policy to enforce enabling an approval rule, the effective rule will be to enable approval even if the policy has a rule to disable approval. Supports $expand.
*
* @param UnifiedRoleManagementPolicyRule[] $val The effectiveRules
*
@ -268,7 +268,7 @@ class UnifiedRoleManagementPolicy extends Entity
/**
* Gets the rules
* The collection of rules like approval rules and expiration rules.
* The collection of rules like approval rules and expiration rules. Supports $expand.
*
* @return array|null The rules
*/
@ -283,7 +283,7 @@ class UnifiedRoleManagementPolicy extends Entity
/**
* Sets the rules
* The collection of rules like approval rules and expiration rules.
* The collection of rules like approval rules and expiration rules. Supports $expand.
*
* @param UnifiedRoleManagementPolicyRule[] $val The rules
*

View File

@ -26,7 +26,7 @@ class UnifiedRoleManagementPolicyApprovalRule extends UnifiedRoleManagementPolic
{
/**
* Gets the setting
* The approval setting for the rule.
* The settings for approval of the role assignment.
*
* @return ApprovalSettings|null The setting
*/
@ -45,7 +45,7 @@ class UnifiedRoleManagementPolicyApprovalRule extends UnifiedRoleManagementPolic
/**
* Sets the setting
* The approval setting for the rule.
* The settings for approval of the role assignment.
*
* @param ApprovalSettings $val The setting
*

View File

@ -26,7 +26,7 @@ class UnifiedRoleManagementPolicyAuthenticationContextRule extends UnifiedRoleMa
{
/**
* Gets the claimValue
* Value of the authentication context claim.
* The value of the authentication context claim.
*
* @return string|null The claimValue
*/
@ -41,7 +41,7 @@ class UnifiedRoleManagementPolicyAuthenticationContextRule extends UnifiedRoleMa
/**
* Sets the claimValue
* Value of the authentication context claim.
* The value of the authentication context claim.
*
* @param string $val The claimValue
*
@ -55,7 +55,7 @@ class UnifiedRoleManagementPolicyAuthenticationContextRule extends UnifiedRoleMa
/**
* Gets the isEnabled
* Indicates if the setting is enabled.
* Whether this rule is enabled.
*
* @return bool|null The isEnabled
*/
@ -70,7 +70,7 @@ class UnifiedRoleManagementPolicyAuthenticationContextRule extends UnifiedRoleMa
/**
* Sets the isEnabled
* Indicates if the setting is enabled.
* Whether this rule is enabled.
*
* @param bool $val The isEnabled
*

View File

@ -26,7 +26,7 @@ class UnifiedRoleManagementPolicyEnablementRule extends UnifiedRoleManagementPol
{
/**
* Gets the enabledRules
* The rules which are enabled. Allowed values are MultifactorAuthentication, Justification, Ticketing.
* The collection of rules that are enabled for this policy rule. For example, MultiFactorAuthentication, Ticketing, and Justification.
*
* @return string|null The enabledRules
*/
@ -41,7 +41,7 @@ class UnifiedRoleManagementPolicyEnablementRule extends UnifiedRoleManagementPol
/**
* Sets the enabledRules
* The rules which are enabled. Allowed values are MultifactorAuthentication, Justification, Ticketing.
* The collection of rules that are enabled for this policy rule. For example, MultiFactorAuthentication, Ticketing, and Justification.
*
* @param string $val The enabledRules
*

View File

@ -26,7 +26,7 @@ class UnifiedRoleManagementPolicyExpirationRule extends UnifiedRoleManagementPol
{
/**
* Gets the isExpirationRequired
* Indicates if expiration is required for eligibility or assignment.
* Indicates whether expiration is required or if it's a permanently active assignment or eligibility.
*
* @return bool|null The isExpirationRequired
*/
@ -41,7 +41,7 @@ class UnifiedRoleManagementPolicyExpirationRule extends UnifiedRoleManagementPol
/**
* Sets the isExpirationRequired
* Indicates if expiration is required for eligibility or assignment.
* Indicates whether expiration is required or if it's a permanently active assignment or eligibility.
*
* @param bool $val The isExpirationRequired
*
@ -55,7 +55,7 @@ class UnifiedRoleManagementPolicyExpirationRule extends UnifiedRoleManagementPol
/**
* Gets the maximumDuration
* The maximum duration allowed for eligiblity or assignment which is not permanent.
* The maximum duration allowed for eligibility or assignment which is not permanent. Required when isExpirationRequired is true.
*
* @return \DateInterval|null The maximumDuration
*/
@ -74,7 +74,7 @@ class UnifiedRoleManagementPolicyExpirationRule extends UnifiedRoleManagementPol
/**
* Sets the maximumDuration
* The maximum duration allowed for eligiblity or assignment which is not permanent.
* The maximum duration allowed for eligibility or assignment which is not permanent. Required when isExpirationRequired is true.
*
* @param \DateInterval $val The maximumDuration
*

View File

@ -26,7 +26,7 @@ class UnifiedRoleManagementPolicyNotificationRule extends UnifiedRoleManagementP
{
/**
* Gets the isDefaultRecipientsEnabled
* Whether default recipient is receiving the email or not.
* Indicates whether a default recipient will receive the notification email.
*
* @return bool|null The isDefaultRecipientsEnabled
*/
@ -41,7 +41,7 @@ class UnifiedRoleManagementPolicyNotificationRule extends UnifiedRoleManagementP
/**
* Sets the isDefaultRecipientsEnabled
* Whether default recipient is receiving the email or not.
* Indicates whether a default recipient will receive the notification email.
*
* @param bool $val The isDefaultRecipientsEnabled
*
@ -55,7 +55,7 @@ class UnifiedRoleManagementPolicyNotificationRule extends UnifiedRoleManagementP
/**
* Gets the notificationLevel
* The level of notification. One of None, Critical, All.
* The level of notification. The possible values are None, Critical, All.
*
* @return string|null The notificationLevel
*/
@ -70,7 +70,7 @@ class UnifiedRoleManagementPolicyNotificationRule extends UnifiedRoleManagementP
/**
* Sets the notificationLevel
* The level of notification. One of None, Critical, All.
* The level of notification. The possible values are None, Critical, All.
*
* @param string $val The notificationLevel
*
@ -84,7 +84,7 @@ class UnifiedRoleManagementPolicyNotificationRule extends UnifiedRoleManagementP
/**
* Gets the notificationRecipients
* The list of notification recepients like email.
* The list of recipients of the email notifications.
*
* @return string|null The notificationRecipients
*/
@ -99,7 +99,7 @@ class UnifiedRoleManagementPolicyNotificationRule extends UnifiedRoleManagementP
/**
* Sets the notificationRecipients
* The list of notification recepients like email.
* The list of recipients of the email notifications.
*
* @param string $val The notificationRecipients
*
@ -113,7 +113,7 @@ class UnifiedRoleManagementPolicyNotificationRule extends UnifiedRoleManagementP
/**
* Gets the notificationType
* The type of notification. One of Email.
* The type of notification. Only Email is supported.
*
* @return string|null The notificationType
*/
@ -128,7 +128,7 @@ class UnifiedRoleManagementPolicyNotificationRule extends UnifiedRoleManagementP
/**
* Sets the notificationType
* The type of notification. One of Email.
* The type of notification. Only Email is supported.
*
* @param string $val The notificationType
*
@ -142,7 +142,7 @@ class UnifiedRoleManagementPolicyNotificationRule extends UnifiedRoleManagementP
/**
* Gets the recipientType
* The type of recipient. One of Requestor, Approver, Admin.
* The type of recipient of the notification. The possible values are Requestor, Approver, Admin.
*
* @return string|null The recipientType
*/
@ -157,7 +157,7 @@ class UnifiedRoleManagementPolicyNotificationRule extends UnifiedRoleManagementP
/**
* Sets the recipientType
* The type of recipient. One of Requestor, Approver, Admin.
* The type of recipient of the notification. The possible values are Requestor, Approver, Admin.
*
* @param string $val The recipientType
*

View File

@ -26,7 +26,7 @@ class UnifiedRoleManagementPolicyRule extends Entity
{
/**
* Gets the target
* The target for the policy rule.
* Not implemented. Defines details of scope that's targeted by role management policy rule. The details can include the principal type, the role assignment type, and actions affecting a role. Supports $filter (eq, ne).
*
* @return UnifiedRoleManagementPolicyRuleTarget|null The target
*/
@ -45,7 +45,7 @@ class UnifiedRoleManagementPolicyRule extends Entity
/**
* Sets the target
* The target for the policy rule.
* Not implemented. Defines details of scope that's targeted by role management policy rule. The details can include the principal type, the role assignment type, and actions affecting a role. Supports $filter (eq, ne).
*
* @param UnifiedRoleManagementPolicyRuleTarget $val The target
*

View File

@ -25,7 +25,7 @@ class UnifiedRoleManagementPolicyRuleTarget extends Entity
{
/**
* Gets the caller
* The caller for the policy rule target. Allowed values are: None, Admin, EndUser.
* The type of caller that's the target of the policy rule. Allowed values are: None, Admin, EndUser.
*
* @return string|null The caller
*/
@ -40,7 +40,7 @@ class UnifiedRoleManagementPolicyRuleTarget extends Entity
/**
* Sets the caller
* The caller for the policy rule target. Allowed values are: None, Admin, EndUser.
* The type of caller that's the target of the policy rule. Allowed values are: None, Admin, EndUser.
*
* @param string $val The value of the caller
*
@ -53,7 +53,7 @@ class UnifiedRoleManagementPolicyRuleTarget extends Entity
}
/**
* Gets the enforcedSettings
* The list of settings which are enforced and cannot be overridden by child scopes. Use All for all settings.
* The list of role settings that are enforced and cannot be overridden by child scopes. Use All for all settings.
*
* @return string|null The enforcedSettings
*/
@ -68,7 +68,7 @@ class UnifiedRoleManagementPolicyRuleTarget extends Entity
/**
* Sets the enforcedSettings
* The list of settings which are enforced and cannot be overridden by child scopes. Use All for all settings.
* The list of role settings that are enforced and cannot be overridden by child scopes. Use All for all settings.
*
* @param string $val The value of the enforcedSettings
*
@ -81,7 +81,7 @@ class UnifiedRoleManagementPolicyRuleTarget extends Entity
}
/**
* Gets the inheritableSettings
* The list of settings which can be inherited by child scopes. Use All for all settings.
* The list of role settings that can be inherited by child scopes. Use All for all settings.
*
* @return string|null The inheritableSettings
*/
@ -96,7 +96,7 @@ class UnifiedRoleManagementPolicyRuleTarget extends Entity
/**
* Sets the inheritableSettings
* The list of settings which can be inherited by child scopes. Use All for all settings.
* The list of role settings that can be inherited by child scopes. Use All for all settings.
*
* @param string $val The value of the inheritableSettings
*
@ -109,7 +109,7 @@ class UnifiedRoleManagementPolicyRuleTarget extends Entity
}
/**
* Gets the level
* The level for the policy rule target. Allowed values are: Eligibility, Assignment.
* The role assignment type that's the target of policy rule. Allowed values are: Eligibility, Assignment.
*
* @return string|null The level
*/
@ -124,7 +124,7 @@ class UnifiedRoleManagementPolicyRuleTarget extends Entity
/**
* Sets the level
* The level for the policy rule target. Allowed values are: Eligibility, Assignment.
* The role assignment type that's the target of policy rule. Allowed values are: Eligibility, Assignment.
*
* @param string $val The value of the level
*
@ -137,7 +137,7 @@ class UnifiedRoleManagementPolicyRuleTarget extends Entity
}
/**
* Gets the operations
* The operations for policy rule target. Allowed values are: All, Activate, Deactivate, Assign, Update, Remove, Extend, Renew.
* The role management operations that are the target of the policy rule. Allowed values are: All, Activate, Deactivate, Assign, Update, Remove, Extend, Renew.
*
* @return string|null The operations
*/
@ -152,7 +152,7 @@ class UnifiedRoleManagementPolicyRuleTarget extends Entity
/**
* Sets the operations
* The operations for policy rule target. Allowed values are: All, Activate, Deactivate, Assign, Update, Remove, Extend, Renew.
* The role management operations that are the target of the policy rule. Allowed values are: All, Activate, Deactivate, Assign, Update, Remove, Extend, Renew.
*
* @param string $val The value of the operations
*

View File

@ -26,7 +26,7 @@ class UnifiedRoleScheduleBase extends Entity
{
/**
* Gets the appScopeId
* Identifier of the app-specific scope when the assignment scope is app-specific. The scope of an assignment determines the set of resources for which the principal has been granted access. App scopes are scopes that are defined and understood by this application only. Use / for tenant-wide app scopes. Use directoryScopeId to limit the scope to particular directory objects, for example, administrative units or all users.
* Identifier of the app-specific scope when the assignment or eligibility is scoped to an app. The scope of an assignment or eligibility determines the set of resources for which the principal has been granted access. App scopes are scopes that are defined and understood by this application only. Use / for tenant-wide app scopes. Use directoryScopeId to limit the scope to particular directory objects, for example, administrative units.
*
* @return string|null The appScopeId
*/
@ -41,7 +41,7 @@ class UnifiedRoleScheduleBase extends Entity
/**
* Sets the appScopeId
* Identifier of the app-specific scope when the assignment scope is app-specific. The scope of an assignment determines the set of resources for which the principal has been granted access. App scopes are scopes that are defined and understood by this application only. Use / for tenant-wide app scopes. Use directoryScopeId to limit the scope to particular directory objects, for example, administrative units or all users.
* Identifier of the app-specific scope when the assignment or eligibility is scoped to an app. The scope of an assignment or eligibility determines the set of resources for which the principal has been granted access. App scopes are scopes that are defined and understood by this application only. Use / for tenant-wide app scopes. Use directoryScopeId to limit the scope to particular directory objects, for example, administrative units.
*
* @param string $val The appScopeId
*
@ -55,7 +55,7 @@ class UnifiedRoleScheduleBase extends Entity
/**
* Gets the createdDateTime
* Time that the schedule was created.
* When the schedule was created.
*
* @return \DateTime|null The createdDateTime
*/
@ -74,7 +74,7 @@ class UnifiedRoleScheduleBase extends Entity
/**
* Sets the createdDateTime
* Time that the schedule was created.
* When the schedule was created.
*
* @param \DateTime $val The createdDateTime
*
@ -88,7 +88,7 @@ class UnifiedRoleScheduleBase extends Entity
/**
* Gets the createdUsing
* Identifier of the roleAssignmentScheduleRequest that created this schedule.
* Identifier of the object through which this schedule was created.
*
* @return string|null The createdUsing
*/
@ -103,7 +103,7 @@ class UnifiedRoleScheduleBase extends Entity
/**
* Sets the createdUsing
* Identifier of the roleAssignmentScheduleRequest that created this schedule.
* Identifier of the object through which this schedule was created.
*
* @param string $val The createdUsing
*
@ -117,7 +117,7 @@ class UnifiedRoleScheduleBase extends Entity
/**
* Gets the directoryScopeId
* Identifier of the directory object representing the scope of the assignment. The scope of an assignment determines the set of resources for which the principal has been granted access. Directory scopes are shared scopes stored in the directory that are understood by multiple applications. Use / for tenant-wide scope. Use appScopeId to limit the scope to an application only.
* Identifier of the directory object representing the scope of the assignment or eligibility. The scope of an assignment or eligibility determines the set of resources for which the principal has been granted access. Directory scopes are shared scopes stored in the directory that are understood by multiple applications. Use / for tenant-wide scope. Use appScopeId to limit the scope to an application only.
*
* @return string|null The directoryScopeId
*/
@ -132,7 +132,7 @@ class UnifiedRoleScheduleBase extends Entity
/**
* Sets the directoryScopeId
* Identifier of the directory object representing the scope of the assignment. The scope of an assignment determines the set of resources for which the principal has been granted access. Directory scopes are shared scopes stored in the directory that are understood by multiple applications. Use / for tenant-wide scope. Use appScopeId to limit the scope to an application only.
* Identifier of the directory object representing the scope of the assignment or eligibility. The scope of an assignment or eligibility determines the set of resources for which the principal has been granted access. Directory scopes are shared scopes stored in the directory that are understood by multiple applications. Use / for tenant-wide scope. Use appScopeId to limit the scope to an application only.
*
* @param string $val The directoryScopeId
*
@ -146,7 +146,7 @@ class UnifiedRoleScheduleBase extends Entity
/**
* Gets the modifiedDateTime
* Last time the schedule was updated.
* When the schedule was last modified.
*
* @return \DateTime|null The modifiedDateTime
*/
@ -165,7 +165,7 @@ class UnifiedRoleScheduleBase extends Entity
/**
* Sets the modifiedDateTime
* Last time the schedule was updated.
* When the schedule was last modified.
*
* @param \DateTime $val The modifiedDateTime
*
@ -179,7 +179,7 @@ class UnifiedRoleScheduleBase extends Entity
/**
* Gets the principalId
* Identifier of the principal to which the assignment is being granted to. Supports $filter (eq).
* Identifier of the principal that has been granted the role assignment or eligibility.
*
* @return string|null The principalId
*/
@ -194,7 +194,7 @@ class UnifiedRoleScheduleBase extends Entity
/**
* Sets the principalId
* Identifier of the principal to which the assignment is being granted to. Supports $filter (eq).
* Identifier of the principal that has been granted the role assignment or eligibility.
*
* @param string $val The principalId
*
@ -208,7 +208,7 @@ class UnifiedRoleScheduleBase extends Entity
/**
* Gets the roleDefinitionId
* Identifier of the unifiedRoleDefinition the assignment is for. Read only. Supports $filter (eq).
* Identifier of the unifiedRoleDefinition object that is being assigned to the principal or that a principal is eligible for.
*
* @return string|null The roleDefinitionId
*/
@ -223,7 +223,7 @@ class UnifiedRoleScheduleBase extends Entity
/**
* Sets the roleDefinitionId
* Identifier of the unifiedRoleDefinition the assignment is for. Read only. Supports $filter (eq).
* Identifier of the unifiedRoleDefinition object that is being assigned to the principal or that a principal is eligible for.
*
* @param string $val The roleDefinitionId
*
@ -237,7 +237,7 @@ class UnifiedRoleScheduleBase extends Entity
/**
* Gets the status
* Status for the roleAssignmentSchedule. It can include state related messages like Provisioned, Revoked, Pending Provisioning, and Pending Approval. Supports $filter (eq).
* The status of the role assignment or eligibility request.
*
* @return string|null The status
*/
@ -252,7 +252,7 @@ class UnifiedRoleScheduleBase extends Entity
/**
* Sets the status
* Status for the roleAssignmentSchedule. It can include state related messages like Provisioned, Revoked, Pending Provisioning, and Pending Approval. Supports $filter (eq).
* The status of the role assignment or eligibility request.
*
* @param string $val The status
*
@ -266,7 +266,7 @@ class UnifiedRoleScheduleBase extends Entity
/**
* Gets the appScope
* Read-only property with details of the app specific scope when the assignment scope is app specific. Containment entity.
* Read-only property with details of the app-specific scope when the role eligibility or assignment is scoped to an app. Nullable.
*
* @return AppScope|null The appScope
*/
@ -285,7 +285,7 @@ class UnifiedRoleScheduleBase extends Entity
/**
* Sets the appScope
* Read-only property with details of the app specific scope when the assignment scope is app specific. Containment entity.
* Read-only property with details of the app-specific scope when the role eligibility or assignment is scoped to an app. Nullable.
*
* @param AppScope $val The appScope
*
@ -299,7 +299,7 @@ class UnifiedRoleScheduleBase extends Entity
/**
* Gets the directoryScope
* Property referencing the directory object that is the scope of the assignment. Provided so that callers can get the directory object using $expand at the same time as getting the role assignment. Read-only.
* The directory object that is the scope of the role eligibility or assignment. Read-only.
*
* @return DirectoryObject|null The directoryScope
*/
@ -318,7 +318,7 @@ class UnifiedRoleScheduleBase extends Entity
/**
* Sets the directoryScope
* Property referencing the directory object that is the scope of the assignment. Provided so that callers can get the directory object using $expand at the same time as getting the role assignment. Read-only.
* The directory object that is the scope of the role eligibility or assignment. Read-only.
*
* @param DirectoryObject $val The directoryScope
*
@ -332,7 +332,7 @@ class UnifiedRoleScheduleBase extends Entity
/**
* Gets the principal
* Property referencing the principal that is getting a role assignment through the request. Provided so that callers can get the principal using $expand at the same time as getting the role assignment. Read-only.
* The principal that's getting a role assignment or that's eligible for a role through the request.
*
* @return DirectoryObject|null The principal
*/
@ -351,7 +351,7 @@ class UnifiedRoleScheduleBase extends Entity
/**
* Sets the principal
* Property referencing the principal that is getting a role assignment through the request. Provided so that callers can get the principal using $expand at the same time as getting the role assignment. Read-only.
* The principal that's getting a role assignment or that's eligible for a role through the request.
*
* @param DirectoryObject $val The principal
*
@ -365,7 +365,7 @@ class UnifiedRoleScheduleBase extends Entity
/**
* Gets the roleDefinition
* Property indicating the roleDefinition the assignment is for. Provided so that callers can get the role definition using $expand at the same time as getting the role assignment. roleDefinition.Id will be auto expanded.
* Detailed information for the roleDefinition object that is referenced through the roleDefinitionId property.
*
* @return UnifiedRoleDefinition|null The roleDefinition
*/
@ -384,7 +384,7 @@ class UnifiedRoleScheduleBase extends Entity
/**
* Sets the roleDefinition
* Property indicating the roleDefinition the assignment is for. Provided so that callers can get the role definition using $expand at the same time as getting the role assignment. roleDefinition.Id will be auto expanded.
* Detailed information for the roleDefinition object that is referenced through the roleDefinitionId property.
*
* @param UnifiedRoleDefinition $val The roleDefinition
*

View File

@ -26,7 +26,7 @@ class UnifiedRoleScheduleInstanceBase extends Entity
{
/**
* Gets the appScopeId
* Identifier of the app-specific scope when the assignment scope is app-specific. The scope of an assignment determines the set of resources for which the principal has been granted access. App scopes are scopes that are defined and understood by this application only. Use / for tenant-wide app scopes. Use directoryScopeId to limit the scope to particular directory objects, for example, administrative units.
* Identifier of the app-specific scope when the assignment or role eligibility is scoped to an app. The scope of an assignment or role eligibility determines the set of resources for which the principal has been granted access. App scopes are scopes that are defined and understood by this application only. Use / for tenant-wide app scopes. Use directoryScopeId to limit the scope to particular directory objects, for example, administrative units.
*
* @return string|null The appScopeId
*/
@ -41,7 +41,7 @@ class UnifiedRoleScheduleInstanceBase extends Entity
/**
* Sets the appScopeId
* Identifier of the app-specific scope when the assignment scope is app-specific. The scope of an assignment determines the set of resources for which the principal has been granted access. App scopes are scopes that are defined and understood by this application only. Use / for tenant-wide app scopes. Use directoryScopeId to limit the scope to particular directory objects, for example, administrative units.
* Identifier of the app-specific scope when the assignment or role eligibility is scoped to an app. The scope of an assignment or role eligibility determines the set of resources for which the principal has been granted access. App scopes are scopes that are defined and understood by this application only. Use / for tenant-wide app scopes. Use directoryScopeId to limit the scope to particular directory objects, for example, administrative units.
*
* @param string $val The appScopeId
*
@ -55,7 +55,7 @@ class UnifiedRoleScheduleInstanceBase extends Entity
/**
* Gets the directoryScopeId
* Identifier of the directory object representing the scope of the assignment. The scope of an assignment determines the set of resources for which the principal has been granted access. Directory scopes are shared scopes stored in the directory that are understood by multiple applications. Use / for tenant-wide scope. Use appScopeId to limit the scope to an application only.
* Identifier of the directory object representing the scope of the assignment or role eligibility. The scope of an assignment or role eligibility determines the set of resources for which the principal has been granted access. Directory scopes are shared scopes stored in the directory that are understood by multiple applications. Use / for tenant-wide scope. Use appScopeId to limit the scope to an application only.
*
* @return string|null The directoryScopeId
*/
@ -70,7 +70,7 @@ class UnifiedRoleScheduleInstanceBase extends Entity
/**
* Sets the directoryScopeId
* Identifier of the directory object representing the scope of the assignment. The scope of an assignment determines the set of resources for which the principal has been granted access. Directory scopes are shared scopes stored in the directory that are understood by multiple applications. Use / for tenant-wide scope. Use appScopeId to limit the scope to an application only.
* Identifier of the directory object representing the scope of the assignment or role eligibility. The scope of an assignment or role eligibility determines the set of resources for which the principal has been granted access. Directory scopes are shared scopes stored in the directory that are understood by multiple applications. Use / for tenant-wide scope. Use appScopeId to limit the scope to an application only.
*
* @param string $val The directoryScopeId
*
@ -84,7 +84,7 @@ class UnifiedRoleScheduleInstanceBase extends Entity
/**
* Gets the principalId
* Identifier of the principal to which the assignment is being granted to. Can be a group or a user.
* Identifier of the principal that has been granted the role assignment or that's eligible for a role.
*
* @return string|null The principalId
*/
@ -99,7 +99,7 @@ class UnifiedRoleScheduleInstanceBase extends Entity
/**
* Sets the principalId
* Identifier of the principal to which the assignment is being granted to. Can be a group or a user.
* Identifier of the principal that has been granted the role assignment or that's eligible for a role.
*
* @param string $val The principalId
*
@ -113,7 +113,7 @@ class UnifiedRoleScheduleInstanceBase extends Entity
/**
* Gets the roleDefinitionId
* Identifier of the unifiedRoleDefinition the assignment is for. Read only. Supports $filter (eq).
* Identifier of the unifiedRoleDefinition object that is being assigned to the principal or that the principal is eligible for.
*
* @return string|null The roleDefinitionId
*/
@ -128,7 +128,7 @@ class UnifiedRoleScheduleInstanceBase extends Entity
/**
* Sets the roleDefinitionId
* Identifier of the unifiedRoleDefinition the assignment is for. Read only. Supports $filter (eq).
* Identifier of the unifiedRoleDefinition object that is being assigned to the principal or that the principal is eligible for.
*
* @param string $val The roleDefinitionId
*
@ -142,7 +142,7 @@ class UnifiedRoleScheduleInstanceBase extends Entity
/**
* Gets the appScope
* Read-only property with details of the app specific scope when the assignment scope is app specific. Containment entity.
* Read-only property with details of the app-specific scope when the assignment or role eligibility is scoped to an app. Nullable.
*
* @return AppScope|null The appScope
*/
@ -161,7 +161,7 @@ class UnifiedRoleScheduleInstanceBase extends Entity
/**
* Sets the appScope
* Read-only property with details of the app specific scope when the assignment scope is app specific. Containment entity.
* Read-only property with details of the app-specific scope when the assignment or role eligibility is scoped to an app. Nullable.
*
* @param AppScope $val The appScope
*
@ -175,7 +175,7 @@ class UnifiedRoleScheduleInstanceBase extends Entity
/**
* Gets the directoryScope
* The directory object that is the scope of the assignment. Enables the retrieval of the directory object using $expand at the same time as getting the role assignment. Read-only.
* The directory object that is the scope of the assignment or role eligibility. Read-only.
*
* @return DirectoryObject|null The directoryScope
*/
@ -194,7 +194,7 @@ class UnifiedRoleScheduleInstanceBase extends Entity
/**
* Sets the directoryScope
* The directory object that is the scope of the assignment. Enables the retrieval of the directory object using $expand at the same time as getting the role assignment. Read-only.
* The directory object that is the scope of the assignment or role eligibility. Read-only.
*
* @param DirectoryObject $val The directoryScope
*
@ -208,7 +208,7 @@ class UnifiedRoleScheduleInstanceBase extends Entity
/**
* Gets the principal
* The principal that is getting a role assignment through the request. Enables the retrieval of the principal using $expand at the same time as getting the role assignment. Read-only.
* The principal that's getting a role assignment or role eligibility through the request.
*
* @return DirectoryObject|null The principal
*/
@ -227,7 +227,7 @@ class UnifiedRoleScheduleInstanceBase extends Entity
/**
* Sets the principal
* The principal that is getting a role assignment through the request. Enables the retrieval of the principal using $expand at the same time as getting the role assignment. Read-only.
* The principal that's getting a role assignment or role eligibility through the request.
*
* @param DirectoryObject $val The principal
*
@ -241,7 +241,7 @@ class UnifiedRoleScheduleInstanceBase extends Entity
/**
* Gets the roleDefinition
* The roleDefinition for the assignment. Enables the retrieval of the role definition using $expand at the same time as getting the role assignment. The roleDefinition.Id is automatically expanded.
* Detailed information for the roleDefinition object that is referenced through the roleDefinitionId property.
*
* @return UnifiedRoleDefinition|null The roleDefinition
*/
@ -260,7 +260,7 @@ class UnifiedRoleScheduleInstanceBase extends Entity
/**
* Sets the roleDefinition
* The roleDefinition for the assignment. Enables the retrieval of the role definition using $expand at the same time as getting the role assignment. The roleDefinition.Id is automatically expanded.
* Detailed information for the roleDefinition object that is referenced through the roleDefinitionId property.
*
* @param UnifiedRoleDefinition $val The roleDefinition
*

View File

@ -198,4 +198,33 @@ class UserExperienceAnalyticsBatteryHealthModelPerformance extends Entity
return $this;
}
/**
* Gets the modelBatteryHealthScore
* A weighted average of a models maximum capacity score and runtime estimate score. Values range from 0-100. Valid values -2147483648 to 2147483647
*
* @return int|null The modelBatteryHealthScore
*/
public function getModelBatteryHealthScore()
{
if (array_key_exists("modelBatteryHealthScore", $this->_propDict)) {
return $this->_propDict["modelBatteryHealthScore"];
} else {
return null;
}
}
/**
* Sets the modelBatteryHealthScore
* A weighted average of a models maximum capacity score and runtime estimate score. Values range from 0-100. Valid values -2147483648 to 2147483647
*
* @param int $val The modelBatteryHealthScore
*
* @return UserExperienceAnalyticsBatteryHealthModelPerformance
*/
public function setModelBatteryHealthScore($val)
{
$this->_propDict["modelBatteryHealthScore"] = intval($val);
return $this;
}
}

View File

@ -179,7 +179,7 @@ class UserExperienceAnalyticsDeviceScope extends Entity
/**
* Gets the operator
* Device scope configuration query operator. Possible values are: equals, notEquals, contains, notContains, greaterThan, lessThan. Default value: equals.
* Device scope configuration query operator. Possible values are: equals, notEquals, contains, notContains, greaterThan, lessThan. Default value: equals. Possible values are: none, equals, unknownFutureValue.
*
* @return DeviceScopeOperator|null The operator
*/
@ -198,7 +198,7 @@ class UserExperienceAnalyticsDeviceScope extends Entity
/**
* Sets the operator
* Device scope configuration query operator. Possible values are: equals, notEquals, contains, notContains, greaterThan, lessThan. Default value: equals.
* Device scope configuration query operator. Possible values are: equals, notEquals, contains, notContains, greaterThan, lessThan. Default value: equals. Possible values are: none, equals, unknownFutureValue.
*
* @param DeviceScopeOperator $val The operator
*
@ -241,7 +241,7 @@ class UserExperienceAnalyticsDeviceScope extends Entity
/**
* Gets the parameter
* Device scope configuration parameter. It will be extended in future to add more parameter. Eg: device scope parameter can be OS version, Disk Type, Device manufacturer, device model or Scope tag. Default value: scopeTag.
* Device scope configuration parameter. It will be extended in future to add more parameter. Eg: device scope parameter can be OS version, Disk Type, Device manufacturer, device model or Scope tag. Default value: scopeTag. Possible values are: none, scopeTag, unknownFutureValue.
*
* @return DeviceScopeParameter|null The parameter
*/
@ -260,7 +260,7 @@ class UserExperienceAnalyticsDeviceScope extends Entity
/**
* Sets the parameter
* Device scope configuration parameter. It will be extended in future to add more parameter. Eg: device scope parameter can be OS version, Disk Type, Device manufacturer, device model or Scope tag. Default value: scopeTag.
* Device scope configuration parameter. It will be extended in future to add more parameter. Eg: device scope parameter can be OS version, Disk Type, Device manufacturer, device model or Scope tag. Default value: scopeTag. Possible values are: none, scopeTag, unknownFutureValue.
*
* @param DeviceScopeParameter $val The parameter
*
@ -274,7 +274,7 @@ class UserExperienceAnalyticsDeviceScope extends Entity
/**
* Gets the status
* Indicates the device scope status after the device scope has been enabled. Possible values are: none, computing, insufficientData or completed. Default value is none.
* Indicates the device scope status after the device scope has been enabled. Possible values are: none, computing, insufficientData or completed. Default value is none. Possible values are: none, computing, insufficientData, completed, unknownFutureValue.
*
* @return DeviceScopeStatus|null The status
*/
@ -293,7 +293,7 @@ class UserExperienceAnalyticsDeviceScope extends Entity
/**
* Sets the status
* Indicates the device scope status after the device scope has been enabled. Possible values are: none, computing, insufficientData or completed. Default value is none.
* Indicates the device scope status after the device scope has been enabled. Possible values are: none, computing, insufficientData or completed. Default value is none. Possible values are: none, computing, insufficientData, completed, unknownFutureValue.
*
* @param DeviceScopeStatus $val The status
*

View File

@ -53,6 +53,35 @@ class UserExperienceAnalyticsDeviceScores extends Entity
return $this;
}
/**
* Gets the batteryHealthScore
* The user experience analytics device battery health score. Valid values -1.79769313486232E+308 to 1.79769313486232E+308
*
* @return float|null The batteryHealthScore
*/
public function getBatteryHealthScore()
{
if (array_key_exists("batteryHealthScore", $this->_propDict)) {
return $this->_propDict["batteryHealthScore"];
} else {
return null;
}
}
/**
* Sets the batteryHealthScore
* The user experience analytics device battery health score. Valid values -1.79769313486232E+308 to 1.79769313486232E+308
*
* @param float $val The batteryHealthScore
*
* @return UserExperienceAnalyticsDeviceScores
*/
public function setBatteryHealthScore($val)
{
$this->_propDict["batteryHealthScore"] = floatval($val);
return $this;
}
/**
* Gets the deviceName
* The user experience analytics device name.

View File

@ -53,6 +53,35 @@ class UserExperienceAnalyticsModelScores extends Entity
return $this;
}
/**
* Gets the batteryHealthScore
* The user experience analytics model battery health score. Valid values -1.79769313486232E+308 to 1.79769313486232E+308
*
* @return float|null The batteryHealthScore
*/
public function getBatteryHealthScore()
{
if (array_key_exists("batteryHealthScore", $this->_propDict)) {
return $this->_propDict["batteryHealthScore"];
} else {
return null;
}
}
/**
* Sets the batteryHealthScore
* The user experience analytics model battery health score. Valid values -1.79769313486232E+308 to 1.79769313486232E+308
*
* @param float $val The batteryHealthScore
*
* @return UserExperienceAnalyticsModelScores
*/
public function setBatteryHealthScore($val)
{
$this->_propDict["batteryHealthScore"] = floatval($val);
return $this;
}
/**
* Gets the endpointAnalyticsScore
* The user experience analytics model score. Valid values -1.79769313486232E+308 to 1.79769313486232E+308

View File

@ -26,6 +26,7 @@ class UserRegistrationDetails extends Entity
{
/**
* Gets the defaultMfaMethod
* The method the user or admin selected as default for performing multi-factor authentication for the user. The possible values are: none, mobilePhone, alternateMobilePhone, officePhone, microsoftAuthenticatorPush, softwareOneTimePasscode, unknownFutureValue.
*
* @return DefaultMfaMethodType|null The defaultMfaMethod
*/
@ -44,6 +45,7 @@ class UserRegistrationDetails extends Entity
/**
* Sets the defaultMfaMethod
* The method the user or admin selected as default for performing multi-factor authentication for the user. The possible values are: none, mobilePhone, alternateMobilePhone, officePhone, microsoftAuthenticatorPush, softwareOneTimePasscode, unknownFutureValue.
*
* @param DefaultMfaMethodType $val The defaultMfaMethod
*

View File

@ -24,6 +24,39 @@ namespace Beta\Microsoft\Graph\Model;
*/
class Windows10DeviceFirmwareConfigurationInterface extends DeviceConfiguration
{
/**
* Gets the bluetooth
* Defines whether a user is allowed to enable Bluetooth. Possible values are: notConfigured, enabled, disabled.
*
* @return Enablement|null The bluetooth
*/
public function getBluetooth()
{
if (array_key_exists("bluetooth", $this->_propDict)) {
if (is_a($this->_propDict["bluetooth"], "\Beta\Microsoft\Graph\Model\Enablement") || is_null($this->_propDict["bluetooth"])) {
return $this->_propDict["bluetooth"];
} else {
$this->_propDict["bluetooth"] = new Enablement($this->_propDict["bluetooth"]);
return $this->_propDict["bluetooth"];
}
}
return null;
}
/**
* Sets the bluetooth
* Defines whether a user is allowed to enable Bluetooth. Possible values are: notConfigured, enabled, disabled.
*
* @param Enablement $val The bluetooth
*
* @return Windows10DeviceFirmwareConfigurationInterface
*/
public function setBluetooth($val)
{
$this->_propDict["bluetooth"] = $val;
return $this;
}
/**
* Gets the bootFromBuiltInNetworkAdapters
* Defines whether a user is allowed to boot from built-in network adapters. Possible values are: notConfigured, enabled, disabled.
@ -156,6 +189,105 @@ class Windows10DeviceFirmwareConfigurationInterface extends DeviceConfiguration
return $this;
}
/**
* Gets the frontCamera
* Defines whether a user is allowed to enable Front Camera. Possible values are: notConfigured, enabled, disabled.
*
* @return Enablement|null The frontCamera
*/
public function getFrontCamera()
{
if (array_key_exists("frontCamera", $this->_propDict)) {
if (is_a($this->_propDict["frontCamera"], "\Beta\Microsoft\Graph\Model\Enablement") || is_null($this->_propDict["frontCamera"])) {
return $this->_propDict["frontCamera"];
} else {
$this->_propDict["frontCamera"] = new Enablement($this->_propDict["frontCamera"]);
return $this->_propDict["frontCamera"];
}
}
return null;
}
/**
* Sets the frontCamera
* Defines whether a user is allowed to enable Front Camera. Possible values are: notConfigured, enabled, disabled.
*
* @param Enablement $val The frontCamera
*
* @return Windows10DeviceFirmwareConfigurationInterface
*/
public function setFrontCamera($val)
{
$this->_propDict["frontCamera"] = $val;
return $this;
}
/**
* Gets the infraredCamera
* Defines whether a user is allowed to enable Infrared camera. Possible values are: notConfigured, enabled, disabled.
*
* @return Enablement|null The infraredCamera
*/
public function getInfraredCamera()
{
if (array_key_exists("infraredCamera", $this->_propDict)) {
if (is_a($this->_propDict["infraredCamera"], "\Beta\Microsoft\Graph\Model\Enablement") || is_null($this->_propDict["infraredCamera"])) {
return $this->_propDict["infraredCamera"];
} else {
$this->_propDict["infraredCamera"] = new Enablement($this->_propDict["infraredCamera"]);
return $this->_propDict["infraredCamera"];
}
}
return null;
}
/**
* Sets the infraredCamera
* Defines whether a user is allowed to enable Infrared camera. Possible values are: notConfigured, enabled, disabled.
*
* @param Enablement $val The infraredCamera
*
* @return Windows10DeviceFirmwareConfigurationInterface
*/
public function setInfraredCamera($val)
{
$this->_propDict["infraredCamera"] = $val;
return $this;
}
/**
* Gets the microphone
* Defines whether a user is allowed to enable Microphone. Possible values are: notConfigured, enabled, disabled.
*
* @return Enablement|null The microphone
*/
public function getMicrophone()
{
if (array_key_exists("microphone", $this->_propDict)) {
if (is_a($this->_propDict["microphone"], "\Beta\Microsoft\Graph\Model\Enablement") || is_null($this->_propDict["microphone"])) {
return $this->_propDict["microphone"];
} else {
$this->_propDict["microphone"] = new Enablement($this->_propDict["microphone"]);
return $this->_propDict["microphone"];
}
}
return null;
}
/**
* Sets the microphone
* Defines whether a user is allowed to enable Microphone. Possible values are: notConfigured, enabled, disabled.
*
* @param Enablement $val The microphone
*
* @return Windows10DeviceFirmwareConfigurationInterface
*/
public function setMicrophone($val)
{
$this->_propDict["microphone"] = $val;
return $this;
}
/**
* Gets the microphonesAndSpeakers
* Defines whether built-in microphones or speakers are enabled. Possible values are: notConfigured, enabled, disabled.
@ -189,6 +321,39 @@ class Windows10DeviceFirmwareConfigurationInterface extends DeviceConfiguration
return $this;
}
/**
* Gets the nearFieldCommunication
* Defines whether a user is allowed to enable Near Field Communication. Possible values are: notConfigured, enabled, disabled.
*
* @return Enablement|null The nearFieldCommunication
*/
public function getNearFieldCommunication()
{
if (array_key_exists("nearFieldCommunication", $this->_propDict)) {
if (is_a($this->_propDict["nearFieldCommunication"], "\Beta\Microsoft\Graph\Model\Enablement") || is_null($this->_propDict["nearFieldCommunication"])) {
return $this->_propDict["nearFieldCommunication"];
} else {
$this->_propDict["nearFieldCommunication"] = new Enablement($this->_propDict["nearFieldCommunication"]);
return $this->_propDict["nearFieldCommunication"];
}
}
return null;
}
/**
* Sets the nearFieldCommunication
* Defines whether a user is allowed to enable Near Field Communication. Possible values are: notConfigured, enabled, disabled.
*
* @param Enablement $val The nearFieldCommunication
*
* @return Windows10DeviceFirmwareConfigurationInterface
*/
public function setNearFieldCommunication($val)
{
$this->_propDict["nearFieldCommunication"] = $val;
return $this;
}
/**
* Gets the radios
* Defines whether built-in radios e.g. WIFI, NFC, Bluetooth, are enabled. Possible values are: notConfigured, enabled, disabled.
@ -222,6 +387,72 @@ class Windows10DeviceFirmwareConfigurationInterface extends DeviceConfiguration
return $this;
}
/**
* Gets the rearCamera
* Defines whether a user is allowed to enable rear camera. Possible values are: notConfigured, enabled, disabled.
*
* @return Enablement|null The rearCamera
*/
public function getRearCamera()
{
if (array_key_exists("rearCamera", $this->_propDict)) {
if (is_a($this->_propDict["rearCamera"], "\Beta\Microsoft\Graph\Model\Enablement") || is_null($this->_propDict["rearCamera"])) {
return $this->_propDict["rearCamera"];
} else {
$this->_propDict["rearCamera"] = new Enablement($this->_propDict["rearCamera"]);
return $this->_propDict["rearCamera"];
}
}
return null;
}
/**
* Sets the rearCamera
* Defines whether a user is allowed to enable rear camera. Possible values are: notConfigured, enabled, disabled.
*
* @param Enablement $val The rearCamera
*
* @return Windows10DeviceFirmwareConfigurationInterface
*/
public function setRearCamera($val)
{
$this->_propDict["rearCamera"] = $val;
return $this;
}
/**
* Gets the sdCard
* Defines whether a user is allowed to enable SD Card Port. Possible values are: notConfigured, enabled, disabled.
*
* @return Enablement|null The sdCard
*/
public function getSdCard()
{
if (array_key_exists("sdCard", $this->_propDict)) {
if (is_a($this->_propDict["sdCard"], "\Beta\Microsoft\Graph\Model\Enablement") || is_null($this->_propDict["sdCard"])) {
return $this->_propDict["sdCard"];
} else {
$this->_propDict["sdCard"] = new Enablement($this->_propDict["sdCard"]);
return $this->_propDict["sdCard"];
}
}
return null;
}
/**
* Sets the sdCard
* Defines whether a user is allowed to enable SD Card Port. Possible values are: notConfigured, enabled, disabled.
*
* @param Enablement $val The sdCard
*
* @return Windows10DeviceFirmwareConfigurationInterface
*/
public function setSdCard($val)
{
$this->_propDict["sdCard"] = $val;
return $this;
}
/**
* Gets the simultaneousMultiThreading
* Defines whether a user is allowed to enable Simultaneous MultiThreading. Possible values are: notConfigured, enabled, disabled.
@ -255,6 +486,39 @@ class Windows10DeviceFirmwareConfigurationInterface extends DeviceConfiguration
return $this;
}
/**
* Gets the usbTypeAPort
* Defines whether a user is allowed to enable USB Type A Port. Possible values are: notConfigured, enabled, disabled.
*
* @return Enablement|null The usbTypeAPort
*/
public function getUsbTypeAPort()
{
if (array_key_exists("usbTypeAPort", $this->_propDict)) {
if (is_a($this->_propDict["usbTypeAPort"], "\Beta\Microsoft\Graph\Model\Enablement") || is_null($this->_propDict["usbTypeAPort"])) {
return $this->_propDict["usbTypeAPort"];
} else {
$this->_propDict["usbTypeAPort"] = new Enablement($this->_propDict["usbTypeAPort"]);
return $this->_propDict["usbTypeAPort"];
}
}
return null;
}
/**
* Sets the usbTypeAPort
* Defines whether a user is allowed to enable USB Type A Port. Possible values are: notConfigured, enabled, disabled.
*
* @param Enablement $val The usbTypeAPort
*
* @return Windows10DeviceFirmwareConfigurationInterface
*/
public function setUsbTypeAPort($val)
{
$this->_propDict["usbTypeAPort"] = $val;
return $this;
}
/**
* Gets the virtualizationOfCpuAndIO
* Defines whether CPU and IO virtualization is enabled. Possible values are: notConfigured, enabled, disabled.
@ -288,6 +552,105 @@ class Windows10DeviceFirmwareConfigurationInterface extends DeviceConfiguration
return $this;
}
/**
* Gets the wakeOnLAN
* Defines whether a user is allowed to enable Wake on LAN. Possible values are: notConfigured, enabled, disabled.
*
* @return Enablement|null The wakeOnLAN
*/
public function getWakeOnLAN()
{
if (array_key_exists("wakeOnLAN", $this->_propDict)) {
if (is_a($this->_propDict["wakeOnLAN"], "\Beta\Microsoft\Graph\Model\Enablement") || is_null($this->_propDict["wakeOnLAN"])) {
return $this->_propDict["wakeOnLAN"];
} else {
$this->_propDict["wakeOnLAN"] = new Enablement($this->_propDict["wakeOnLAN"]);
return $this->_propDict["wakeOnLAN"];
}
}
return null;
}
/**
* Sets the wakeOnLAN
* Defines whether a user is allowed to enable Wake on LAN. Possible values are: notConfigured, enabled, disabled.
*
* @param Enablement $val The wakeOnLAN
*
* @return Windows10DeviceFirmwareConfigurationInterface
*/
public function setWakeOnLAN($val)
{
$this->_propDict["wakeOnLAN"] = $val;
return $this;
}
/**
* Gets the wakeOnPower
* Defines whether a user is allowed to enable Wake On Power. Possible values are: notConfigured, enabled, disabled.
*
* @return Enablement|null The wakeOnPower
*/
public function getWakeOnPower()
{
if (array_key_exists("wakeOnPower", $this->_propDict)) {
if (is_a($this->_propDict["wakeOnPower"], "\Beta\Microsoft\Graph\Model\Enablement") || is_null($this->_propDict["wakeOnPower"])) {
return $this->_propDict["wakeOnPower"];
} else {
$this->_propDict["wakeOnPower"] = new Enablement($this->_propDict["wakeOnPower"]);
return $this->_propDict["wakeOnPower"];
}
}
return null;
}
/**
* Sets the wakeOnPower
* Defines whether a user is allowed to enable Wake On Power. Possible values are: notConfigured, enabled, disabled.
*
* @param Enablement $val The wakeOnPower
*
* @return Windows10DeviceFirmwareConfigurationInterface
*/
public function setWakeOnPower($val)
{
$this->_propDict["wakeOnPower"] = $val;
return $this;
}
/**
* Gets the wiFi
* Defines whether a user is allowed to enable WiFi. Possible values are: notConfigured, enabled, disabled.
*
* @return Enablement|null The wiFi
*/
public function getWiFi()
{
if (array_key_exists("wiFi", $this->_propDict)) {
if (is_a($this->_propDict["wiFi"], "\Beta\Microsoft\Graph\Model\Enablement") || is_null($this->_propDict["wiFi"])) {
return $this->_propDict["wiFi"];
} else {
$this->_propDict["wiFi"] = new Enablement($this->_propDict["wiFi"]);
return $this->_propDict["wiFi"];
}
}
return null;
}
/**
* Sets the wiFi
* Defines whether a user is allowed to enable WiFi. Possible values are: notConfigured, enabled, disabled.
*
* @param Enablement $val The wiFi
*
* @return Windows10DeviceFirmwareConfigurationInterface
*/
public function setWiFi($val)
{
$this->_propDict["wiFi"] = $val;
return $this;
}
/**
* Gets the windowsPlatformBinaryTable
* Defines whether a user is allowed to enable Windows Platform Binary Table. Possible values are: notConfigured, enabled, disabled.
@ -321,4 +684,37 @@ class Windows10DeviceFirmwareConfigurationInterface extends DeviceConfiguration
return $this;
}
/**
* Gets the wirelessWideAreaNetwork
* Defines whether a user is allowed to enable Wireless Wide Area Network. Possible values are: notConfigured, enabled, disabled.
*
* @return Enablement|null The wirelessWideAreaNetwork
*/
public function getWirelessWideAreaNetwork()
{
if (array_key_exists("wirelessWideAreaNetwork", $this->_propDict)) {
if (is_a($this->_propDict["wirelessWideAreaNetwork"], "\Beta\Microsoft\Graph\Model\Enablement") || is_null($this->_propDict["wirelessWideAreaNetwork"])) {
return $this->_propDict["wirelessWideAreaNetwork"];
} else {
$this->_propDict["wirelessWideAreaNetwork"] = new Enablement($this->_propDict["wirelessWideAreaNetwork"]);
return $this->_propDict["wirelessWideAreaNetwork"];
}
}
return null;
}
/**
* Sets the wirelessWideAreaNetwork
* Defines whether a user is allowed to enable Wireless Wide Area Network. Possible values are: notConfigured, enabled, disabled.
*
* @param Enablement $val The wirelessWideAreaNetwork
*
* @return Windows10DeviceFirmwareConfigurationInterface
*/
public function setWirelessWideAreaNetwork($val)
{
$this->_propDict["wirelessWideAreaNetwork"] = $val;
return $this;
}
}

View File

@ -25,7 +25,7 @@ class Windows10NetworkProxyServer extends Entity
{
/**
* Gets the address
* Address to the proxy server. Specify an address in the format [':']
* Address to the proxy server. Specify an address in the format &amp;lt;server&amp;gt;[':'&amp;lt;port&amp;gt;]
*
* @return string|null The address
*/
@ -40,7 +40,7 @@ class Windows10NetworkProxyServer extends Entity
/**
* Sets the address
* Address to the proxy server. Specify an address in the format [':']
* Address to the proxy server. Specify an address in the format &amp;lt;server&amp;gt;[':'&amp;lt;port&amp;gt;]
*
* @param string $val The value of the address
*

View File

@ -0,0 +1,34 @@
<?php
/**
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
*
* WindowsManagedAppClipboardSharingLevel 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;
use Microsoft\Graph\Core\Enum;
/**
* WindowsManagedAppClipboardSharingLevel 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 WindowsManagedAppClipboardSharingLevel extends Enum
{
/**
* The Enum WindowsManagedAppClipboardSharingLevel
*/
const ANY_DESTINATION_ANY_SOURCE = "anyDestinationAnySource";
const NONE = "none";
}

View File

@ -2,7 +2,7 @@
/**
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
*
* DeviceManagementReportSchedule File
* WindowsManagedAppDataTransferLevel File
* PHP version 7
*
* @category Library
@ -13,8 +13,10 @@
*/
namespace Beta\Microsoft\Graph\Model;
use Microsoft\Graph\Core\Enum;
/**
* DeviceManagementReportSchedule class
* WindowsManagedAppDataTransferLevel class
*
* @category Model
* @package Microsoft.Graph
@ -22,6 +24,11 @@ namespace Beta\Microsoft\Graph\Model;
* @license https://opensource.org/licenses/MIT MIT License
* @link https://graph.microsoft.com
*/
class DeviceManagementReportSchedule extends Entity
class WindowsManagedAppDataTransferLevel extends Enum
{
/**
* The Enum WindowsManagedAppDataTransferLevel
*/
const ALL_APPS = "allApps";
const NONE = "none";
}

View File

@ -0,0 +1,757 @@
<?php
/**
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
*
* WindowsManagedAppProtection 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;
/**
* WindowsManagedAppProtection 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 WindowsManagedAppProtection extends ManagedAppPolicy
{
/**
* Gets the allowedInboundDataTransferSources
* Indicates the sources from which data is allowed to be transferred. Some possible values are allApps or none. Possible values are: allApps, none.
*
* @return WindowsManagedAppDataTransferLevel|null The allowedInboundDataTransferSources
*/
public function getAllowedInboundDataTransferSources()
{
if (array_key_exists("allowedInboundDataTransferSources", $this->_propDict)) {
if (is_a($this->_propDict["allowedInboundDataTransferSources"], "\Beta\Microsoft\Graph\Model\WindowsManagedAppDataTransferLevel") || is_null($this->_propDict["allowedInboundDataTransferSources"])) {
return $this->_propDict["allowedInboundDataTransferSources"];
} else {
$this->_propDict["allowedInboundDataTransferSources"] = new WindowsManagedAppDataTransferLevel($this->_propDict["allowedInboundDataTransferSources"]);
return $this->_propDict["allowedInboundDataTransferSources"];
}
}
return null;
}
/**
* Sets the allowedInboundDataTransferSources
* Indicates the sources from which data is allowed to be transferred. Some possible values are allApps or none. Possible values are: allApps, none.
*
* @param WindowsManagedAppDataTransferLevel $val The allowedInboundDataTransferSources
*
* @return WindowsManagedAppProtection
*/
public function setAllowedInboundDataTransferSources($val)
{
$this->_propDict["allowedInboundDataTransferSources"] = $val;
return $this;
}
/**
* Gets the allowedOutboundClipboardSharingLevel
* Indicates the level to which the clipboard may be shared across org &amp; non-org resources. Some possible values are anyDestinationAnySource or none. Possible values are: anyDestinationAnySource, none.
*
* @return WindowsManagedAppClipboardSharingLevel|null The allowedOutboundClipboardSharingLevel
*/
public function getAllowedOutboundClipboardSharingLevel()
{
if (array_key_exists("allowedOutboundClipboardSharingLevel", $this->_propDict)) {
if (is_a($this->_propDict["allowedOutboundClipboardSharingLevel"], "\Beta\Microsoft\Graph\Model\WindowsManagedAppClipboardSharingLevel") || is_null($this->_propDict["allowedOutboundClipboardSharingLevel"])) {
return $this->_propDict["allowedOutboundClipboardSharingLevel"];
} else {
$this->_propDict["allowedOutboundClipboardSharingLevel"] = new WindowsManagedAppClipboardSharingLevel($this->_propDict["allowedOutboundClipboardSharingLevel"]);
return $this->_propDict["allowedOutboundClipboardSharingLevel"];
}
}
return null;
}
/**
* Sets the allowedOutboundClipboardSharingLevel
* Indicates the level to which the clipboard may be shared across org &amp; non-org resources. Some possible values are anyDestinationAnySource or none. Possible values are: anyDestinationAnySource, none.
*
* @param WindowsManagedAppClipboardSharingLevel $val The allowedOutboundClipboardSharingLevel
*
* @return WindowsManagedAppProtection
*/
public function setAllowedOutboundClipboardSharingLevel($val)
{
$this->_propDict["allowedOutboundClipboardSharingLevel"] = $val;
return $this;
}
/**
* Gets the allowedOutboundDataTransferDestinations
* Indicates the destinations to which data is allowed to be transferred. Some possible values are allApps or none. Possible values are: allApps, none.
*
* @return WindowsManagedAppDataTransferLevel|null The allowedOutboundDataTransferDestinations
*/
public function getAllowedOutboundDataTransferDestinations()
{
if (array_key_exists("allowedOutboundDataTransferDestinations", $this->_propDict)) {
if (is_a($this->_propDict["allowedOutboundDataTransferDestinations"], "\Beta\Microsoft\Graph\Model\WindowsManagedAppDataTransferLevel") || is_null($this->_propDict["allowedOutboundDataTransferDestinations"])) {
return $this->_propDict["allowedOutboundDataTransferDestinations"];
} else {
$this->_propDict["allowedOutboundDataTransferDestinations"] = new WindowsManagedAppDataTransferLevel($this->_propDict["allowedOutboundDataTransferDestinations"]);
return $this->_propDict["allowedOutboundDataTransferDestinations"];
}
}
return null;
}
/**
* Sets the allowedOutboundDataTransferDestinations
* Indicates the destinations to which data is allowed to be transferred. Some possible values are allApps or none. Possible values are: allApps, none.
*
* @param WindowsManagedAppDataTransferLevel $val The allowedOutboundDataTransferDestinations
*
* @return WindowsManagedAppProtection
*/
public function setAllowedOutboundDataTransferDestinations($val)
{
$this->_propDict["allowedOutboundDataTransferDestinations"] = $val;
return $this;
}
/**
* Gets the appActionIfUnableToAuthenticateUser
* If set, it will specify what action to take in the case where the user is unable to checkin because their authentication token is invalid. This happens when the user is deleted or disabled in AAD. Some possible values are block or wipe. If this property is not set, no action will be taken. Possible values are: block, wipe, warn.
*
* @return ManagedAppRemediationAction|null The appActionIfUnableToAuthenticateUser
*/
public function getAppActionIfUnableToAuthenticateUser()
{
if (array_key_exists("appActionIfUnableToAuthenticateUser", $this->_propDict)) {
if (is_a($this->_propDict["appActionIfUnableToAuthenticateUser"], "\Beta\Microsoft\Graph\Model\ManagedAppRemediationAction") || is_null($this->_propDict["appActionIfUnableToAuthenticateUser"])) {
return $this->_propDict["appActionIfUnableToAuthenticateUser"];
} else {
$this->_propDict["appActionIfUnableToAuthenticateUser"] = new ManagedAppRemediationAction($this->_propDict["appActionIfUnableToAuthenticateUser"]);
return $this->_propDict["appActionIfUnableToAuthenticateUser"];
}
}
return null;
}
/**
* Sets the appActionIfUnableToAuthenticateUser
* If set, it will specify what action to take in the case where the user is unable to checkin because their authentication token is invalid. This happens when the user is deleted or disabled in AAD. Some possible values are block or wipe. If this property is not set, no action will be taken. Possible values are: block, wipe, warn.
*
* @param ManagedAppRemediationAction $val The appActionIfUnableToAuthenticateUser
*
* @return WindowsManagedAppProtection
*/
public function setAppActionIfUnableToAuthenticateUser($val)
{
$this->_propDict["appActionIfUnableToAuthenticateUser"] = $val;
return $this;
}
/**
* Gets the deployedAppCount
* Indicates the total number of applications for which the current policy is deployed.
*
* @return int|null The deployedAppCount
*/
public function getDeployedAppCount()
{
if (array_key_exists("deployedAppCount", $this->_propDict)) {
return $this->_propDict["deployedAppCount"];
} else {
return null;
}
}
/**
* Sets the deployedAppCount
* Indicates the total number of applications for which the current policy is deployed.
*
* @param int $val The deployedAppCount
*
* @return WindowsManagedAppProtection
*/
public function setDeployedAppCount($val)
{
$this->_propDict["deployedAppCount"] = intval($val);
return $this;
}
/**
* Gets the isAssigned
* When TRUE, indicates that the policy is deployed to some inclusion groups. When FALSE, indicates that the policy is not deployed to any inclusion groups. Default value is FALSE.
*
* @return bool|null The isAssigned
*/
public function getIsAssigned()
{
if (array_key_exists("isAssigned", $this->_propDict)) {
return $this->_propDict["isAssigned"];
} else {
return null;
}
}
/**
* Sets the isAssigned
* When TRUE, indicates that the policy is deployed to some inclusion groups. When FALSE, indicates that the policy is not deployed to any inclusion groups. Default value is FALSE.
*
* @param bool $val The isAssigned
*
* @return WindowsManagedAppProtection
*/
public function setIsAssigned($val)
{
$this->_propDict["isAssigned"] = boolval($val);
return $this;
}
/**
* Gets the maximumAllowedDeviceThreatLevel
* Maximum allowed device threat level, as reported by the Mobile Threat Defense app. Possible values are: notConfigured, secured, low, medium, high.
*
* @return ManagedAppDeviceThreatLevel|null The maximumAllowedDeviceThreatLevel
*/
public function getMaximumAllowedDeviceThreatLevel()
{
if (array_key_exists("maximumAllowedDeviceThreatLevel", $this->_propDict)) {
if (is_a($this->_propDict["maximumAllowedDeviceThreatLevel"], "\Beta\Microsoft\Graph\Model\ManagedAppDeviceThreatLevel") || is_null($this->_propDict["maximumAllowedDeviceThreatLevel"])) {
return $this->_propDict["maximumAllowedDeviceThreatLevel"];
} else {
$this->_propDict["maximumAllowedDeviceThreatLevel"] = new ManagedAppDeviceThreatLevel($this->_propDict["maximumAllowedDeviceThreatLevel"]);
return $this->_propDict["maximumAllowedDeviceThreatLevel"];
}
}
return null;
}
/**
* Sets the maximumAllowedDeviceThreatLevel
* Maximum allowed device threat level, as reported by the Mobile Threat Defense app. Possible values are: notConfigured, secured, low, medium, high.
*
* @param ManagedAppDeviceThreatLevel $val The maximumAllowedDeviceThreatLevel
*
* @return WindowsManagedAppProtection
*/
public function setMaximumAllowedDeviceThreatLevel($val)
{
$this->_propDict["maximumAllowedDeviceThreatLevel"] = $val;
return $this;
}
/**
* Gets the maximumRequiredOsVersion
* Versions bigger than the specified version will block the managed app from accessing company data. For example: '8.1.0' or '13.1.1'.
*
* @return string|null The maximumRequiredOsVersion
*/
public function getMaximumRequiredOsVersion()
{
if (array_key_exists("maximumRequiredOsVersion", $this->_propDict)) {
return $this->_propDict["maximumRequiredOsVersion"];
} else {
return null;
}
}
/**
* Sets the maximumRequiredOsVersion
* Versions bigger than the specified version will block the managed app from accessing company data. For example: '8.1.0' or '13.1.1'.
*
* @param string $val The maximumRequiredOsVersion
*
* @return WindowsManagedAppProtection
*/
public function setMaximumRequiredOsVersion($val)
{
$this->_propDict["maximumRequiredOsVersion"] = $val;
return $this;
}
/**
* Gets the maximumWarningOsVersion
* Versions bigger than the specified version will result in warning message on the managed app from accessing company data. For example: '8.1.0' or '13.1.1'.
*
* @return string|null The maximumWarningOsVersion
*/
public function getMaximumWarningOsVersion()
{
if (array_key_exists("maximumWarningOsVersion", $this->_propDict)) {
return $this->_propDict["maximumWarningOsVersion"];
} else {
return null;
}
}
/**
* Sets the maximumWarningOsVersion
* Versions bigger than the specified version will result in warning message on the managed app from accessing company data. For example: '8.1.0' or '13.1.1'.
*
* @param string $val The maximumWarningOsVersion
*
* @return WindowsManagedAppProtection
*/
public function setMaximumWarningOsVersion($val)
{
$this->_propDict["maximumWarningOsVersion"] = $val;
return $this;
}
/**
* Gets the maximumWipeOsVersion
* Versions bigger than the specified version will wipe the managed app and the associated company data. For example: '8.1.0' or '13.1.1'.
*
* @return string|null The maximumWipeOsVersion
*/
public function getMaximumWipeOsVersion()
{
if (array_key_exists("maximumWipeOsVersion", $this->_propDict)) {
return $this->_propDict["maximumWipeOsVersion"];
} else {
return null;
}
}
/**
* Sets the maximumWipeOsVersion
* Versions bigger than the specified version will wipe the managed app and the associated company data. For example: '8.1.0' or '13.1.1'.
*
* @param string $val The maximumWipeOsVersion
*
* @return WindowsManagedAppProtection
*/
public function setMaximumWipeOsVersion($val)
{
$this->_propDict["maximumWipeOsVersion"] = $val;
return $this;
}
/**
* Gets the minimumRequiredAppVersion
* Versions less than the specified version will block the managed app from accessing company data. For example: '8.1.0' or '13.1.1'.
*
* @return string|null The minimumRequiredAppVersion
*/
public function getMinimumRequiredAppVersion()
{
if (array_key_exists("minimumRequiredAppVersion", $this->_propDict)) {
return $this->_propDict["minimumRequiredAppVersion"];
} else {
return null;
}
}
/**
* Sets the minimumRequiredAppVersion
* Versions less than the specified version will block the managed app from accessing company data. For example: '8.1.0' or '13.1.1'.
*
* @param string $val The minimumRequiredAppVersion
*
* @return WindowsManagedAppProtection
*/
public function setMinimumRequiredAppVersion($val)
{
$this->_propDict["minimumRequiredAppVersion"] = $val;
return $this;
}
/**
* Gets the minimumRequiredOsVersion
* Versions less than the specified version will block the managed app from accessing company data. For example: '8.1.0' or '13.1.1'.
*
* @return string|null The minimumRequiredOsVersion
*/
public function getMinimumRequiredOsVersion()
{
if (array_key_exists("minimumRequiredOsVersion", $this->_propDict)) {
return $this->_propDict["minimumRequiredOsVersion"];
} else {
return null;
}
}
/**
* Sets the minimumRequiredOsVersion
* Versions less than the specified version will block the managed app from accessing company data. For example: '8.1.0' or '13.1.1'.
*
* @param string $val The minimumRequiredOsVersion
*
* @return WindowsManagedAppProtection
*/
public function setMinimumRequiredOsVersion($val)
{
$this->_propDict["minimumRequiredOsVersion"] = $val;
return $this;
}
/**
* Gets the minimumRequiredSdkVersion
* Versions less than the specified version will block the managed app from accessing company data. For example: '8.1.0' or '13.1.1'.
*
* @return string|null The minimumRequiredSdkVersion
*/
public function getMinimumRequiredSdkVersion()
{
if (array_key_exists("minimumRequiredSdkVersion", $this->_propDict)) {
return $this->_propDict["minimumRequiredSdkVersion"];
} else {
return null;
}
}
/**
* Sets the minimumRequiredSdkVersion
* Versions less than the specified version will block the managed app from accessing company data. For example: '8.1.0' or '13.1.1'.
*
* @param string $val The minimumRequiredSdkVersion
*
* @return WindowsManagedAppProtection
*/
public function setMinimumRequiredSdkVersion($val)
{
$this->_propDict["minimumRequiredSdkVersion"] = $val;
return $this;
}
/**
* Gets the minimumWarningAppVersion
* Versions less than the specified version will result in warning message on the managed app from accessing company data. For example: '8.1.0' or '13.1.1'.
*
* @return string|null The minimumWarningAppVersion
*/
public function getMinimumWarningAppVersion()
{
if (array_key_exists("minimumWarningAppVersion", $this->_propDict)) {
return $this->_propDict["minimumWarningAppVersion"];
} else {
return null;
}
}
/**
* Sets the minimumWarningAppVersion
* Versions less than the specified version will result in warning message on the managed app from accessing company data. For example: '8.1.0' or '13.1.1'.
*
* @param string $val The minimumWarningAppVersion
*
* @return WindowsManagedAppProtection
*/
public function setMinimumWarningAppVersion($val)
{
$this->_propDict["minimumWarningAppVersion"] = $val;
return $this;
}
/**
* Gets the minimumWarningOsVersion
* Versions less than the specified version will result in warning message on the managed app from accessing company data. For example: '8.1.0' or '13.1.1'.
*
* @return string|null The minimumWarningOsVersion
*/
public function getMinimumWarningOsVersion()
{
if (array_key_exists("minimumWarningOsVersion", $this->_propDict)) {
return $this->_propDict["minimumWarningOsVersion"];
} else {
return null;
}
}
/**
* Sets the minimumWarningOsVersion
* Versions less than the specified version will result in warning message on the managed app from accessing company data. For example: '8.1.0' or '13.1.1'.
*
* @param string $val The minimumWarningOsVersion
*
* @return WindowsManagedAppProtection
*/
public function setMinimumWarningOsVersion($val)
{
$this->_propDict["minimumWarningOsVersion"] = $val;
return $this;
}
/**
* Gets the minimumWipeAppVersion
* Versions less than the specified version will wipe the managed app and the associated company data. For example: '8.1.0' or '13.1.1'.
*
* @return string|null The minimumWipeAppVersion
*/
public function getMinimumWipeAppVersion()
{
if (array_key_exists("minimumWipeAppVersion", $this->_propDict)) {
return $this->_propDict["minimumWipeAppVersion"];
} else {
return null;
}
}
/**
* Sets the minimumWipeAppVersion
* Versions less than the specified version will wipe the managed app and the associated company data. For example: '8.1.0' or '13.1.1'.
*
* @param string $val The minimumWipeAppVersion
*
* @return WindowsManagedAppProtection
*/
public function setMinimumWipeAppVersion($val)
{
$this->_propDict["minimumWipeAppVersion"] = $val;
return $this;
}
/**
* Gets the minimumWipeOsVersion
* Versions less than the specified version will wipe the managed app and the associated company data. For example: '8.1.0' or '13.1.1'.
*
* @return string|null The minimumWipeOsVersion
*/
public function getMinimumWipeOsVersion()
{
if (array_key_exists("minimumWipeOsVersion", $this->_propDict)) {
return $this->_propDict["minimumWipeOsVersion"];
} else {
return null;
}
}
/**
* Sets the minimumWipeOsVersion
* Versions less than the specified version will wipe the managed app and the associated company data. For example: '8.1.0' or '13.1.1'.
*
* @param string $val The minimumWipeOsVersion
*
* @return WindowsManagedAppProtection
*/
public function setMinimumWipeOsVersion($val)
{
$this->_propDict["minimumWipeOsVersion"] = $val;
return $this;
}
/**
* Gets the minimumWipeSdkVersion
* Versions less than the specified version will wipe the managed app and the associated company data. For example: '8.1.0' or '13.1.1'.
*
* @return string|null The minimumWipeSdkVersion
*/
public function getMinimumWipeSdkVersion()
{
if (array_key_exists("minimumWipeSdkVersion", $this->_propDict)) {
return $this->_propDict["minimumWipeSdkVersion"];
} else {
return null;
}
}
/**
* Sets the minimumWipeSdkVersion
* Versions less than the specified version will wipe the managed app and the associated company data. For example: '8.1.0' or '13.1.1'.
*
* @param string $val The minimumWipeSdkVersion
*
* @return WindowsManagedAppProtection
*/
public function setMinimumWipeSdkVersion($val)
{
$this->_propDict["minimumWipeSdkVersion"] = $val;
return $this;
}
/**
* Gets the mobileThreatDefenseRemediationAction
* Determines what action to take if the mobile threat defense threat threshold isn't met. Some possible values are block or wipe. Warn isn't a supported value for this property. Possible values are: block, wipe, warn.
*
* @return ManagedAppRemediationAction|null The mobileThreatDefenseRemediationAction
*/
public function getMobileThreatDefenseRemediationAction()
{
if (array_key_exists("mobileThreatDefenseRemediationAction", $this->_propDict)) {
if (is_a($this->_propDict["mobileThreatDefenseRemediationAction"], "\Beta\Microsoft\Graph\Model\ManagedAppRemediationAction") || is_null($this->_propDict["mobileThreatDefenseRemediationAction"])) {
return $this->_propDict["mobileThreatDefenseRemediationAction"];
} else {
$this->_propDict["mobileThreatDefenseRemediationAction"] = new ManagedAppRemediationAction($this->_propDict["mobileThreatDefenseRemediationAction"]);
return $this->_propDict["mobileThreatDefenseRemediationAction"];
}
}
return null;
}
/**
* Sets the mobileThreatDefenseRemediationAction
* Determines what action to take if the mobile threat defense threat threshold isn't met. Some possible values are block or wipe. Warn isn't a supported value for this property. Possible values are: block, wipe, warn.
*
* @param ManagedAppRemediationAction $val The mobileThreatDefenseRemediationAction
*
* @return WindowsManagedAppProtection
*/
public function setMobileThreatDefenseRemediationAction($val)
{
$this->_propDict["mobileThreatDefenseRemediationAction"] = $val;
return $this;
}
/**
* Gets the periodOfflineBeforeAccessCheck
* The period after which access is checked when the device is not connected to the internet. For example, PT5M indicates that the interval is 5 minutes in duration. A timespan value of PT0S indicates that access will be blocked immediately when the device is not connected to the internet.
*
* @return \DateInterval|null The periodOfflineBeforeAccessCheck
*/
public function getPeriodOfflineBeforeAccessCheck()
{
if (array_key_exists("periodOfflineBeforeAccessCheck", $this->_propDict)) {
if (is_a($this->_propDict["periodOfflineBeforeAccessCheck"], "\DateInterval") || is_null($this->_propDict["periodOfflineBeforeAccessCheck"])) {
return $this->_propDict["periodOfflineBeforeAccessCheck"];
} else {
$this->_propDict["periodOfflineBeforeAccessCheck"] = new \DateInterval($this->_propDict["periodOfflineBeforeAccessCheck"]);
return $this->_propDict["periodOfflineBeforeAccessCheck"];
}
}
return null;
}
/**
* Sets the periodOfflineBeforeAccessCheck
* The period after which access is checked when the device is not connected to the internet. For example, PT5M indicates that the interval is 5 minutes in duration. A timespan value of PT0S indicates that access will be blocked immediately when the device is not connected to the internet.
*
* @param \DateInterval $val The periodOfflineBeforeAccessCheck
*
* @return WindowsManagedAppProtection
*/
public function setPeriodOfflineBeforeAccessCheck($val)
{
$this->_propDict["periodOfflineBeforeAccessCheck"] = $val;
return $this;
}
/**
* Gets the periodOfflineBeforeWipeIsEnforced
* The amount of time an app is allowed to remain disconnected from the internet before all managed data it is wiped. For example, P5D indicates that the interval is 5 days in duration. A timespan value of PT0S indicates that managed data will never be wiped when the device is not connected to the internet.
*
* @return \DateInterval|null The periodOfflineBeforeWipeIsEnforced
*/
public function getPeriodOfflineBeforeWipeIsEnforced()
{
if (array_key_exists("periodOfflineBeforeWipeIsEnforced", $this->_propDict)) {
if (is_a($this->_propDict["periodOfflineBeforeWipeIsEnforced"], "\DateInterval") || is_null($this->_propDict["periodOfflineBeforeWipeIsEnforced"])) {
return $this->_propDict["periodOfflineBeforeWipeIsEnforced"];
} else {
$this->_propDict["periodOfflineBeforeWipeIsEnforced"] = new \DateInterval($this->_propDict["periodOfflineBeforeWipeIsEnforced"]);
return $this->_propDict["periodOfflineBeforeWipeIsEnforced"];
}
}
return null;
}
/**
* Sets the periodOfflineBeforeWipeIsEnforced
* The amount of time an app is allowed to remain disconnected from the internet before all managed data it is wiped. For example, P5D indicates that the interval is 5 days in duration. A timespan value of PT0S indicates that managed data will never be wiped when the device is not connected to the internet.
*
* @param \DateInterval $val The periodOfflineBeforeWipeIsEnforced
*
* @return WindowsManagedAppProtection
*/
public function setPeriodOfflineBeforeWipeIsEnforced($val)
{
$this->_propDict["periodOfflineBeforeWipeIsEnforced"] = $val;
return $this;
}
/**
* Gets the printBlocked
* When TRUE, indicates that printing is blocked from managed apps. When FALSE, indicates that printing is allowed from managed apps. Default value is FALSE.
*
* @return bool|null The printBlocked
*/
public function getPrintBlocked()
{
if (array_key_exists("printBlocked", $this->_propDict)) {
return $this->_propDict["printBlocked"];
} else {
return null;
}
}
/**
* Sets the printBlocked
* When TRUE, indicates that printing is blocked from managed apps. When FALSE, indicates that printing is allowed from managed apps. Default value is FALSE.
*
* @param bool $val The printBlocked
*
* @return WindowsManagedAppProtection
*/
public function setPrintBlocked($val)
{
$this->_propDict["printBlocked"] = boolval($val);
return $this;
}
/**
* Gets the apps
* List of apps to which the policy is deployed.
*
* @return array|null The apps
*/
public function getApps()
{
if (array_key_exists("apps", $this->_propDict)) {
return $this->_propDict["apps"];
} else {
return null;
}
}
/**
* Sets the apps
* List of apps to which the policy is deployed.
*
* @param ManagedMobileApp[] $val The apps
*
* @return WindowsManagedAppProtection
*/
public function setApps($val)
{
$this->_propDict["apps"] = $val;
return $this;
}
/**
* Gets the assignments
* Navigation property to list of inclusion and exclusion groups to which the policy is deployed.
*
* @return array|null The assignments
*/
public function getAssignments()
{
if (array_key_exists("assignments", $this->_propDict)) {
return $this->_propDict["assignments"];
} else {
return null;
}
}
/**
* Sets the assignments
* Navigation property to list of inclusion and exclusion groups to which the policy is deployed.
*
* @param TargetedManagedAppPolicyAssignment[] $val The assignments
*
* @return WindowsManagedAppProtection
*/
public function setAssignments($val)
{
$this->_propDict["assignments"] = $val;
return $this;
}
}

View File

@ -154,7 +154,7 @@ class WindowsUpdateForBusinessConfiguration extends DeviceConfiguration
/**
* Gets the deadlineForFeatureUpdatesInDays
* Number of days before feature updates are installed automatically with valid range from 2 to 30 days
* Number of days before feature updates are installed automatically with valid range from 0 to 30 days
*
* @return int|null The deadlineForFeatureUpdatesInDays
*/
@ -169,7 +169,7 @@ class WindowsUpdateForBusinessConfiguration extends DeviceConfiguration
/**
* Sets the deadlineForFeatureUpdatesInDays
* Number of days before feature updates are installed automatically with valid range from 2 to 30 days
* Number of days before feature updates are installed automatically with valid range from 0 to 30 days
*
* @param int $val The deadlineForFeatureUpdatesInDays
*
@ -183,7 +183,7 @@ class WindowsUpdateForBusinessConfiguration extends DeviceConfiguration
/**
* Gets the deadlineForQualityUpdatesInDays
* Number of days before quality updates are installed automatically with valid range from 2 to 30 days
* Number of days before quality updates are installed automatically with valid range from 0 to 30 days
*
* @return int|null The deadlineForQualityUpdatesInDays
*/
@ -198,7 +198,7 @@ class WindowsUpdateForBusinessConfiguration extends DeviceConfiguration
/**
* Sets the deadlineForQualityUpdatesInDays
* Number of days before quality updates are installed automatically with valid range from 2 to 30 days
* Number of days before quality updates are installed automatically with valid range from 0 to 30 days
*
* @param int $val The deadlineForQualityUpdatesInDays
*

View File

@ -2,7 +2,7 @@
/**
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
*
* DelegatedAdminRelationshipParticipant File
* WindowsWebApp File
* PHP version 7
*
* @category Library
@ -12,8 +12,9 @@
* @link https://graph.microsoft.com
*/
namespace Beta\Microsoft\Graph\Model;
/**
* DelegatedAdminRelationshipParticipant class
* WindowsWebApp class
*
* @category Model
* @package Microsoft.Graph
@ -21,32 +22,35 @@ namespace Beta\Microsoft\Graph\Model;
* @license https://opensource.org/licenses/MIT MIT License
* @link https://graph.microsoft.com
*/
class DelegatedAdminRelationshipParticipant extends Entity
class WindowsWebApp extends MobileApp
{
/**
* Gets the tenantId
* Gets the appUrl
* The web app URL.
*
* @return string|null The tenantId
* @return string|null The appUrl
*/
public function getTenantId()
public function getAppUrl()
{
if (array_key_exists("tenantId", $this->_propDict)) {
return $this->_propDict["tenantId"];
if (array_key_exists("appUrl", $this->_propDict)) {
return $this->_propDict["appUrl"];
} else {
return null;
}
}
/**
* Sets the tenantId
* Sets the appUrl
* The web app URL.
*
* @param string $val The value of the tenantId
* @param string $val The appUrl
*
* @return DelegatedAdminRelationshipParticipant
* @return WindowsWebApp
*/
public function setTenantId($val)
public function setAppUrl($val)
{
$this->_propDict["tenantId"] = $val;
$this->_propDict["appUrl"] = $val;
return $this;
}
}

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