1
0
Fork 0

Updating libraries

master
Brie Bruns 2023-04-20 12:43:04 -06:00
parent 246a9a1736
commit b281994a98
242 changed files with 16141 additions and 554 deletions

91
composer.lock generated
View File

@ -8,22 +8,22 @@
"packages": [
{
"name": "guzzlehttp/guzzle",
"version": "7.5.0",
"version": "7.5.1",
"source": {
"type": "git",
"url": "https://github.com/guzzle/guzzle.git",
"reference": "b50a2a1251152e43f6a37f0fa053e730a67d25ba"
"reference": "b964ca597e86b752cd994f27293e9fa6b6a95ed9"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/guzzle/guzzle/zipball/b50a2a1251152e43f6a37f0fa053e730a67d25ba",
"reference": "b50a2a1251152e43f6a37f0fa053e730a67d25ba",
"url": "https://api.github.com/repos/guzzle/guzzle/zipball/b964ca597e86b752cd994f27293e9fa6b6a95ed9",
"reference": "b964ca597e86b752cd994f27293e9fa6b6a95ed9",
"shasum": ""
},
"require": {
"ext-json": "*",
"guzzlehttp/promises": "^1.5",
"guzzlehttp/psr7": "^1.9 || ^2.4",
"guzzlehttp/psr7": "^1.9.1 || ^2.4.5",
"php": "^7.2.5 || ^8.0",
"psr/http-client": "^1.0",
"symfony/deprecation-contracts": "^2.2 || ^3.0"
@ -116,7 +116,7 @@
],
"support": {
"issues": "https://github.com/guzzle/guzzle/issues",
"source": "https://github.com/guzzle/guzzle/tree/7.5.0"
"source": "https://github.com/guzzle/guzzle/tree/7.5.1"
},
"funding": [
{
@ -132,7 +132,7 @@
"type": "tidelift"
}
],
"time": "2022-08-28T15:39:27+00:00"
"time": "2023-04-17T16:30:08+00:00"
},
{
"name": "guzzlehttp/promises",
@ -220,22 +220,22 @@
},
{
"name": "guzzlehttp/psr7",
"version": "2.4.4",
"version": "2.5.0",
"source": {
"type": "git",
"url": "https://github.com/guzzle/psr7.git",
"reference": "3cf1b6d4f0c820a2cf8bcaec39fc698f3443b5cf"
"reference": "b635f279edd83fc275f822a1188157ffea568ff6"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/guzzle/psr7/zipball/3cf1b6d4f0c820a2cf8bcaec39fc698f3443b5cf",
"reference": "3cf1b6d4f0c820a2cf8bcaec39fc698f3443b5cf",
"url": "https://api.github.com/repos/guzzle/psr7/zipball/b635f279edd83fc275f822a1188157ffea568ff6",
"reference": "b635f279edd83fc275f822a1188157ffea568ff6",
"shasum": ""
},
"require": {
"php": "^7.2.5 || ^8.0",
"psr/http-factory": "^1.0",
"psr/http-message": "^1.0",
"psr/http-message": "^1.1 || ^2.0",
"ralouphie/getallheaders": "^3.0"
},
"provide": {
@ -255,9 +255,6 @@
"bamarni-bin": {
"bin-links": true,
"forward-command": false
},
"branch-alias": {
"dev-master": "2.4-dev"
}
},
"autoload": {
@ -319,7 +316,7 @@
],
"support": {
"issues": "https://github.com/guzzle/psr7/issues",
"source": "https://github.com/guzzle/psr7/tree/2.4.4"
"source": "https://github.com/guzzle/psr7/tree/2.5.0"
},
"funding": [
{
@ -335,20 +332,20 @@
"type": "tidelift"
}
],
"time": "2023-03-09T13:19:02+00:00"
"time": "2023-04-17T16:11:26+00:00"
},
{
"name": "microsoft/microsoft-graph",
"version": "1.92.0",
"version": "1.94.0",
"source": {
"type": "git",
"url": "https://github.com/microsoftgraph/msgraph-sdk-php.git",
"reference": "11bdfe4692002ccd40a36faca844916109f1939e"
"reference": "c0a41246827cf2dadcd4d3bae1ab87fdbe51edf8"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/microsoftgraph/msgraph-sdk-php/zipball/11bdfe4692002ccd40a36faca844916109f1939e",
"reference": "11bdfe4692002ccd40a36faca844916109f1939e",
"url": "https://api.github.com/repos/microsoftgraph/msgraph-sdk-php/zipball/c0a41246827cf2dadcd4d3bae1ab87fdbe51edf8",
"reference": "c0a41246827cf2dadcd4d3bae1ab87fdbe51edf8",
"shasum": ""
},
"require": {
@ -384,27 +381,27 @@
"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.92.0"
"source": "https://github.com/microsoftgraph/msgraph-sdk-php/tree/1.94.0"
},
"time": "2023-03-21T14:11:26+00:00"
"time": "2023-04-11T13:23:45+00:00"
},
{
"name": "psr/http-client",
"version": "1.0.1",
"version": "1.0.2",
"source": {
"type": "git",
"url": "https://github.com/php-fig/http-client.git",
"reference": "2dfb5f6c5eff0e91e20e913f8c5452ed95b86621"
"reference": "0955afe48220520692d2d09f7ab7e0f93ffd6a31"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/php-fig/http-client/zipball/2dfb5f6c5eff0e91e20e913f8c5452ed95b86621",
"reference": "2dfb5f6c5eff0e91e20e913f8c5452ed95b86621",
"url": "https://api.github.com/repos/php-fig/http-client/zipball/0955afe48220520692d2d09f7ab7e0f93ffd6a31",
"reference": "0955afe48220520692d2d09f7ab7e0f93ffd6a31",
"shasum": ""
},
"require": {
"php": "^7.0 || ^8.0",
"psr/http-message": "^1.0"
"psr/http-message": "^1.0 || ^2.0"
},
"type": "library",
"extra": {
@ -424,7 +421,7 @@
"authors": [
{
"name": "PHP-FIG",
"homepage": "http://www.php-fig.org/"
"homepage": "https://www.php-fig.org/"
}
],
"description": "Common interface for HTTP clients",
@ -436,27 +433,27 @@
"psr-18"
],
"support": {
"source": "https://github.com/php-fig/http-client/tree/master"
"source": "https://github.com/php-fig/http-client/tree/1.0.2"
},
"time": "2020-06-29T06:28:15+00:00"
"time": "2023-04-10T20:12:12+00:00"
},
{
"name": "psr/http-factory",
"version": "1.0.1",
"version": "1.0.2",
"source": {
"type": "git",
"url": "https://github.com/php-fig/http-factory.git",
"reference": "12ac7fcd07e5b077433f5f2bee95b3a771bf61be"
"reference": "e616d01114759c4c489f93b099585439f795fe35"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/php-fig/http-factory/zipball/12ac7fcd07e5b077433f5f2bee95b3a771bf61be",
"reference": "12ac7fcd07e5b077433f5f2bee95b3a771bf61be",
"url": "https://api.github.com/repos/php-fig/http-factory/zipball/e616d01114759c4c489f93b099585439f795fe35",
"reference": "e616d01114759c4c489f93b099585439f795fe35",
"shasum": ""
},
"require": {
"php": ">=7.0.0",
"psr/http-message": "^1.0"
"psr/http-message": "^1.0 || ^2.0"
},
"type": "library",
"extra": {
@ -476,7 +473,7 @@
"authors": [
{
"name": "PHP-FIG",
"homepage": "http://www.php-fig.org/"
"homepage": "https://www.php-fig.org/"
}
],
"description": "Common interfaces for PSR-7 HTTP message factories",
@ -491,31 +488,31 @@
"response"
],
"support": {
"source": "https://github.com/php-fig/http-factory/tree/master"
"source": "https://github.com/php-fig/http-factory/tree/1.0.2"
},
"time": "2019-04-30T12:38:16+00:00"
"time": "2023-04-10T20:10:41+00:00"
},
{
"name": "psr/http-message",
"version": "1.0.1",
"version": "1.1",
"source": {
"type": "git",
"url": "https://github.com/php-fig/http-message.git",
"reference": "f6561bf28d520154e4b0ec72be95418abe6d9363"
"reference": "cb6ce4845ce34a8ad9e68117c10ee90a29919eba"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/php-fig/http-message/zipball/f6561bf28d520154e4b0ec72be95418abe6d9363",
"reference": "f6561bf28d520154e4b0ec72be95418abe6d9363",
"url": "https://api.github.com/repos/php-fig/http-message/zipball/cb6ce4845ce34a8ad9e68117c10ee90a29919eba",
"reference": "cb6ce4845ce34a8ad9e68117c10ee90a29919eba",
"shasum": ""
},
"require": {
"php": ">=5.3.0"
"php": "^7.2 || ^8.0"
},
"type": "library",
"extra": {
"branch-alias": {
"dev-master": "1.0.x-dev"
"dev-master": "1.1.x-dev"
}
},
"autoload": {
@ -544,9 +541,9 @@
"response"
],
"support": {
"source": "https://github.com/php-fig/http-message/tree/master"
"source": "https://github.com/php-fig/http-message/tree/1.1"
},
"time": "2016-08-06T14:39:51+00:00"
"time": "2023-04-04T09:50:52+00:00"
},
{
"name": "ralouphie/getallheaders",

View File

@ -2,23 +2,23 @@
"packages": [
{
"name": "guzzlehttp/guzzle",
"version": "7.5.0",
"version_normalized": "7.5.0.0",
"version": "7.5.1",
"version_normalized": "7.5.1.0",
"source": {
"type": "git",
"url": "https://github.com/guzzle/guzzle.git",
"reference": "b50a2a1251152e43f6a37f0fa053e730a67d25ba"
"reference": "b964ca597e86b752cd994f27293e9fa6b6a95ed9"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/guzzle/guzzle/zipball/b50a2a1251152e43f6a37f0fa053e730a67d25ba",
"reference": "b50a2a1251152e43f6a37f0fa053e730a67d25ba",
"url": "https://api.github.com/repos/guzzle/guzzle/zipball/b964ca597e86b752cd994f27293e9fa6b6a95ed9",
"reference": "b964ca597e86b752cd994f27293e9fa6b6a95ed9",
"shasum": ""
},
"require": {
"ext-json": "*",
"guzzlehttp/promises": "^1.5",
"guzzlehttp/psr7": "^1.9 || ^2.4",
"guzzlehttp/psr7": "^1.9.1 || ^2.4.5",
"php": "^7.2.5 || ^8.0",
"psr/http-client": "^1.0",
"symfony/deprecation-contracts": "^2.2 || ^3.0"
@ -38,7 +38,7 @@
"ext-intl": "Required for Internationalized Domain Name (IDN) support",
"psr/log": "Required for using the Log middleware"
},
"time": "2022-08-28T15:39:27+00:00",
"time": "2023-04-17T16:30:08+00:00",
"type": "library",
"extra": {
"bamarni-bin": {
@ -113,7 +113,7 @@
],
"support": {
"issues": "https://github.com/guzzle/guzzle/issues",
"source": "https://github.com/guzzle/guzzle/tree/7.5.0"
"source": "https://github.com/guzzle/guzzle/tree/7.5.1"
},
"funding": [
{
@ -220,23 +220,23 @@
},
{
"name": "guzzlehttp/psr7",
"version": "2.4.4",
"version_normalized": "2.4.4.0",
"version": "2.5.0",
"version_normalized": "2.5.0.0",
"source": {
"type": "git",
"url": "https://github.com/guzzle/psr7.git",
"reference": "3cf1b6d4f0c820a2cf8bcaec39fc698f3443b5cf"
"reference": "b635f279edd83fc275f822a1188157ffea568ff6"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/guzzle/psr7/zipball/3cf1b6d4f0c820a2cf8bcaec39fc698f3443b5cf",
"reference": "3cf1b6d4f0c820a2cf8bcaec39fc698f3443b5cf",
"url": "https://api.github.com/repos/guzzle/psr7/zipball/b635f279edd83fc275f822a1188157ffea568ff6",
"reference": "b635f279edd83fc275f822a1188157ffea568ff6",
"shasum": ""
},
"require": {
"php": "^7.2.5 || ^8.0",
"psr/http-factory": "^1.0",
"psr/http-message": "^1.0",
"psr/http-message": "^1.1 || ^2.0",
"ralouphie/getallheaders": "^3.0"
},
"provide": {
@ -251,15 +251,12 @@
"suggest": {
"laminas/laminas-httphandlerrunner": "Emit PSR-7 responses"
},
"time": "2023-03-09T13:19:02+00:00",
"time": "2023-04-17T16:11:26+00:00",
"type": "library",
"extra": {
"bamarni-bin": {
"bin-links": true,
"forward-command": false
},
"branch-alias": {
"dev-master": "2.4-dev"
}
},
"installation-source": "dist",
@ -322,7 +319,7 @@
],
"support": {
"issues": "https://github.com/guzzle/psr7/issues",
"source": "https://github.com/guzzle/psr7/tree/2.4.4"
"source": "https://github.com/guzzle/psr7/tree/2.5.0"
},
"funding": [
{
@ -342,17 +339,17 @@
},
{
"name": "microsoft/microsoft-graph",
"version": "1.92.0",
"version_normalized": "1.92.0.0",
"version": "1.94.0",
"version_normalized": "1.94.0.0",
"source": {
"type": "git",
"url": "https://github.com/microsoftgraph/msgraph-sdk-php.git",
"reference": "11bdfe4692002ccd40a36faca844916109f1939e"
"reference": "c0a41246827cf2dadcd4d3bae1ab87fdbe51edf8"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/microsoftgraph/msgraph-sdk-php/zipball/11bdfe4692002ccd40a36faca844916109f1939e",
"reference": "11bdfe4692002ccd40a36faca844916109f1939e",
"url": "https://api.github.com/repos/microsoftgraph/msgraph-sdk-php/zipball/c0a41246827cf2dadcd4d3bae1ab87fdbe51edf8",
"reference": "c0a41246827cf2dadcd4d3bae1ab87fdbe51edf8",
"shasum": ""
},
"require": {
@ -366,7 +363,7 @@
"phpstan/phpstan": "^0.12.90 || ^1.0.0",
"phpunit/phpunit": "^8.0 || ^9.0"
},
"time": "2023-03-21T14:11:26+00:00",
"time": "2023-04-11T13:23:45+00:00",
"type": "library",
"installation-source": "dist",
"autoload": {
@ -390,30 +387,30 @@
"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.92.0"
"source": "https://github.com/microsoftgraph/msgraph-sdk-php/tree/1.94.0"
},
"install-path": "../microsoft/microsoft-graph"
},
{
"name": "psr/http-client",
"version": "1.0.1",
"version_normalized": "1.0.1.0",
"version": "1.0.2",
"version_normalized": "1.0.2.0",
"source": {
"type": "git",
"url": "https://github.com/php-fig/http-client.git",
"reference": "2dfb5f6c5eff0e91e20e913f8c5452ed95b86621"
"reference": "0955afe48220520692d2d09f7ab7e0f93ffd6a31"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/php-fig/http-client/zipball/2dfb5f6c5eff0e91e20e913f8c5452ed95b86621",
"reference": "2dfb5f6c5eff0e91e20e913f8c5452ed95b86621",
"url": "https://api.github.com/repos/php-fig/http-client/zipball/0955afe48220520692d2d09f7ab7e0f93ffd6a31",
"reference": "0955afe48220520692d2d09f7ab7e0f93ffd6a31",
"shasum": ""
},
"require": {
"php": "^7.0 || ^8.0",
"psr/http-message": "^1.0"
"psr/http-message": "^1.0 || ^2.0"
},
"time": "2020-06-29T06:28:15+00:00",
"time": "2023-04-10T20:12:12+00:00",
"type": "library",
"extra": {
"branch-alias": {
@ -433,7 +430,7 @@
"authors": [
{
"name": "PHP-FIG",
"homepage": "http://www.php-fig.org/"
"homepage": "https://www.php-fig.org/"
}
],
"description": "Common interface for HTTP clients",
@ -445,30 +442,30 @@
"psr-18"
],
"support": {
"source": "https://github.com/php-fig/http-client/tree/master"
"source": "https://github.com/php-fig/http-client/tree/1.0.2"
},
"install-path": "../psr/http-client"
},
{
"name": "psr/http-factory",
"version": "1.0.1",
"version_normalized": "1.0.1.0",
"version": "1.0.2",
"version_normalized": "1.0.2.0",
"source": {
"type": "git",
"url": "https://github.com/php-fig/http-factory.git",
"reference": "12ac7fcd07e5b077433f5f2bee95b3a771bf61be"
"reference": "e616d01114759c4c489f93b099585439f795fe35"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/php-fig/http-factory/zipball/12ac7fcd07e5b077433f5f2bee95b3a771bf61be",
"reference": "12ac7fcd07e5b077433f5f2bee95b3a771bf61be",
"url": "https://api.github.com/repos/php-fig/http-factory/zipball/e616d01114759c4c489f93b099585439f795fe35",
"reference": "e616d01114759c4c489f93b099585439f795fe35",
"shasum": ""
},
"require": {
"php": ">=7.0.0",
"psr/http-message": "^1.0"
"psr/http-message": "^1.0 || ^2.0"
},
"time": "2019-04-30T12:38:16+00:00",
"time": "2023-04-10T20:10:41+00:00",
"type": "library",
"extra": {
"branch-alias": {
@ -488,7 +485,7 @@
"authors": [
{
"name": "PHP-FIG",
"homepage": "http://www.php-fig.org/"
"homepage": "https://www.php-fig.org/"
}
],
"description": "Common interfaces for PSR-7 HTTP message factories",
@ -503,33 +500,33 @@
"response"
],
"support": {
"source": "https://github.com/php-fig/http-factory/tree/master"
"source": "https://github.com/php-fig/http-factory/tree/1.0.2"
},
"install-path": "../psr/http-factory"
},
{
"name": "psr/http-message",
"version": "1.0.1",
"version_normalized": "1.0.1.0",
"version": "1.1",
"version_normalized": "1.1.0.0",
"source": {
"type": "git",
"url": "https://github.com/php-fig/http-message.git",
"reference": "f6561bf28d520154e4b0ec72be95418abe6d9363"
"reference": "cb6ce4845ce34a8ad9e68117c10ee90a29919eba"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/php-fig/http-message/zipball/f6561bf28d520154e4b0ec72be95418abe6d9363",
"reference": "f6561bf28d520154e4b0ec72be95418abe6d9363",
"url": "https://api.github.com/repos/php-fig/http-message/zipball/cb6ce4845ce34a8ad9e68117c10ee90a29919eba",
"reference": "cb6ce4845ce34a8ad9e68117c10ee90a29919eba",
"shasum": ""
},
"require": {
"php": ">=5.3.0"
"php": "^7.2 || ^8.0"
},
"time": "2016-08-06T14:39:51+00:00",
"time": "2023-04-04T09:50:52+00:00",
"type": "library",
"extra": {
"branch-alias": {
"dev-master": "1.0.x-dev"
"dev-master": "1.1.x-dev"
}
},
"installation-source": "dist",
@ -559,7 +556,7 @@
"response"
],
"support": {
"source": "https://github.com/php-fig/http-message/tree/master"
"source": "https://github.com/php-fig/http-message/tree/1.1"
},
"install-path": "../psr/http-message"
},

View File

@ -3,7 +3,7 @@
'name' => '__root__',
'pretty_version' => 'dev-master',
'version' => 'dev-master',
'reference' => '80d62586a2931932b7376f1956c4a627b9fbda3b',
'reference' => '246a9a17364e1c506739daad4920d35a181e7063',
'type' => 'library',
'install_path' => __DIR__ . '/../../',
'aliases' => array(),
@ -13,16 +13,16 @@
'__root__' => array(
'pretty_version' => 'dev-master',
'version' => 'dev-master',
'reference' => '80d62586a2931932b7376f1956c4a627b9fbda3b',
'reference' => '246a9a17364e1c506739daad4920d35a181e7063',
'type' => 'library',
'install_path' => __DIR__ . '/../../',
'aliases' => array(),
'dev_requirement' => false,
),
'guzzlehttp/guzzle' => array(
'pretty_version' => '7.5.0',
'version' => '7.5.0.0',
'reference' => 'b50a2a1251152e43f6a37f0fa053e730a67d25ba',
'pretty_version' => '7.5.1',
'version' => '7.5.1.0',
'reference' => 'b964ca597e86b752cd994f27293e9fa6b6a95ed9',
'type' => 'library',
'install_path' => __DIR__ . '/../guzzlehttp/guzzle',
'aliases' => array(),
@ -38,27 +38,27 @@
'dev_requirement' => false,
),
'guzzlehttp/psr7' => array(
'pretty_version' => '2.4.4',
'version' => '2.4.4.0',
'reference' => '3cf1b6d4f0c820a2cf8bcaec39fc698f3443b5cf',
'pretty_version' => '2.5.0',
'version' => '2.5.0.0',
'reference' => 'b635f279edd83fc275f822a1188157ffea568ff6',
'type' => 'library',
'install_path' => __DIR__ . '/../guzzlehttp/psr7',
'aliases' => array(),
'dev_requirement' => false,
),
'microsoft/microsoft-graph' => array(
'pretty_version' => '1.92.0',
'version' => '1.92.0.0',
'reference' => '11bdfe4692002ccd40a36faca844916109f1939e',
'pretty_version' => '1.94.0',
'version' => '1.94.0.0',
'reference' => 'c0a41246827cf2dadcd4d3bae1ab87fdbe51edf8',
'type' => 'library',
'install_path' => __DIR__ . '/../microsoft/microsoft-graph',
'aliases' => array(),
'dev_requirement' => false,
),
'psr/http-client' => array(
'pretty_version' => '1.0.1',
'version' => '1.0.1.0',
'reference' => '2dfb5f6c5eff0e91e20e913f8c5452ed95b86621',
'pretty_version' => '1.0.2',
'version' => '1.0.2.0',
'reference' => '0955afe48220520692d2d09f7ab7e0f93ffd6a31',
'type' => 'library',
'install_path' => __DIR__ . '/../psr/http-client',
'aliases' => array(),
@ -71,9 +71,9 @@
),
),
'psr/http-factory' => array(
'pretty_version' => '1.0.1',
'version' => '1.0.1.0',
'reference' => '12ac7fcd07e5b077433f5f2bee95b3a771bf61be',
'pretty_version' => '1.0.2',
'version' => '1.0.2.0',
'reference' => 'e616d01114759c4c489f93b099585439f795fe35',
'type' => 'library',
'install_path' => __DIR__ . '/../psr/http-factory',
'aliases' => array(),
@ -86,9 +86,9 @@
),
),
'psr/http-message' => array(
'pretty_version' => '1.0.1',
'version' => '1.0.1.0',
'reference' => 'f6561bf28d520154e4b0ec72be95418abe6d9363',
'pretty_version' => '1.1',
'version' => '1.1.0.0',
'reference' => 'cb6ce4845ce34a8ad9e68117c10ee90a29919eba',
'type' => 'library',
'install_path' => __DIR__ . '/../psr/http-message',
'aliases' => array(),

View File

@ -2,6 +2,16 @@
Please refer to [UPGRADING](UPGRADING.md) guide for upgrading to a major version.
## 7.5.1 - 2023-04-17
### Fixed
- Fixed `NO_PROXY` settings so that setting the `proxy` option to `no` overrides the env variable
### Changed
- Adjusted `guzzlehttp/psr7` version constraint to `^1.9.1 || ^2.4.5`
## 7.5.0 - 2022-08-28
### Added
@ -11,16 +21,22 @@ Please refer to [UPGRADING](UPGRADING.md) guide for upgrading to a major version
## 7.4.5 - 2022-06-20
### Fixed
* Fix change in port should be considered a change in origin
* Fix `CURLOPT_HTTPAUTH` option not cleared on change of origin
## 7.4.4 - 2022-06-09
### Fixed
* 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
### Fixed
* Fix cross-domain cookie leakage
## 7.4.2 - 2022-03-20

View File

@ -66,7 +66,7 @@ composer require guzzlehttp/guzzle
| 4.x | EOL | `guzzlehttp/guzzle` | `GuzzleHttp` | [v4][guzzle-4-repo] | N/A | No | >=5.4,<7.0 |
| 5.x | EOL | `guzzlehttp/guzzle` | `GuzzleHttp` | [v5][guzzle-5-repo] | [v5][guzzle-5-docs] | No | >=5.4,<7.4 |
| 6.x | Security fixes | `guzzlehttp/guzzle` | `GuzzleHttp` | [v6][guzzle-6-repo] | [v6][guzzle-6-docs] | Yes | >=5.5,<8.0 |
| 7.x | Latest | `guzzlehttp/guzzle` | `GuzzleHttp` | [v7][guzzle-7-repo] | [v7][guzzle-7-docs] | Yes | >=7.2.5,<8.2 |
| 7.x | Latest | `guzzlehttp/guzzle` | `GuzzleHttp` | [v7][guzzle-7-repo] | [v7][guzzle-7-docs] | Yes | >=7.2.5,<8.3 |
[guzzle-3-repo]: https://github.com/guzzle/guzzle3
[guzzle-4-repo]: https://github.com/guzzle/guzzle/tree/4.x

View File

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

View File

@ -443,7 +443,9 @@ class CurlFactory implements CurlFactoryInterface
$scheme = $easy->request->getUri()->getScheme();
if (isset($options['proxy'][$scheme])) {
$host = $easy->request->getUri()->getHost();
if (!isset($options['proxy']['no']) || !Utils::isHostInNoProxy($host, $options['proxy']['no'])) {
if (isset($options['proxy']['no']) && Utils::isHostInNoProxy($host, $options['proxy']['no'])) {
unset($conf[\CURLOPT_PROXY]);
} else {
$conf[\CURLOPT_PROXY] = $options['proxy'][$scheme];
}
}

View File

@ -7,6 +7,20 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## Unreleased
## 2.5.0 - 2023-04-17
### Changed
- Adjusted `psr/http-message` version constraint to `^1.1 || ^2.0`
## 2.4.5 - 2023-04-17
### Fixed
- Prevent possible warnings on unset variables in `ServerRequest::normalizeNestedFileSpec`
- Fixed `Message::bodySummary` when `preg_match` fails
- Fixed header validation issue
## 2.4.4 - 2023-03-09
### Changed

View File

@ -52,7 +52,7 @@
"require": {
"php": "^7.2.5 || ^8.0",
"psr/http-factory": "^1.0",
"psr/http-message": "^1.0",
"psr/http-message": "^1.1 || ^2.0",
"ralouphie/getallheaders": "^3.0"
},
"provide": {
@ -81,9 +81,6 @@
"bamarni-bin": {
"bin-links": true,
"forward-command": false
},
"branch-alias": {
"dev-master": "2.4-dev"
}
},
"config": {

View File

@ -77,7 +77,7 @@ final class Message
// Matches any printable character, including unicode characters:
// letters, marks, numbers, punctuation, spacing, and separators.
if (preg_match('/[^\pL\pM\pN\pP\pS\pZ\n\r\t]/u', $summary)) {
if (preg_match('/[^\pL\pM\pN\pP\pS\pZ\n\r\t]/u', $summary) !== 0) {
return null;
}

View File

@ -224,12 +224,9 @@ trait MessageTrait
));
}
if (! preg_match('/^[a-zA-Z0-9\'`#$%&*+.^_|~!-]+$/', $header)) {
if (! preg_match('/^[a-zA-Z0-9\'`#$%&*+.^_|~!-]+$/D', $header)) {
throw new \InvalidArgumentException(
sprintf(
'"%s" is not valid header name',
$header
)
sprintf('"%s" is not valid header name.', $header)
);
}
}
@ -257,8 +254,10 @@ trait MessageTrait
// Clients must not send a request with line folding and a server sending folded headers is
// likely very rare. Line folding is a fairly obscure feature of HTTP/1.1 and thus not accepting
// folding is not likely to break any legitimate use case.
if (! preg_match('/^[\x20\x09\x21-\x7E\x80-\xFF]*$/', $value)) {
throw new \InvalidArgumentException(sprintf('"%s" is not valid header value', $value));
if (! preg_match('/^[\x20\x09\x21-\x7E\x80-\xFF]*$/D', $value)) {
throw new \InvalidArgumentException(
sprintf('"%s" is not valid header value.', $value)
);
}
}
}

View File

@ -144,10 +144,10 @@ class ServerRequest extends Request implements ServerRequestInterface
foreach (array_keys($files['tmp_name']) as $key) {
$spec = [
'tmp_name' => $files['tmp_name'][$key],
'size' => $files['size'][$key],
'error' => $files['error'][$key],
'name' => $files['name'][$key],
'type' => $files['type'][$key],
'size' => $files['size'][$key] ?? null,
'error' => $files['error'][$key] ?? null,
'name' => $files['name'][$key] ?? null,
'type' => $files['type'][$key] ?? null,
];
$normalizedFiles[$key] = self::createUploadedFileFromSpec($spec);
}

View File

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

View File

@ -431,6 +431,32 @@ class DirectRoutingLogRow extends \Beta\Microsoft\Graph\Model\Entity
return $this;
}
/**
* Gets the otherPartyCountryCode
*
* @return string|null The otherPartyCountryCode
*/
public function getOtherPartyCountryCode()
{
if (array_key_exists("otherPartyCountryCode", $this->_propDict)) {
return $this->_propDict["otherPartyCountryCode"];
} else {
return null;
}
}
/**
* Sets the otherPartyCountryCode
*
* @param string $val The value of the otherPartyCountryCode
*
* @return DirectRoutingLogRow
*/
public function setOtherPartyCountryCode($val)
{
$this->_propDict["otherPartyCountryCode"] = $val;
return $this;
}
/**
* Gets the signalingLocation
* The datacenter used for signaling for both bypass and non-bypass calls.
*
@ -548,6 +574,32 @@ class DirectRoutingLogRow extends \Beta\Microsoft\Graph\Model\Entity
return $this;
}
/**
* Gets the userCountryCode
*
* @return string|null The userCountryCode
*/
public function getUserCountryCode()
{
if (array_key_exists("userCountryCode", $this->_propDict)) {
return $this->_propDict["userCountryCode"];
} else {
return null;
}
}
/**
* Sets the userCountryCode
*
* @param string $val The value of the userCountryCode
*
* @return DirectRoutingLogRow
*/
public function setUserCountryCode($val)
{
$this->_propDict["userCountryCode"] = $val;
return $this;
}
/**
* Gets the userDisplayName
* Display name of the user.
*

View File

@ -0,0 +1,244 @@
<?php
/**
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
*
* PstnBlockedUsersLogRow 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;
/**
* PstnBlockedUsersLogRow 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 PstnBlockedUsersLogRow extends \Beta\Microsoft\Graph\Model\Entity
{
/**
* Gets the blockDateTime
*
* @return \DateTime|null The blockDateTime
*/
public function getBlockDateTime()
{
if (array_key_exists("blockDateTime", $this->_propDict)) {
if (is_a($this->_propDict["blockDateTime"], "\DateTime") || is_null($this->_propDict["blockDateTime"])) {
return $this->_propDict["blockDateTime"];
} else {
$this->_propDict["blockDateTime"] = new \DateTime($this->_propDict["blockDateTime"]);
return $this->_propDict["blockDateTime"];
}
}
return null;
}
/**
* Sets the blockDateTime
*
* @param \DateTime $val The value to assign to the blockDateTime
*
* @return PstnBlockedUsersLogRow The PstnBlockedUsersLogRow
*/
public function setBlockDateTime($val)
{
$this->_propDict["blockDateTime"] = $val;
return $this;
}
/**
* Gets the blockReason
*
* @return string|null The blockReason
*/
public function getBlockReason()
{
if (array_key_exists("blockReason", $this->_propDict)) {
return $this->_propDict["blockReason"];
} else {
return null;
}
}
/**
* Sets the blockReason
*
* @param string $val The value of the blockReason
*
* @return PstnBlockedUsersLogRow
*/
public function setBlockReason($val)
{
$this->_propDict["blockReason"] = $val;
return $this;
}
/**
* Gets the remediationId
*
* @return string|null The remediationId
*/
public function getRemediationId()
{
if (array_key_exists("remediationId", $this->_propDict)) {
return $this->_propDict["remediationId"];
} else {
return null;
}
}
/**
* Sets the remediationId
*
* @param string $val The value of the remediationId
*
* @return PstnBlockedUsersLogRow
*/
public function setRemediationId($val)
{
$this->_propDict["remediationId"] = $val;
return $this;
}
/**
* Gets the userBlockMode
*
* @return PstnUserBlockMode|null The userBlockMode
*/
public function getUserBlockMode()
{
if (array_key_exists("userBlockMode", $this->_propDict)) {
if (is_a($this->_propDict["userBlockMode"], "\Beta\Microsoft\Graph\CallRecords\Model\PstnUserBlockMode") || is_null($this->_propDict["userBlockMode"])) {
return $this->_propDict["userBlockMode"];
} else {
$this->_propDict["userBlockMode"] = new PstnUserBlockMode($this->_propDict["userBlockMode"]);
return $this->_propDict["userBlockMode"];
}
}
return null;
}
/**
* Sets the userBlockMode
*
* @param PstnUserBlockMode $val The value to assign to the userBlockMode
*
* @return PstnBlockedUsersLogRow The PstnBlockedUsersLogRow
*/
public function setUserBlockMode($val)
{
$this->_propDict["userBlockMode"] = $val;
return $this;
}
/**
* Gets the userDisplayName
*
* @return string|null The userDisplayName
*/
public function getUserDisplayName()
{
if (array_key_exists("userDisplayName", $this->_propDict)) {
return $this->_propDict["userDisplayName"];
} else {
return null;
}
}
/**
* Sets the userDisplayName
*
* @param string $val The value of the userDisplayName
*
* @return PstnBlockedUsersLogRow
*/
public function setUserDisplayName($val)
{
$this->_propDict["userDisplayName"] = $val;
return $this;
}
/**
* Gets the userId
*
* @return string|null The userId
*/
public function getUserId()
{
if (array_key_exists("userId", $this->_propDict)) {
return $this->_propDict["userId"];
} else {
return null;
}
}
/**
* Sets the userId
*
* @param string $val The value of the userId
*
* @return PstnBlockedUsersLogRow
*/
public function setUserId($val)
{
$this->_propDict["userId"] = $val;
return $this;
}
/**
* Gets the userPrincipalName
*
* @return string|null The userPrincipalName
*/
public function getUserPrincipalName()
{
if (array_key_exists("userPrincipalName", $this->_propDict)) {
return $this->_propDict["userPrincipalName"];
} else {
return null;
}
}
/**
* Sets the userPrincipalName
*
* @param string $val The value of the userPrincipalName
*
* @return PstnBlockedUsersLogRow
*/
public function setUserPrincipalName($val)
{
$this->_propDict["userPrincipalName"] = $val;
return $this;
}
/**
* Gets the userTelephoneNumber
*
* @return string|null The userTelephoneNumber
*/
public function getUserTelephoneNumber()
{
if (array_key_exists("userTelephoneNumber", $this->_propDict)) {
return $this->_propDict["userTelephoneNumber"];
} else {
return null;
}
}
/**
* Sets the userTelephoneNumber
*
* @param string $val The value of the userTelephoneNumber
*
* @return PstnBlockedUsersLogRow
*/
public function setUserTelephoneNumber($val)
{
$this->_propDict["userTelephoneNumber"] = $val;
return $this;
}
}

View File

@ -519,6 +519,32 @@ class PstnCallLogRow extends \Beta\Microsoft\Graph\Model\Entity
$this->_propDict["operator"] = $val;
return $this;
}
/**
* Gets the otherPartyCountryCode
*
* @return string|null The otherPartyCountryCode
*/
public function getOtherPartyCountryCode()
{
if (array_key_exists("otherPartyCountryCode", $this->_propDict)) {
return $this->_propDict["otherPartyCountryCode"];
} else {
return null;
}
}
/**
* Sets the otherPartyCountryCode
*
* @param string $val The value of the otherPartyCountryCode
*
* @return PstnCallLogRow
*/
public function setOtherPartyCountryCode($val)
{
$this->_propDict["otherPartyCountryCode"] = $val;
return $this;
}
/**
* Gets the startDateTime

View File

@ -0,0 +1,265 @@
<?php
/**
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
*
* PstnOnlineMeetingDialoutReport 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;
/**
* PstnOnlineMeetingDialoutReport 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 PstnOnlineMeetingDialoutReport extends \Beta\Microsoft\Graph\Model\Entity
{
/**
* Gets the currency
*
* @return string|null The currency
*/
public function getCurrency()
{
if (array_key_exists("currency", $this->_propDict)) {
return $this->_propDict["currency"];
} else {
return null;
}
}
/**
* Sets the currency
*
* @param string $val The value of the currency
*
* @return PstnOnlineMeetingDialoutReport
*/
public function setCurrency($val)
{
$this->_propDict["currency"] = $val;
return $this;
}
/**
* Gets the destinationContext
*
* @return string|null The destinationContext
*/
public function getDestinationContext()
{
if (array_key_exists("destinationContext", $this->_propDict)) {
return $this->_propDict["destinationContext"];
} else {
return null;
}
}
/**
* Sets the destinationContext
*
* @param string $val The value of the destinationContext
*
* @return PstnOnlineMeetingDialoutReport
*/
public function setDestinationContext($val)
{
$this->_propDict["destinationContext"] = $val;
return $this;
}
/**
* Gets the totalCallCharge
*
* @return \Beta\Microsoft\Graph\Model\Decimal|null The totalCallCharge
*/
public function getTotalCallCharge()
{
if (array_key_exists("totalCallCharge", $this->_propDict)) {
if (is_a($this->_propDict["totalCallCharge"], "\Beta\Microsoft\Graph\Model\Decimal") || is_null($this->_propDict["totalCallCharge"])) {
return $this->_propDict["totalCallCharge"];
} else {
$this->_propDict["totalCallCharge"] = new \Beta\Microsoft\Graph\Model\Decimal($this->_propDict["totalCallCharge"]);
return $this->_propDict["totalCallCharge"];
}
}
return null;
}
/**
* Sets the totalCallCharge
*
* @param \Beta\Microsoft\Graph\Model\Decimal $val The value to assign to the totalCallCharge
*
* @return PstnOnlineMeetingDialoutReport The PstnOnlineMeetingDialoutReport
*/
public function setTotalCallCharge($val)
{
$this->_propDict["totalCallCharge"] = $val;
return $this;
}
/**
* Gets the totalCalls
*
* @return int|null The totalCalls
*/
public function getTotalCalls()
{
if (array_key_exists("totalCalls", $this->_propDict)) {
return $this->_propDict["totalCalls"];
} else {
return null;
}
}
/**
* Sets the totalCalls
*
* @param int $val The value of the totalCalls
*
* @return PstnOnlineMeetingDialoutReport
*/
public function setTotalCalls($val)
{
$this->_propDict["totalCalls"] = $val;
return $this;
}
/**
* Gets the totalCallSeconds
*
* @return int|null The totalCallSeconds
*/
public function getTotalCallSeconds()
{
if (array_key_exists("totalCallSeconds", $this->_propDict)) {
return $this->_propDict["totalCallSeconds"];
} else {
return null;
}
}
/**
* Sets the totalCallSeconds
*
* @param int $val The value of the totalCallSeconds
*
* @return PstnOnlineMeetingDialoutReport
*/
public function setTotalCallSeconds($val)
{
$this->_propDict["totalCallSeconds"] = $val;
return $this;
}
/**
* Gets the usageLocation
*
* @return string|null The usageLocation
*/
public function getUsageLocation()
{
if (array_key_exists("usageLocation", $this->_propDict)) {
return $this->_propDict["usageLocation"];
} else {
return null;
}
}
/**
* Sets the usageLocation
*
* @param string $val The value of the usageLocation
*
* @return PstnOnlineMeetingDialoutReport
*/
public function setUsageLocation($val)
{
$this->_propDict["usageLocation"] = $val;
return $this;
}
/**
* Gets the userDisplayName
*
* @return string|null The userDisplayName
*/
public function getUserDisplayName()
{
if (array_key_exists("userDisplayName", $this->_propDict)) {
return $this->_propDict["userDisplayName"];
} else {
return null;
}
}
/**
* Sets the userDisplayName
*
* @param string $val The value of the userDisplayName
*
* @return PstnOnlineMeetingDialoutReport
*/
public function setUserDisplayName($val)
{
$this->_propDict["userDisplayName"] = $val;
return $this;
}
/**
* Gets the userId
*
* @return string|null The userId
*/
public function getUserId()
{
if (array_key_exists("userId", $this->_propDict)) {
return $this->_propDict["userId"];
} else {
return null;
}
}
/**
* Sets the userId
*
* @param string $val The value of the userId
*
* @return PstnOnlineMeetingDialoutReport
*/
public function setUserId($val)
{
$this->_propDict["userId"] = $val;
return $this;
}
/**
* Gets the userPrincipalName
*
* @return string|null The userPrincipalName
*/
public function getUserPrincipalName()
{
if (array_key_exists("userPrincipalName", $this->_propDict)) {
return $this->_propDict["userPrincipalName"];
} else {
return null;
}
}
/**
* Sets the userPrincipalName
*
* @param string $val The value of the userPrincipalName
*
* @return PstnOnlineMeetingDialoutReport
*/
public function setUserPrincipalName($val)
{
$this->_propDict["userPrincipalName"] = $val;
return $this;
}
}

View File

@ -0,0 +1,35 @@
<?php
/**
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
*
* PstnUserBlockMode 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;
/**
* PstnUserBlockMode 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 PstnUserBlockMode extends Enum
{
/**
* The Enum PstnUserBlockMode
*/
const BLOCKED = "blocked";
const UNBLOCKED = "unblocked";
const UNKNOWN_FUTURE_VALUE = "unknownFutureValue";
}

View File

@ -0,0 +1,504 @@
<?php
/**
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
*
* SmsLogRow 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;
/**
* SmsLogRow 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 SmsLogRow extends \Beta\Microsoft\Graph\Model\Entity
{
/**
* Gets the callCharge
*
* @return \Beta\Microsoft\Graph\Model\Decimal|null The callCharge
*/
public function getCallCharge()
{
if (array_key_exists("callCharge", $this->_propDict)) {
if (is_a($this->_propDict["callCharge"], "\Beta\Microsoft\Graph\Model\Decimal") || is_null($this->_propDict["callCharge"])) {
return $this->_propDict["callCharge"];
} else {
$this->_propDict["callCharge"] = new \Beta\Microsoft\Graph\Model\Decimal($this->_propDict["callCharge"]);
return $this->_propDict["callCharge"];
}
}
return null;
}
/**
* Sets the callCharge
*
* @param \Beta\Microsoft\Graph\Model\Decimal $val The value to assign to the callCharge
*
* @return SmsLogRow The SmsLogRow
*/
public function setCallCharge($val)
{
$this->_propDict["callCharge"] = $val;
return $this;
}
/**
* Gets the currency
*
* @return string|null The currency
*/
public function getCurrency()
{
if (array_key_exists("currency", $this->_propDict)) {
return $this->_propDict["currency"];
} else {
return null;
}
}
/**
* Sets the currency
*
* @param string $val The value of the currency
*
* @return SmsLogRow
*/
public function setCurrency($val)
{
$this->_propDict["currency"] = $val;
return $this;
}
/**
* Gets the destinationContext
*
* @return string|null The destinationContext
*/
public function getDestinationContext()
{
if (array_key_exists("destinationContext", $this->_propDict)) {
return $this->_propDict["destinationContext"];
} else {
return null;
}
}
/**
* Sets the destinationContext
*
* @param string $val The value of the destinationContext
*
* @return SmsLogRow
*/
public function setDestinationContext($val)
{
$this->_propDict["destinationContext"] = $val;
return $this;
}
/**
* Gets the destinationName
*
* @return string|null The destinationName
*/
public function getDestinationName()
{
if (array_key_exists("destinationName", $this->_propDict)) {
return $this->_propDict["destinationName"];
} else {
return null;
}
}
/**
* Sets the destinationName
*
* @param string $val The value of the destinationName
*
* @return SmsLogRow
*/
public function setDestinationName($val)
{
$this->_propDict["destinationName"] = $val;
return $this;
}
/**
* Gets the destinationNumber
*
* @return string|null The destinationNumber
*/
public function getDestinationNumber()
{
if (array_key_exists("destinationNumber", $this->_propDict)) {
return $this->_propDict["destinationNumber"];
} else {
return null;
}
}
/**
* Sets the destinationNumber
*
* @param string $val The value of the destinationNumber
*
* @return SmsLogRow
*/
public function setDestinationNumber($val)
{
$this->_propDict["destinationNumber"] = $val;
return $this;
}
/**
* Gets the id
*
* @return string|null The id
*/
public function getId()
{
if (array_key_exists("id", $this->_propDict)) {
return $this->_propDict["id"];
} else {
return null;
}
}
/**
* Sets the id
*
* @param string $val The value of the id
*
* @return SmsLogRow
*/
public function setId($val)
{
$this->_propDict["id"] = $val;
return $this;
}
/**
* Gets the licenseCapability
*
* @return string|null The licenseCapability
*/
public function getLicenseCapability()
{
if (array_key_exists("licenseCapability", $this->_propDict)) {
return $this->_propDict["licenseCapability"];
} else {
return null;
}
}
/**
* Sets the licenseCapability
*
* @param string $val The value of the licenseCapability
*
* @return SmsLogRow
*/
public function setLicenseCapability($val)
{
$this->_propDict["licenseCapability"] = $val;
return $this;
}
/**
* Gets the otherPartyCountryCode
*
* @return string|null The otherPartyCountryCode
*/
public function getOtherPartyCountryCode()
{
if (array_key_exists("otherPartyCountryCode", $this->_propDict)) {
return $this->_propDict["otherPartyCountryCode"];
} else {
return null;
}
}
/**
* Sets the otherPartyCountryCode
*
* @param string $val The value of the otherPartyCountryCode
*
* @return SmsLogRow
*/
public function setOtherPartyCountryCode($val)
{
$this->_propDict["otherPartyCountryCode"] = $val;
return $this;
}
/**
* Gets the sentDateTime
*
* @return \DateTime|null The sentDateTime
*/
public function getSentDateTime()
{
if (array_key_exists("sentDateTime", $this->_propDict)) {
if (is_a($this->_propDict["sentDateTime"], "\DateTime") || is_null($this->_propDict["sentDateTime"])) {
return $this->_propDict["sentDateTime"];
} else {
$this->_propDict["sentDateTime"] = new \DateTime($this->_propDict["sentDateTime"]);
return $this->_propDict["sentDateTime"];
}
}
return null;
}
/**
* Sets the sentDateTime
*
* @param \DateTime $val The value to assign to the sentDateTime
*
* @return SmsLogRow The SmsLogRow
*/
public function setSentDateTime($val)
{
$this->_propDict["sentDateTime"] = $val;
return $this;
}
/**
* Gets the smsId
*
* @return string|null The smsId
*/
public function getSmsId()
{
if (array_key_exists("smsId", $this->_propDict)) {
return $this->_propDict["smsId"];
} else {
return null;
}
}
/**
* Sets the smsId
*
* @param string $val The value of the smsId
*
* @return SmsLogRow
*/
public function setSmsId($val)
{
$this->_propDict["smsId"] = $val;
return $this;
}
/**
* Gets the smsType
*
* @return string|null The smsType
*/
public function getSmsType()
{
if (array_key_exists("smsType", $this->_propDict)) {
return $this->_propDict["smsType"];
} else {
return null;
}
}
/**
* Sets the smsType
*
* @param string $val The value of the smsType
*
* @return SmsLogRow
*/
public function setSmsType($val)
{
$this->_propDict["smsType"] = $val;
return $this;
}
/**
* Gets the smsUnits
*
* @return int|null The smsUnits
*/
public function getSmsUnits()
{
if (array_key_exists("smsUnits", $this->_propDict)) {
return $this->_propDict["smsUnits"];
} else {
return null;
}
}
/**
* Sets the smsUnits
*
* @param int $val The value of the smsUnits
*
* @return SmsLogRow
*/
public function setSmsUnits($val)
{
$this->_propDict["smsUnits"] = $val;
return $this;
}
/**
* Gets the sourceNumber
*
* @return string|null The sourceNumber
*/
public function getSourceNumber()
{
if (array_key_exists("sourceNumber", $this->_propDict)) {
return $this->_propDict["sourceNumber"];
} else {
return null;
}
}
/**
* Sets the sourceNumber
*
* @param string $val The value of the sourceNumber
*
* @return SmsLogRow
*/
public function setSourceNumber($val)
{
$this->_propDict["sourceNumber"] = $val;
return $this;
}
/**
* Gets the tenantCountryCode
*
* @return string|null The tenantCountryCode
*/
public function getTenantCountryCode()
{
if (array_key_exists("tenantCountryCode", $this->_propDict)) {
return $this->_propDict["tenantCountryCode"];
} else {
return null;
}
}
/**
* Sets the tenantCountryCode
*
* @param string $val The value of the tenantCountryCode
*
* @return SmsLogRow
*/
public function setTenantCountryCode($val)
{
$this->_propDict["tenantCountryCode"] = $val;
return $this;
}
/**
* Gets the userCountryCode
*
* @return string|null The userCountryCode
*/
public function getUserCountryCode()
{
if (array_key_exists("userCountryCode", $this->_propDict)) {
return $this->_propDict["userCountryCode"];
} else {
return null;
}
}
/**
* Sets the userCountryCode
*
* @param string $val The value of the userCountryCode
*
* @return SmsLogRow
*/
public function setUserCountryCode($val)
{
$this->_propDict["userCountryCode"] = $val;
return $this;
}
/**
* Gets the userDisplayName
*
* @return string|null The userDisplayName
*/
public function getUserDisplayName()
{
if (array_key_exists("userDisplayName", $this->_propDict)) {
return $this->_propDict["userDisplayName"];
} else {
return null;
}
}
/**
* Sets the userDisplayName
*
* @param string $val The value of the userDisplayName
*
* @return SmsLogRow
*/
public function setUserDisplayName($val)
{
$this->_propDict["userDisplayName"] = $val;
return $this;
}
/**
* Gets the userId
*
* @return string|null The userId
*/
public function getUserId()
{
if (array_key_exists("userId", $this->_propDict)) {
return $this->_propDict["userId"];
} else {
return null;
}
}
/**
* Sets the userId
*
* @param string $val The value of the userId
*
* @return SmsLogRow
*/
public function setUserId($val)
{
$this->_propDict["userId"] = $val;
return $this;
}
/**
* Gets the userPrincipalName
*
* @return string|null The userPrincipalName
*/
public function getUserPrincipalName()
{
if (array_key_exists("userPrincipalName", $this->_propDict)) {
return $this->_propDict["userPrincipalName"];
} else {
return null;
}
}
/**
* Sets the userPrincipalName
*
* @param string $val The value of the userPrincipalName
*
* @return SmsLogRow
*/
public function setUserPrincipalName($val)
{
$this->_propDict["userPrincipalName"] = $val;
return $this;
}
}

View File

@ -24,6 +24,39 @@ namespace Beta\Microsoft\Graph\IdentityGovernanceNamespace\Model;
*/
class LifecycleManagementSettings extends \Beta\Microsoft\Graph\Model\Entity
{
/**
* Gets the emailSettings
* Defines the settings for emails sent out from email-specific tasks within workflows. Accepts 2 parameterssenderDomain- Defines the domain of who is sending the email. useCompanyBranding- A boolean value that defines if company branding is to be used with the email.
*
* @return \Beta\Microsoft\Graph\Model\EmailSettings|null The emailSettings
*/
public function getEmailSettings()
{
if (array_key_exists("emailSettings", $this->_propDict)) {
if (is_a($this->_propDict["emailSettings"], "\Beta\Microsoft\Graph\Model\EmailSettings") || is_null($this->_propDict["emailSettings"])) {
return $this->_propDict["emailSettings"];
} else {
$this->_propDict["emailSettings"] = new \Beta\Microsoft\Graph\Model\EmailSettings($this->_propDict["emailSettings"]);
return $this->_propDict["emailSettings"];
}
}
return null;
}
/**
* Sets the emailSettings
* Defines the settings for emails sent out from email-specific tasks within workflows. Accepts 2 parameterssenderDomain- Defines the domain of who is sending the email. useCompanyBranding- A boolean value that defines if company branding is to be used with the email.
*
* @param \Beta\Microsoft\Graph\Model\EmailSettings $val The emailSettings
*
* @return LifecycleManagementSettings
*/
public function setEmailSettings($val)
{
$this->_propDict["emailSettings"] = $val;
return $this;
}
/**
* Gets the workflowScheduleIntervalInHours
* The interval in hours at which all workflows running in the tenant should be scheduled for execution. This interval has a minimum value of 1 and a maximum value of 24. The default value is 3 hours.

View File

@ -137,6 +137,7 @@ class RunSummary extends \Beta\Microsoft\Graph\Model\Entity
}
/**
* Gets the totalTasks
* The total number of tasks processed by a workflow.
*
* @return int|null The totalTasks
*/
@ -151,6 +152,7 @@ class RunSummary extends \Beta\Microsoft\Graph\Model\Entity
/**
* Sets the totalTasks
* The total number of tasks processed by a workflow.
*
* @param int $val The value of the totalTasks
*
@ -163,6 +165,7 @@ class RunSummary extends \Beta\Microsoft\Graph\Model\Entity
}
/**
* Gets the totalUsers
* The total number of users processed by a workflow.
*
* @return int|null The totalUsers
*/
@ -177,6 +180,7 @@ class RunSummary extends \Beta\Microsoft\Graph\Model\Entity
/**
* Sets the totalUsers
* The total number of users processed by a workflow.
*
* @param int $val The value of the totalUsers
*

View File

@ -26,7 +26,7 @@ class TaskDefinition extends \Beta\Microsoft\Graph\Model\Entity
{
/**
* Gets the category
* The category of the HR function that the tasks created using this definition can be used with. The possible values are: joiner, leaver. This is a multi-valued enumeration whose allowed combinations are joiner, joiner,leaver, or leaver.Supports $filter(eq, ne, has) and $orderby.
* The category of the HR function that the tasks created using this definition can be used with. The possible values are: joiner, leaver, unknownFutureValue. This is a multi-valued enumeration whose allowed combinations are joiner, joiner,leaver, or leaver.Supports $filter(eq, ne, has) and $orderby.
*
* @return LifecycleTaskCategory|null The category
*/
@ -45,7 +45,7 @@ class TaskDefinition extends \Beta\Microsoft\Graph\Model\Entity
/**
* Sets the category
* The category of the HR function that the tasks created using this definition can be used with. The possible values are: joiner, leaver. This is a multi-valued enumeration whose allowed combinations are joiner, joiner,leaver, or leaver.Supports $filter(eq, ne, has) and $orderby.
* The category of the HR function that the tasks created using this definition can be used with. The possible values are: joiner, leaver, unknownFutureValue. This is a multi-valued enumeration whose allowed combinations are joiner, joiner,leaver, or leaver.Supports $filter(eq, ne, has) and $orderby.
*
* @param LifecycleTaskCategory $val The category
*

View File

@ -181,6 +181,7 @@ class Workflow extends WorkflowBase
/**
* Gets the runs
* Workflow runs.
*
* @return array|null The runs
*/
@ -195,6 +196,7 @@ class Workflow extends WorkflowBase
/**
* Sets the runs
* Workflow runs.
*
* @param Run[] $val The runs
*
@ -239,6 +241,7 @@ class Workflow extends WorkflowBase
/**
* Gets the userProcessingResults
* Per-user workflow execution results.
*
* @return array|null The userProcessingResults
*/
@ -253,6 +256,7 @@ class Workflow extends WorkflowBase
/**
* Sets the userProcessingResults
* Per-user workflow execution results.
*
* @param UserProcessingResult[] $val The userProcessingResults
*

View File

@ -0,0 +1,301 @@
<?php
/**
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
*
* AppPerformance 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\ManagedTenants\Model;
/**
* AppPerformance 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 AppPerformance extends \Beta\Microsoft\Graph\Model\Entity
{
/**
* Gets the appFriendlyName
*
* @return string|null The appFriendlyName
*/
public function getAppFriendlyName()
{
if (array_key_exists("appFriendlyName", $this->_propDict)) {
return $this->_propDict["appFriendlyName"];
} else {
return null;
}
}
/**
* Sets the appFriendlyName
*
* @param string $val The appFriendlyName
*
* @return AppPerformance
*/
public function setAppFriendlyName($val)
{
$this->_propDict["appFriendlyName"] = $val;
return $this;
}
/**
* Gets the appName
*
* @return string|null The appName
*/
public function getAppName()
{
if (array_key_exists("appName", $this->_propDict)) {
return $this->_propDict["appName"];
} else {
return null;
}
}
/**
* Sets the appName
*
* @param string $val The appName
*
* @return AppPerformance
*/
public function setAppName($val)
{
$this->_propDict["appName"] = $val;
return $this;
}
/**
* Gets the appPublisher
*
* @return string|null The appPublisher
*/
public function getAppPublisher()
{
if (array_key_exists("appPublisher", $this->_propDict)) {
return $this->_propDict["appPublisher"];
} else {
return null;
}
}
/**
* Sets the appPublisher
*
* @param string $val The appPublisher
*
* @return AppPerformance
*/
public function setAppPublisher($val)
{
$this->_propDict["appPublisher"] = $val;
return $this;
}
/**
* Gets the lastUpdatedDateTime
*
* @return \DateTime|null The lastUpdatedDateTime
*/
public function getLastUpdatedDateTime()
{
if (array_key_exists("lastUpdatedDateTime", $this->_propDict)) {
if (is_a($this->_propDict["lastUpdatedDateTime"], "\DateTime") || is_null($this->_propDict["lastUpdatedDateTime"])) {
return $this->_propDict["lastUpdatedDateTime"];
} else {
$this->_propDict["lastUpdatedDateTime"] = new \DateTime($this->_propDict["lastUpdatedDateTime"]);
return $this->_propDict["lastUpdatedDateTime"];
}
}
return null;
}
/**
* Sets the lastUpdatedDateTime
*
* @param \DateTime $val The lastUpdatedDateTime
*
* @return AppPerformance
*/
public function setLastUpdatedDateTime($val)
{
$this->_propDict["lastUpdatedDateTime"] = $val;
return $this;
}
/**
* Gets the meanTimeToFailureInMinutes
*
* @return int|null The meanTimeToFailureInMinutes
*/
public function getMeanTimeToFailureInMinutes()
{
if (array_key_exists("meanTimeToFailureInMinutes", $this->_propDict)) {
return $this->_propDict["meanTimeToFailureInMinutes"];
} else {
return null;
}
}
/**
* Sets the meanTimeToFailureInMinutes
*
* @param int $val The meanTimeToFailureInMinutes
*
* @return AppPerformance
*/
public function setMeanTimeToFailureInMinutes($val)
{
$this->_propDict["meanTimeToFailureInMinutes"] = intval($val);
return $this;
}
/**
* Gets the tenantDisplayName
*
* @return string|null The tenantDisplayName
*/
public function getTenantDisplayName()
{
if (array_key_exists("tenantDisplayName", $this->_propDict)) {
return $this->_propDict["tenantDisplayName"];
} else {
return null;
}
}
/**
* Sets the tenantDisplayName
*
* @param string $val The tenantDisplayName
*
* @return AppPerformance
*/
public function setTenantDisplayName($val)
{
$this->_propDict["tenantDisplayName"] = $val;
return $this;
}
/**
* Gets the tenantId
*
* @return string|null The tenantId
*/
public function getTenantId()
{
if (array_key_exists("tenantId", $this->_propDict)) {
return $this->_propDict["tenantId"];
} else {
return null;
}
}
/**
* Sets the tenantId
*
* @param string $val The tenantId
*
* @return AppPerformance
*/
public function setTenantId($val)
{
$this->_propDict["tenantId"] = $val;
return $this;
}
/**
* Gets the totalActiveDeviceCount
*
* @return int|null The totalActiveDeviceCount
*/
public function getTotalActiveDeviceCount()
{
if (array_key_exists("totalActiveDeviceCount", $this->_propDict)) {
return $this->_propDict["totalActiveDeviceCount"];
} else {
return null;
}
}
/**
* Sets the totalActiveDeviceCount
*
* @param int $val The totalActiveDeviceCount
*
* @return AppPerformance
*/
public function setTotalActiveDeviceCount($val)
{
$this->_propDict["totalActiveDeviceCount"] = intval($val);
return $this;
}
/**
* Gets the totalAppCrashCount
*
* @return int|null The totalAppCrashCount
*/
public function getTotalAppCrashCount()
{
if (array_key_exists("totalAppCrashCount", $this->_propDict)) {
return $this->_propDict["totalAppCrashCount"];
} else {
return null;
}
}
/**
* Sets the totalAppCrashCount
*
* @param int $val The totalAppCrashCount
*
* @return AppPerformance
*/
public function setTotalAppCrashCount($val)
{
$this->_propDict["totalAppCrashCount"] = intval($val);
return $this;
}
/**
* Gets the totalAppFreezeCount
*
* @return int|null The totalAppFreezeCount
*/
public function getTotalAppFreezeCount()
{
if (array_key_exists("totalAppFreezeCount", $this->_propDict)) {
return $this->_propDict["totalAppFreezeCount"];
} else {
return null;
}
}
/**
* Sets the totalAppFreezeCount
*
* @param int $val The totalAppFreezeCount
*
* @return AppPerformance
*/
public function setTotalAppFreezeCount($val)
{
$this->_propDict["totalAppFreezeCount"] = intval($val);
return $this;
}
}

View File

@ -0,0 +1,104 @@
<?php
/**
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
*
* DelegatedRoleAssignedUser 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\ManagedTenants\Model;
/**
* DelegatedRoleAssignedUser 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 DelegatedRoleAssignedUser extends \Beta\Microsoft\Graph\Model\Entity
{
/**
* Gets the displayName
*
* @return string|null The displayName
*/
public function getDisplayName()
{
if (array_key_exists("displayName", $this->_propDict)) {
return $this->_propDict["displayName"];
} else {
return null;
}
}
/**
* Sets the displayName
*
* @param string $val The value of the displayName
*
* @return DelegatedRoleAssignedUser
*/
public function setDisplayName($val)
{
$this->_propDict["displayName"] = $val;
return $this;
}
/**
* Gets the userEntityId
*
* @return string|null The userEntityId
*/
public function getUserEntityId()
{
if (array_key_exists("userEntityId", $this->_propDict)) {
return $this->_propDict["userEntityId"];
} else {
return null;
}
}
/**
* Sets the userEntityId
*
* @param string $val The value of the userEntityId
*
* @return DelegatedRoleAssignedUser
*/
public function setUserEntityId($val)
{
$this->_propDict["userEntityId"] = $val;
return $this;
}
/**
* Gets the userPrincipalName
*
* @return string|null The userPrincipalName
*/
public function getUserPrincipalName()
{
if (array_key_exists("userPrincipalName", $this->_propDict)) {
return $this->_propDict["userPrincipalName"];
} else {
return null;
}
}
/**
* Sets the userPrincipalName
*
* @param string $val The value of the userPrincipalName
*
* @return DelegatedRoleAssignedUser
*/
public function setUserPrincipalName($val)
{
$this->_propDict["userPrincipalName"] = $val;
return $this;
}
}

View File

@ -0,0 +1,463 @@
<?php
/**
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
*
* DeviceAppPerformance 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\ManagedTenants\Model;
/**
* DeviceAppPerformance 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 DeviceAppPerformance extends \Beta\Microsoft\Graph\Model\Entity
{
/**
* Gets the appFriendlyName
*
* @return string|null The appFriendlyName
*/
public function getAppFriendlyName()
{
if (array_key_exists("appFriendlyName", $this->_propDict)) {
return $this->_propDict["appFriendlyName"];
} else {
return null;
}
}
/**
* Sets the appFriendlyName
*
* @param string $val The appFriendlyName
*
* @return DeviceAppPerformance
*/
public function setAppFriendlyName($val)
{
$this->_propDict["appFriendlyName"] = $val;
return $this;
}
/**
* Gets the appName
*
* @return string|null The appName
*/
public function getAppName()
{
if (array_key_exists("appName", $this->_propDict)) {
return $this->_propDict["appName"];
} else {
return null;
}
}
/**
* Sets the appName
*
* @param string $val The appName
*
* @return DeviceAppPerformance
*/
public function setAppName($val)
{
$this->_propDict["appName"] = $val;
return $this;
}
/**
* Gets the appPublisher
*
* @return string|null The appPublisher
*/
public function getAppPublisher()
{
if (array_key_exists("appPublisher", $this->_propDict)) {
return $this->_propDict["appPublisher"];
} else {
return null;
}
}
/**
* Sets the appPublisher
*
* @param string $val The appPublisher
*
* @return DeviceAppPerformance
*/
public function setAppPublisher($val)
{
$this->_propDict["appPublisher"] = $val;
return $this;
}
/**
* Gets the appVersion
*
* @return string|null The appVersion
*/
public function getAppVersion()
{
if (array_key_exists("appVersion", $this->_propDict)) {
return $this->_propDict["appVersion"];
} else {
return null;
}
}
/**
* Sets the appVersion
*
* @param string $val The appVersion
*
* @return DeviceAppPerformance
*/
public function setAppVersion($val)
{
$this->_propDict["appVersion"] = $val;
return $this;
}
/**
* Gets the deviceId
*
* @return string|null The deviceId
*/
public function getDeviceId()
{
if (array_key_exists("deviceId", $this->_propDict)) {
return $this->_propDict["deviceId"];
} else {
return null;
}
}
/**
* Sets the deviceId
*
* @param string $val The deviceId
*
* @return DeviceAppPerformance
*/
public function setDeviceId($val)
{
$this->_propDict["deviceId"] = $val;
return $this;
}
/**
* Gets the deviceManufacturer
*
* @return string|null The deviceManufacturer
*/
public function getDeviceManufacturer()
{
if (array_key_exists("deviceManufacturer", $this->_propDict)) {
return $this->_propDict["deviceManufacturer"];
} else {
return null;
}
}
/**
* Sets the deviceManufacturer
*
* @param string $val The deviceManufacturer
*
* @return DeviceAppPerformance
*/
public function setDeviceManufacturer($val)
{
$this->_propDict["deviceManufacturer"] = $val;
return $this;
}
/**
* Gets the deviceModel
*
* @return string|null The deviceModel
*/
public function getDeviceModel()
{
if (array_key_exists("deviceModel", $this->_propDict)) {
return $this->_propDict["deviceModel"];
} else {
return null;
}
}
/**
* Sets the deviceModel
*
* @param string $val The deviceModel
*
* @return DeviceAppPerformance
*/
public function setDeviceModel($val)
{
$this->_propDict["deviceModel"] = $val;
return $this;
}
/**
* Gets the deviceName
*
* @return string|null The deviceName
*/
public function getDeviceName()
{
if (array_key_exists("deviceName", $this->_propDict)) {
return $this->_propDict["deviceName"];
} else {
return null;
}
}
/**
* Sets the deviceName
*
* @param string $val The deviceName
*
* @return DeviceAppPerformance
*/
public function setDeviceName($val)
{
$this->_propDict["deviceName"] = $val;
return $this;
}
/**
* Gets the healthStatus
*
* @return string|null The healthStatus
*/
public function getHealthStatus()
{
if (array_key_exists("healthStatus", $this->_propDict)) {
return $this->_propDict["healthStatus"];
} else {
return null;
}
}
/**
* Sets the healthStatus
*
* @param string $val The healthStatus
*
* @return DeviceAppPerformance
*/
public function setHealthStatus($val)
{
$this->_propDict["healthStatus"] = $val;
return $this;
}
/**
* Gets the isLatestUsedVersion
*
* @return int|null The isLatestUsedVersion
*/
public function getIsLatestUsedVersion()
{
if (array_key_exists("isLatestUsedVersion", $this->_propDict)) {
return $this->_propDict["isLatestUsedVersion"];
} else {
return null;
}
}
/**
* Sets the isLatestUsedVersion
*
* @param int $val The isLatestUsedVersion
*
* @return DeviceAppPerformance
*/
public function setIsLatestUsedVersion($val)
{
$this->_propDict["isLatestUsedVersion"] = intval($val);
return $this;
}
/**
* Gets the isMostUsedVersion
*
* @return int|null The isMostUsedVersion
*/
public function getIsMostUsedVersion()
{
if (array_key_exists("isMostUsedVersion", $this->_propDict)) {
return $this->_propDict["isMostUsedVersion"];
} else {
return null;
}
}
/**
* Sets the isMostUsedVersion
*
* @param int $val The isMostUsedVersion
*
* @return DeviceAppPerformance
*/
public function setIsMostUsedVersion($val)
{
$this->_propDict["isMostUsedVersion"] = intval($val);
return $this;
}
/**
* Gets the lastUpdatedDateTime
*
* @return \DateTime|null The lastUpdatedDateTime
*/
public function getLastUpdatedDateTime()
{
if (array_key_exists("lastUpdatedDateTime", $this->_propDict)) {
if (is_a($this->_propDict["lastUpdatedDateTime"], "\DateTime") || is_null($this->_propDict["lastUpdatedDateTime"])) {
return $this->_propDict["lastUpdatedDateTime"];
} else {
$this->_propDict["lastUpdatedDateTime"] = new \DateTime($this->_propDict["lastUpdatedDateTime"]);
return $this->_propDict["lastUpdatedDateTime"];
}
}
return null;
}
/**
* Sets the lastUpdatedDateTime
*
* @param \DateTime $val The lastUpdatedDateTime
*
* @return DeviceAppPerformance
*/
public function setLastUpdatedDateTime($val)
{
$this->_propDict["lastUpdatedDateTime"] = $val;
return $this;
}
/**
* Gets the tenantDisplayName
*
* @return string|null The tenantDisplayName
*/
public function getTenantDisplayName()
{
if (array_key_exists("tenantDisplayName", $this->_propDict)) {
return $this->_propDict["tenantDisplayName"];
} else {
return null;
}
}
/**
* Sets the tenantDisplayName
*
* @param string $val The tenantDisplayName
*
* @return DeviceAppPerformance
*/
public function setTenantDisplayName($val)
{
$this->_propDict["tenantDisplayName"] = $val;
return $this;
}
/**
* Gets the tenantId
*
* @return string|null The tenantId
*/
public function getTenantId()
{
if (array_key_exists("tenantId", $this->_propDict)) {
return $this->_propDict["tenantId"];
} else {
return null;
}
}
/**
* Sets the tenantId
*
* @param string $val The tenantId
*
* @return DeviceAppPerformance
*/
public function setTenantId($val)
{
$this->_propDict["tenantId"] = $val;
return $this;
}
/**
* Gets the totalAppCrashCount
*
* @return int|null The totalAppCrashCount
*/
public function getTotalAppCrashCount()
{
if (array_key_exists("totalAppCrashCount", $this->_propDict)) {
return $this->_propDict["totalAppCrashCount"];
} else {
return null;
}
}
/**
* Sets the totalAppCrashCount
*
* @param int $val The totalAppCrashCount
*
* @return DeviceAppPerformance
*/
public function setTotalAppCrashCount($val)
{
$this->_propDict["totalAppCrashCount"] = intval($val);
return $this;
}
/**
* Gets the totalAppFreezeCount
*
* @return int|null The totalAppFreezeCount
*/
public function getTotalAppFreezeCount()
{
if (array_key_exists("totalAppFreezeCount", $this->_propDict)) {
return $this->_propDict["totalAppFreezeCount"];
} else {
return null;
}
}
/**
* Sets the totalAppFreezeCount
*
* @param int $val The totalAppFreezeCount
*
* @return DeviceAppPerformance
*/
public function setTotalAppFreezeCount($val)
{
$this->_propDict["totalAppFreezeCount"] = intval($val);
return $this;
}
}

View File

@ -0,0 +1,436 @@
<?php
/**
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
*
* DeviceHealthStatus 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\ManagedTenants\Model;
/**
* DeviceHealthStatus 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 DeviceHealthStatus extends \Beta\Microsoft\Graph\Model\Entity
{
/**
* Gets the blueScreenCount
*
* @return int|null The blueScreenCount
*/
public function getBlueScreenCount()
{
if (array_key_exists("blueScreenCount", $this->_propDict)) {
return $this->_propDict["blueScreenCount"];
} else {
return null;
}
}
/**
* Sets the blueScreenCount
*
* @param int $val The blueScreenCount
*
* @return DeviceHealthStatus
*/
public function setBlueScreenCount($val)
{
$this->_propDict["blueScreenCount"] = intval($val);
return $this;
}
/**
* Gets the bootTotalDurationInSeconds
*
* @return float|null The bootTotalDurationInSeconds
*/
public function getBootTotalDurationInSeconds()
{
if (array_key_exists("bootTotalDurationInSeconds", $this->_propDict)) {
return $this->_propDict["bootTotalDurationInSeconds"];
} else {
return null;
}
}
/**
* Sets the bootTotalDurationInSeconds
*
* @param float $val The bootTotalDurationInSeconds
*
* @return DeviceHealthStatus
*/
public function setBootTotalDurationInSeconds($val)
{
$this->_propDict["bootTotalDurationInSeconds"] = floatval($val);
return $this;
}
/**
* Gets the deviceId
*
* @return string|null The deviceId
*/
public function getDeviceId()
{
if (array_key_exists("deviceId", $this->_propDict)) {
return $this->_propDict["deviceId"];
} else {
return null;
}
}
/**
* Sets the deviceId
*
* @param string $val The deviceId
*
* @return DeviceHealthStatus
*/
public function setDeviceId($val)
{
$this->_propDict["deviceId"] = $val;
return $this;
}
/**
* Gets the deviceMake
*
* @return string|null The deviceMake
*/
public function getDeviceMake()
{
if (array_key_exists("deviceMake", $this->_propDict)) {
return $this->_propDict["deviceMake"];
} else {
return null;
}
}
/**
* Sets the deviceMake
*
* @param string $val The deviceMake
*
* @return DeviceHealthStatus
*/
public function setDeviceMake($val)
{
$this->_propDict["deviceMake"] = $val;
return $this;
}
/**
* Gets the deviceModel
*
* @return string|null The deviceModel
*/
public function getDeviceModel()
{
if (array_key_exists("deviceModel", $this->_propDict)) {
return $this->_propDict["deviceModel"];
} else {
return null;
}
}
/**
* Sets the deviceModel
*
* @param string $val The deviceModel
*
* @return DeviceHealthStatus
*/
public function setDeviceModel($val)
{
$this->_propDict["deviceModel"] = $val;
return $this;
}
/**
* Gets the deviceName
*
* @return string|null The deviceName
*/
public function getDeviceName()
{
if (array_key_exists("deviceName", $this->_propDict)) {
return $this->_propDict["deviceName"];
} else {
return null;
}
}
/**
* Sets the deviceName
*
* @param string $val The deviceName
*
* @return DeviceHealthStatus
*/
public function setDeviceName($val)
{
$this->_propDict["deviceName"] = $val;
return $this;
}
/**
* Gets the healthStatus
*
* @return string|null The healthStatus
*/
public function getHealthStatus()
{
if (array_key_exists("healthStatus", $this->_propDict)) {
return $this->_propDict["healthStatus"];
} else {
return null;
}
}
/**
* Sets the healthStatus
*
* @param string $val The healthStatus
*
* @return DeviceHealthStatus
*/
public function setHealthStatus($val)
{
$this->_propDict["healthStatus"] = $val;
return $this;
}
/**
* Gets the lastUpdatedDateTime
*
* @return \DateTime|null The lastUpdatedDateTime
*/
public function getLastUpdatedDateTime()
{
if (array_key_exists("lastUpdatedDateTime", $this->_propDict)) {
if (is_a($this->_propDict["lastUpdatedDateTime"], "\DateTime") || is_null($this->_propDict["lastUpdatedDateTime"])) {
return $this->_propDict["lastUpdatedDateTime"];
} else {
$this->_propDict["lastUpdatedDateTime"] = new \DateTime($this->_propDict["lastUpdatedDateTime"]);
return $this->_propDict["lastUpdatedDateTime"];
}
}
return null;
}
/**
* Sets the lastUpdatedDateTime
*
* @param \DateTime $val The lastUpdatedDateTime
*
* @return DeviceHealthStatus
*/
public function setLastUpdatedDateTime($val)
{
$this->_propDict["lastUpdatedDateTime"] = $val;
return $this;
}
/**
* Gets the osVersion
*
* @return string|null The osVersion
*/
public function getOsVersion()
{
if (array_key_exists("osVersion", $this->_propDict)) {
return $this->_propDict["osVersion"];
} else {
return null;
}
}
/**
* Sets the osVersion
*
* @param string $val The osVersion
*
* @return DeviceHealthStatus
*/
public function setOsVersion($val)
{
$this->_propDict["osVersion"] = $val;
return $this;
}
/**
* Gets the primaryDiskType
*
* @return string|null The primaryDiskType
*/
public function getPrimaryDiskType()
{
if (array_key_exists("primaryDiskType", $this->_propDict)) {
return $this->_propDict["primaryDiskType"];
} else {
return null;
}
}
/**
* Sets the primaryDiskType
*
* @param string $val The primaryDiskType
*
* @return DeviceHealthStatus
*/
public function setPrimaryDiskType($val)
{
$this->_propDict["primaryDiskType"] = $val;
return $this;
}
/**
* Gets the restartCount
*
* @return int|null The restartCount
*/
public function getRestartCount()
{
if (array_key_exists("restartCount", $this->_propDict)) {
return $this->_propDict["restartCount"];
} else {
return null;
}
}
/**
* Sets the restartCount
*
* @param int $val The restartCount
*
* @return DeviceHealthStatus
*/
public function setRestartCount($val)
{
$this->_propDict["restartCount"] = intval($val);
return $this;
}
/**
* Gets the startupPerformanceScore
*
* @return float|null The startupPerformanceScore
*/
public function getStartupPerformanceScore()
{
if (array_key_exists("startupPerformanceScore", $this->_propDict)) {
return $this->_propDict["startupPerformanceScore"];
} else {
return null;
}
}
/**
* Sets the startupPerformanceScore
*
* @param float $val The startupPerformanceScore
*
* @return DeviceHealthStatus
*/
public function setStartupPerformanceScore($val)
{
$this->_propDict["startupPerformanceScore"] = floatval($val);
return $this;
}
/**
* Gets the tenantDisplayName
*
* @return string|null The tenantDisplayName
*/
public function getTenantDisplayName()
{
if (array_key_exists("tenantDisplayName", $this->_propDict)) {
return $this->_propDict["tenantDisplayName"];
} else {
return null;
}
}
/**
* Sets the tenantDisplayName
*
* @param string $val The tenantDisplayName
*
* @return DeviceHealthStatus
*/
public function setTenantDisplayName($val)
{
$this->_propDict["tenantDisplayName"] = $val;
return $this;
}
/**
* Gets the tenantId
*
* @return string|null The tenantId
*/
public function getTenantId()
{
if (array_key_exists("tenantId", $this->_propDict)) {
return $this->_propDict["tenantId"];
} else {
return null;
}
}
/**
* Sets the tenantId
*
* @param string $val The tenantId
*
* @return DeviceHealthStatus
*/
public function setTenantId($val)
{
$this->_propDict["tenantId"] = $val;
return $this;
}
/**
* Gets the topProcesses
*
* @return string|null The topProcesses
*/
public function getTopProcesses()
{
if (array_key_exists("topProcesses", $this->_propDict)) {
return $this->_propDict["topProcesses"];
} else {
return null;
}
}
/**
* Sets the topProcesses
*
* @param string $val The topProcesses
*
* @return DeviceHealthStatus
*/
public function setTopProcesses($val)
{
$this->_propDict["topProcesses"] = $val;
return $this;
}
}

View File

@ -55,6 +55,34 @@ class ManagedTenant extends \Beta\Microsoft\Graph\Model\Entity
}
/**
* Gets the appPerformances
*
* @return array|null The appPerformances
*/
public function getAppPerformances()
{
if (array_key_exists("appPerformances", $this->_propDict)) {
return $this->_propDict["appPerformances"];
} else {
return null;
}
}
/**
* Sets the appPerformances
*
* @param AppPerformance[] $val The appPerformances
*
* @return ManagedTenant
*/
public function setAppPerformances($val)
{
$this->_propDict["appPerformances"] = $val;
return $this;
}
/**
* Gets the auditEvents
* The collection of audit events across managed tenants.
@ -235,6 +263,34 @@ class ManagedTenant extends \Beta\Microsoft\Graph\Model\Entity
}
/**
* Gets the deviceAppPerformances
*
* @return array|null The deviceAppPerformances
*/
public function getDeviceAppPerformances()
{
if (array_key_exists("deviceAppPerformances", $this->_propDict)) {
return $this->_propDict["deviceAppPerformances"];
} else {
return null;
}
}
/**
* Sets the deviceAppPerformances
*
* @param DeviceAppPerformance[] $val The deviceAppPerformances
*
* @return ManagedTenant
*/
public function setDeviceAppPerformances($val)
{
$this->_propDict["deviceAppPerformances"] = $val;
return $this;
}
/**
* Gets the deviceCompliancePolicySettingStateSummaries
* Summary information for device compliance policy setting states across managed tenants.
@ -265,6 +321,34 @@ class ManagedTenant extends \Beta\Microsoft\Graph\Model\Entity
}
/**
* Gets the deviceHealthStatuses
*
* @return array|null The deviceHealthStatuses
*/
public function getDeviceHealthStatuses()
{
if (array_key_exists("deviceHealthStatuses", $this->_propDict)) {
return $this->_propDict["deviceHealthStatuses"];
} else {
return null;
}
}
/**
* Sets the deviceHealthStatuses
*
* @param DeviceHealthStatus[] $val The deviceHealthStatuses
*
* @return ManagedTenant
*/
public function setDeviceHealthStatuses($val)
{
$this->_propDict["deviceHealthStatuses"] = $val;
return $this;
}
/**
* Gets the managedDeviceCompliances
* The collection of compliance for managed devices across managed tenants.

View File

@ -437,6 +437,60 @@ class ManagementTemplateCollectionTenantSummary extends \Beta\Microsoft\Graph\Mo
return $this;
}
/**
* Gets the regressedStepsCount
*
* @return int|null The regressedStepsCount
*/
public function getRegressedStepsCount()
{
if (array_key_exists("regressedStepsCount", $this->_propDict)) {
return $this->_propDict["regressedStepsCount"];
} else {
return null;
}
}
/**
* Sets the regressedStepsCount
*
* @param int $val The regressedStepsCount
*
* @return ManagementTemplateCollectionTenantSummary
*/
public function setRegressedStepsCount($val)
{
$this->_propDict["regressedStepsCount"] = intval($val);
return $this;
}
/**
* Gets the regressedUsersCount
*
* @return int|null The regressedUsersCount
*/
public function getRegressedUsersCount()
{
if (array_key_exists("regressedUsersCount", $this->_propDict)) {
return $this->_propDict["regressedUsersCount"];
} else {
return null;
}
}
/**
* Sets the regressedUsersCount
*
* @param int $val The regressedUsersCount
*
* @return ManagementTemplateCollectionTenantSummary
*/
public function setRegressedUsersCount($val)
{
$this->_propDict["regressedUsersCount"] = intval($val);
return $this;
}
/**
* Gets the tenantId
*
@ -464,4 +518,31 @@ class ManagementTemplateCollectionTenantSummary extends \Beta\Microsoft\Graph\Mo
return $this;
}
/**
* Gets the unlicensedUsersCount
*
* @return int|null The unlicensedUsersCount
*/
public function getUnlicensedUsersCount()
{
if (array_key_exists("unlicensedUsersCount", $this->_propDict)) {
return $this->_propDict["unlicensedUsersCount"];
} else {
return null;
}
}
/**
* Sets the unlicensedUsersCount
*
* @param int $val The unlicensedUsersCount
*
* @return ManagementTemplateCollectionTenantSummary
*/
public function setUnlicensedUsersCount($val)
{
$this->_propDict["unlicensedUsersCount"] = intval($val);
return $this;
}
}

View File

@ -58,7 +58,7 @@ class AccessReviewScheduleSettings extends Entity
}
/**
* Gets the autoApplyDecisionsEnabled
* Indicates whether decisions are automatically applied. When set to false, an admin must apply the decisions manually once the reviewer completes the access review. When set to true, decisions are applied automatically after the access review instance duration ends, whether or not the reviewers have responded. Default value is false.
* Indicates whether decisions are automatically applied. When set to false, an admin must apply the decisions manually once the reviewer completes the access review. When set to true, decisions are applied automatically after the access review instance duration ends, whether or not the reviewers have responded. Default value is false. CAUTION: If both autoApplyDecisionsEnabled and defaultDecisionEnabled are true, all access for the principals to the resource risks being revoked if the reviewers fail to respond.
*
* @return bool|null The autoApplyDecisionsEnabled
*/
@ -73,7 +73,7 @@ class AccessReviewScheduleSettings extends Entity
/**
* Sets the autoApplyDecisionsEnabled
* Indicates whether decisions are automatically applied. When set to false, an admin must apply the decisions manually once the reviewer completes the access review. When set to true, decisions are applied automatically after the access review instance duration ends, whether or not the reviewers have responded. Default value is false.
* Indicates whether decisions are automatically applied. When set to false, an admin must apply the decisions manually once the reviewer completes the access review. When set to true, decisions are applied automatically after the access review instance duration ends, whether or not the reviewers have responded. Default value is false. CAUTION: If both autoApplyDecisionsEnabled and defaultDecisionEnabled are true, all access for the principals to the resource risks being revoked if the reviewers fail to respond.
*
* @param bool $val The value of the autoApplyDecisionsEnabled
*
@ -142,7 +142,7 @@ class AccessReviewScheduleSettings extends Entity
}
/**
* Gets the defaultDecisionEnabled
* Indicates whether the default decision is enabled or disabled when reviewers do not respond. Default value is false.
* Indicates whether the default decision is enabled or disabled when reviewers do not respond. Default value is false. CAUTION: If both autoApplyDecisionsEnabled and defaultDecisionEnabled are true, all access for the principals to the resource risks being revoked if the reviewers fail to respond.
*
* @return bool|null The defaultDecisionEnabled
*/
@ -157,7 +157,7 @@ class AccessReviewScheduleSettings extends Entity
/**
* Sets the defaultDecisionEnabled
* Indicates whether the default decision is enabled or disabled when reviewers do not respond. Default value is false.
* Indicates whether the default decision is enabled or disabled when reviewers do not respond. Default value is false. CAUTION: If both autoApplyDecisionsEnabled and defaultDecisionEnabled are true, all access for the principals to the resource risks being revoked if the reviewers fail to respond.
*
* @param bool $val The value of the defaultDecisionEnabled
*

View File

@ -92,15 +92,15 @@ class Admin implements \JsonSerializable
* 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
* @return 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"])) {
if (is_a($this->_propDict["sharepoint"], "\Beta\Microsoft\Graph\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"]);
$this->_propDict["sharepoint"] = new Sharepoint($this->_propDict["sharepoint"]);
return $this->_propDict["sharepoint"];
}
}
@ -111,7 +111,7 @@ class Admin implements \JsonSerializable
* 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
* @param Sharepoint $val The sharepoint
*
* @return Admin
*/

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.
*
* AllowedRolePrincipalTypes 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;
/**
* AllowedRolePrincipalTypes 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 AllowedRolePrincipalTypes extends Enum
{
/**
* The Enum AllowedRolePrincipalTypes
*/
const USER = "user";
const SERVICE_PRINCIPAL = "servicePrincipal";
const GROUP = "group";
const UNKNOWN_FUTURE_VALUE = "unknownFutureValue";
}

View File

@ -24,6 +24,35 @@ namespace Beta\Microsoft\Graph\Model;
*/
class AndroidForWorkGeneralDeviceConfiguration extends DeviceConfiguration
{
/**
* Gets the allowedGoogleAccountDomains
* Determine domains allow-list for accounts that can be added to work profile.
*
* @return array|null The allowedGoogleAccountDomains
*/
public function getAllowedGoogleAccountDomains()
{
if (array_key_exists("allowedGoogleAccountDomains", $this->_propDict)) {
return $this->_propDict["allowedGoogleAccountDomains"];
} else {
return null;
}
}
/**
* Sets the allowedGoogleAccountDomains
* Determine domains allow-list for accounts that can be added to work profile.
*
* @param string[] $val The allowedGoogleAccountDomains
*
* @return AndroidForWorkGeneralDeviceConfiguration
*/
public function setAllowedGoogleAccountDomains($val)
{
$this->_propDict["allowedGoogleAccountDomains"] = $val;
return $this;
}
/**
* Gets the passwordBlockFaceUnlock
* Indicates whether or not to block face unlock.
@ -438,6 +467,39 @@ class AndroidForWorkGeneralDeviceConfiguration extends DeviceConfiguration
return $this;
}
/**
* Gets the workProfileAccountUse
* Control user's ability to add accounts in work profile including Google accounts. Possible values are: allowAllExceptGoogleAccounts, blockAll, allowAll, unknownFutureValue.
*
* @return AndroidWorkProfileAccountUse|null The workProfileAccountUse
*/
public function getWorkProfileAccountUse()
{
if (array_key_exists("workProfileAccountUse", $this->_propDict)) {
if (is_a($this->_propDict["workProfileAccountUse"], "\Beta\Microsoft\Graph\Model\AndroidWorkProfileAccountUse") || is_null($this->_propDict["workProfileAccountUse"])) {
return $this->_propDict["workProfileAccountUse"];
} else {
$this->_propDict["workProfileAccountUse"] = new AndroidWorkProfileAccountUse($this->_propDict["workProfileAccountUse"]);
return $this->_propDict["workProfileAccountUse"];
}
}
return null;
}
/**
* Sets the workProfileAccountUse
* Control user's ability to add accounts in work profile including Google accounts. Possible values are: allowAllExceptGoogleAccounts, blockAll, allowAll, unknownFutureValue.
*
* @param AndroidWorkProfileAccountUse $val The workProfileAccountUse
*
* @return AndroidForWorkGeneralDeviceConfiguration
*/
public function setWorkProfileAccountUse($val)
{
$this->_propDict["workProfileAccountUse"] = $val;
return $this;
}
/**
* Gets the workProfileAllowWidgets
* Allow widgets from work profile apps.

View File

@ -26,7 +26,7 @@ class AndroidLobApp extends MobileLobApp
{
/**
* Gets the identityName
* The Identity Name. This property is deprecated starting in February 2023 (Release 2302).
* The Identity Name. This property is being deprecated in 2302(February 2023).
*
* @return string|null The identityName
*/
@ -41,7 +41,7 @@ class AndroidLobApp extends MobileLobApp
/**
* Sets the identityName
* The Identity Name. This property is deprecated starting in February 2023 (Release 2302).
* The Identity Name. This property is being deprecated in 2302(February 2023).
*
* @param string $val The identityName
*
@ -55,7 +55,7 @@ class AndroidLobApp extends MobileLobApp
/**
* Gets the identityVersion
* The identity version. This property is deprecated starting in February 2023 (Release 2302).
* The identity version. This property is being deprecated in 2302(February 2023).
*
* @return string|null The identityVersion
*/
@ -70,7 +70,7 @@ class AndroidLobApp extends MobileLobApp
/**
* Sets the identityVersion
* The identity version. This property is deprecated starting in February 2023 (Release 2302).
* The identity version. This property is being deprecated in 2302(February 2023).
*
* @param string $val The identityVersion
*

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.
*
* AndroidWorkProfileAccountUse 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;
/**
* AndroidWorkProfileAccountUse 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 AndroidWorkProfileAccountUse extends Enum
{
/**
* The Enum AndroidWorkProfileAccountUse
*/
const ALLOW_ALL_EXCEPT_GOOGLE_ACCOUNTS = "allowAllExceptGoogleAccounts";
const BLOCK_ALL = "blockAll";
const ALLOW_ALL = "allowAll";
const UNKNOWN_FUTURE_VALUE = "unknownFutureValue";
}

View File

@ -24,6 +24,35 @@ namespace Beta\Microsoft\Graph\Model;
*/
class AndroidWorkProfileGeneralDeviceConfiguration extends DeviceConfiguration
{
/**
* Gets the allowedGoogleAccountDomains
* Determine domains allow-list for accounts that can be added to work profile.
*
* @return array|null The allowedGoogleAccountDomains
*/
public function getAllowedGoogleAccountDomains()
{
if (array_key_exists("allowedGoogleAccountDomains", $this->_propDict)) {
return $this->_propDict["allowedGoogleAccountDomains"];
} else {
return null;
}
}
/**
* Sets the allowedGoogleAccountDomains
* Determine domains allow-list for accounts that can be added to work profile.
*
* @param string[] $val The allowedGoogleAccountDomains
*
* @return AndroidWorkProfileGeneralDeviceConfiguration
*/
public function setAllowedGoogleAccountDomains($val)
{
$this->_propDict["allowedGoogleAccountDomains"] = $val;
return $this;
}
/**
* Gets the passwordBlockFaceUnlock
* Indicates whether or not to block face unlock.
@ -438,6 +467,39 @@ class AndroidWorkProfileGeneralDeviceConfiguration extends DeviceConfiguration
return $this;
}
/**
* Gets the workProfileAccountUse
* Control user's ability to add accounts in work profile including Google accounts. Possible values are: allowAllExceptGoogleAccounts, blockAll, allowAll, unknownFutureValue.
*
* @return AndroidWorkProfileAccountUse|null The workProfileAccountUse
*/
public function getWorkProfileAccountUse()
{
if (array_key_exists("workProfileAccountUse", $this->_propDict)) {
if (is_a($this->_propDict["workProfileAccountUse"], "\Beta\Microsoft\Graph\Model\AndroidWorkProfileAccountUse") || is_null($this->_propDict["workProfileAccountUse"])) {
return $this->_propDict["workProfileAccountUse"];
} else {
$this->_propDict["workProfileAccountUse"] = new AndroidWorkProfileAccountUse($this->_propDict["workProfileAccountUse"]);
return $this->_propDict["workProfileAccountUse"];
}
}
return null;
}
/**
* Sets the workProfileAccountUse
* Control user's ability to add accounts in work profile including Google accounts. Possible values are: allowAllExceptGoogleAccounts, blockAll, allowAll, unknownFutureValue.
*
* @param AndroidWorkProfileAccountUse $val The workProfileAccountUse
*
* @return AndroidWorkProfileGeneralDeviceConfiguration
*/
public function setWorkProfileAccountUse($val)
{
$this->_propDict["workProfileAccountUse"] = $val;
return $this;
}
/**
* Gets the workProfileAllowAppInstallsFromUnknownSources
* Indicates whether to allow installation of apps from unknown sources.

View File

@ -915,7 +915,7 @@ class Application extends DirectoryObject
/**
* Gets the tags
* Custom strings that can be used to categorize and identify the application. Not nullable.Supports $filter (eq, not, ge, le, startsWith).
* Custom strings that can be used to categorize and identify the application. Not nullable. Strings added here will also appear in the tags property of any associated service principals.Supports $filter (eq, not, ge, le, startsWith).
*
* @return array|null The tags
*/
@ -930,7 +930,7 @@ class Application extends DirectoryObject
/**
* Sets the tags
* Custom strings that can be used to categorize and identify the application. Not nullable.Supports $filter (eq, not, ge, le, startsWith).
* Custom strings that can be used to categorize and identify the application. Not nullable. Strings added here will also appear in the tags property of any associated service principals.Supports $filter (eq, not, ge, le, startsWith).
*
* @param string[] $val The tags
*

View File

@ -54,7 +54,7 @@ class AssignmentFilterEvaluateRequest extends Entity
/**
* Gets the platform
* Platform type of the devices on which the Assignment Filter will be applicable. Possible values are: android, androidForWork, iOS, macOS, windowsPhone81, windows81AndLater, windows10AndLater, androidWorkProfile, unknown.
* Platform type of the devices on which the Assignment Filter will be applicable. Possible values are: android, androidForWork, iOS, macOS, windowsPhone81, windows81AndLater, windows10AndLater, androidWorkProfile, unknown, androidAOSP.
*
* @return DevicePlatformType|null The platform
*/
@ -73,7 +73,7 @@ class AssignmentFilterEvaluateRequest extends Entity
/**
* Sets the platform
* Platform type of the devices on which the Assignment Filter will be applicable. Possible values are: android, androidForWork, iOS, macOS, windowsPhone81, windows81AndLater, windows10AndLater, androidWorkProfile, unknown.
* Platform type of the devices on which the Assignment Filter will be applicable. Possible values are: android, androidForWork, iOS, macOS, windowsPhone81, windows81AndLater, windows10AndLater, androidWorkProfile, unknown, androidAOSP.
*
* @param DevicePlatformType $val The value to assign to the platform
*

View File

@ -115,7 +115,7 @@ class AssignmentFilterEvaluationSummary extends Entity
/**
* Gets the assignmentFilterPlatform
* The platform for which this assignment filter is created. Possible values are: android, androidForWork, iOS, macOS, windowsPhone81, windows81AndLater, windows10AndLater, androidWorkProfile, unknown.
* The platform for which this assignment filter is created. Possible values are: android, androidForWork, iOS, macOS, windowsPhone81, windows81AndLater, windows10AndLater, androidWorkProfile, unknown, androidAOSP.
*
* @return DevicePlatformType|null The assignmentFilterPlatform
*/
@ -134,7 +134,7 @@ class AssignmentFilterEvaluationSummary extends Entity
/**
* Sets the assignmentFilterPlatform
* The platform for which this assignment filter is created. Possible values are: android, androidForWork, iOS, macOS, windowsPhone81, windows81AndLater, windows10AndLater, androidWorkProfile, unknown.
* The platform for which this assignment filter is created. Possible values are: android, androidForWork, iOS, macOS, windowsPhone81, windows81AndLater, windows10AndLater, androidWorkProfile, unknown, androidAOSP.
*
* @param DevicePlatformType $val The value to assign to the assignmentFilterPlatform
*

View File

@ -115,7 +115,7 @@ class AttributeMapping extends Entity
/**
* Gets the flowType
* Defines when this attribute should be updated in the target directory. Possible values are: Always (default) ObjectAddOnly - only when new object is created MultiValueAddOnly - only when the change is adding new values to a multi-valued attribute ValueAddOnly AttributeAddOnly
* Defines when this attribute should be updated in the target directory. Possible values are: Always (default) ObjectAddOnly - only when new object is created MultiValueAddOnly - only when the change is adding new values to a multi-valued attribute ValueAddOnly - If there is a current value, only flows 'Add' operations; will not flow 'Remove' operations AttributeAddOnly - Only propagates changes if no current value exists at all
*
* @return AttributeFlowType|null The flowType
*/
@ -134,7 +134,7 @@ class AttributeMapping extends Entity
/**
* Sets the flowType
* Defines when this attribute should be updated in the target directory. Possible values are: Always (default) ObjectAddOnly - only when new object is created MultiValueAddOnly - only when the change is adding new values to a multi-valued attribute ValueAddOnly AttributeAddOnly
* Defines when this attribute should be updated in the target directory. Possible values are: Always (default) ObjectAddOnly - only when new object is created MultiValueAddOnly - only when the change is adding new values to a multi-valued attribute ValueAddOnly - If there is a current value, only flows 'Add' operations; will not flow 'Remove' operations AttributeAddOnly - Only propagates changes if no current value exists at all
*
* @param AttributeFlowType $val The value to assign to the flowType
*

View File

@ -90,4 +90,37 @@ class CallTranscript extends Entity
return $this;
}
/**
* Gets the metadataContent
* A field that represents the time-aligned metadata of the utterances in the transcript. Read-only.
*
* @return \GuzzleHttp\Psr7\Stream|null The metadataContent
*/
public function getMetadataContent()
{
if (array_key_exists("metadataContent", $this->_propDict)) {
if (is_a($this->_propDict["metadataContent"], "\GuzzleHttp\Psr7\Stream") || is_null($this->_propDict["metadataContent"])) {
return $this->_propDict["metadataContent"];
} else {
$this->_propDict["metadataContent"] = \GuzzleHttp\Psr7\Utils::streamFor($this->_propDict["metadataContent"]);
return $this->_propDict["metadataContent"];
}
}
return null;
}
/**
* Sets the metadataContent
* A field that represents the time-aligned metadata of the utterances in the transcript. Read-only.
*
* @param \GuzzleHttp\Psr7\Stream $val The metadataContent
*
* @return CallTranscript
*/
public function setMetadataContent($val)
{
$this->_propDict["metadataContent"] = $val;
return $this;
}
}

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.
*
* ClassificationRequestContentMetaData 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;
/**
* ClassificationRequestContentMetaData 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 ClassificationRequestContentMetaData extends Entity
{
/**
* Gets the sourceId
*
* @return string|null The sourceId
*/
public function getSourceId()
{
if (array_key_exists("sourceId", $this->_propDict)) {
return $this->_propDict["sourceId"];
} else {
return null;
}
}
/**
* Sets the sourceId
*
* @param string $val The value of the sourceId
*
* @return ClassificationRequestContentMetaData
*/
public function setSourceId($val)
{
$this->_propDict["sourceId"] = $val;
return $this;
}
}

View File

@ -22,34 +22,37 @@ namespace Beta\Microsoft\Graph\Model;
* @license https://opensource.org/licenses/MIT MIT License
* @link https://graph.microsoft.com
*/
class CloudCommunications extends Entity
class CloudCommunications implements \JsonSerializable
{
/**
* The array of properties available
* to the model
*
* @var array $_propDict
*/
protected $_propDict;
/**
* Gets the calls
*
* @return array|null The calls
*/
public function getCalls()
/**
* Construct a new CloudCommunications
*
* @param array $propDict A list of properties to set
*/
function __construct($propDict = array())
{
if (array_key_exists("calls", $this->_propDict)) {
return $this->_propDict["calls"];
} else {
return null;
if (!is_array($propDict)) {
$propDict = array();
}
$this->_propDict = $propDict;
}
/**
* Sets the calls
* Gets the property dictionary of the CloudCommunications
*
* @param Call[] $val The calls
*
* @return CloudCommunications
* @return array The list of properties
*/
public function setCalls($val)
public function getProperties()
{
$this->_propDict["calls"] = $val;
return $this;
return $this->_propDict;
}
@ -81,6 +84,34 @@ class CloudCommunications extends Entity
}
/**
* Gets the calls
*
* @return array|null The calls
*/
public function getCalls()
{
if (array_key_exists("calls", $this->_propDict)) {
return $this->_propDict["calls"];
} else {
return null;
}
}
/**
* Sets the calls
*
* @param Call[] $val The calls
*
* @return CloudCommunications
*/
public function setCalls($val)
{
$this->_propDict["calls"] = $val;
return $this;
}
/**
* Gets the onlineMeetings
*
@ -136,4 +167,53 @@ class CloudCommunications extends Entity
return $this;
}
/**
* Gets the ODataType
*
* @return string|null The ODataType
*/
public function getODataType()
{
if (array_key_exists('@odata.type', $this->_propDict)) {
return $this->_propDict["@odata.type"];
}
return null;
}
/**
* Sets the ODataType
*
* @param string $val The ODataType
*
* @return CloudCommunications
*/
public function setODataType($val)
{
$this->_propDict["@odata.type"] = $val;
return $this;
}
/**
* Serializes the object by property array
* Manually serialize DateTime into RFC3339 format
*
* @return array The list of properties
*/
#[\ReturnTypeWillChange]
public function jsonSerialize()
{
$serializableProperties = $this->getProperties();
foreach ($serializableProperties as $property => $val) {
if (is_a($val, "\DateTime")) {
$serializableProperties[$property] = $val->format(\DateTime::RFC3339);
} else if (is_a($val, "\Microsoft\Graph\Core\Enum")) {
$serializableProperties[$property] = $val->value();
} else if (is_a($val, "\Entity")) {
$serializableProperties[$property] = $val->jsonSerialize();
} else if (is_a($val, "\GuzzleHttp\Psr7\Stream")) {
$serializableProperties[$property] = (string) $val;
}
}
return $serializableProperties;
}
}

View File

@ -55,7 +55,7 @@ class CloudPC extends Entity
/**
* Gets the connectivityResult
* The connectivity health check result of a Cloud PC, including the updated timestamp and whether the Cloud PC is able to be connected or not.
* The connectivity health check result of a Cloud PC, including the updated timestamp and whether the Cloud PC can be connected.
*
* @return CloudPcConnectivityResult|null The connectivityResult
*/
@ -74,7 +74,7 @@ class CloudPC extends Entity
/**
* Sets the connectivityResult
* The connectivity health check result of a Cloud PC, including the updated timestamp and whether the Cloud PC is able to be connected or not.
* The connectivity health check result of a Cloud PC, including the updated timestamp and whether the Cloud PC can be connected.
*
* @param CloudPcConnectivityResult $val The connectivityResult
*
@ -459,6 +459,37 @@ class CloudPC extends Entity
return $this;
}
/**
* Gets the powerState
*
* @return CloudPcPowerState|null The powerState
*/
public function getPowerState()
{
if (array_key_exists("powerState", $this->_propDict)) {
if (is_a($this->_propDict["powerState"], "\Beta\Microsoft\Graph\Model\CloudPcPowerState") || is_null($this->_propDict["powerState"])) {
return $this->_propDict["powerState"];
} else {
$this->_propDict["powerState"] = new CloudPcPowerState($this->_propDict["powerState"]);
return $this->_propDict["powerState"];
}
}
return null;
}
/**
* Sets the powerState
*
* @param CloudPcPowerState $val The powerState
*
* @return CloudPC
*/
public function setPowerState($val)
{
$this->_propDict["powerState"] = $val;
return $this;
}
/**
* Gets the provisioningPolicyId
* The provisioning policy ID of the Cloud PC.

View File

@ -26,7 +26,7 @@ class CloudPcDeviceImage extends Entity
{
/**
* Gets the displayName
* The image's display name.
* The display name of the image.
*
* @return string|null The displayName
*/
@ -41,7 +41,7 @@ class CloudPcDeviceImage extends Entity
/**
* Sets the displayName
* The image's display name.
* The display name of the image.
*
* @param string $val The displayName
*
@ -88,7 +88,7 @@ class CloudPcDeviceImage extends Entity
/**
* Gets the lastModifiedDateTime
* The data and time that the image was last modified. The time is shown in ISO 8601 format and Coordinated Universal Time (UTC) time. For example, midnight UTC on Jan 1, 2014 appears as '2014-01-01T00:00:00Z'.
* The data and time that the image was last modified. The time is shown in ISO 8601 format and Coordinated Universal Time (UTC) time. For example, midnight UTC on Jan 1, 2014 appears as 2014-01-01T00:00:00Z.
*
* @return \DateTime|null The lastModifiedDateTime
*/
@ -107,7 +107,7 @@ class CloudPcDeviceImage extends Entity
/**
* Sets the lastModifiedDateTime
* The data and time that the image was last modified. The time is shown in ISO 8601 format and Coordinated Universal Time (UTC) time. For example, midnight UTC on Jan 1, 2014 appears as '2014-01-01T00:00:00Z'.
* The data and time that the image was last modified. The time is shown in ISO 8601 format and Coordinated Universal Time (UTC) time. For example, midnight UTC on Jan 1, 2014 appears as 2014-01-01T00:00:00Z.
*
* @param \DateTime $val The lastModifiedDateTime
*
@ -121,7 +121,7 @@ class CloudPcDeviceImage extends Entity
/**
* Gets the operatingSystem
* The image's operating system. For example: Windows 10 Enterprise.
* The operating system of the image. For example, Windows 10 Enterprise.
*
* @return string|null The operatingSystem
*/
@ -136,7 +136,7 @@ class CloudPcDeviceImage extends Entity
/**
* Sets the operatingSystem
* The image's operating system. For example: Windows 10 Enterprise.
* The operating system of the image. For example, Windows 10 Enterprise.
*
* @param string $val The operatingSystem
*
@ -150,7 +150,7 @@ class CloudPcDeviceImage extends Entity
/**
* Gets the osBuildNumber
* The image's OS build version. For example: 1909.
* The OS build version of the image. For example, 1909.
*
* @return string|null The osBuildNumber
*/
@ -165,7 +165,7 @@ class CloudPcDeviceImage extends Entity
/**
* Sets the osBuildNumber
* The image's OS build version. For example: 1909.
* The OS build version of the image. For example, 1909.
*
* @param string $val The osBuildNumber
*
@ -212,7 +212,7 @@ class CloudPcDeviceImage extends Entity
/**
* Gets the sourceImageResourceId
* The ID of the source image resource on Azure. Required format: '/subscriptions/{subscription-id}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/images/{imageName}'.
* The ID of the source image resource on Azure. Required format: /subscriptions/{subscription-id}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/images/{imageName}.
*
* @return string|null The sourceImageResourceId
*/
@ -227,7 +227,7 @@ class CloudPcDeviceImage extends Entity
/**
* Sets the sourceImageResourceId
* The ID of the source image resource on Azure. Required format: '/subscriptions/{subscription-id}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/images/{imageName}'.
* The ID of the source image resource on Azure. Required format: /subscriptions/{subscription-id}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/images/{imageName}.
*
* @param string $val The sourceImageResourceId
*
@ -274,7 +274,7 @@ class CloudPcDeviceImage extends Entity
/**
* Gets the statusDetails
* The details of the image's status, which indicates why the upload failed, if applicable. Possible values are: internalServerError, sourceImageNotFound, osVersionNotSupported, sourceImageInvalid, and sourceImageNotGeneralized.
* The details of the status of the image that indicates why the upload failed, if applicable. Possible values are: internalServerError, sourceImageNotFound, osVersionNotSupported, sourceImageInvalid, and sourceImageNotGeneralized.
*
* @return CloudPcDeviceImageStatusDetails|null The statusDetails
*/
@ -293,7 +293,7 @@ class CloudPcDeviceImage extends Entity
/**
* Sets the statusDetails
* The details of the image's status, which indicates why the upload failed, if applicable. Possible values are: internalServerError, sourceImageNotFound, osVersionNotSupported, sourceImageInvalid, and sourceImageNotGeneralized.
* The details of the status of the image that indicates why the upload failed, if applicable. Possible values are: internalServerError, sourceImageNotFound, osVersionNotSupported, sourceImageInvalid, and sourceImageNotGeneralized.
*
* @param CloudPcDeviceImageStatusDetails $val The statusDetails
*
@ -307,7 +307,7 @@ class CloudPcDeviceImage extends Entity
/**
* Gets the version
* The image version. For example: 0.0.1, 1.5.13.
* The image version. For example, 0.0.1 and 1.5.13.
*
* @return string|null The version
*/
@ -322,7 +322,7 @@ class CloudPcDeviceImage extends Entity
/**
* Sets the version
* The image version. For example: 0.0.1, 1.5.13.
* The image version. For example, 0.0.1 and 1.5.13.
*
* @param string $val The version
*

View File

@ -55,7 +55,7 @@ class CloudPcGalleryImage extends Entity
/**
* Gets the endDate
* The date in which this image is no longer within long-term support. The Cloud PC will continue to provide short-term support. Read-only.
* The date in which this image is no longer within long-term support. The Cloud PC continues to provide short-term support. Read-only.
*
* @return \DateTime|null The endDate
*/
@ -74,7 +74,7 @@ class CloudPcGalleryImage extends Entity
/**
* Sets the endDate
* The date in which this image is no longer within long-term support. The Cloud PC will continue to provide short-term support. Read-only.
* The date in which this image is no longer within long-term support. The Cloud PC continues to provide short-term support. Read-only.
*
* @param \DateTime $val The endDate
*
@ -121,7 +121,7 @@ class CloudPcGalleryImage extends Entity
/**
* Gets the offer
* The offer name of the gallery image. This value will be passed to Azure to get the image resource. Read-only.
* The offer name of the gallery image. This value is passed to Azure to get the image resource. Read-only.
*
* @return string|null The offer
*/
@ -136,7 +136,7 @@ class CloudPcGalleryImage extends Entity
/**
* Sets the offer
* The offer name of the gallery image. This value will be passed to Azure to get the image resource. Read-only.
* The offer name of the gallery image. This value is passed to Azure to get the image resource. Read-only.
*
* @param string $val The offer
*
@ -179,7 +179,7 @@ class CloudPcGalleryImage extends Entity
/**
* Gets the publisher
* The publisher name of the gallery image. This value will be passed to Azure to get the image resource. Read-only.
* The publisher name of the gallery image. This value is passed to Azure to get the image resource. Read-only.
*
* @return string|null The publisher
*/
@ -194,7 +194,7 @@ class CloudPcGalleryImage extends Entity
/**
* Sets the publisher
* The publisher name of the gallery image. This value will be passed to Azure to get the image resource. Read-only.
* The publisher name of the gallery image. This value is passed to Azure to get the image resource. Read-only.
*
* @param string $val The publisher
*
@ -266,7 +266,7 @@ class CloudPcGalleryImage extends Entity
/**
* Gets the sku
* The SKU name of the gallery image. This value will be passed to Azure to get the image resource. Read-only.
* The SKU name of the gallery image. This value is passed to Azure to get the image resource. Read-only.
*
* @return string|null The sku
*/
@ -281,7 +281,7 @@ class CloudPcGalleryImage extends Entity
/**
* Sets the sku
* The SKU name of the gallery image. This value will be passed to Azure to get the image resource. Read-only.
* The SKU name of the gallery image. This value is passed to Azure to get the image resource. Read-only.
*
* @param string $val The sku
*

View File

@ -88,6 +88,7 @@ class CloudPcOnPremisesConnectionHealthCheckErrorType extends Enum
const INTERNAL_SERVER_ERROR_ALLOCATE_RESOURCE_FAILED = "internalServerErrorAllocateResourceFailed";
const INTERNAL_SERVER_ERROR_VM_DEPLOYMENT_TIMEOUT = "internalServerErrorVMDeploymentTimeout";
const INTERNAL_SERVER_ERROR_UNABLE_TO_RUN_DSC_SCRIPT = "internalServerErrorUnableToRunDscScript";
const SSO_CHECK_KERBEROS_CONFIGURATION_ERROR = "ssoCheckKerberosConfigurationError";
const INTERNAL_SERVER_UNKNOWN_ERROR = "internalServerUnknownError";
const UNKNOWN_FUTURE_VALUE = "unknownFutureValue";
}

View File

@ -0,0 +1,35 @@
<?php
/**
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
*
* CloudPcPowerState 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;
/**
* CloudPcPowerState 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 CloudPcPowerState extends Enum
{
/**
* The Enum CloudPcPowerState
*/
const RUNNING = "running";
const POWERED_OFF = "poweredOff";
const UNKNOWN_FUTURE_VALUE = "unknownFutureValue";
}

View File

@ -0,0 +1,39 @@
<?php
/**
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
*
* CloudPcResizeValidationCode 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;
/**
* CloudPcResizeValidationCode 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 CloudPcResizeValidationCode extends Enum
{
/**
* The Enum CloudPcResizeValidationCode
*/
const SUCCESS = "success";
const CLOUD_PC_NOT_FOUND = "cloudPcNotFound";
const OPERATION_CONFLICT = "operationConflict";
const OPERATION_NOT_SUPPORTED = "operationNotSupported";
const TARGET_LICENSE_HAS_ASSIGNED = "targetLicenseHasAssigned";
const INTERNAL_SERVER_ERROR = "internalServerError";
const UNKNOWN_FUTURE_VALUE = "unknownFutureValue";
}

View File

@ -0,0 +1,83 @@
<?php
/**
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
*
* CloudPcResizeValidationResult 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;
/**
* CloudPcResizeValidationResult 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 CloudPcResizeValidationResult extends Entity
{
/**
* Gets the cloudPcId
*
* @return string|null The cloudPcId
*/
public function getCloudPcId()
{
if (array_key_exists("cloudPcId", $this->_propDict)) {
return $this->_propDict["cloudPcId"];
} else {
return null;
}
}
/**
* Sets the cloudPcId
*
* @param string $val The value of the cloudPcId
*
* @return CloudPcResizeValidationResult
*/
public function setCloudPcId($val)
{
$this->_propDict["cloudPcId"] = $val;
return $this;
}
/**
* Gets the validationResult
*
* @return CloudPcResizeValidationCode|null The validationResult
*/
public function getValidationResult()
{
if (array_key_exists("validationResult", $this->_propDict)) {
if (is_a($this->_propDict["validationResult"], "\Beta\Microsoft\Graph\Model\CloudPcResizeValidationCode") || is_null($this->_propDict["validationResult"])) {
return $this->_propDict["validationResult"];
} else {
$this->_propDict["validationResult"] = new CloudPcResizeValidationCode($this->_propDict["validationResult"]);
return $this->_propDict["validationResult"];
}
}
return null;
}
/**
* Sets the validationResult
*
* @param CloudPcResizeValidationCode $val The value to assign to the validationResult
*
* @return CloudPcResizeValidationResult The CloudPcResizeValidationResult
*/
public function setValidationResult($val)
{
$this->_propDict["validationResult"] = $val;
return $this;
}
}

View File

@ -53,6 +53,39 @@ class CloudPcServicePlan extends Entity
return $this;
}
/**
* Gets the provisioningType
* Specifies the type of license used when provisioning Cloud PCs. By default, the license type is dedicated. Possible values are: dedicated, shared, unknownFutureValue.
*
* @return CloudPcProvisioningType|null The provisioningType
*/
public function getProvisioningType()
{
if (array_key_exists("provisioningType", $this->_propDict)) {
if (is_a($this->_propDict["provisioningType"], "\Beta\Microsoft\Graph\Model\CloudPcProvisioningType") || is_null($this->_propDict["provisioningType"])) {
return $this->_propDict["provisioningType"];
} else {
$this->_propDict["provisioningType"] = new CloudPcProvisioningType($this->_propDict["provisioningType"]);
return $this->_propDict["provisioningType"];
}
}
return null;
}
/**
* Sets the provisioningType
* Specifies the type of license used when provisioning Cloud PCs. By default, the license type is dedicated. Possible values are: dedicated, shared, unknownFutureValue.
*
* @param CloudPcProvisioningType $val The provisioningType
*
* @return CloudPcServicePlan
*/
public function setProvisioningType($val)
{
$this->_propDict["provisioningType"] = $val;
return $this;
}
/**
* Gets the ramInGB
* The size of the RAM in GB. Read-only.
@ -113,6 +146,7 @@ class CloudPcServicePlan extends Entity
/**
* Gets the supportedSolution
* The supported service or solution for the region. The possible values are: windows365, devBox, rpaBox, unknownFutureValue. Read-only.
*
* @return CloudPcManagementService|null The supportedSolution
*/
@ -131,6 +165,7 @@ class CloudPcServicePlan extends Entity
/**
* Sets the supportedSolution
* The supported service or solution for the region. The possible values are: windows365, devBox, rpaBox, unknownFutureValue. Read-only.
*
* @param CloudPcManagementService $val The supportedSolution
*

View File

@ -88,7 +88,7 @@ class CloudPcSnapshot extends Entity
/**
* Gets the expirationDateTime
* The date and time when the snapshot expires. The time is shown in ISO 8601 format and Coordinated Universal Time (UTC) time. For example, midnight UTC on Jan 1, 2014 appears as'2014-01-01T00:00:00Z'.
* The date and time when the snapshot expires. The time is shown in ISO 8601 format and Coordinated Universal Time (UTC) time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z.
*
* @return \DateTime|null The expirationDateTime
*/
@ -107,7 +107,7 @@ class CloudPcSnapshot extends Entity
/**
* Sets the expirationDateTime
* The date and time when the snapshot expires. The time is shown in ISO 8601 format and Coordinated Universal Time (UTC) time. For example, midnight UTC on Jan 1, 2014 appears as'2014-01-01T00:00:00Z'.
* The date and time when the snapshot expires. The time is shown in ISO 8601 format and Coordinated Universal Time (UTC) time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z.
*
* @param \DateTime $val The expirationDateTime
*
@ -154,7 +154,7 @@ class CloudPcSnapshot extends Entity
/**
* Gets the snapshotType
* The type of snapshot. indicates how the snapshot is to be created. Possible values are automatic, manual. Default value is automatic.
* The type of snapshot that indicates how to create the snapshot. Possible values are automatic, manual. Default value is automatic.
*
* @return CloudPcSnapshotType|null The snapshotType
*/
@ -173,7 +173,7 @@ class CloudPcSnapshot extends Entity
/**
* Sets the snapshotType
* The type of snapshot. indicates how the snapshot is to be created. Possible values are automatic, manual. Default value is automatic.
* The type of snapshot that indicates how to create the snapshot. Possible values are automatic, manual. Default value is automatic.
*
* @param CloudPcSnapshotType $val The snapshotType
*

View File

@ -40,4 +40,6 @@ class CloudPcStatus extends Enum
const RESTORING = "restoring";
const PENDING_PROVISION = "pendingProvision";
const UNKNOWN_FUTURE_VALUE = "unknownFutureValue";
const MOVING_REGION = "movingRegion";
const RESIZE_PENDING_LICENSE = "resizePendingLicense";
}

View File

@ -142,7 +142,7 @@ class ConditionalAccessUsers extends Entity
}
/**
* Gets the includeGroups
* Group IDs in scope of policy unless explicitly excluded, or All.
* Group IDs in scope of policy unless explicitly excluded.
*
* @return string|null The includeGroups
*/
@ -157,7 +157,7 @@ class ConditionalAccessUsers extends Entity
/**
* Sets the includeGroups
* Group IDs in scope of policy unless explicitly excluded, or All.
* Group IDs in scope of policy unless explicitly excluded.
*
* @param string $val The value of the includeGroups
*
@ -203,7 +203,7 @@ class ConditionalAccessUsers extends Entity
}
/**
* Gets the includeRoles
* Role IDs in scope of policy unless explicitly excluded, or All.
* Role IDs in scope of policy unless explicitly excluded.
*
* @return string|null The includeRoles
*/
@ -218,7 +218,7 @@ class ConditionalAccessUsers extends Entity
/**
* Sets the includeRoles
* Role IDs in scope of policy unless explicitly excluded, or All.
* Role IDs in scope of policy unless explicitly excluded.
*
* @param string $val The value of the includeRoles
*
@ -231,7 +231,7 @@ class ConditionalAccessUsers extends Entity
}
/**
* Gets the includeUsers
* User IDs in scope of policy unless explicitly excluded, or None or All or GuestsOrExternalUsers.
* User IDs in scope of policy unless explicitly excluded, None, All, or GuestsOrExternalUsers.
*
* @return string|null The includeUsers
*/
@ -246,7 +246,7 @@ class ConditionalAccessUsers extends Entity
/**
* Sets the includeUsers
* User IDs in scope of policy unless explicitly excluded, or None or All or GuestsOrExternalUsers.
* User IDs in scope of policy unless explicitly excluded, None, All, or GuestsOrExternalUsers.
*
* @param string $val The value of the includeUsers
*

View File

@ -80,6 +80,34 @@ class DefaultUserRolePermissions extends Entity
return $this;
}
/**
* Gets the allowedToCreateTenants
* Indicates whether the default user role can create tenants.
*
* @return bool|null The allowedToCreateTenants
*/
public function getAllowedToCreateTenants()
{
if (array_key_exists("allowedToCreateTenants", $this->_propDict)) {
return $this->_propDict["allowedToCreateTenants"];
} else {
return null;
}
}
/**
* Sets the allowedToCreateTenants
* Indicates whether the default user role can create tenants.
*
* @param bool $val The value of the allowedToCreateTenants
*
* @return DefaultUserRolePermissions
*/
public function setAllowedToCreateTenants($val)
{
$this->_propDict["allowedToCreateTenants"] = $val;
return $this;
}
/**
* Gets the allowedToReadBitlockerKeysForOwnedDevice
* Indicates whether the registered owners of a device can read their own BitLocker recovery keys with default user role.
*

View File

@ -0,0 +1,82 @@
<?php
/**
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
*
* DeltaParticipants 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;
/**
* DeltaParticipants 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 DeltaParticipants extends Entity
{
/**
* Gets the sequenceNumber
*
* @return int|null The sequenceNumber
*/
public function getSequenceNumber()
{
if (array_key_exists("sequenceNumber", $this->_propDict)) {
return $this->_propDict["sequenceNumber"];
} else {
return null;
}
}
/**
* Sets the sequenceNumber
*
* @param int $val The sequenceNumber
*
* @return DeltaParticipants
*/
public function setSequenceNumber($val)
{
$this->_propDict["sequenceNumber"] = intval($val);
return $this;
}
/**
* Gets the participants
*
* @return array|null The participants
*/
public function getParticipants()
{
if (array_key_exists("participants", $this->_propDict)) {
return $this->_propDict["participants"];
} else {
return null;
}
}
/**
* Sets the participants
*
* @param Participant[] $val The participants
*
* @return DeltaParticipants
*/
public function setParticipants($val)
{
$this->_propDict["participants"] = $val;
return $this;
}
}

View File

@ -461,7 +461,7 @@ class DepEnrollmentBaseProfile extends EnrollmentProfile
/**
* Gets the supervisedModeEnabled
* Supervised mode, True to enable, false otherwise. See hhttps://learn.microsoft.com/mem/intune/enrollment/device-enrollment for additional information.
* Supervised mode, True to enable, false otherwise. See https://learn.microsoft.com/intune/deploy-use/enroll-devices-in-microsoft-intune for additional information.
*
* @return bool|null The supervisedModeEnabled
*/
@ -476,7 +476,7 @@ class DepEnrollmentBaseProfile extends EnrollmentProfile
/**
* Sets the supervisedModeEnabled
* Supervised mode, True to enable, false otherwise. See hhttps://learn.microsoft.com/mem/intune/enrollment/device-enrollment for additional information.
* Supervised mode, True to enable, false otherwise. See https://learn.microsoft.com/intune/deploy-use/enroll-devices-in-microsoft-intune for additional information.
*
* @param bool $val The supervisedModeEnabled
*

View File

@ -180,7 +180,7 @@ class DeviceAndAppManagementAssignmentFilter extends Entity
/**
* Gets the platform
* Platform type of the devices on which the Assignment Filter will be applicable. Possible values are: android, androidForWork, iOS, macOS, windowsPhone81, windows81AndLater, windows10AndLater, androidWorkProfile, unknown.
* Platform type of the devices on which the Assignment Filter will be applicable. Possible values are: android, androidForWork, iOS, macOS, windowsPhone81, windows81AndLater, windows10AndLater, androidWorkProfile, unknown, androidAOSP.
*
* @return DevicePlatformType|null The platform
*/
@ -199,7 +199,7 @@ class DeviceAndAppManagementAssignmentFilter extends Entity
/**
* Sets the platform
* Platform type of the devices on which the Assignment Filter will be applicable. Possible values are: android, androidForWork, iOS, macOS, windowsPhone81, windows81AndLater, windows10AndLater, androidWorkProfile, unknown.
* Platform type of the devices on which the Assignment Filter will be applicable. Possible values are: android, androidForWork, iOS, macOS, windowsPhone81, windows81AndLater, windows10AndLater, androidWorkProfile, unknown, androidAOSP.
*
* @param DevicePlatformType $val The platform
*

View File

@ -2678,6 +2678,36 @@ class DeviceManagement extends Entity
}
/**
* Gets the privilegeManagementElevations
* The endpoint privilege management elevation event entity contains elevation details.
*
* @return array|null The privilegeManagementElevations
*/
public function getPrivilegeManagementElevations()
{
if (array_key_exists("privilegeManagementElevations", $this->_propDict)) {
return $this->_propDict["privilegeManagementElevations"];
} else {
return null;
}
}
/**
* Sets the privilegeManagementElevations
* The endpoint privilege management elevation event entity contains elevation details.
*
* @param PrivilegeManagementElevation[] $val The privilegeManagementElevations
*
* @return DeviceManagement
*/
public function setPrivilegeManagementElevations($val)
{
$this->_propDict["privilegeManagementElevations"] = $val;
return $this;
}
/**
* Gets the remoteActionAudits
* The list of device remote action audits with the tenant.

View File

@ -299,7 +299,7 @@ class DeviceManagementCompliancePolicy extends Entity
/**
* Gets the technologies
* Technologies for this policy. Possible values are: none, mdm, windows10XManagement, configManager, appleRemoteManagement, microsoftSense, exchangeOnline, linuxMdm, enrollment, endpointPrivilegeManagement, unknownFutureValue.
* Technologies for this policy. Possible values are: none, mdm, windows10XManagement, configManager, appleRemoteManagement, microsoftSense, exchangeOnline, edgeMAM, linuxMdm, enrollment, endpointPrivilegeManagement, unknownFutureValue.
*
* @return DeviceManagementConfigurationTechnologies|null The technologies
*/
@ -318,7 +318,7 @@ class DeviceManagementCompliancePolicy extends Entity
/**
* Sets the technologies
* Technologies for this policy. Possible values are: none, mdm, windows10XManagement, configManager, appleRemoteManagement, microsoftSense, exchangeOnline, linuxMdm, enrollment, endpointPrivilegeManagement, unknownFutureValue.
* Technologies for this policy. Possible values are: none, mdm, windows10XManagement, configManager, appleRemoteManagement, microsoftSense, exchangeOnline, edgeMAM, linuxMdm, enrollment, endpointPrivilegeManagement, unknownFutureValue.
*
* @param DeviceManagementConfigurationTechnologies $val The technologies
*

View File

@ -324,7 +324,7 @@ class DeviceManagementConfigurationCategory extends Entity
/**
* Gets the technologies
* Technologies types, which settings in the category have. Possible values are: none, mdm, windows10XManagement, configManager, appleRemoteManagement, microsoftSense, exchangeOnline, linuxMdm, enrollment, endpointPrivilegeManagement, unknownFutureValue.
* Technologies types, which settings in the category have. Possible values are: none, mdm, windows10XManagement, configManager, appleRemoteManagement, microsoftSense, exchangeOnline, edgeMAM, linuxMdm, enrollment, endpointPrivilegeManagement, unknownFutureValue.
*
* @return DeviceManagementConfigurationTechnologies|null The technologies
*/
@ -343,7 +343,7 @@ class DeviceManagementConfigurationCategory extends Entity
/**
* Sets the technologies
* Technologies types, which settings in the category have. Possible values are: none, mdm, windows10XManagement, configManager, appleRemoteManagement, microsoftSense, exchangeOnline, linuxMdm, enrollment, endpointPrivilegeManagement, unknownFutureValue.
* Technologies types, which settings in the category have. Possible values are: none, mdm, windows10XManagement, configManager, appleRemoteManagement, microsoftSense, exchangeOnline, edgeMAM, linuxMdm, enrollment, endpointPrivilegeManagement, unknownFutureValue.
*
* @param DeviceManagementConfigurationTechnologies $val The technologies
*

View File

@ -26,7 +26,7 @@ class DeviceManagementConfigurationChoiceSettingCollectionDefinition extends Dev
{
/**
* Gets the maximumCount
* Maximum number of choices in the collection. Valid values 1 to 100
* Maximum number of choices in the collection
*
* @return int|null The maximumCount
*/
@ -41,7 +41,7 @@ class DeviceManagementConfigurationChoiceSettingCollectionDefinition extends Dev
/**
* Sets the maximumCount
* Maximum number of choices in the collection. Valid values 1 to 100
* Maximum number of choices in the collection
*
* @param int $val The maximumCount
*
@ -55,7 +55,7 @@ class DeviceManagementConfigurationChoiceSettingCollectionDefinition extends Dev
/**
* Gets the minimumCount
* Minimum number of choices in the collection. Valid values 1 to 100
* Minimum number of choices in the collection
*
* @return int|null The minimumCount
*/
@ -70,7 +70,7 @@ class DeviceManagementConfigurationChoiceSettingCollectionDefinition extends Dev
/**
* Sets the minimumCount
* Minimum number of choices in the collection. Valid values 1 to 100
* Minimum number of choices in the collection
*
* @param int $val The minimumCount
*

View File

@ -332,7 +332,7 @@ class DeviceManagementConfigurationPolicy extends Entity
/**
* Gets the technologies
* Technologies for this policy. Possible values are: none, mdm, windows10XManagement, configManager, appleRemoteManagement, microsoftSense, exchangeOnline, linuxMdm, enrollment, endpointPrivilegeManagement, unknownFutureValue.
* Technologies for this policy. Possible values are: none, mdm, windows10XManagement, configManager, appleRemoteManagement, microsoftSense, exchangeOnline, edgeMAM, linuxMdm, enrollment, endpointPrivilegeManagement, unknownFutureValue.
*
* @return DeviceManagementConfigurationTechnologies|null The technologies
*/
@ -351,7 +351,7 @@ class DeviceManagementConfigurationPolicy extends Entity
/**
* Sets the technologies
* Technologies for this policy. Possible values are: none, mdm, windows10XManagement, configManager, appleRemoteManagement, microsoftSense, exchangeOnline, linuxMdm, enrollment, endpointPrivilegeManagement, unknownFutureValue.
* Technologies for this policy. Possible values are: none, mdm, windows10XManagement, configManager, appleRemoteManagement, microsoftSense, exchangeOnline, edgeMAM, linuxMdm, enrollment, endpointPrivilegeManagement, unknownFutureValue.
*
* @param DeviceManagementConfigurationTechnologies $val The technologies
*

View File

@ -266,7 +266,7 @@ class DeviceManagementConfigurationPolicyTemplate extends Entity
/**
* Gets the technologies
* Technologies for this template. Possible values are: none, mdm, windows10XManagement, configManager, appleRemoteManagement, microsoftSense, exchangeOnline, linuxMdm, enrollment, endpointPrivilegeManagement, unknownFutureValue.
* Technologies for this template. Possible values are: none, mdm, windows10XManagement, configManager, appleRemoteManagement, microsoftSense, exchangeOnline, edgeMAM, linuxMdm, enrollment, endpointPrivilegeManagement, unknownFutureValue.
*
* @return DeviceManagementConfigurationTechnologies|null The technologies
*/
@ -285,7 +285,7 @@ class DeviceManagementConfigurationPolicyTemplate extends Entity
/**
* Sets the technologies
* Technologies for this template. Possible values are: none, mdm, windows10XManagement, configManager, appleRemoteManagement, microsoftSense, exchangeOnline, linuxMdm, enrollment, endpointPrivilegeManagement, unknownFutureValue.
* Technologies for this template. Possible values are: none, mdm, windows10XManagement, configManager, appleRemoteManagement, microsoftSense, exchangeOnline, edgeMAM, linuxMdm, enrollment, endpointPrivilegeManagement, unknownFutureValue.
*
* @param DeviceManagementConfigurationTechnologies $val The technologies
*

View File

@ -60,7 +60,7 @@ class DeviceManagementConfigurationSetting extends Entity
/**
* Gets the settingDefinitions
* List of related Setting Definitions
* List of related Setting Definitions. This property is read-only.
*
* @return array|null The settingDefinitions
*/
@ -75,7 +75,7 @@ class DeviceManagementConfigurationSetting extends Entity
/**
* Sets the settingDefinitions
* List of related Setting Definitions
* List of related Setting Definitions. This property is read-only.
*
* @param DeviceManagementConfigurationSettingDefinition[] $val The settingDefinitions
*

View File

@ -26,7 +26,7 @@ class DeviceManagementConfigurationSettingGroupCollectionDefinition extends Devi
{
/**
* Gets the maximumCount
* Maximum number of setting group count in the collection
* Maximum number of setting group count in the collection. Valid values 1 to 100
*
* @return int|null The maximumCount
*/
@ -41,7 +41,7 @@ class DeviceManagementConfigurationSettingGroupCollectionDefinition extends Devi
/**
* Sets the maximumCount
* Maximum number of setting group count in the collection
* Maximum number of setting group count in the collection. Valid values 1 to 100
*
* @param int $val The maximumCount
*
@ -55,7 +55,7 @@ class DeviceManagementConfigurationSettingGroupCollectionDefinition extends Devi
/**
* Gets the minimumCount
* Minimum number of setting group count in the collection
* Minimum number of setting group count in the collection. Valid values 1 to 100
*
* @return int|null The minimumCount
*/
@ -70,7 +70,7 @@ class DeviceManagementConfigurationSettingGroupCollectionDefinition extends Devi
/**
* Sets the minimumCount
* Minimum number of setting group count in the collection
* Minimum number of setting group count in the collection. Valid values 1 to 100
*
* @param int $val The minimumCount
*

View File

@ -26,7 +26,7 @@ class DeviceManagementConfigurationSimpleSettingCollectionDefinition extends Dev
{
/**
* Gets the maximumCount
* Maximum number of simple settings in the collection
* Maximum number of simple settings in the collection. Valid values 1 to 100
*
* @return int|null The maximumCount
*/
@ -41,7 +41,7 @@ class DeviceManagementConfigurationSimpleSettingCollectionDefinition extends Dev
/**
* Sets the maximumCount
* Maximum number of simple settings in the collection
* Maximum number of simple settings in the collection. Valid values 1 to 100
*
* @param int $val The maximumCount
*
@ -55,7 +55,7 @@ class DeviceManagementConfigurationSimpleSettingCollectionDefinition extends Dev
/**
* Gets the minimumCount
* Minimum number of simple settings in the collection
* Minimum number of simple settings in the collection. Valid values 1 to 100
*
* @return int|null The minimumCount
*/
@ -70,7 +70,7 @@ class DeviceManagementConfigurationSimpleSettingCollectionDefinition extends Dev
/**
* Sets the minimumCount
* Minimum number of simple settings in the collection
* Minimum number of simple settings in the collection. Valid values 1 to 100
*
* @param int $val The minimumCount
*

View File

@ -111,6 +111,35 @@ class DeviceManagementIntent extends Entity
return $this;
}
/**
* Gets the isMigratingToConfigurationPolicy
* Signifies whether or not the intent is being migrated to the configurationPolicies endpoint
*
* @return bool|null The isMigratingToConfigurationPolicy
*/
public function getIsMigratingToConfigurationPolicy()
{
if (array_key_exists("isMigratingToConfigurationPolicy", $this->_propDict)) {
return $this->_propDict["isMigratingToConfigurationPolicy"];
} else {
return null;
}
}
/**
* Sets the isMigratingToConfigurationPolicy
* Signifies whether or not the intent is being migrated to the configurationPolicies endpoint
*
* @param bool $val The isMigratingToConfigurationPolicy
*
* @return DeviceManagementIntent
*/
public function setIsMigratingToConfigurationPolicy($val)
{
$this->_propDict["isMigratingToConfigurationPolicy"] = boolval($val);
return $this;
}
/**
* Gets the lastModifiedDateTime
* When the intent was last modified

View File

@ -39,4 +39,7 @@ class DevicePlatformType extends Enum
const ANDROID_WORK_PROFILE = "androidWorkProfile";
const UNKNOWN = "unknown";
const ANDROID_AOSP = "androidAOSP";
const ANDROID_MOBILE_APPLICATION_MANAGEMENT = "androidMobileApplicationManagement";
const I_OS_MOBILE_APPLICATION_MANAGEMENT = "iOSMobileApplicationManagement";
const UNKNOWN_FUTURE_VALUE = "unknownFutureValue";
}

View File

@ -233,6 +233,7 @@ class Directory extends Entity
/**
* Gets the inboundSharedUserProfiles
* A collection of external Azure AD users whose profile data has been shared with the Azure AD tenant. Nullable.
*
* @return array|null The inboundSharedUserProfiles
*/
@ -247,6 +248,7 @@ class Directory extends Entity
/**
* Sets the inboundSharedUserProfiles
* A collection of external Azure AD users whose profile data has been shared with the Azure AD tenant. Nullable.
*
* @param InboundSharedUserProfile[] $val The inboundSharedUserProfiles
*

View File

@ -0,0 +1,82 @@
<?php
/**
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
*
* EmailSettings 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;
/**
* EmailSettings 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 EmailSettings extends Entity
{
/**
* Gets the senderDomain
* Specifies the domain that should be used when sending email notifications. This domain must be verified in order to be used. We recommend that you use a domain that has the appropriate DNS records to facilitate email validation, like SPF, DKIM, DMARC, and MX, because this then complies with the RFC compliance for sending and receiving email. For details, see Learn more about Exchange Online Email Routing.
*
* @return string|null The senderDomain
*/
public function getSenderDomain()
{
if (array_key_exists("senderDomain", $this->_propDict)) {
return $this->_propDict["senderDomain"];
} else {
return null;
}
}
/**
* Sets the senderDomain
* Specifies the domain that should be used when sending email notifications. This domain must be verified in order to be used. We recommend that you use a domain that has the appropriate DNS records to facilitate email validation, like SPF, DKIM, DMARC, and MX, because this then complies with the RFC compliance for sending and receiving email. For details, see Learn more about Exchange Online Email Routing.
*
* @param string $val The value of the senderDomain
*
* @return EmailSettings
*/
public function setSenderDomain($val)
{
$this->_propDict["senderDomain"] = $val;
return $this;
}
/**
* Gets the useCompanyBranding
* Specifies if the organizations banner logo should be included in email notifications. The banner logo will replace the Microsoft logo at the top of the email notification. If true the banner logo will be taken from the tenants branding settings. This value can only be set to true if the organizationalBranding bannerLogo property is set.
*
* @return bool|null The useCompanyBranding
*/
public function getUseCompanyBranding()
{
if (array_key_exists("useCompanyBranding", $this->_propDict)) {
return $this->_propDict["useCompanyBranding"];
} else {
return null;
}
}
/**
* Sets the useCompanyBranding
* Specifies if the organizations banner logo should be included in email notifications. The banner logo will replace the Microsoft logo at the top of the email notification. If true the banner logo will be taken from the tenants branding settings. This value can only be set to true if the organizationalBranding bannerLogo property is set.
*
* @param bool $val The value of the useCompanyBranding
*
* @return EmailSettings
*/
public function setUseCompanyBranding($val)
{
$this->_propDict["useCompanyBranding"] = $val;
return $this;
}
}

View File

@ -82,6 +82,33 @@ class ExtensionProperty extends DirectoryObject
return $this;
}
/**
* Gets the isMultiValued
*
* @return bool|null The isMultiValued
*/
public function getIsMultiValued()
{
if (array_key_exists("isMultiValued", $this->_propDict)) {
return $this->_propDict["isMultiValued"];
} else {
return null;
}
}
/**
* Sets the isMultiValued
*
* @param bool $val The isMultiValued
*
* @return ExtensionProperty
*/
public function setIsMultiValued($val)
{
$this->_propDict["isMultiValued"] = boolval($val);
return $this;
}
/**
* Gets the isSyncedFromOnPremises
* Indicates if this extension property was synced from on-premises active directory using Azure AD Connect. Read-only.

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.
*
* FileContentProperties 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;
/**
* FileContentProperties 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 FileContentProperties extends ContentProperties
{
/**
* Gets the isVisibleOnlyToOneDriveOwner
*
* @return bool|null The isVisibleOnlyToOneDriveOwner
*/
public function getIsVisibleOnlyToOneDriveOwner()
{
if (array_key_exists("isVisibleOnlyToOneDriveOwner", $this->_propDict)) {
return $this->_propDict["isVisibleOnlyToOneDriveOwner"];
} else {
return null;
}
}
/**
* Sets the isVisibleOnlyToOneDriveOwner
*
* @param bool $val The value of the isVisibleOnlyToOneDriveOwner
*
* @return FileContentProperties
*/
public function setIsVisibleOnlyToOneDriveOwner($val)
{
$this->_propDict["isVisibleOnlyToOneDriveOwner"] = $val;
return $this;
}
}

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

@ -11,7 +11,7 @@
* @license https://opensource.org/licenses/MIT MIT License
* @link https://graph.microsoft.com
*/
namespace Beta\Microsoft\Graph\TenantAdmin\Model;
namespace Beta\Microsoft\Graph\Model;
/**
* IdleSessionSignOut class
*
@ -21,11 +21,10 @@ namespace Beta\Microsoft\Graph\TenantAdmin\Model;
* @license https://opensource.org/licenses/MIT MIT License
* @link https://graph.microsoft.com
*/
class IdleSessionSignOut extends \Beta\Microsoft\Graph\Model\Entity
class IdleSessionSignOut extends Entity
{
/**
* Gets the isEnabled
* Indicates whether the idle session sign-out policy is enabled.
*
* @return bool|null The isEnabled
*/
@ -40,7 +39,6 @@ class IdleSessionSignOut extends \Beta\Microsoft\Graph\Model\Entity
/**
* Sets the isEnabled
* Indicates whether the idle session sign-out policy is enabled.
*
* @param bool $val The value of the isEnabled
*
@ -53,7 +51,6 @@ class IdleSessionSignOut extends \Beta\Microsoft\Graph\Model\Entity
}
/**
* Gets the signOutAfterInSeconds
* Number of seconds of inactivity after which a user is signed out.
*
* @return int|null The signOutAfterInSeconds
*/
@ -68,7 +65,6 @@ class IdleSessionSignOut extends \Beta\Microsoft\Graph\Model\Entity
/**
* Sets the signOutAfterInSeconds
* Number of seconds of inactivity after which a user is signed out.
*
* @param int $val The value of the signOutAfterInSeconds
*
@ -81,7 +77,6 @@ class IdleSessionSignOut extends \Beta\Microsoft\Graph\Model\Entity
}
/**
* Gets the warnAfterInSeconds
* Number of seconds of inactivity after which a user is notified that they'll be signed out.
*
* @return int|null The warnAfterInSeconds
*/
@ -96,7 +91,6 @@ class IdleSessionSignOut extends \Beta\Microsoft\Graph\Model\Entity
/**
* Sets the warnAfterInSeconds
* Number of seconds of inactivity after which a user is notified that they'll be signed out.
*
* @param int $val The value of the warnAfterInSeconds
*

View File

@ -11,7 +11,7 @@
* @license https://opensource.org/licenses/MIT MIT License
* @link https://graph.microsoft.com
*/
namespace Beta\Microsoft\Graph\TenantAdmin\Model;
namespace Beta\Microsoft\Graph\Model;
use Microsoft\Graph\Core\Enum;

View File

@ -57,6 +57,7 @@ class InboundSharedUserProfile implements \JsonSerializable
/**
* Gets the displayName
* The name displayed in the address book for teh user at the time when the sharing record was created. Read-only.
*
* @return string|null The displayName
*/
@ -71,6 +72,7 @@ class InboundSharedUserProfile implements \JsonSerializable
/**
* Sets the displayName
* The name displayed in the address book for teh user at the time when the sharing record was created. Read-only.
*
* @param string $val The displayName
*
@ -84,6 +86,7 @@ class InboundSharedUserProfile implements \JsonSerializable
/**
* Gets the homeTenantId
* The home tenant id of the external user. Read-only.
*
* @return string|null The homeTenantId
*/
@ -98,6 +101,7 @@ class InboundSharedUserProfile implements \JsonSerializable
/**
* Sets the homeTenantId
* The home tenant id of the external user. Read-only.
*
* @param string $val The homeTenantId
*
@ -111,6 +115,7 @@ class InboundSharedUserProfile implements \JsonSerializable
/**
* Gets the userId
* The object id of the external user. Read-only.
*
* @return string|null The userId
*/
@ -125,6 +130,7 @@ class InboundSharedUserProfile implements \JsonSerializable
/**
* Sets the userId
* The object id of the external user. Read-only.
*
* @param string $val The userId
*
@ -138,6 +144,7 @@ class InboundSharedUserProfile implements \JsonSerializable
/**
* Gets the userPrincipalName
* The user principal name (UPN) of the external user. Read-only.
*
* @return string|null The userPrincipalName
*/
@ -152,6 +159,7 @@ class InboundSharedUserProfile implements \JsonSerializable
/**
* Sets the userPrincipalName
* The user principal name (UPN) of the external user. Read-only.
*
* @param string $val The userPrincipalName
*

View File

@ -63,6 +63,34 @@ class IosLobAppAssignmentSettings extends MobileAppAssignmentSettings
return $this;
}
/**
* Gets the preventManagedAppBackup
* When TRUE, indicates that the app should not be backed up to iCloud. When FALSE, indicates that the app may be backed up to iCloud. By default, this property is set to null which internally is treated as FALSE.
*
* @return bool|null The preventManagedAppBackup
*/
public function getPreventManagedAppBackup()
{
if (array_key_exists("preventManagedAppBackup", $this->_propDict)) {
return $this->_propDict["preventManagedAppBackup"];
} else {
return null;
}
}
/**
* Sets the preventManagedAppBackup
* When TRUE, indicates that the app should not be backed up to iCloud. When FALSE, indicates that the app may be backed up to iCloud. By default, this property is set to null which internally is treated as FALSE.
*
* @param bool $val The value of the preventManagedAppBackup
*
* @return IosLobAppAssignmentSettings
*/
public function setPreventManagedAppBackup($val)
{
$this->_propDict["preventManagedAppBackup"] = $val;
return $this;
}
/**
* Gets the uninstallOnDeviceRemoval
* Whether or not to uninstall the app when device is removed from Intune.
*

View File

@ -63,6 +63,34 @@ class IosStoreAppAssignmentSettings extends MobileAppAssignmentSettings
return $this;
}
/**
* Gets the preventManagedAppBackup
* When TRUE, indicates that the app should not be backed up to iCloud. When FALSE, indicates that the app may be backed up to iCloud. By default, this property is set to null which internally is treated as FALSE.
*
* @return bool|null The preventManagedAppBackup
*/
public function getPreventManagedAppBackup()
{
if (array_key_exists("preventManagedAppBackup", $this->_propDict)) {
return $this->_propDict["preventManagedAppBackup"];
} else {
return null;
}
}
/**
* Sets the preventManagedAppBackup
* When TRUE, indicates that the app should not be backed up to iCloud. When FALSE, indicates that the app may be backed up to iCloud. By default, this property is set to null which internally is treated as FALSE.
*
* @param bool $val The value of the preventManagedAppBackup
*
* @return IosStoreAppAssignmentSettings
*/
public function setPreventManagedAppBackup($val)
{
$this->_propDict["preventManagedAppBackup"] = $val;
return $this;
}
/**
* Gets the uninstallOnDeviceRemoval
* Whether or not to uninstall the app when device is removed from Intune.
*

View File

@ -63,6 +63,62 @@ class IosVppAppAssignmentSettings extends MobileAppAssignmentSettings
return $this;
}
/**
* Gets the preventAutoAppUpdate
* When TRUE, indicates that the app should not be automatically updated with the latest version from Apple app store. When FALSE, indicates that the app may be auto updated. By default, this property is set to null which internally is treated as FALSE.
*
* @return bool|null The preventAutoAppUpdate
*/
public function getPreventAutoAppUpdate()
{
if (array_key_exists("preventAutoAppUpdate", $this->_propDict)) {
return $this->_propDict["preventAutoAppUpdate"];
} else {
return null;
}
}
/**
* Sets the preventAutoAppUpdate
* When TRUE, indicates that the app should not be automatically updated with the latest version from Apple app store. When FALSE, indicates that the app may be auto updated. By default, this property is set to null which internally is treated as FALSE.
*
* @param bool $val The value of the preventAutoAppUpdate
*
* @return IosVppAppAssignmentSettings
*/
public function setPreventAutoAppUpdate($val)
{
$this->_propDict["preventAutoAppUpdate"] = $val;
return $this;
}
/**
* Gets the preventManagedAppBackup
* When TRUE, indicates that the app should not be backed up to iCloud. When FALSE, indicates that the app may be backed up to iCloud. By default, this property is set to null which internally is treated as FALSE.
*
* @return bool|null The preventManagedAppBackup
*/
public function getPreventManagedAppBackup()
{
if (array_key_exists("preventManagedAppBackup", $this->_propDict)) {
return $this->_propDict["preventManagedAppBackup"];
} else {
return null;
}
}
/**
* Sets the preventManagedAppBackup
* When TRUE, indicates that the app should not be backed up to iCloud. When FALSE, indicates that the app may be backed up to iCloud. By default, this property is set to null which internally is treated as FALSE.
*
* @param bool $val The value of the preventManagedAppBackup
*
* @return IosVppAppAssignmentSettings
*/
public function setPreventManagedAppBackup($val)
{
$this->_propDict["preventManagedAppBackup"] = $val;
return $this;
}
/**
* Gets the uninstallOnDeviceRemoval
* Whether or not to uninstall the app when device is removed from Intune.
*

View File

@ -26,7 +26,7 @@ class LinkedResource extends Entity
{
/**
* Gets the applicationName
* Field indicating the app name of the source that is sending the linkedResource.
* The app name of the source that sends the linkedResource.
*
* @return string|null The applicationName
*/
@ -41,7 +41,7 @@ class LinkedResource extends Entity
/**
* Sets the applicationName
* Field indicating the app name of the source that is sending the linkedResource.
* The app name of the source that sends the linkedResource.
*
* @param string $val The applicationName
*
@ -55,7 +55,7 @@ class LinkedResource extends Entity
/**
* Gets the displayName
* Field indicating the title of the linkedResource.
* The title of the linkedResource.
*
* @return string|null The displayName
*/
@ -70,7 +70,7 @@ class LinkedResource extends Entity
/**
* Sets the displayName
* Field indicating the title of the linkedResource.
* The title of the linkedResource.
*
* @param string $val The displayName
*
@ -84,7 +84,7 @@ class LinkedResource extends Entity
/**
* Gets the externalId
* Id of the object that is associated with this task on the third-party/partner system.
* ID of the object that is associated with this task on the third-party/partner system.
*
* @return string|null The externalId
*/
@ -99,7 +99,7 @@ class LinkedResource extends Entity
/**
* Sets the externalId
* Id of the object that is associated with this task on the third-party/partner system.
* ID of the object that is associated with this task on the third-party/partner system.
*
* @param string $val The externalId
*

View File

@ -24,6 +24,35 @@ namespace Beta\Microsoft\Graph\Model;
*/
class MacOSGeneralDeviceConfiguration extends DeviceConfiguration
{
/**
* Gets the activationLockWhenSupervisedAllowed
* When TRUE, activation lock is allowed when the devices is in the supervised mode. When FALSE, activation lock is not allowed. Default is false.
*
* @return bool|null The activationLockWhenSupervisedAllowed
*/
public function getActivationLockWhenSupervisedAllowed()
{
if (array_key_exists("activationLockWhenSupervisedAllowed", $this->_propDict)) {
return $this->_propDict["activationLockWhenSupervisedAllowed"];
} else {
return null;
}
}
/**
* Sets the activationLockWhenSupervisedAllowed
* When TRUE, activation lock is allowed when the devices is in the supervised mode. When FALSE, activation lock is not allowed. Default is false.
*
* @param bool $val The activationLockWhenSupervisedAllowed
*
* @return MacOSGeneralDeviceConfiguration
*/
public function setActivationLockWhenSupervisedAllowed($val)
{
$this->_propDict["activationLockWhenSupervisedAllowed"] = boolval($val);
return $this;
}
/**
* Gets the addingGameCenterFriendsBlocked
* Yes prevents users from adding friends to Game Center. Available for devices running macOS versions 10.13 and later.

View File

@ -112,35 +112,6 @@ class MacOSLobApp extends MobileLobApp
return $this;
}
/**
* Gets the identityVersion
* The identity version. This property is deprecated starting in 2211(November 2022).
*
* @return string|null The identityVersion
*/
public function getIdentityVersion()
{
if (array_key_exists("identityVersion", $this->_propDict)) {
return $this->_propDict["identityVersion"];
} else {
return null;
}
}
/**
* Sets the identityVersion
* The identity version. This property is deprecated starting in 2211(November 2022).
*
* @param string $val The identityVersion
*
* @return MacOSLobApp
*/
public function setIdentityVersion($val)
{
$this->_propDict["identityVersion"] = $val;
return $this;
}
/**
* Gets the ignoreVersionDetection
* When TRUE, indicates that the app's version will NOT be used to detect if the app is installed on a device. When FALSE, indicates that the app's version will be used to detect if the app is installed on a device. Set this to true for apps that use a self update feature.

View File

@ -0,0 +1,35 @@
<?php
/**
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
*
* MacOSPriority 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;
/**
* MacOSPriority 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 MacOSPriority extends Enum
{
/**
* The Enum MacOSPriority
*/
const LOW = "low";
const HIGH = "high";
const UNKNOWN_FUTURE_VALUE = "unknownFutureValue";
}

View File

@ -186,6 +186,68 @@ class MacOSSoftwareUpdateConfiguration extends DeviceConfiguration
return $this;
}
/**
* Gets the maxUserDeferralsCount
* The maximum number of times the system allows the user to postpone an update before its installed. Supported values: 0 - 366. Valid values 0 to 365
*
* @return int|null The maxUserDeferralsCount
*/
public function getMaxUserDeferralsCount()
{
if (array_key_exists("maxUserDeferralsCount", $this->_propDict)) {
return $this->_propDict["maxUserDeferralsCount"];
} else {
return null;
}
}
/**
* Sets the maxUserDeferralsCount
* The maximum number of times the system allows the user to postpone an update before its installed. Supported values: 0 - 366. Valid values 0 to 365
*
* @param int $val The maxUserDeferralsCount
*
* @return MacOSSoftwareUpdateConfiguration
*/
public function setMaxUserDeferralsCount($val)
{
$this->_propDict["maxUserDeferralsCount"] = intval($val);
return $this;
}
/**
* Gets the priority
* The scheduling priority for downloading and preparing the requested update. Default: Low. Possible values: Null, Low, High. Possible values are: low, high, unknownFutureValue.
*
* @return MacOSPriority|null The priority
*/
public function getPriority()
{
if (array_key_exists("priority", $this->_propDict)) {
if (is_a($this->_propDict["priority"], "\Beta\Microsoft\Graph\Model\MacOSPriority") || is_null($this->_propDict["priority"])) {
return $this->_propDict["priority"];
} else {
$this->_propDict["priority"] = new MacOSPriority($this->_propDict["priority"]);
return $this->_propDict["priority"];
}
}
return null;
}
/**
* Sets the priority
* The scheduling priority for downloading and preparing the requested update. Default: Low. Possible values: Null, Low, High. Possible values are: low, high, unknownFutureValue.
*
* @param MacOSPriority $val The priority
*
* @return MacOSSoftwareUpdateConfiguration
*/
public function setPriority($val)
{
$this->_propDict["priority"] = $val;
return $this;
}
/**
* Gets the updateScheduleType
* Update schedule type. Possible values are: alwaysUpdate, updateDuringTimeWindows, updateOutsideOfTimeWindows.

View File

@ -34,6 +34,62 @@ class MacOsVppAppAssignmentSettings extends MobileAppAssignmentSettings
$this->setODataType("#microsoft.graph.macOsVppAppAssignmentSettings");
}
/**
* Gets the preventAutoAppUpdate
* When TRUE, indicates that the app should not be automatically updated with the latest version from Apple app store. When FALSE, indicates that the app may be auto updated. By default, this property is set to null which internally is treated as FALSE.
*
* @return bool|null The preventAutoAppUpdate
*/
public function getPreventAutoAppUpdate()
{
if (array_key_exists("preventAutoAppUpdate", $this->_propDict)) {
return $this->_propDict["preventAutoAppUpdate"];
} else {
return null;
}
}
/**
* Sets the preventAutoAppUpdate
* When TRUE, indicates that the app should not be automatically updated with the latest version from Apple app store. When FALSE, indicates that the app may be auto updated. By default, this property is set to null which internally is treated as FALSE.
*
* @param bool $val The value of the preventAutoAppUpdate
*
* @return MacOsVppAppAssignmentSettings
*/
public function setPreventAutoAppUpdate($val)
{
$this->_propDict["preventAutoAppUpdate"] = $val;
return $this;
}
/**
* Gets the preventManagedAppBackup
* When TRUE, indicates that the app should not be backed up to iCloud. When FALSE, indicates that the app may be backed up to iCloud. By default, this property is set to null which internally is treated as FALSE.
*
* @return bool|null The preventManagedAppBackup
*/
public function getPreventManagedAppBackup()
{
if (array_key_exists("preventManagedAppBackup", $this->_propDict)) {
return $this->_propDict["preventManagedAppBackup"];
} else {
return null;
}
}
/**
* Sets the preventManagedAppBackup
* When TRUE, indicates that the app should not be backed up to iCloud. When FALSE, indicates that the app may be backed up to iCloud. By default, this property is set to null which internally is treated as FALSE.
*
* @param bool $val The value of the preventManagedAppBackup
*
* @return MacOsVppAppAssignmentSettings
*/
public function setPreventManagedAppBackup($val)
{
$this->_propDict["preventManagedAppBackup"] = $val;
return $this;
}
/**
* Gets the uninstallOnDeviceRemoval
* Whether or not to uninstall the app when device is removed from Intune.

View File

@ -26,7 +26,7 @@ class ManagedAndroidLobApp extends ManagedMobileLobApp
{
/**
* Gets the identityName
* The Identity Name. This property is deprecated starting in February 2023 (Release 2302).
* The Identity Name. This property is being deprecated in 2302(February 2023).
*
* @return string|null The identityName
*/
@ -41,7 +41,7 @@ class ManagedAndroidLobApp extends ManagedMobileLobApp
/**
* Sets the identityName
* The Identity Name. This property is deprecated starting in February 2023 (Release 2302).
* The Identity Name. This property is being deprecated in 2302(February 2023).
*
* @param string $val The identityName
*
@ -55,7 +55,7 @@ class ManagedAndroidLobApp extends ManagedMobileLobApp
/**
* Gets the identityVersion
* The identity version. This property is deprecated starting in February 2023 (Release 2302).
* The identity version. This property is being deprecated in 2302(February 2023).
*
* @return string|null The identityVersion
*/
@ -70,7 +70,7 @@ class ManagedAndroidLobApp extends ManagedMobileLobApp
/**
* Sets the identityVersion
* The identity version. This property is deprecated starting in February 2023 (Release 2302).
* The identity version. This property is being deprecated in 2302(February 2023).
*
* @param string $val The identityVersion
*

View File

@ -0,0 +1,87 @@
<?php
/**
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
*
* ManagedIdentity 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;
/**
* ManagedIdentity 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 ManagedIdentity extends Entity
{
/**
* Gets the associatedResourceId
* The ARM resource ID of the Azure resource associated with the managed identity used for sign in.
*
* @return string|null The associatedResourceId
*/
public function getAssociatedResourceId()
{
if (array_key_exists("associatedResourceId", $this->_propDict)) {
return $this->_propDict["associatedResourceId"];
} else {
return null;
}
}
/**
* Sets the associatedResourceId
* The ARM resource ID of the Azure resource associated with the managed identity used for sign in.
*
* @param string $val The value of the associatedResourceId
*
* @return ManagedIdentity
*/
public function setAssociatedResourceId($val)
{
$this->_propDict["associatedResourceId"] = $val;
return $this;
}
/**
* Gets the msiType
* The possible values are: none, userAssigned, systemAssigned, unknownFutureValue.
*
* @return MsiType|null The msiType
*/
public function getMsiType()
{
if (array_key_exists("msiType", $this->_propDict)) {
if (is_a($this->_propDict["msiType"], "\Beta\Microsoft\Graph\Model\MsiType") || is_null($this->_propDict["msiType"])) {
return $this->_propDict["msiType"];
} else {
$this->_propDict["msiType"] = new MsiType($this->_propDict["msiType"]);
return $this->_propDict["msiType"];
}
}
return null;
}
/**
* Sets the msiType
* The possible values are: none, userAssigned, systemAssigned, unknownFutureValue.
*
* @param MsiType $val The value to assign to the msiType
*
* @return ManagedIdentity The ManagedIdentity
*/
public function setMsiType($val)
{
$this->_propDict["msiType"] = $val;
return $this;
}
}

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.
*
* MsiType 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;
/**
* MsiType 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 MsiType extends Enum
{
/**
* The Enum MsiType
*/
const NONE = "none";
const USER_ASSIGNED = "userAssigned";
const SYSTEM_ASSIGNED = "systemAssigned";
const UNKNOWN_FUTURE_VALUE = "unknownFutureValue";
}

View File

@ -954,7 +954,7 @@ class OnlineMeeting extends Entity
/**
* Gets the watermarkProtection
* Specifies whether a watermark applies for different entities.
* Specifies whether a watermark should be applied to a content type by the client application.
*
* @return WatermarkProtectionValues|null The watermarkProtection
*/
@ -973,7 +973,7 @@ class OnlineMeeting extends Entity
/**
* Sets the watermarkProtection
* Specifies whether a watermark applies for different entities.
* Specifies whether a watermark should be applied to a content type by the client application.
*
* @param WatermarkProtectionValues $val The watermarkProtection
*

View File

@ -57,6 +57,7 @@ class OutboundSharedUserProfile implements \JsonSerializable
/**
* Gets the userId
* The object id of the external user. Read-only.
*
* @return string|null The userId
*/
@ -71,6 +72,7 @@ class OutboundSharedUserProfile implements \JsonSerializable
/**
* Sets the userId
* The object id of the external user. Read-only.
*
* @param string $val The userId
*
@ -85,6 +87,7 @@ class OutboundSharedUserProfile implements \JsonSerializable
/**
* Gets the tenants
* The collection of external Azure AD tenants that the user has shared profile data with. Read-only.
*
* @return array|null The tenants
*/
@ -99,6 +102,7 @@ class OutboundSharedUserProfile implements \JsonSerializable
/**
* Sets the tenants
* The collection of external Azure AD tenants that the user has shared profile data with. Read-only.
*
* @param TenantReference[] $val The tenants
*

View File

@ -234,6 +234,37 @@ class Participant extends Entity
return $this;
}
/**
* Gets the removedState
*
* @return RemovedState|null The removedState
*/
public function getRemovedState()
{
if (array_key_exists("removedState", $this->_propDict)) {
if (is_a($this->_propDict["removedState"], "\Beta\Microsoft\Graph\Model\RemovedState") || is_null($this->_propDict["removedState"])) {
return $this->_propDict["removedState"];
} else {
$this->_propDict["removedState"] = new RemovedState($this->_propDict["removedState"]);
return $this->_propDict["removedState"];
}
}
return null;
}
/**
* Sets the removedState
*
* @param RemovedState $val The removedState
*
* @return Participant
*/
public function setRemovedState($val)
{
$this->_propDict["removedState"] = $val;
return $this;
}
/**
* Gets the restrictedExperience
* Indicates the reason or reasons why media content from this participant is restricted.
@ -267,4 +298,31 @@ class Participant extends Entity
return $this;
}
/**
* Gets the rosterSequenceNumber
*
* @return int|null The rosterSequenceNumber
*/
public function getRosterSequenceNumber()
{
if (array_key_exists("rosterSequenceNumber", $this->_propDict)) {
return $this->_propDict["rosterSequenceNumber"];
} else {
return null;
}
}
/**
* Sets the rosterSequenceNumber
*
* @param int $val The rosterSequenceNumber
*
* @return Participant
*/
public function setRosterSequenceNumber($val)
{
$this->_propDict["rosterSequenceNumber"] = intval($val);
return $this;
}
}

View File

@ -26,6 +26,7 @@ class PlannerRecurrenceSchedule extends Entity
/**
* Gets the nextOccurrenceDateTime
* The next date for this schedule. When a new task is instantiated to continue the recurrence series, this date is used for the dueDateTime of the new plannerTask. Auto-generated by the service. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Read-only.
*
* @return \DateTime|null The nextOccurrenceDateTime
*/
@ -44,6 +45,7 @@ class PlannerRecurrenceSchedule extends Entity
/**
* Sets the nextOccurrenceDateTime
* The next date for this schedule. When a new task is instantiated to continue the recurrence series, this date is used for the dueDateTime of the new plannerTask. Auto-generated by the service. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Read-only.
*
* @param \DateTime $val The value to assign to the nextOccurrenceDateTime
*
@ -57,6 +59,7 @@ class PlannerRecurrenceSchedule extends Entity
/**
* Gets the pattern
* The pattern for recurrence. Required.
*
* @return RecurrencePattern|null The pattern
*/
@ -75,6 +78,7 @@ class PlannerRecurrenceSchedule extends Entity
/**
* Sets the pattern
* The pattern for recurrence. Required.
*
* @param RecurrencePattern $val The value to assign to the pattern
*
@ -88,6 +92,7 @@ class PlannerRecurrenceSchedule extends Entity
/**
* Gets the patternStartDateTime
* The start date for the recurrence pattern. 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. Required.
*
* @return \DateTime|null The patternStartDateTime
*/
@ -106,6 +111,7 @@ class PlannerRecurrenceSchedule extends Entity
/**
* Sets the patternStartDateTime
* The start date for the recurrence pattern. 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. Required.
*
* @param \DateTime $val The value to assign to the patternStartDateTime
*

View File

@ -613,6 +613,7 @@ class PlannerTask extends PlannerDelta
/**
* Gets the recurrence
* Defines active or inactive recurrence for the task. null when the recurrence has never been defined for the task.
*
* @return PlannerTaskRecurrence|null The recurrence
*/
@ -631,6 +632,7 @@ class PlannerTask extends PlannerDelta
/**
* Sets the recurrence
* Defines active or inactive recurrence for the task. null when the recurrence has never been defined for the task.
*
* @param PlannerTaskRecurrence $val The recurrence
*

View File

@ -25,6 +25,7 @@ class PlannerTaskRecurrence extends Entity
{
/**
* Gets the nextInSeriesTaskId
* The taskId of the next task in this series. This value is assigned at the time the next task in the series is created, and is null prior to that time.
*
* @return string|null The nextInSeriesTaskId
*/
@ -39,6 +40,7 @@ class PlannerTaskRecurrence extends Entity
/**
* Sets the nextInSeriesTaskId
* The taskId of the next task in this series. This value is assigned at the time the next task in the series is created, and is null prior to that time.
*
* @param string $val The value of the nextInSeriesTaskId
*
@ -51,6 +53,7 @@ class PlannerTaskRecurrence extends Entity
}
/**
* Gets the occurrenceId
* The 1-based index of this task within the recurrence series. The first task in a series has the value 1, the next task in the series has the value 2, and so on.
*
* @return int|null The occurrenceId
*/
@ -65,6 +68,7 @@ class PlannerTaskRecurrence extends Entity
/**
* Sets the occurrenceId
* The 1-based index of this task within the recurrence series. The first task in a series has the value 1, the next task in the series has the value 2, and so on.
*
* @param int $val The value of the occurrenceId
*
@ -77,6 +81,7 @@ class PlannerTaskRecurrence extends Entity
}
/**
* Gets the previousInSeriesTaskId
* The taskId of the previous task in this series. null for the first task in a series since it has no predecessor. All subsequent tasks in the series have a value that corresponds to their predecessors.
*
* @return string|null The previousInSeriesTaskId
*/
@ -91,6 +96,7 @@ class PlannerTaskRecurrence extends Entity
/**
* Sets the previousInSeriesTaskId
* The taskId of the previous task in this series. null for the first task in a series since it has no predecessor. All subsequent tasks in the series have a value that corresponds to their predecessors.
*
* @param string $val The value of the previousInSeriesTaskId
*
@ -104,6 +110,7 @@ class PlannerTaskRecurrence extends Entity
/**
* Gets the recurrenceStartDateTime
* The date and time when this recurrence series begin. For the first task in a series (occurrenceId = 1) this value is copied from schedule.patternStartDateTime. For subsequent tasks in the series (occurrenceId &amp;gt;= 2) this value is copied from the previous task and never changes; it preserves the start date of the recurring series. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z.
*
* @return \DateTime|null The recurrenceStartDateTime
*/
@ -122,6 +129,7 @@ class PlannerTaskRecurrence extends Entity
/**
* Sets the recurrenceStartDateTime
* The date and time when this recurrence series begin. For the first task in a series (occurrenceId = 1) this value is copied from schedule.patternStartDateTime. For subsequent tasks in the series (occurrenceId &amp;gt;= 2) this value is copied from the previous task and never changes; it preserves the start date of the recurring series. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z.
*
* @param \DateTime $val The value to assign to the recurrenceStartDateTime
*
@ -135,6 +143,7 @@ class PlannerTaskRecurrence extends Entity
/**
* Gets the schedule
* The schedule for recurrence. Clients define and edit recurrence by specifying the schedule. If nextInSeriesTaskId isn't assigned, clients may terminate the series by assigning null to this property.
*
* @return PlannerRecurrenceSchedule|null The schedule
*/
@ -153,6 +162,7 @@ class PlannerTaskRecurrence extends Entity
/**
* Sets the schedule
* The schedule for recurrence. Clients define and edit recurrence by specifying the schedule. If nextInSeriesTaskId isn't assigned, clients may terminate the series by assigning null to this property.
*
* @param PlannerRecurrenceSchedule $val The value to assign to the schedule
*
@ -165,6 +175,7 @@ class PlannerTaskRecurrence extends Entity
}
/**
* Gets the seriesId
* The recurrence series this task belongs to. A GUID-based value that serves as the unique identifier for a series.
*
* @return string|null The seriesId
*/
@ -179,6 +190,7 @@ class PlannerTaskRecurrence extends Entity
/**
* Sets the seriesId
* The recurrence series this task belongs to. A GUID-based value that serves as the unique identifier for a series.
*
* @param string $val The value of the seriesId
*

View File

@ -0,0 +1,503 @@
<?php
/**
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
*
* PrivilegeManagementElevation 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;
/**
* PrivilegeManagementElevation 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 PrivilegeManagementElevation extends Entity
{
/**
* Gets the certificatePayload
* The certificate payload of the application. This is computed by hashing the certificate information on the client. Example: `32c220482c68413fbf8290e3b1e49b0a85901cfcd62ab0738760568a2a6e8a50`
*
* @return string|null The certificatePayload
*/
public function getCertificatePayload()
{
if (array_key_exists("certificatePayload", $this->_propDict)) {
return $this->_propDict["certificatePayload"];
} else {
return null;
}
}
/**
* Sets the certificatePayload
* The certificate payload of the application. This is computed by hashing the certificate information on the client. Example: `32c220482c68413fbf8290e3b1e49b0a85901cfcd62ab0738760568a2a6e8a50`
*
* @param string $val The certificatePayload
*
* @return PrivilegeManagementElevation
*/
public function setCertificatePayload($val)
{
$this->_propDict["certificatePayload"] = $val;
return $this;
}
/**
* Gets the companyName
* The company name of the application. This value is set by the creator of the application. Example: `Microsoft Corporation`
*
* @return string|null The companyName
*/
public function getCompanyName()
{
if (array_key_exists("companyName", $this->_propDict)) {
return $this->_propDict["companyName"];
} else {
return null;
}
}
/**
* Sets the companyName
* The company name of the application. This value is set by the creator of the application. Example: `Microsoft Corporation`
*
* @param string $val The companyName
*
* @return PrivilegeManagementElevation
*/
public function setCompanyName($val)
{
$this->_propDict["companyName"] = $val;
return $this;
}
/**
* Gets the deviceId
* The Intune deviceId. Unique identifier for the managed device. Example: `92ce5047-9553-4731-817f-9b401a999a1b`
*
* @return string|null The deviceId
*/
public function getDeviceId()
{
if (array_key_exists("deviceId", $this->_propDict)) {
return $this->_propDict["deviceId"];
} else {
return null;
}
}
/**
* Sets the deviceId
* The Intune deviceId. Unique identifier for the managed device. Example: `92ce5047-9553-4731-817f-9b401a999a1b`
*
* @param string $val The deviceId
*
* @return PrivilegeManagementElevation
*/
public function setDeviceId($val)
{
$this->_propDict["deviceId"] = $val;
return $this;
}
/**
* Gets the deviceName
* The name associated with the device in the intune database. Example: `JOHNDOE-LAPTOP`.
*
* @return string|null The deviceName
*/
public function getDeviceName()
{
if (array_key_exists("deviceName", $this->_propDict)) {
return $this->_propDict["deviceName"];
} else {
return null;
}
}
/**
* Sets the deviceName
* The name associated with the device in the intune database. Example: `JOHNDOE-LAPTOP`.
*
* @param string $val The deviceName
*
* @return PrivilegeManagementElevation
*/
public function setDeviceName($val)
{
$this->_propDict["deviceName"] = $val;
return $this;
}
/**
* Gets the elevationType
* Indicates the type of elevation on the application. Possible values are `undetermined`, `unmanagedElevation`, `zeroTouchElevation`, `userConfirmedElevation`, and `supportApprovedElevation`. Defaults to `undetermined`
*
* @return PrivilegeManagementElevationType|null The elevationType
*/
public function getElevationType()
{
if (array_key_exists("elevationType", $this->_propDict)) {
if (is_a($this->_propDict["elevationType"], "\Beta\Microsoft\Graph\Model\PrivilegeManagementElevationType") || is_null($this->_propDict["elevationType"])) {
return $this->_propDict["elevationType"];
} else {
$this->_propDict["elevationType"] = new PrivilegeManagementElevationType($this->_propDict["elevationType"]);
return $this->_propDict["elevationType"];
}
}
return null;
}
/**
* Sets the elevationType
* Indicates the type of elevation on the application. Possible values are `undetermined`, `unmanagedElevation`, `zeroTouchElevation`, `userConfirmedElevation`, and `supportApprovedElevation`. Defaults to `undetermined`
*
* @param PrivilegeManagementElevationType $val The elevationType
*
* @return PrivilegeManagementElevation
*/
public function setElevationType($val)
{
$this->_propDict["elevationType"] = $val;
return $this;
}
/**
* Gets the eventDateTime
* The date and time when the application was elevated. Example:`2014-01-01T00:00:00Z`
*
* @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
* The date and time when the application was elevated. Example:`2014-01-01T00:00:00Z`
*
* @param \DateTime $val The eventDateTime
*
* @return PrivilegeManagementElevation
*/
public function setEventDateTime($val)
{
$this->_propDict["eventDateTime"] = $val;
return $this;
}
/**
* Gets the fileDescription
* The file description of the application. This value is set by the creator of the application. Example: `Editor of multiple coding languages.`
*
* @return string|null The fileDescription
*/
public function getFileDescription()
{
if (array_key_exists("fileDescription", $this->_propDict)) {
return $this->_propDict["fileDescription"];
} else {
return null;
}
}
/**
* Sets the fileDescription
* The file description of the application. This value is set by the creator of the application. Example: `Editor of multiple coding languages.`
*
* @param string $val The fileDescription
*
* @return PrivilegeManagementElevation
*/
public function setFileDescription($val)
{
$this->_propDict["fileDescription"] = $val;
return $this;
}
/**
* Gets the filePath
* The full file path of the application including the filename and file extension. Example: `C:\Program Files\vscode.exe`
*
* @return string|null The filePath
*/
public function getFilePath()
{
if (array_key_exists("filePath", $this->_propDict)) {
return $this->_propDict["filePath"];
} else {
return null;
}
}
/**
* Sets the filePath
* The full file path of the application including the filename and file extension. Example: `C:\Program Files\vscode.exe`
*
* @param string $val The filePath
*
* @return PrivilegeManagementElevation
*/
public function setFilePath($val)
{
$this->_propDict["filePath"] = $val;
return $this;
}
/**
* Gets the fileVersion
* The version of the application. This value is set by the creator of the application. Example: `6.2211.1035.1000`
*
* @return string|null The fileVersion
*/
public function getFileVersion()
{
if (array_key_exists("fileVersion", $this->_propDict)) {
return $this->_propDict["fileVersion"];
} else {
return null;
}
}
/**
* Sets the fileVersion
* The version of the application. This value is set by the creator of the application. Example: `6.2211.1035.1000`
*
* @param string $val The fileVersion
*
* @return PrivilegeManagementElevation
*/
public function setFileVersion($val)
{
$this->_propDict["fileVersion"] = $val;
return $this;
}
/**
* Gets the hash
* The sha256 hash of the application. Example: `32c220482c68413fbf8290e3b1e49b0a85901cfcd62ab0738760568a2a6e8a57`
*
* @return string|null The hash
*/
public function getHash()
{
if (array_key_exists("hash", $this->_propDict)) {
return $this->_propDict["hash"];
} else {
return null;
}
}
/**
* Sets the hash
* The sha256 hash of the application. Example: `32c220482c68413fbf8290e3b1e49b0a85901cfcd62ab0738760568a2a6e8a57`
*
* @param string $val The hash
*
* @return PrivilegeManagementElevation
*/
public function setHash($val)
{
$this->_propDict["hash"] = $val;
return $this;
}
/**
* Gets the internalName
* The internal name of the application. This value is set by the creator of the application. Example: `VS code`
*
* @return string|null The internalName
*/
public function getInternalName()
{
if (array_key_exists("internalName", $this->_propDict)) {
return $this->_propDict["internalName"];
} else {
return null;
}
}
/**
* Sets the internalName
* The internal name of the application. This value is set by the creator of the application. Example: `VS code`
*
* @param string $val The internalName
*
* @return PrivilegeManagementElevation
*/
public function setInternalName($val)
{
$this->_propDict["internalName"] = $val;
return $this;
}
/**
* Gets the justification
* The justification to elevate the application. This is an input by the user when the privilegeManagementElevationType is of type userConfirmedElevation or support approved elevation. This will be null in all other scenarios. The length is capped at 256 char, enforced on the client side. Example: `To install debug tool.`.
*
* @return string|null The justification
*/
public function getJustification()
{
if (array_key_exists("justification", $this->_propDict)) {
return $this->_propDict["justification"];
} else {
return null;
}
}
/**
* Sets the justification
* The justification to elevate the application. This is an input by the user when the privilegeManagementElevationType is of type userConfirmedElevation or support approved elevation. This will be null in all other scenarios. The length is capped at 256 char, enforced on the client side. Example: `To install debug tool.`.
*
* @param string $val The justification
*
* @return PrivilegeManagementElevation
*/
public function setJustification($val)
{
$this->_propDict["justification"] = $val;
return $this;
}
/**
* Gets the productName
* The product name of the application. This value is set by the creator of the application. Example: `Visual Studio`
*
* @return string|null The productName
*/
public function getProductName()
{
if (array_key_exists("productName", $this->_propDict)) {
return $this->_propDict["productName"];
} else {
return null;
}
}
/**
* Sets the productName
* The product name of the application. This value is set by the creator of the application. Example: `Visual Studio`
*
* @param string $val The productName
*
* @return PrivilegeManagementElevation
*/
public function setProductName($val)
{
$this->_propDict["productName"] = $val;
return $this;
}
/**
* Gets the result
* The result of the elevation action with 0 being success, and everything else being exit code if the elevation was unsuccessful. The value will always be 0 on all unmanaged elevation. Example: `0`. Valid values 0 to 2147483647
*
* @return int|null The result
*/
public function getResult()
{
if (array_key_exists("result", $this->_propDict)) {
return $this->_propDict["result"];
} else {
return null;
}
}
/**
* Sets the result
* The result of the elevation action with 0 being success, and everything else being exit code if the elevation was unsuccessful. The value will always be 0 on all unmanaged elevation. Example: `0`. Valid values 0 to 2147483647
*
* @param int $val The result
*
* @return PrivilegeManagementElevation
*/
public function setResult($val)
{
$this->_propDict["result"] = intval($val);
return $this;
}
/**
* Gets the upn
* The User Principal Name of the user who performed the elevation. Example: `john@domain.com`
*
* @return string|null The upn
*/
public function getUpn()
{
if (array_key_exists("upn", $this->_propDict)) {
return $this->_propDict["upn"];
} else {
return null;
}
}
/**
* Sets the upn
* The User Principal Name of the user who performed the elevation. Example: `john@domain.com`
*
* @param string $val The upn
*
* @return PrivilegeManagementElevation
*/
public function setUpn($val)
{
$this->_propDict["upn"] = $val;
return $this;
}
/**
* Gets the userType
* The type of account performed the elevation on Windows. Possible values are: `undetermined`, `azureAd`, `hybrid`, and `local`. Defaults to `undetermined`.
*
* @return PrivilegeManagementEndUserType|null The userType
*/
public function getUserType()
{
if (array_key_exists("userType", $this->_propDict)) {
if (is_a($this->_propDict["userType"], "\Beta\Microsoft\Graph\Model\PrivilegeManagementEndUserType") || is_null($this->_propDict["userType"])) {
return $this->_propDict["userType"];
} else {
$this->_propDict["userType"] = new PrivilegeManagementEndUserType($this->_propDict["userType"]);
return $this->_propDict["userType"];
}
}
return null;
}
/**
* Sets the userType
* The type of account performed the elevation on Windows. Possible values are: `undetermined`, `azureAd`, `hybrid`, and `local`. Defaults to `undetermined`.
*
* @param PrivilegeManagementEndUserType $val The userType
*
* @return PrivilegeManagementElevation
*/
public function setUserType($val)
{
$this->_propDict["userType"] = $val;
return $this;
}
}

View File

@ -0,0 +1,38 @@
<?php
/**
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
*
* PrivilegeManagementElevationType 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;
/**
* PrivilegeManagementElevationType 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 PrivilegeManagementElevationType extends Enum
{
/**
* The Enum PrivilegeManagementElevationType
*/
const UNDETERMINED = "undetermined";
const UNMANAGED_ELEVATION = "unmanagedElevation";
const ZERO_TOUCH_ELEVATION = "zeroTouchElevation";
const USER_CONFIRMED_ELEVATION = "userConfirmedElevation";
const SUPPORT_APPROVED_ELEVATION = "supportApprovedElevation";
const UNKNOWN_FUTURE_VALUE = "unknownFutureValue";
}

View File

@ -0,0 +1,37 @@
<?php
/**
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
*
* PrivilegeManagementEndUserType 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;
/**
* PrivilegeManagementEndUserType 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 PrivilegeManagementEndUserType extends Enum
{
/**
* The Enum PrivilegeManagementEndUserType
*/
const UNDETERMINED = "undetermined";
const AZURE_AD = "azureAd";
const HYBRID = "hybrid";
const LOCAL = "local";
const UNKNOWN_FUTURE_VALUE = "unknownFutureValue";
}

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.
*
* RemovedState 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;
/**
* RemovedState 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 RemovedState extends Entity
{
/**
* Gets the reason
*
* @return string|null The reason
*/
public function getReason()
{
if (array_key_exists("reason", $this->_propDict)) {
return $this->_propDict["reason"];
} else {
return null;
}
}
/**
* Sets the reason
*
* @param string $val The value of the reason
*
* @return RemovedState
*/
public function setReason($val)
{
$this->_propDict["reason"] = $val;
return $this;
}
}

View File

@ -111,6 +111,33 @@ class RiskyServicePrincipal extends Entity
return $this;
}
/**
* Gets the isEnabled
*
* @return bool|null The isEnabled
*/
public function getIsEnabled()
{
if (array_key_exists("isEnabled", $this->_propDict)) {
return $this->_propDict["isEnabled"];
} else {
return null;
}
}
/**
* Sets the isEnabled
*
* @param bool $val The isEnabled
*
* @return RiskyServicePrincipal
*/
public function setIsEnabled($val)
{
$this->_propDict["isEnabled"] = boolval($val);
return $this;
}
/**
* Gets the isProcessing
* Indicates whether Azure AD is currently processing the service principal's risky state.

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